Home
last modified time | relevance | path

Searched refs:ecma_length_t (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-arraybuffer-object.h31 ecma_op_create_arraybuffer_object (const ecma_value_t *, ecma_length_t);
37 ecma_arraybuffer_new_object (ecma_length_t lengh);
39 ecma_arraybuffer_new_object_external (ecma_length_t length,
44 ecma_length_t JERRY_ATTR_PURE
Decma-typedarray-object.h51 ecma_length_t ecma_typedarray_get_length (ecma_object_t *typedarray_p);
52 ecma_length_t ecma_typedarray_get_offset (ecma_object_t *typedarray_p);
57 ecma_length_t arguments_list_len,
69 ecma_length_t array_length);
71 ecma_value_t ecma_typedarray_create_object_with_length (ecma_length_t array_length,
Decma-typedarray-object.c504 ecma_typedarray_create_object_with_length (ecma_length_t array_length, /**< length of the typedarra… in ecma_typedarray_create_object_with_length()
515 ecma_length_t byte_length = array_length << element_size_shift; in ecma_typedarray_create_object_with_length()
583ecma_length_t byte_offset, /**< the byte offset of the arraybuffer */ in ecma_typedarray_create_object_with_buffer()
584ecma_length_t array_length, /**< length of the typedarray */ in ecma_typedarray_create_object_with_buffer()
593ecma_length_t expected_length = (ecma_arraybuffer_get_length (arraybuffer_p) >> element_size_shift… in ecma_typedarray_create_object_with_buffer()
634 ecma_length_t array_length = ecma_typedarray_get_length (typedarray_p); in ecma_typedarray_create_object_with_typedarray()
999 ecma_length_t
1009 ecma_length_t buffer_length = ecma_arraybuffer_get_length (arraybuffer_p); in ecma_typedarray_get_length()
1031 ecma_length_t
1080ecma_length_t arguments_list_len, /**< the length of the arguments_list_p */ in ecma_op_create_typedarray()
[all …]
Decma-array-object.h65 ecma_op_new_array_object (ecma_length_t length);
68 ecma_op_new_fast_array_object (ecma_length_t length);
99 ecma_op_create_array_object (const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len,
105 ecma_length_t length);
Decma-string-object.c44ecma_length_t arguments_list_len) /**< length of the arguments' list */ in ecma_op_create_string_object()
105 ecma_length_t length = ecma_string_get_length (prim_value_str_p); in ecma_op_string_list_lazy_property_names()
107 for (ecma_length_t i = 0; i < length; i++) in ecma_op_string_list_lazy_property_names()
Decma-proxy-object.h42 const ecma_length_t args_count);
105 ecma_length_t argc);
111 ecma_length_t argc);
Decma-arraybuffer-object.c47 ecma_arraybuffer_new_object (ecma_length_t length) /**< length of the arraybuffer */ in ecma_arraybuffer_new_object()
76 ecma_arraybuffer_new_object_external (ecma_length_t length, /**< length of the buffer_p to use */ in ecma_arraybuffer_new_object_external()
107ecma_length_t arguments_list_len) /**< length of the arguments' list */ in ecma_op_create_arraybuffer_object()
174 ecma_length_t JERRY_ATTR_PURE
Decma-function-object.h50 ecma_length_t arguments_list_len,
75 const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len);
79 const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len);
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string.c63 ecma_length_t args_number) /**< number of arguments */ in ecma_builtin_string_object_from_char_code()
82 for (ecma_length_t arg_index = 0; in ecma_builtin_string_object_from_char_code()
127 ecma_length_t args_number) /**< number of arguments */ in ecma_builtin_string_object_raw()
133 ecma_length_t number_of_substitutions; in ecma_builtin_string_object_raw()
281 ecma_length_t args_number) /**< number of arguments */ in ecma_builtin_string_object_from_code_point()
292 for (ecma_length_t index = 0; index < args_number; index++) in ecma_builtin_string_object_from_code_point()
348 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_string_dispatch_call()
388ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_string_dispatch_construct()
Decma-builtins-internal.h92 ecma_length_t); \
95 ecma_length_t); \
100 ecma_length_t);
112 ecma_length_t);
Decma-builtin-arraybuffer-prototype.c68 ecma_length_t len = ecma_arraybuffer_get_length (object_p); in ecma_builtin_arraybuffer_prototype_bytelength_getter()
108 ecma_length_t len = ecma_arraybuffer_get_length (object_p); in ecma_builtin_arraybuffer_prototype_object_slice()
110 ecma_length_t start = 0, end = len; in ecma_builtin_arraybuffer_prototype_object_slice()
137 ecma_length_t new_len = (end >= start) ? (end - start) : 0; in ecma_builtin_arraybuffer_prototype_object_slice()
Decma-builtin-helpers.c520 const ecma_length_t original_len = ecma_string_get_length (original_str_p); in ecma_builtin_helper_string_prototype_object_index_of()
575ecma_length_t start = ecma_builtin_helper_string_index_normalize (pos_num, original_len, use_first… in ecma_builtin_helper_string_prototype_object_index_of()
579 ecma_length_t index_of = 0; in ecma_builtin_helper_string_prototype_object_index_of()
588 const ecma_length_t search_len = ecma_string_get_length (search_str_p); in ecma_builtin_helper_string_prototype_object_index_of()
617 ecma_length_t search_str_len = ecma_string_get_length (search_str_p); in ecma_builtin_helper_string_prototype_object_index_of()
632 (ecma_length_t) start_ends_with, &index_of)) in ecma_builtin_helper_string_prototype_object_index_of()
634 ret_value = ecma_make_boolean_value (index_of == (ecma_length_t) start_ends_with); in ecma_builtin_helper_string_prototype_object_index_of()
680 ecma_length_t start_pos, /**< start position */ in ecma_builtin_helper_string_find_index()
681ecma_length_t *ret_index_p) /**< [out] position found in original string */ in ecma_builtin_helper_string_find_index()
684 const ecma_length_t original_len = ecma_string_get_length (original_str_p); in ecma_builtin_helper_string_find_index()
[all …]
Decma-builtin-string-iterator-prototype.c83 ecma_length_t position = ext_obj_p->u.pseudo_array.u1.iterator_index; in ecma_builtin_string_iterator_prototype_object_next()
91 ecma_length_t len = ecma_string_get_length (string_p); in ecma_builtin_string_iterator_prototype_object_next()
105 ecma_length_t result_size = 1; in ecma_builtin_string_iterator_prototype_object_next()
116 ecma_char_t second = ecma_string_get_char_at_pos (string_p, (ecma_length_t) (position + 1)); in ecma_builtin_string_iterator_prototype_object_next()
Decma-builtin-function-prototype.c180ecma_length_t arguments_number) /**< number of arguments */ in ecma_builtin_function_prototype_object_call()
194 (ecma_length_t) (arguments_number - 1u)); in ecma_builtin_function_prototype_object_call()
209ecma_length_t arguments_number) /**< number of arguments */ in ecma_builtin_function_prototype_object_bind()
290 for (ecma_length_t i = 0; i < arguments_number; i++) in ecma_builtin_function_prototype_object_bind()
373ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_function_prototype_dispatch_call()
387ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_function_prototype_dispatch_construct()
406ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_function_prototype_dispatch_routine()
Decma-builtin-string-prototype.c170 const ecma_length_t len = ecma_string_get_length (original_string_p); in ecma_builtin_string_prototype_char_at_helper()
209ecma_length_t arguments_number) /**< number of arguments */ in ecma_builtin_string_prototype_object_concat()
700 const ecma_length_t len = ecma_string_get_length (get_string_val); in ecma_builtin_string_prototype_object_slice()
703 ecma_length_t start = 0, end = len; in ecma_builtin_string_prototype_object_slice()
823 ecma_length_t array_length = 0; in ecma_builtin_string_prototype_object_split()
941 const ecma_length_t len = ecma_string_get_length (original_string_p); in ecma_builtin_string_prototype_object_substring()
942 ecma_length_t start = 0, end = len; in ecma_builtin_string_prototype_object_substring()
1024 ecma_length_t character_length; in ecma_builtin_string_prototype_object_conversion_helper()
1042 for (ecma_length_t i = 0; i < character_length; i++) in ecma_builtin_string_prototype_object_conversion_helper()
1063 ecma_length_t character_length; in ecma_builtin_string_prototype_object_conversion_helper()
[all …]
Decma-builtin-error.c52 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_error_dispatch_call()
64 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_error_dispatch_construct()
Decma-builtin-referenceerror.c54ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_reference_error_dispatch_call()
66ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_reference_error_dispatch_construct()
Decma-builtin-typeerror.c54 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_type_error_dispatch_call()
66ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_type_error_dispatch_construct()
Decma-builtin-evalerror.c54 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_eval_error_dispatch_call()
66ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_eval_error_dispatch_construct()
Decma-builtin-urierror.c54 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uri_error_dispatch_call()
66ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uri_error_dispatch_construct()
Decma-builtin-rangeerror.c54ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_range_error_dispatch_call()
66ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_range_error_dispatch_construct()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray.c60 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_typedarray_from()
129 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_typedarray_of()
195 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_typedarray_dispatch_call()
212ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_typedarray_dispatch_construct()
/third_party/jerryscript/jerry-core/lit/
Dlit-char-helpers.c525 static ecma_length_t
629 static ecma_length_t
656 ecma_length_t char_sequence = 1; in search_in_conversion_table()
703 ecma_length_t
706 ecma_length_t buffer_size) /**< buffer size */ in lit_char_to_lower_case()
718ecma_length_t lowercase_sequence = search_in_bidirectional_conversion_tables (character, output_bu… in lit_char_to_lower_case()
763 ecma_length_t
766 ecma_length_t buffer_size) /**< buffer size */ in lit_char_to_upper_case()
778ecma_length_t uppercase_sequence = search_in_bidirectional_conversion_tables (character, output_bu… in lit_char_to_upper_case()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c375 ecma_length_t converted_string_length = 0; in ecma_new_ecma_string_from_utf8_converted_to_cesu8()
1060ecma_length_t start_pos, /**< position of the first character */ in ecma_substring_copy_to_cesu8_buffer()
1061 ecma_length_t end_pos, /**< position of the last character */ in ecma_substring_copy_to_cesu8_buffer()
1069 ecma_length_t string_length = ecma_string_get_length (string_desc_p); in ecma_substring_copy_to_cesu8_buffer()
1139 ecma_length_t start_pos, /**< position of the first character */ in ecma_substring_copy_to_utf8_buffer()
1140 ecma_length_t end_pos, /**< position of the last character */ in ecma_substring_copy_to_utf8_buffer()
1151 ecma_length_t utf8_str_length = ecma_string_get_utf8_length (string_desc_p); in ecma_substring_copy_to_utf8_buffer()
1164 ecma_length_t cesu8_str_length = ecma_string_get_length (string_desc_p); in ecma_substring_copy_to_utf8_buffer()
1283 static inline ecma_length_t JERRY_ATTR_ALWAYS_INLINE
1288 ecma_length_t size = 1; in ecma_string_get_uint32_size()
[all …]
Decma-helpers.h327 ecma_length_t start_pos,
328 ecma_length_t end_pos,
333 ecma_length_t start_pos,
334 ecma_length_t end_pos,
358 ecma_length_t ecma_string_get_length (const ecma_string_t *string_p);
359 ecma_length_t ecma_string_get_utf8_length (const ecma_string_t *string_p);
362 ecma_char_t ecma_string_get_char_at_pos (const ecma_string_t *string_p, ecma_length_t index);
367 …ng_t *ecma_string_substr (const ecma_string_t *string_p, ecma_length_t start_pos, ecma_length_t en…
492 ecma_length_t ecma_compiled_code_get_formal_params (const ecma_compiled_code_t *bytecode_p);

1234