Home
last modified time | relevance | path

Searched refs:jerry_length_t (Results 1 – 25 of 39) sorted by relevance

12

/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h153 typedef uint32_t jerry_length_t; typedef
221 const jerry_length_t args_count);
355 const jerry_length_t *str_lengths_p);
452 jerry_length_t jerry_get_string_length (const jerry_value_t value);
453 jerry_length_t jerry_get_utf8_string_length (const jerry_value_t value);
459 jerry_length_t start_pos,
460 jerry_length_t end_pos,
464 jerry_length_t start_pos,
465 jerry_length_t end_pos,
628 jerry_value_t jerry_create_arraybuffer (const jerry_length_t size);
[all …]
/third_party/jerryscript/jerry-ext/arg/
Darg.c39 … const jerry_length_t js_arg_cnt, /**< the count of the `js_arg_p` array */ in jerryx_arg_transform_args()
41 jerry_length_t c_arg_cnt) /**< the count of the `c_arg_p` array */ in jerryx_arg_transform_args()
73 … const jerry_length_t js_arg_cnt, /**< the count of the `js_arg_p` array */ in jerryx_arg_transform_this_and_args()
75jerry_length_t c_arg_cnt) /**< the count of the `c_arg_p` array */ in jerryx_arg_transform_this_and_args()
111 … const jerry_length_t name_cnt, /**< count of the name list */ in jerryx_arg_transform_object_properties()
113jerry_length_t c_arg_cnt) /**< the count of the `c_arg_p` array */ in jerryx_arg_transform_object_properties()
133 for (jerry_length_t i = 0; i < name_cnt; i++, name_p++) in jerryx_arg_transform_object_properties()
141 for (jerry_length_t j = 0; j < i; j++) in jerryx_arg_transform_object_properties()
157 for (jerry_length_t i = 0; i < name_cnt; i++) in jerryx_arg_transform_object_properties()
176 jerry_length_t c_arg_cnt) /**< the count of the `c_arg_p` array */ in jerryx_arg_transform_array()
[all …]
Darg-internal.h27 const jerry_length_t js_arg_cnt; /**< the total num of JS arguments */
28 jerry_length_t js_arg_idx; /**< current index of JS argument */
Darg-js-iterator-helper.c74 jerry_length_t
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Darg.h51 jerry_length_t name_cnt; /**< count of the name list */
53 jerry_length_t c_arg_cnt; /**< the count of the `c_arg_p` array */
62 jerry_length_t c_arg_cnt; /**< the count of the `c_arg_p` array */
77 const jerry_length_t js_arg_cnt,
79 jerry_length_t c_arg_cnt);
82 const jerry_length_t js_arg_cnt,
84 jerry_length_t c_arg_cnt);
88 const jerry_length_t name_cnt,
90 jerry_length_t c_arg_cnt);
93 jerry_length_t c_arg_cnt);
[all …]
Dhandler.h38 … const jerry_value_t args_p[], const jerry_length_t args_cnt);
40 … const jerry_value_t args_p[], const jerry_length_t args_cnt);
42 const jerry_value_t args_p[], const jerry_length_t args_cnt);
44 const jerry_value_t args_p[], const jerry_length_t args_cnt);
46 const jerry_value_t args_p[], const jerry_length_t args_cnt);
48 … const jerry_value_t args_p[], const jerry_length_t args_cnt);
/third_party/jerryscript/jerry-ext/handler/
Dhandler-assert.c35 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_assert_fatal()
62 jerry_length_t total_size = jerry_get_utf8_string_size (property); in jerryx_handler_assert_fatal()
63 jerry_length_t current_size = 0; in jerryx_handler_assert_fatal()
65 const jerry_length_t copy_size = (jerry_length_t) (sizeof (string_buffer) - 1); in jerryx_handler_assert_fatal()
106 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_assert_throw()
131 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_assert()
Dhandler-print.c43 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_print()
52 for (jerry_length_t arg_index = 0; arg_index < args_cnt; arg_index++) in jerryx_handler_print()
72 jerry_length_t length = jerry_get_utf8_string_length (str_val); in jerryx_handler_print()
73 jerry_length_t substr_pos = 0; in jerryx_handler_print()
Dhandler-gc.c27 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_gc()
Dhandler-resource-name.c32 const jerry_length_t args_cnt) /**< number of function arguments */ in jerryx_handler_resource_name()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c112 const jerry_length_t args_cnt) /**< arguments length */ in test_validator1_handler()
216 const jerry_length_t args_cnt) /**< arguments length */ in test_validator2_handler()
262 const jerry_length_t args_cnt) /**< arguments length */ in test_validator3_handler()
329 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_prop1_handler()
372 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_prop2_handler()
422 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_prop3_handler()
462 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_int1_handler()
517 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_int2_handler()
567 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_int3_handler()
596 const jerry_length_t args_cnt) /**< arguments length */ in test_validator_array1_handler()
[all …]
/third_party/jerryscript/tests/unit-core/
Dtest-typedarray.cpp57 const jerry_length_t args_cnt) /**< number of function arguments */ in assert_handler()
72 jerry_length_t utf8_sz = jerry_get_string_size (args_p[1]); in assert_handler()
90 jerry_length_t element_count, /**< expected element count */ in test_typedarray_info()
91 jerry_length_t bytes_per_element) /**< bytes per element for the given type */ in test_typedarray_info()
98 jerry_length_t byte_length = (uint32_t) -1; in test_typedarray_info()
99 jerry_length_t byte_offset = (uint32_t) -1; in test_typedarray_info()
440 jerry_length_t length = jerry_get_typedarray_length (values[idx]);
448 jerry_length_t offset = 22;
449 jerry_length_t byte_count = 23;
Dtest-arraybuffer.cpp45 const jerry_length_t args_cnt) /**< number of function arguments */ in assert_handler()
60 jerry_length_t utf8_sz = jerry_get_string_size (args_p[1]); in assert_handler()
160 jerry_length_t bytes_read = jerry_arraybuffer_read (arraybuffer, 0, data, 20);
182 jerry_length_t bytes_written = jerry_arraybuffer_write (arraybuffer, 0, data, 20);
200 jerry_length_t bytes_written = jerry_arraybuffer_write (arraybuffer, 0, data, 20);
216 jerry_length_t copied = jerry_arraybuffer_write (arrayb, 0, &new_value, 1);
227 jerry_length_t read = jerry_arraybuffer_read (arrayb, 0, test_buffer, buffer_size);
Dtest-promise.cpp43 const jerry_length_t args_cnt) /**< arguments length */ in create_promise1_handler()
60 const jerry_length_t args_cnt) /**< arguments length */ in create_promise2_handler()
77 const jerry_length_t args_cnt) /**< number of function arguments */ in assert_handler()
Dtest-dataview.cpp67 jerry_length_t byteOffset = 0;
68 jerry_length_t byteLength = 0;;
Dtest-proxy.cpp66 const jerry_length_t args_count) /**< number of function arguments */ in handler_get()
92 const jerry_length_t args_count) /**< number of function arguments */ in handler_set()
Dtest-api.cpp70 const jerry_length_t args_cnt) /**< arguments length */ in handler()
98 const jerry_length_t args_cnt) /**< arguments length */ in handler_throw_test()
146 const jerry_length_t args_cnt) /**< arguments length */ in handler_construct()
207 const jerry_length_t magic_string_lengths[] =
210 (jerry_length_t) (sizeof (jerry_magic_string_ex_ ## NAME) - 1u),
373 jerry_length_t cesu8_length;
/third_party/jerryscript/jerry-core/api/
Djerry.c342 const jerry_length_t *str_lengths_p) /**< lengths of all strings */ in jerry_register_magic_strings()
1455 const jerry_length_t argument_size = 1; in jerry_create_array()
1926 jerry_length_t
1947 jerry_length_t
2051 jerry_length_t start_pos, /**< position of the first character */ in jerry_substring_to_char_buffer()
2052 jerry_length_t end_pos, /**< position of the last character */ in jerry_substring_to_char_buffer()
2085jerry_length_t start_pos, /**< position of the first character */ in jerry_substring_to_utf8_char_buffer()
2086 jerry_length_t end_pos, /**< position of the last character */ in jerry_substring_to_utf8_char_buffer()
3690 jerry_create_arraybuffer (const jerry_length_t size) /**< size of the ArrayBuffer to create */ in jerry_create_arraybuffer()
3714 jerry_create_arraybuffer_external (const jerry_length_t size, /**< size of the buffer to used */ in jerry_create_arraybuffer_external()
[all …]
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-util/
Dwrappers.h35 const jerry_length_t args_count)
49 const jerry_length_t args_count)
60 const jerry_length_t args_count)
/third_party/jerryscript/docs/
D09.EXT-REFERENCE-ARG.md50 jerry_length_t name_cnt; /**< count of the name list */
52 jerry_length_t c_arg_cnt; /**< the count of the `c_arg_p` array */
73 jerry_length_t c_arg_cnt; /**< the count of the `c_arg_p` array */
198 const jerry_length_t js_arg_cnt,
200 jerry_length_t c_arg_cnt)
223 const jerry_length_t args_count)
285 const jerry_length_t js_arg_cnt,
287 jerry_length_t c_arg_cnt)
318 const jerry_length_t name_cnt,
320 jerry_length_t c_arg_cnt);
[all …]
D10.EXT-REFERENCE-HANDLER.md273 const jerry_length_t args_cnt)
337 const jerry_length_t args_cnt)
432 const jerry_value_t args_p[], const jerry_length_t args_cnt);
459 const jerry_value_t args_p[], const jerry_length_t args_cnt);
498 const jerry_value_t args_p[], const jerry_length_t args_cnt);
532 const jerry_value_t args_p[], const jerry_length_t args_cnt);
/third_party/jerryscript/targets/particle/source/
Dmain.cpp28 const jerry_length_t args_cnt) /**< number of function arguments */ in set_led()
52 const jerry_length_t args_cnt) /**< number of function arguments */ in js_delay()
/third_party/jerryscript/targets/esp8266/user/
Djerry_extapi.c32 const jerry_length_t args_cnt)
54 for (jerry_length_t cc = 0; cc < args_cnt; cc++) in DELCARE_HANDLER()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c144 const jerry_length_t args_count) in handle_clear_require_cache()
160 const jerry_length_t args_count) in handle_require()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-launcher/source/
Dsetup.cpp25 extern const jerry_length_t jsmbed_js_magic_string_lengths[];

12