Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c603 ecma_append_chars_to_string (ecma_string_t *string1_p, /**< base ecma-string */ in ecma_append_chars_to_string() argument
608 JERRY_ASSERT (string1_p != NULL && cesu8_string2_size > 0 && cesu8_string2_length > 0); in ecma_append_chars_to_string()
610 if (JERRY_UNLIKELY (ecma_string_is_empty (string1_p))) in ecma_append_chars_to_string()
620 const lit_utf8_byte_t *cesu8_string1_p = ecma_string_get_chars (string1_p, in ecma_append_chars_to_string()
646 ecma_deref_ecma_string (string1_p); in ecma_append_chars_to_string()
658 ecma_deref_ecma_string (string1_p); in ecma_append_chars_to_string()
673 ecma_deref_ecma_string (string1_p); in ecma_append_chars_to_string()
691 JERRY_ASSERT (!ECMA_IS_DIRECT_STRING (string1_p)); in ecma_append_chars_to_string()
692 hash_start = string1_p->u.hash; in ecma_append_chars_to_string()
700 ecma_deref_ecma_string (string1_p); in ecma_append_chars_to_string()
[all …]
Decma-helpers.h306 ecma_string_t *ecma_append_chars_to_string (ecma_string_t *string1_p,
310 ecma_string_t *ecma_concat_ecma_strings (ecma_string_t *string1_p, ecma_string_t *string2_p);
355 bool ecma_compare_ecma_strings (const ecma_string_t *string1_p, const ecma_string_t *string2_p);
356 bool ecma_compare_ecma_non_direct_strings (const ecma_string_t *string1_p, const ecma_string_t *str…
357 bool ecma_compare_ecma_strings_relational (const ecma_string_t *string1_p, const ecma_string_t *str…
/third_party/jerryscript/jerry-core/vm/
Dopcodes-ecma-arithmetics.c142 ecma_string_t *string1_p = ecma_op_to_string (left_value); in opfunc_addition() local
144 if (JERRY_UNLIKELY (string1_p == NULL)) in opfunc_addition()
169 ecma_deref_ecma_string (string1_p); in opfunc_addition()
173 string1_p = ecma_concat_ecma_strings (string1_p, string2_p); in opfunc_addition()
174 ret_value = ecma_make_string_value (string1_p); in opfunc_addition()
/third_party/jerryscript/jerry-core/lit/
Dlit-magic-strings.c244 lit_is_utf8_string_pair_magic (const lit_utf8_byte_t *string1_p, /**< first utf-8 string */ in lit_is_utf8_string_pair_magic() argument
265 int compare = memcmp (middle_string_p, string1_p, string1_size); in lit_is_utf8_string_pair_magic()
353 lit_is_ex_utf8_string_pair_magic (const lit_utf8_byte_t *string1_p, /**< first utf-8 string */ in lit_is_ex_utf8_string_pair_magic() argument
378 int string_compare = memcmp (ext_string_p, string1_p, string1_size); in lit_is_ex_utf8_string_pair_magic()
Dlit-magic-strings.h96 lit_magic_string_id_t lit_is_utf8_string_pair_magic (const lit_utf8_byte_t *string1_p, lit_utf8_siz…
100 lit_magic_string_ex_id_t lit_is_ex_utf8_string_pair_magic (const lit_utf8_byte_t *string1_p,
Dlit-strings.c890 bool lit_compare_utf8_strings_relational (const lit_utf8_byte_t *string1_p, /**< utf-8 string */ in lit_compare_utf8_strings_relational() argument
895 lit_utf8_byte_t *string1_pos = (lit_utf8_byte_t *) string1_p; in lit_compare_utf8_strings_relational()
897 const lit_utf8_byte_t *string1_end_p = string1_p + string1_size; in lit_compare_utf8_strings_relational()
Dlit-strings.h122 bool lit_compare_utf8_strings_relational (const lit_utf8_byte_t *string1_p, lit_utf8_size_t string1…