Home
last modified time | relevance | path

Searched refs:jerry_size_t (Results 1 – 25 of 29) sorted by relevance

12

/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h148 typedef uint32_t jerry_size_t; typedef
450 jerry_size_t jerry_get_string_size (const jerry_value_t value);
451 jerry_size_t jerry_get_utf8_string_size (const jerry_value_t value);
454 jerry_size_t jerry_string_to_char_buffer (const jerry_value_t value, jerry_char_t *buffer_p, jerry_…
455 jerry_size_t jerry_string_to_utf8_char_buffer (const jerry_value_t value,
457 jerry_size_t buffer_size);
458 jerry_size_t jerry_substring_to_char_buffer (const jerry_value_t value,
462 jerry_size_t buffer_size);
463 jerry_size_t jerry_substring_to_utf8_char_buffer (const jerry_value_t value,
467 jerry_size_t buffer_size);
[all …]
Djerryscript-debugger.h69 void jerry_debugger_send_output (const jerry_char_t *buffer, jerry_size_t str_size);
70 void jerry_debugger_send_log (jerry_log_level_t level, const jerry_char_t *buffer, jerry_size_t str…
/third_party/jerryscript/jerry-port/default/
Ddefault-io.c98 jerry_debugger_send_log (level, (jerry_char_t *) buffer, (jerry_size_t) length); in jerry_port_log()
133 jerry_debugger_send_output ((jerry_char_t *) debug_buffer, (jerry_size_t) debug_buffer_index); in jerry_port_print_char()
/third_party/jerryscript/jerry-ext/handler/
Dhandler-print.c78 jerry_size_t substr_size = jerry_substring_to_utf8_char_buffer (str_val, in jerryx_handler_print()
111 for (jerry_size_t null_index = 0; null_str[null_index] != '\0'; null_index++) in jerryx_handler_print()
Dhandler-assert.c74 jerry_size_t copied_bytes = jerry_substring_to_utf8_char_buffer (property, in jerryx_handler_assert_fatal()
/third_party/jerryscript/jerry-core/api/
Djerry.c1509 jerry_size_t message_size) /**< size of the message in bytes */ in jerry_create_error_sz()
1723 jerry_size_t str_size) /**< string size */ in jerry_create_string_sz_from_utf8()
1757 jerry_size_t str_size) /**< string size */ in jerry_create_string_sz()
1812 jerry_size_t pattern_size, /**< length of the pattern */ in jerry_create_regexp_sz()
1884 jerry_size_t
1905 jerry_size_t
1975 jerry_size_t
1978 jerry_size_t buffer_size) /**< size of output buffer */ in jerry_string_to_char_buffer()
2014 jerry_size_t
2017 jerry_size_t buffer_size) /**< size of output buffer */ in jerry_string_to_utf8_char_buffer()
[all …]
Djerry-debugger.c193 jerry_size_t str_size) /**< string size */ in jerry_debugger_send_output()
215 jerry_size_t str_size) /**< string size */ in jerry_debugger_send_log()
/third_party/jerryscript/jerry-main/
Dmain-unix.c127 jerry_size_t str_size = jerry_get_utf8_string_size (item_val); in print_unhandled_exception()
135jerry_size_t string_end = jerry_string_to_utf8_char_buffer (item_val, err_str_buf, str_size); in print_unhandled_exception()
150 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); in print_unhandled_exception()
160jerry_size_t string_end = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size… in print_unhandled_exception()
744 if (!jerry_is_valid_utf8_string (source_p, (jerry_size_t) source_size)) in main()
834 jerry_size_t str_size = jerry_get_string_size (str_val); in main()
896 if (!jerry_is_valid_utf8_string (buffer, (jerry_size_t) len)) in main()
Dlibfuzzer.c25 if (jerry_is_valid_utf8_string ((jerry_char_t *) data, (jerry_size_t) size)) in LLVMFuzzerTestOneInput()
Dmain-unix-snapshot.c188 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); in print_unhandled_exception()
198jerry_size_t string_end = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size… in print_unhandled_exception()
350 if (!jerry_is_valid_utf8_string (source_p, (jerry_size_t) source_length)) in process_generate()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-module-canonical.c28 jerry_size_t name_size = jerry_get_string_size (name); in get_canonical_name()
50 jerry_size_t name_size = jerry_get_string_size (canonical_name); in resolve()
Dtest-ext-method-register.c266 jerry_size_t args_cnt = sizeof (args) / sizeof (jerry_value_t); in test_error_multiple_functions()
274 for (jerry_size_t idx = 0; idx < args_cnt; idx++) in test_error_multiple_functions()
Dtest-ext-module-empty.c28 jerry_size_t bytes_copied; in main()
/third_party/jerryscript/targets/curie_bsp/jerry_app/quark/
Dmain.c51 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); in jerry_resolve_error()
53 jerry_size_t sz = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size); in jerry_resolve_error()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c88 jerry_size_t name_size = jerry_get_utf8_string_size (name); in resolve_differently_handled_module()
115 jerry_size_t name_size = jerry_get_utf8_string_size (name); in cache_check()
/third_party/jerryscript/tests/unit-core/
Dtest-api.cpp73 jerry_size_t sz; in handler()
233 jerry_size_t sz = jerry_string_to_char_buffer (name, (jerry_char_t *) str_buf_p, 128); in foreach()
265 jerry_size_t echo_sz = jerry_string_to_char_buffer (value, in foreach()
285 jerry_size_t sz = jerry_string_to_char_buffer (name, (jerry_char_t *) str_buf_p, 128); in foreach_exception()
372 jerry_size_t sz, cesu8_sz;
930 jerry_size_t err_str_size = jerry_get_string_size (err_str_val);
1054 jerry_size_t buff_size = jerry_get_string_size (parsed_data);
1076 jerry_size_t buff_size = jerry_get_string_size (stringified);
Dtest-api-strings.cpp67 jerry_size_t sz, utf8_sz, cesu8_sz;
214 jerry_size_t copied_utf8 = jerry_substring_to_utf8_char_buffer (test_str,
223 jerry_size_t copied = jerry_substring_to_char_buffer (test_str,
Dtest-proxy.cpp78 jerry_size_t copied = jerry_string_to_char_buffer (args_p[1], (jerry_char_t *) buffer, 10); in handler_get()
107 jerry_size_t copied = jerry_string_to_char_buffer (args_p[1], (jerry_char_t *) buffer, 10); in handler_set()
Dtest-native-instanceof.cpp28 const jerry_size_t args_count) in external_function()
/third_party/jerryscript/jerry-ext/arg/
Darg-transform-functions.c269 jerry_size_t target_buf_size = (jerry_size_t) c_arg_p->extra_info; in jerryx_arg_string_to_buffer_common_routine()
270 jerry_size_t size; in jerryx_arg_string_to_buffer_common_routine()
/third_party/jerryscript/docs/
D07.DEBUGGER.md381 jerry_debugger_send_output (const jerry_char_t *buffer, jerry_size_t string_size)
400 jerry_size_t my_output_size = sizeof (my_output);
418 jerry_debugger_send_log (jerry_log_level_t level, const jerry_char_t *buffer, jerry_size_t string_s…
437 jerry_size_t my_log_size = sizeof (my_log);
D02.API-REFERENCE.md194 ## jerry_size_t section in JerryScript types
203 typedef uint32_t jerry_size_t;
1147 jerry_size_t argc = sizeof (args) / sizeof (args[0]);
1162 for (jerry_size_t idx = 0; idx < argc; idx++) {
2733 jerry_size_t
2746 jerry_size_t string_size = jerry_get_string_size (string);
2774 jerry_size_t
2789 jerry_size_t string_size = jerry_get_utf8_string_size (string);
2913 jerry_size_t
2916 jerry_size_t buffer_size);
[all …]
/third_party/jerryscript/targets/nuttx-stm32f4/
Djerry_main.c163 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); in print_unhandled_exception()
176 jerry_size_t sz = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size); in print_unhandled_exception()
/third_party/jerryscript/targets/esp8266/user/
Djerry_extapi.c58 jerry_size_t size = jerry_get_utf8_string_size (args_p[0]); in DELCARE_HANDLER()
/third_party/jerryscript/jerry-ext/module/
Dmodule.c189 jerry_size_t name_size = jerry_get_utf8_string_size (canonical_name); in jerryx_resolve_native_module()

12