Home
last modified time | relevance | path

Searched refs:current_char (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-number.c818 ecma_char_t current_char = *string_curr_p++; in ecma_number_parse_int() local
821 if ((current_char >= LIT_CHAR_LOWERCASE_A && current_char <= LIT_CHAR_LOWERCASE_Z)) in ecma_number_parse_int()
823 current_number = current_char - LIT_CHAR_LOWERCASE_A + 10; in ecma_number_parse_int()
825 else if ((current_char >= LIT_CHAR_UPPERCASE_A && current_char <= LIT_CHAR_UPPERCASE_Z)) in ecma_number_parse_int()
827 current_number = current_char - LIT_CHAR_UPPERCASE_A + 10; in ecma_number_parse_int()
829 else if (lit_char_is_decimal_digit (current_char)) in ecma_number_parse_int()
831 current_number = current_char - LIT_CHAR_0; in ecma_number_parse_int()
860 ecma_char_t current_char = *(--string_curr_p); in ecma_number_parse_int() local
863 if ((current_char >= LIT_CHAR_LOWERCASE_A && current_char <= LIT_CHAR_LOWERCASE_Z)) in ecma_number_parse_int()
865 current_number = (ecma_number_t) current_char - LIT_CHAR_LOWERCASE_A + 10; in ecma_number_parse_int()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dstringutil.cc109 const char current_char = *it; in strrmm() local
110 if (chars.find(current_char) != string::npos) { in strrmm()
Dphonenumberutil.cc985 char current_char[5]; in TrimUnwantedEndChars() local
989 len = reverse_it.get_utf8(current_char); in TrimUnwantedEndChars()
990 current_char[len] = '\0'; in TrimUnwantedEndChars()
991 if (!reg_exps_->unwanted_end_char_pattern_->FullMatch(current_char)) { in TrimUnwantedEndChars()
2328 char current_char[5]; in ExtractPossibleNumber() local
2332 len = it.get_utf8(current_char); in ExtractPossibleNumber()
2333 current_char[len] = '\0'; in ExtractPossibleNumber()
2334 if (reg_exps_->valid_start_char_pattern_->FullMatch(current_char)) { in ExtractPossibleNumber()