Home
last modified time | relevance | path

Searched refs:LIT_CHAR_MINUS (Results 1 – 7 of 7) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-number.c751 if (current == LIT_CHAR_MINUS) in ecma_number_parse_int()
757 if (current == LIT_CHAR_MINUS || current == LIT_CHAR_PLUS) in ecma_number_parse_int()
925 if (current == LIT_CHAR_MINUS) in ecma_number_parse_float()
930 if (current == LIT_CHAR_MINUS || current == LIT_CHAR_PLUS) in ecma_number_parse_float()
1035 if ((current == LIT_CHAR_PLUS || current == LIT_CHAR_MINUS) in ecma_number_parse_float()
Decma-helpers-conversion.c414 else if (*str_p == LIT_CHAR_MINUS) in ecma_utf8_string_to_number()
533 else if (*str_p == LIT_CHAR_MINUS) in ecma_utf8_string_to_number()
1052 *dst_p++ = LIT_CHAR_MINUS; in ecma_number_to_utf8_string()
1135 *dst_p++ = (n >= 1) ? LIT_CHAR_PLUS : LIT_CHAR_MINUS; in ecma_number_to_utf8_string()
/third_party/jerryscript/jerry-core/parser/regexp/
Dre-parser.c975 re_class_add_char (re_ctx_p, class_offset, LIT_CHAR_MINUS); in re_parse_char_class()
1000 else if (*re_ctx_p->input_curr_p == LIT_CHAR_MINUS) in re_parse_char_class()
1003 current = LIT_CHAR_MINUS; in re_parse_char_class()
1080 re_class_add_char (re_ctx_p, class_offset, LIT_CHAR_MINUS); in re_parse_char_class()
1086 && *re_ctx_p->input_curr_p == LIT_CHAR_MINUS) in re_parse_char_class()
/third_party/jerryscript/jerry-core/lit/
Dlit-char-helpers.h95 #define LIT_CHAR_MINUS ((ecma_char_t) '-') /* hyphen-minus */ macro
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-json.c224 if (*current_p == LIT_CHAR_MINUS) in ecma_builtin_json_parse_number()
272 if (current_p < end_p && (*current_p == LIT_CHAR_PLUS || *current_p == LIT_CHAR_MINUS)) in ecma_builtin_json_parse_number()
421 if (*current_p == LIT_CHAR_MINUS || lit_char_is_decimal_digit (*current_p)) in ecma_builtin_json_parse_next_token()
Decma-builtin-helpers-date.c715 *dest_p++ = LIT_CHAR_MINUS; in ecma_date_to_string_format()
/third_party/jerryscript/jerry-core/parser/js/
Djs-lexer.c1394 && (source_p[0] == LIT_CHAR_PLUS || source_p[0] == LIT_CHAR_MINUS)) in lexer_parse_number()
1706 LEXER_TYPE_C_TOKEN (LIT_CHAR_MINUS, LEXER_SUBTRACT, LIT_CHAR_EQUALS, in lexer_next_token()
1707 LEXER_ASSIGN_SUBTRACT, LIT_CHAR_MINUS, LEXER_DECREASE) in lexer_next_token()
1877 case LIT_CHAR_MINUS: in lexer_check_post_primary_exp()