Home
last modified time | relevance | path

Searched refs:jerry_create_string (Results 1 – 25 of 51) sorted by relevance

123

/third_party/jerryscript/tests/unit-core/
Dtest-api-binary-operations-comparisons.cpp77 jerry_create_string ((const jerry_char_t *) "example string"),
78 jerry_create_string ((const jerry_char_t *) "example string"),
81 jerry_create_string ((const jerry_char_t *) "example string"),
85 jerry_create_string ((const jerry_char_t *) "example string"),
89 jerry_create_string ((const jerry_char_t *) "example string"),
109 jerry_create_string ((const jerry_char_t *) "example string"),
118 jerry_create_string ((const jerry_char_t *) "example string"),
119 jerry_create_string ((const jerry_char_t *) "example string"),
122 jerry_create_string ((const jerry_char_t *) "example string"),
126 jerry_create_string ((const jerry_char_t *) "example string"),
[all …]
Dtest-api-binary-operations-arithmetics.cpp98 …T_ARI (jerry_create_string ((const jerry_char_t *) "foo"), jerry_create_string ((const jerry_char_…
99 T_ARI (jerry_create_string ((const jerry_char_t *) "foo"), jerry_create_undefined ()),
100 T_ARI (jerry_create_string ((const jerry_char_t *) "foo"), jerry_create_null ()),
101 T_ARI (jerry_create_string ((const jerry_char_t *) "foo"), jerry_create_number (5.0)),
102 T_ARI (jerry_create_undefined (), jerry_create_string ((const jerry_char_t *) "foo")),
103 T_ARI (jerry_create_null (), jerry_create_string ((const jerry_char_t *) "foo")),
104 T_ARI (jerry_create_number (5.0), jerry_create_string ((const jerry_char_t *) "foo")),
112 T_ARI (jerry_acquire_value (obj1), jerry_create_string ((const jerry_char_t *) "foo")),
151 jerry_create_string ((const jerry_char_t *) "foo"),
152 jerry_create_string ((const jerry_char_t *) "bar"),
[all …]
Dtest-api-binary-operations-instanceof.cpp82 jerry_value_t prototype_str = jerry_create_string ((const jerry_char_t *) "prototype");
119 …T (jerry_create_string ((const jerry_char_t *) ""), jerry_create_string ((const jerry_char_t *) ""…
120 T (jerry_create_string ((const jerry_char_t *) ""), jerry_create_number (5.0), true),
121 T (jerry_create_number (5.0), jerry_create_string ((const jerry_char_t *) ""), true),
126 T (jerry_create_object (), jerry_create_string ((const jerry_char_t *) ""), true)
Dtest-internal-properties.cpp56 jerry_value_t prop_name_1 = jerry_create_string ((const jerry_char_t *) "foo");
57 jerry_value_t prop_name_2 = jerry_create_string ((const jerry_char_t *) "non_hidden_prop");
62 jerry_value_t prop_name_3_desc = jerry_create_string ((const jerry_char_t *) "bar");
68 prop_name_3 = jerry_create_string ((const jerry_char_t *) "non_hidden_string_prop");
71 jerry_value_t internal_prop_name_1 = jerry_create_string ((const jerry_char_t *) "hidden_foo");
72 jerry_value_t internal_prop_name_2 = jerry_create_string ((const jerry_char_t *) "hidden_prop");
77 jerry_value_t internal_prop_name_3_desc = jerry_create_string ((const jerry_char_t *) "bar");
83 internal_prop_name_3 = jerry_create_string ((const jerry_char_t *) "hidden_string_prop");
Dtest-api-strings.cpp75 args[0] = jerry_create_string ((jerry_char_t *) "");
84 args[1] = jerry_create_string ((jerry_char_t *) "\x73\x74\x72\x3a \xed\xa0\x81\xed\xb0\x80");
104 args[1] = jerry_create_string ((jerry_char_t *) "\x73\x74\x72\x3a \xed\xa0\x81\xed\xb0\x80");
181 args[0] = jerry_create_string ((jerry_char_t *) "\x73\x74\x72\x3a \xed\xa0\x81\xed\xb0\x80");
212 jerry_value_t test_str = jerry_create_string ((const jerry_char_t *) "3");
235 args[0] = jerry_create_string ((jerry_char_t *) "an ascii string");
276 args[0] = jerry_create_string ((jerry_char_t *) "0101");
288 args[0] = jerry_create_string ((jerry_char_t *) "\x73\x74\x72\x3a \xed\xa0\x80\xed\xb6\x8a");
Dtest-container.cpp65 jerry_value_t map_str = jerry_create_string ((jerry_char_t *) "Map");
66 jerry_value_t set_str = jerry_create_string ((jerry_char_t *) "Set");
67 jerry_value_t weakmap_str = jerry_create_string ((jerry_char_t *) "WeakMap");
68 jerry_value_t weakset_str = jerry_create_string ((jerry_char_t *) "WeakSet");
Dtest-api-set-and-clear-error-flag.cpp78 jerry_value_t str = jerry_create_string (pterodactylus);
85 str = jerry_create_string (pterodactylus);
93 str = jerry_create_string (pterodactylus);
100 str = jerry_create_string (pterodactylus);
108 str = jerry_create_string (pterodactylus);
117 str = jerry_create_string (pterodactylus);
Dtest-symbol.cpp68 jerry_value_t symbol_desc_1 = jerry_create_string (STRING_FOO);
69 jerry_value_t symbol_desc_2 = jerry_create_string (STRING_FOO);
129 jerry_value_t value_3 = jerry_create_string (STRING_BAR);
165 jerry_value_t empty_symbol_desc = jerry_create_string ((const jerry_char_t *) "");
185 jerry_value_t bar_symbol_desc = jerry_create_string (STRING_BAR);
Dtest-api-value-type.cpp102 ENTRY (JERRY_TYPE_STRING, jerry_create_string (test_eval_function)),
103 ENTRY (JERRY_TYPE_STRING, jerry_create_string ((jerry_char_t *) "")),
118 jerry_value_t symbol_desc_value = jerry_create_string ((jerry_char_t *) "foo");
Dtest-abort.cpp34 jerry_value_t value = jerry_create_string ((jerry_char_t *) "Abort run!"); in callback_func()
72 jerry_value_t callback_name = jerry_create_string ((jerry_char_t *) "callback");
144 jerry_value_t value = jerry_create_string ((jerry_char_t *) "Error description");
Dtest-resource-name.cpp81 jerry_value_t name = jerry_create_string ((const jerry_char_t *) "resourceName");
111 jerry_value_t resource1_name_value = jerry_create_string ((const jerry_char_t *) resource_1);
142 jerry_value_t resource2_name_value = jerry_create_string ((const jerry_char_t *) resource_2);
Dtest-promise.cpp106 jerry_value_t function_name_val = jerry_create_string ((const jerry_char_t *) name_p); in register_js_function()
174 jerry_value_t str_resolve = jerry_create_string (s1);
175 jerry_value_t str_reject = jerry_create_string (s2);
Dtest-api-promise.cpp40 jerry_value_t obj_key = jerry_create_string ((const jerry_char_t *) "key_one"); in test_promise_resolve_success()
57 jerry_value_t obj_key = jerry_create_string ((const jerry_char_t *) "key_one"); in test_promise_resolve_success()
81 jerry_value_t obj_key = jerry_create_string ((const jerry_char_t *) "key_one"); in test_promise_resolve_success()
Dtest-api.cpp91 return jerry_create_string ((jerry_char_t *) "string from handler"); in handler()
157 jerry_value_t field_name = jerry_create_string ((jerry_char_t *) "value_field"); in handler_construct()
317 jerry_value_t prop_name_val = jerry_create_string ((const jerry_char_t *) str_p); in get_property()
328 jerry_value_t prop_name_val = jerry_create_string ((const jerry_char_t *) str_p); in set_property()
443 args[0] = jerry_create_string ((jerry_char_t *) "abcd");
1007 args[0] = jerry_create_string ((jerry_char_t *) "console");
1008 …args[1] = jerry_create_string ((jerry_char_t *) "\xed\xa0\x80\xed\xb6\x8a"); /**< greek zero sign …
1046 jerry_value_t key = jerry_create_string ((const jerry_char_t *) "name");
1068 jerry_value_t key = jerry_create_string ((const jerry_char_t *) "name");
1069 jerry_value_t value = jerry_create_string ((const jerry_char_t *) "John");
Dtest-objects-foreach.cpp38 jerry_value_t map_str = jerry_create_string ((const jerry_char_t *) "Map"); in test_container()
119 jerry_value_t internal_prop_name = jerry_create_string ((const jerry_char_t *) "hidden_foo"); in test_internal_prop()
251 jerry_value_t property_name = jerry_create_string ((jerry_char_t *) "xyzzy");
Dtest-dataview.cpp101 jerry_value_t view1_str = jerry_create_string ((const jerry_char_t *) "view1");
102 jerry_value_t view2_str = jerry_create_string ((const jerry_char_t *) "view2");
Dtest-api-property.cpp71 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "my_defined_property");
113 prop_name = jerry_create_string ((const jerry_char_t *) "enumerable-property");
Dtest-typedarray.cpp44 jerry_value_t name_val = jerry_create_string ((const jerry_char_t *) name_p); in register_js_value()
121 …jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) test_entries[i].constructor_… in test_typedarray_queries()
420 jerry_create_string ((const jerry_char_t *) "test"),
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-module-canonical.c39 return jerry_create_string ((jerry_char_t *) ACTUAL_NAME); in get_canonical_name()
81 jerry_value_t actual_name = jerry_create_string ((jerry_char_t *) ACTUAL_NAME); in main()
82 jerry_value_t alias_name = jerry_create_string ((jerry_char_t *) ALIAS_NAME); in main()
91 jerry_value_t prop_name = jerry_create_string ((jerry_char_t *) "something"); in main()
Dtest-ext-module-empty.c35 module_name = jerry_create_string ((jerry_char_t *) "some-unknown-module-name"); in main()
43 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "message"); in main()
58 prop_name = jerry_create_string ((const jerry_char_t *) "moduleName"); in main()
Dtest-ext-method-register.c51 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) target_prop); in freeze_property()
253 jerry_value_t prop_ok_val = jerry_create_string ((const jerry_char_t *) prop_ok); in test_error_multiple_functions()
284 jerry_value_t prop_err_val = jerry_create_string ((const jerry_char_t *) prop_err); in test_error_multiple_functions()
295 jerry_value_t prop_not_val = jerry_create_string ((const jerry_char_t *) prop_not); in test_error_multiple_functions()
/third_party/jerryscript/targets/particle/source/
Dmain.cpp82 prop_name = jerry_create_string ((const jerry_char_t *) "setLed"); in init_jerry()
88 prop_name = jerry_create_string ((const jerry_char_t *) "delay"); in init_jerry()
97 prop_name = jerry_create_string ((const jerry_char_t *) "test"); in init_jerry()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/
DInterruptIn-js.cpp65 jerry_value_t property_name = jerry_create_string((const jerry_char_t*)"cb_rise"); in DECLARE_CLASS_FUNCTION()
101 jerry_value_t property_name = jerry_create_string((const jerry_char_t*)"cb_rise"); in DECLARE_CLASS_FUNCTION()
130 jerry_value_t property_name = jerry_create_string((const jerry_char_t*)"cb_fall"); in DECLARE_CLASS_FUNCTION()
166 jerry_value_t property_name = jerry_create_string((const jerry_char_t*)"cb_fall"); in DECLARE_CLASS_FUNCTION()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-library-registry/source/
Dwrap_tools.cpp43 jerry_value_t jerry_name = jerry_create_string((jerry_char_t *) name); in jsmbed_wrap_register_global_function()
67 jerry_value_t property_name = jerry_create_string(reinterpret_cast<const jerry_char_t *>(name)); in jsmbed_wrap_register_class_function()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c214 js_property_name = jerry_create_string ((const jerry_char_t *) "require"); in main()
223 js_property_name = jerry_create_string ((const jerry_char_t *) "clear_require_cache"); in main()

123