Home
last modified time | relevance | path

Searched refs:num_dots (Results 1 - 2 of 2) sorted by relevance

/third_party/gn/src/gn/
H A Dfunction_rebase_path.cc42 size_t num_dots = 0; in ValueLooksLikeDir() local
43 while (num_dots < value_size && value[value_size - num_dots - 1] == '.') in ValueLooksLikeDir()
44 num_dots++; in ValueLooksLikeDir()
46 if (num_dots == value.size()) in ValueLooksLikeDir()
49 if (IsSlash(value[value_size - num_dots - 1])) in ValueLooksLikeDir()
/third_party/mbedtls/library/
H A Doid.c1054 size_t num_dots = 0; in mbedtls_oid_from_numeric_string() local
1057 num_dots++; in mbedtls_oid_from_numeric_string()
1061 * There are (num_dots + 1) integer components, but the first 2 share the in mbedtls_oid_from_numeric_string()
1062 * same subidentifier, so we only need num_dots subidentifiers maximum. */ in mbedtls_oid_from_numeric_string()
1063 if (num_dots == 0 || (num_dots > MBEDTLS_OID_MAX_COMPONENTS - 1)) { in mbedtls_oid_from_numeric_string()
1073 size_t max_possible_bytes = num_dots * bytes_per_subidentifier; in mbedtls_oid_from_numeric_string()

Completed in 2 milliseconds