Home
last modified time | relevance | path

Searched refs:cbs_get_two_digits (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/boringssl/src/crypto/bytestring/
H A Dcbs.c755 static int cbs_get_two_digits(CBS *cbs, int *out) { in cbs_get_two_digits() function
810 if (!cbs_get_two_digits(&copy, &tmp)) { in CBS_parse_rfc5280_time_internal()
814 if (!cbs_get_two_digits(&copy, &tmp)) { in CBS_parse_rfc5280_time_internal()
820 if (!cbs_get_two_digits(&copy, &tmp)) { in CBS_parse_rfc5280_time_internal()
831 if (!cbs_get_two_digits(&copy, &month) || month < 1 || in CBS_parse_rfc5280_time_internal()
833 !cbs_get_two_digits(&copy, &day) || in CBS_parse_rfc5280_time_internal()
835 !cbs_get_two_digits(&copy, &hour) || in CBS_parse_rfc5280_time_internal()
837 !cbs_get_two_digits(&copy, &min) || in CBS_parse_rfc5280_time_internal()
839 !cbs_get_two_digits(&copy, &sec) || sec > 59 || !CBS_get_u8(&copy, &tz)) { in CBS_parse_rfc5280_time_internal()
875 if (!cbs_get_two_digits(&copy, &offset_hours) || in CBS_parse_rfc5280_time_internal()
[all …]
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/bytestring/
H A Dcbs.c757 static int cbs_get_two_digits(CBS *cbs, int *out) { in cbs_get_two_digits() function
812 if (!cbs_get_two_digits(&copy, &tmp)) { in CBS_parse_rfc5280_time_internal()
816 if (!cbs_get_two_digits(&copy, &tmp)) { in CBS_parse_rfc5280_time_internal()
822 if (!cbs_get_two_digits(&copy, &tmp)) { in CBS_parse_rfc5280_time_internal()
833 if (!cbs_get_two_digits(&copy, &month) || month < 1 || in CBS_parse_rfc5280_time_internal()
835 !cbs_get_two_digits(&copy, &day) || in CBS_parse_rfc5280_time_internal()
837 !cbs_get_two_digits(&copy, &hour) || in CBS_parse_rfc5280_time_internal()
839 !cbs_get_two_digits(&copy, &min) || in CBS_parse_rfc5280_time_internal()
841 !cbs_get_two_digits(&copy, &sec) || sec > 59 || !CBS_get_u8(&copy, &tz)) { in CBS_parse_rfc5280_time_internal()
877 if (!cbs_get_two_digits(&copy, &offset_hours) || in CBS_parse_rfc5280_time_internal()
[all …]