/third_party/jerryscript/tests/unit-core/ |
D | test-api-binary-operations-arithmetics.cpp | 92 T_NAN (JERRY_BIN_OP_ADD, jerry_create_number (3.1), jerry_create_undefined ()), 97 T_ARI (jerry_create_number (3.1), jerry_create_undefined ()), 101 T_ARI (jerry_create_string ((const jerry_char_t *) "foo"), jerry_create_number (5.0)), 104 T_ARI (jerry_create_number (5.0), jerry_create_string ((const jerry_char_t *) "foo")), 116 T_ARI (jerry_acquire_value (obj1), jerry_create_number (5.0)), 120 T_NAN (JERRY_BIN_OP_DIV, jerry_create_number (0.0), jerry_create_number (0.0)), 126 T_NAN (JERRY_BIN_OP_REM, jerry_create_number (0.0), jerry_create_number (0.0)), 147 …T (JERRY_BIN_OP_ADD, jerry_create_number (5.0), jerry_create_number (5.0), jerry_create_number (10… 148 …T (JERRY_BIN_OP_ADD, jerry_create_number (3.1), jerry_create_number (10), jerry_create_number (13.… 149 …T (JERRY_BIN_OP_ADD, jerry_create_number (3.1), jerry_create_boolean (true), jerry_create_number (… [all …]
|
D | test-api-binary-operations-comparisons.cpp | 72 T (JERRY_BIN_OP_STRICT_EQUAL, jerry_create_number (5.0), jerry_create_number (5.0), true), 73 T (JERRY_BIN_OP_STRICT_EQUAL, jerry_create_number (3.1), jerry_create_number (10), false), 74 T (JERRY_BIN_OP_STRICT_EQUAL, jerry_create_number (3.1), jerry_create_undefined (), false), 75 T (JERRY_BIN_OP_STRICT_EQUAL, jerry_create_number (3.1), jerry_create_boolean (true), false), 90 jerry_create_number (5.0), 106 T (JERRY_BIN_OP_STRICT_EQUAL, jerry_acquire_value (obj1), jerry_create_number (5.0), false), 113 T (JERRY_BIN_OP_EQUAL, jerry_create_number (5.0), jerry_create_number (5.0), true), 114 T (JERRY_BIN_OP_EQUAL, jerry_create_number (3.1), jerry_create_number (10), false), 115 T (JERRY_BIN_OP_EQUAL, jerry_create_number (3.1), jerry_create_undefined (), false), 116 T (JERRY_BIN_OP_EQUAL, jerry_create_number (3.1), jerry_create_boolean (true), false), [all …]
|
D | test-api-set-and-clear-error-flag.cpp | 128 jerry_value_t num = jerry_create_number (test_num); 136 num = jerry_create_number (test_num); 143 num = jerry_create_number (test_num); 154 num = jerry_create_number (test_num); 163 num = jerry_create_number (test_num); 172 num = jerry_create_number (test_num); 182 num = jerry_create_number (test_num); 192 num = jerry_create_number (test_num); 203 jerry_value_t value = jerry_create_number (42); 207 value = jerry_create_number (42); [all …]
|
D | test-internal-properties.cpp | 86 jerry_value_t prop_value_1 = jerry_create_number (5.5); 87 jerry_value_t prop_value_2 = jerry_create_number (6.5); 88 jerry_value_t prop_value_3 = jerry_create_number (7.5); 90 jerry_value_t internal_prop_value_1 = jerry_create_number (8.5); 91 jerry_value_t internal_prop_value_2 = jerry_create_number (9.5); 92 jerry_value_t internal_prop_value_3 = jerry_create_number (10.5);
|
D | test-newtarget.cpp | 96 jerry_value_t sub_arg = jerry_create_number (TEST_ID_SIMPLE_CALL); in construct_handler() 151 jerry_value_t test_arg = jerry_create_number (TEST_ID_SIMPLE_CONSTRUCT); 160 jerry_value_t test_arg = jerry_create_number (TEST_ID_SIMPLE_CALL); 170 jerry_value_t test_arg = jerry_create_number (TEST_ID_CONSTRUCT_AND_CALL_SUB);
|
D | test-typedarray.cpp | 124 jerry_value_t length_arg = jerry_create_number (test_entries[i].element_count); in test_typedarray_queries() 183 test_number = jerry_create_number (test_int_numbers[j]); in test_property_by_index() 204 test_number = jerry_create_number (test_double_numbers[j]); in test_property_by_index() 242 test_number = jerry_create_number (test_uint_numbers[j]); in test_property_by_index() 260 …jerry_value_t set_undefined = jerry_set_property_by_index (typedarray, 100, jerry_create_number (5… in test_property_by_index() 418 jerry_create_number (11),
|
D | test-api-promise.cpp | 41 jerry_value_t set_result = jerry_set_property (resolve_value, obj_key, jerry_create_number (3)); in test_promise_resolve_success() 76 …jerry_value_t resolve_result = jerry_resolve_or_reject_promise (my_promise, jerry_create_number (5… in test_promise_resolve_success() 139 …jerry_value_t resolve_result = jerry_resolve_or_reject_promise (my_promise, jerry_create_number (5… in test_promise_resolve_fail()
|
D | test-proxy.cpp | 85 return jerry_create_number (demo_value); in handler_get() 115 return jerry_create_number (demo_value); in handler_set() 256 jerry_value_t new_value = jerry_create_number (12);
|
D | test-api-value-type.cpp | 80 ENTRY (JERRY_TYPE_NUMBER, jerry_create_number (-33.0)), 81 ENTRY (JERRY_TYPE_NUMBER, jerry_create_number (3)),
|
D | test-api.cpp | 420 args[0] = jerry_create_number (4); 421 args[1] = jerry_create_number (2); 673 jerry_value_t v_in = jerry_create_number (10.5); 808 val_t = jerry_create_number (6.25); 840 jerry_create_number (4), 841 jerry_create_number (6), 842 jerry_create_number (-2) 859 jerry_value_t num_val = jerry_create_number (123);
|
D | test-api-binary-operations-instanceof.cpp | 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),
|
D | test-symbol.cpp | 83 jerry_value_t value_1 = jerry_create_number (1); 84 jerry_value_t value_2 = jerry_create_number (2);
|
D | test-api-errortype.cpp | 81 jerry_create_number (11),
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/ |
D | I2C-js.cpp | 106 return jerry_create_number(result); in DECLARE_CLASS_FUNCTION() 141 jerry_value_t val = jerry_create_number(double(data[i])); in DECLARE_CLASS_FUNCTION() 202 return jerry_create_number(result); in DECLARE_CLASS_FUNCTION() 238 return jerry_create_number(result); in DECLARE_CLASS_FUNCTION()
|
D | AnalogIn-js.cpp | 60 return jerry_create_number(result); in DECLARE_CLASS_FUNCTION() 85 return jerry_create_number(result); in DECLARE_CLASS_FUNCTION()
|
D | DigitalOut-js.cpp | 90 return jerry_create_number(result); in DECLARE_CLASS_FUNCTION() 114 return jerry_create_number(result); in DECLARE_CLASS_FUNCTION()
|
D | setTimeout-js.cpp | 45 return jerry_create_number(id); in DECLARE_GLOBAL_FUNCTION()
|
D | setInterval-js.cpp | 45 return jerry_create_number(id); in DECLARE_GLOBAL_FUNCTION()
|
/third_party/jerryscript/tests/unit-ext/ |
D | test-ext-method-register.c | 35 return jerry_create_number (jargc); in method_hello() 263 jerry_create_number (22), in test_error_multiple_functions() 264 jerry_create_number (-3), in test_error_multiple_functions()
|
D | test-ext-module-canonical.c | 92 jerry_value_t prop_value = jerry_create_number (TEST_VALUE); in main()
|
/third_party/jerryscript/tests/unit-ext/module/ |
D | my-custom-module.c | 24 return jerry_create_number (42); in my_custom_module_on_resolve()
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-launcher/source/ |
D | setup.cpp | 39 jerry_value_t constant_value = jerry_create_number(jsmbed_js_magic_string_values[idx]); in jsmbed_js_load_magic_strings()
|
/third_party/jerryscript/targets/esp8266/user/ |
D | jerry_run.c | 72 jerry_value_t val_args[] = { jerry_create_number (ticknow) }; in js_loop()
|
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/ |
D | handler.h | 60 #define JERRYX_PROPERTY_NUMBER(NAME, NUMBER) (jerryx_property_entry) { NAME, jerry_create_number (N…
|
/third_party/jerryscript/docs/ |
D | 06.REFERENCE-COUNTING.md | 29 jerry_value_t pi_ref1 = jerry_create_number (3.14); 80 jerry_value_t new_prop_value = jerry_create_number (2.718);
|