Home
last modified time | relevance | path

Searched refs:script_size (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/docs/
D03.API-EXAMPLE.md92 const jerry_length_t script_size = sizeof (script) - 1;
102 script_size,
234 const jerry_length_t script_size = sizeof (script) - 1;
263 jerry_value_t parsed_code = jerry_parse (NULL, 0, script, script_size, JERRY_PARSE_NO_OPTS);
354 const jerry_length_t script_size = sizeof (script) - 1;
383 jerry_value_t parsed_code = jerry_parse (NULL, 0, script, script_size, JERRY_PARSE_NO_OPTS);
439 const jerry_length_t script_size = sizeof (script) - 1;
449 jerry_value_t parsed_code = jerry_parse (NULL, 0, script, script_size, JERRY_PARSE_NO_OPTS);
D02.API-REFERENCE.md6916 const jerry_size_t script_size = sizeof (script) - 1;
6918 if (jerry_is_valid_utf8_string (script, script_size))
6920 jerry_run_simple (script, script_size, JERRY_INIT_EMPTY);
6975 const jerry_size_t script_size = sizeof (script) - 1;
6977 if (jerry_is_valid_cesu8_string (script, script_size))
6980 script_size);
/third_party/jerryscript/tests/unit-core/
Dtest-api.cpp337 size_t script_size = strlen (script_p); in test_run_simple() local
339 return jerry_run_simple ((const jerry_char_t *) script_p, script_size, JERRY_INIT_EMPTY); in test_run_simple()
/third_party/node/deps/v8/src/d8/
Dd8.cc3922 size_t script_size; in Execute() local
3923 CHECK_EQ(read(REPRL_CRFD, &script_size, 8), 8); in Execute()
3924 char* buffer = new char[script_size + 1]; in Execute()
3926 size_t remaining = script_size; in Execute()
3933 buffer[script_size] = 0; in Execute()