/third_party/jerryscript/jerry-core/include/ |
D | jerryscript-core.h | 148 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 …]
|
D | jerryscript-debugger.h | 69 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/ |
D | default-io.c | 98 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/ |
D | handler-print.c | 78 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()
|
D | handler-assert.c | 74 jerry_size_t copied_bytes = jerry_substring_to_utf8_char_buffer (property, in jerryx_handler_assert_fatal()
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry.c | 1509 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 …]
|
D | jerry-debugger.c | 193 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/ |
D | main-unix.c | 127 jerry_size_t str_size = jerry_get_utf8_string_size (item_val); in print_unhandled_exception() 135 … jerry_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() 160 …jerry_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()
|
D | libfuzzer.c | 25 if (jerry_is_valid_utf8_string ((jerry_char_t *) data, (jerry_size_t) size)) in LLVMFuzzerTestOneInput()
|
D | main-unix-snapshot.c | 188 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); in print_unhandled_exception() 198 …jerry_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/ |
D | test-ext-module-canonical.c | 28 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()
|
D | test-ext-method-register.c | 266 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()
|
D | test-ext-module-empty.c | 28 jerry_size_t bytes_copied; in main()
|
/third_party/jerryscript/targets/curie_bsp/jerry_app/quark/ |
D | main.c | 51 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/ |
D | jerry-module-test.c | 88 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/ |
D | test-api.cpp | 73 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);
|
D | test-api-strings.cpp | 67 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,
|
D | test-proxy.cpp | 78 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()
|
D | test-native-instanceof.cpp | 28 const jerry_size_t args_count) in external_function()
|
/third_party/jerryscript/jerry-ext/arg/ |
D | arg-transform-functions.c | 269 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/ |
D | 07.DEBUGGER.md | 381 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);
|
D | 02.API-REFERENCE.md | 194 ## 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/ |
D | jerry_main.c | 163 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/ |
D | jerry_extapi.c | 58 jerry_size_t size = jerry_get_utf8_string_size (args_p[0]); in DELCARE_HANDLER()
|
/third_party/jerryscript/jerry-ext/module/ |
D | module.c | 189 jerry_size_t name_size = jerry_get_utf8_string_size (canonical_name); in jerryx_resolve_native_module()
|