Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c755 ecma_string_t *string2_p) /**< second ecma-string */ in ecma_concat_ecma_strings() argument
757 JERRY_ASSERT (string1_p != NULL && string2_p != NULL); in ecma_concat_ecma_strings()
761 ecma_ref_ecma_string (string2_p); in ecma_concat_ecma_strings()
762 return string2_p; in ecma_concat_ecma_strings()
764 else if (JERRY_UNLIKELY (ecma_string_is_empty (string2_p))) in ecma_concat_ecma_strings()
774 const lit_utf8_byte_t *cesu8_string2_p = ecma_string_get_chars (string2_p, in ecma_concat_ecma_strings()
1698 const ecma_string_t *string2_p) /**< ecma-string */ in ecma_compare_ecma_strings_longpath() argument
1700 JERRY_ASSERT (ECMA_STRING_GET_CONTAINER (string1_p) == ECMA_STRING_GET_CONTAINER (string2_p)); in ecma_compare_ecma_strings_longpath()
1709 utf8_string2_p = ECMA_UTF8_STRING_GET_BUFFER (string2_p); in ecma_compare_ecma_strings_longpath()
1710 utf8_string2_size = ((ecma_utf8_string_t *) string2_p)->size; in ecma_compare_ecma_strings_longpath()
[all …]
Decma-helpers.h297 …ngs_with_literal (const ecma_string_t *string1_p, const ecma_string_t *string2_p, const lit_utf8_…
313 ecma_string_t *ecma_concat_ecma_strings (ecma_string_t *string1_p, ecma_string_t *string2_p);
358 bool ecma_compare_ecma_strings (const ecma_string_t *string1_p, const ecma_string_t *string2_p);
359 …a_compare_ecma_non_direct_strings (const ecma_string_t *string1_p, const ecma_string_t *string2_p);
360 …a_compare_ecma_strings_relational (const ecma_string_t *string1_p, const ecma_string_t *string2_p);
/third_party/jerryscript/jerry-core/vm/
Dopcodes-ecma-arithmetics.c157 ecma_string_t *string2_p = ecma_op_to_string (right_value); in opfunc_addition() local
159 if (JERRY_UNLIKELY (string2_p == NULL)) in opfunc_addition()
173 string1_p = ecma_concat_ecma_strings (string1_p, string2_p); in opfunc_addition()
176 ecma_deref_ecma_string (string2_p); in opfunc_addition()
/third_party/jerryscript/jerry-core/lit/
Dlit-magic-strings.c246 const lit_utf8_byte_t *string2_p, /**< second utf-8 string */ in lit_is_utf8_string_pair_magic() argument
269 compare = memcmp (middle_string_p + string1_size, string2_p, string2_size); in lit_is_utf8_string_pair_magic()
355 const lit_utf8_byte_t *string2_p, /**< second utf-8 string */ in lit_is_ex_utf8_string_pair_magic() argument
382 string_compare = memcmp (ext_string_p + string1_size, string2_p, string2_size); in lit_is_ex_utf8_string_pair_magic()
Dlit-magic-strings.h97 … const lit_utf8_byte_t *string2_p, lit_utf8_size_t string2_size);
102 const lit_utf8_byte_t *string2_p,
Dlit-strings.c892 const lit_utf8_byte_t *string2_p, /**< utf-8 string */ in lit_compare_utf8_strings_relational() argument
896 lit_utf8_byte_t *string2_pos = (lit_utf8_byte_t *) string2_p; in lit_compare_utf8_strings_relational()
898 const lit_utf8_byte_t *string2_end_p = string2_p + string2_size; in lit_compare_utf8_strings_relational()
Dlit-strings.h123 … const lit_utf8_byte_t *string2_p, lit_utf8_size_t string2_size);