/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/ |
D | I2C-js.cpp | 61 int hz = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 103 int data = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 126 int address = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 127 int length = jerry_get_number_value(args[2]); in DECLARE_CLASS_FUNCTION() 199 int data = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 222 int address = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 224 int length = jerry_get_number_value(args[2]); in DECLARE_CLASS_FUNCTION() 230 data[i] = jerry_get_number_value(jerry_get_property_by_index(args[1], i)); in DECLARE_CLASS_FUNCTION() 300 int sda = jerry_get_number_value(args[0]); in DECLARE_CLASS_CONSTRUCTOR() 301 int scl = jerry_get_number_value(args[1]); in DECLARE_CLASS_CONSTRUCTOR()
|
D | PwmOut-js.cpp | 64 double arg0 = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 125 double arg0 = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 151 double arg0 = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 177 double arg0 = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 203 double arg0 = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 229 double arg0 = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 255 double arg0 = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 271 PinName pin_name = PinName(jerry_get_number_value(args[0])); in DECLARE_CLASS_CONSTRUCTOR()
|
D | DigitalOut-js.cpp | 62 int arg0 = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 133 PinName pin_name = PinName(jerry_get_number_value(args[0])); in DECLARE_CLASS_CONSTRUCTOR() 140 int value = static_cast<int>(jerry_get_number_value(args[1])); in DECLARE_CLASS_CONSTRUCTOR()
|
D | setInterval-js.cpp | 31 int interval = int(jerry_get_number_value(args[1])); in DECLARE_GLOBAL_FUNCTION() 59 int id = int(jerry_get_number_value(args[0])); in DECLARE_GLOBAL_FUNCTION()
|
D | setTimeout-js.cpp | 31 int interval = int(jerry_get_number_value(args[1])); in DECLARE_GLOBAL_FUNCTION() 59 int id = int(jerry_get_number_value(args[0])); in DECLARE_GLOBAL_FUNCTION()
|
D | InterruptIn-js.cpp | 194 int pull = jerry_get_number_value(args[0]); in DECLARE_CLASS_FUNCTION() 254 int pin = jerry_get_number_value(args[0]); in DECLARE_CLASS_CONSTRUCTOR()
|
D | AnalogIn-js.cpp | 98 PinName pin_name = PinName(jerry_get_number_value(args[0])); in DECLARE_CLASS_CONSTRUCTOR()
|
/third_party/jerryscript/targets/esp8266/user/ |
D | jerry_extapi.c | 78 double number = jerry_get_number_value (args_p[cc]); in DELCARE_HANDLER() 103 int port = (int) jerry_get_number_value (args_p[0]); in DELCARE_HANDLER() 104 int value = (int) jerry_get_number_value (args_p[1]); in DELCARE_HANDLER() 124 int port = (int) jerry_get_number_value (args_p[0]); in DELCARE_HANDLER() 125 int value = (int) jerry_get_number_value (args_p[1]); in DELCARE_HANDLER() 139 int port = (int) jerry_get_number_value (args_p[0]); in DELCARE_HANDLER()
|
/third_party/jerryscript/tests/unit-core/ |
D | test-proxy.c | 111 demo_value = (int) jerry_get_number_value (args_p[2]); in handler_set() 189 TEST_ASSERT (jerry_get_number_value (res) == 1.0); in main() 196 TEST_ASSERT (jerry_get_number_value (res) == 2.0); in main() 203 TEST_ASSERT (jerry_get_number_value (res) == 3.0); in main() 218 TEST_ASSERT (jerry_get_number_value (res) == 55); in main() 225 TEST_ASSERT (jerry_get_number_value (res) == 56); in main() 238 TEST_ASSERT (jerry_get_number_value (res) == 13.0); in main()
|
D | test-api-set-and-clear-error-flag.c | 104 TEST_ASSERT (jerry_get_number_value (num2) == test_num); in main() 111 TEST_ASSERT (jerry_get_number_value (num2) == test_num); in main() 122 TEST_ASSERT (jerry_get_number_value (num2) == test_num); in main() 131 TEST_ASSERT (jerry_get_number_value (num2) == test_num); in main() 140 TEST_ASSERT (jerry_get_number_value (num) == test_num); in main() 150 TEST_ASSERT (jerry_get_number_value (num) == test_num); in main() 160 TEST_ASSERT (jerry_get_number_value (num) == test_num); in main() 171 TEST_ASSERT (jerry_get_number_value (num) == test_num); in main()
|
D | test-symbol.c | 73 TEST_ASSERT (jerry_get_number_value (get_value_1) == jerry_get_number_value (value_1)); in main() 77 TEST_ASSERT (jerry_get_number_value (get_value_2) == jerry_get_number_value (value_2)); in main() 93 TEST_ASSERT (jerry_get_number_value (value_2) == jerry_get_number_value (prop_desc.value)); in main()
|
D | test-api.c | 240 TEST_ASSERT (jerry_get_number_value (value) == 32.0); in foreach() 257 TEST_ASSERT (jerry_get_number_value (value) == 123.45); in foreach() 386 && jerry_get_number_value (val_t) == 1.0); in main() 400 && jerry_get_number_value (res) == 1.0); in main() 412 && jerry_get_number_value (res) == 5.0); in main() 467 && jerry_get_number_value (res) == 12.0); in main() 497 && jerry_get_number_value (res) == 12.0); in main() 656 && jerry_get_number_value (v_out) == 10.5); in main() 763 && jerry_get_number_value (res) == 123.0); in main() 779 && jerry_get_number_value (val_t) == 4321.0); in main() [all …]
|
D | test-internal-properties.c | 129 …TEST_ASSERT (jerry_value_is_number (get_result_1) && jerry_get_number_value (get_result_1) == 5.5); in main() 130 …TEST_ASSERT (jerry_value_is_number (get_result_2) && jerry_get_number_value (get_result_2) == 6.5); in main() 131 …TEST_ASSERT (jerry_value_is_number (get_result_3) && jerry_get_number_value (get_result_3) == 7.5); in main() 154 …TEST_ASSERT (jerry_value_is_number (get_internal_result_4) && jerry_get_number_value (get_internal… in main() 155 …TEST_ASSERT (jerry_value_is_number (get_internal_result_5) && jerry_get_number_value (get_internal… in main() 156 …TEST_ASSERT (jerry_value_is_number (get_internal_result_6) && jerry_get_number_value (get_internal… in main()
|
D | test-api-promise.c | 59 TEST_ASSERT (jerry_get_number_value (get_result) == 3.0); in test_promise_resolve_success() 83 TEST_ASSERT (jerry_get_number_value (get_result) == 3.0); in test_promise_resolve_success() 179 TEST_ASSERT (jerry_get_number_value (promise_result) == 31.0); in test_promise_from_js()
|
D | test-dataview.c | 88 …TEST_ASSERT (jerry_get_number_value (jerry_eval (get_src, sizeof (get_src) - 1, JERRY_PARSE_NO_OPT… in main() 91 TEST_ASSERT (jerry_get_number_value (jerry_eval (get_src_little_endian, in main()
|
D | test-typedarray.c | 323 TEST_ASSERT (jerry_get_number_value (get_result) == test_int_numbers[j]); in test_property_by_index() 346 double get_abs = fabs (jerry_get_number_value (get_result) - test_double_numbers[j]); in test_property_by_index() 361 TEST_ASSERT (isinf (jerry_get_number_value (get_inf))); in test_property_by_index() 382 TEST_ASSERT (jerry_get_number_value (get_result) == test_uint_numbers[j]); in test_property_by_index()
|
D | test-regression-3588.c | 34 TEST_ASSERT (jerry_get_number_value (args_p[0]) == 1.0); in construct_handler()
|
D | test-newtarget.c | 64 int test_id = (int) jerry_get_number_value (args_p[0]); in construct_handler()
|
D | test-arraybuffer.c | 361 TEST_ASSERT (jerry_get_number_value (res) == sum); in main()
|
/third_party/jerryscript/tests/unit-ext/ |
D | test-ext-method-register.c | 100 TEST_ASSERT (jerry_get_number_value (result) == 42.5); in test_simple_registration() 147 TEST_ASSERT ((uint32_t) jerry_get_number_value (result) == 3u); in test_simple_registration() 155 TEST_ASSERT ((uint32_t) jerry_get_number_value (result) == 0u); in test_simple_registration() 272 TEST_ASSERT ((uint32_t) jerry_get_number_value (func_result) == 2u); in test_error_multiple_functions()
|
D | test-ext-module-canonical.c | 97 TEST_ASSERT (jerry_get_number_value (prop_value) == TEST_VALUE); in main()
|
/third_party/jerryscript/targets/particle/source/ |
D | main.cpp | 36 int ledPin = jerry_get_number_value (args_p[0]); in set_led() 60 int millisec = jerry_get_number_value (args_p[0]); in js_delay()
|
/third_party/jerryscript/jerry-ext/arg/ |
D | arg-transform-functions.c | 62 *number_p = jerry_get_number_value (js_arg); in jerryx_arg_transform_number_strict_common() 90 *number_p = jerry_get_number_value (to_number); in jerryx_arg_transform_number_common()
|
/third_party/jerryscript/tests/unit-ext/module/ |
D | jerry-module-test.c | 178 TEST_ASSERT (jerry_get_number_value (js_value) == expected_result); in assert_number()
|
/third_party/jerryscript/docs/ |
D | 03.API-EXAMPLE.md | 632 printf ("number: %lf", jerry_get_number_value (value)); 726 printf ("number: %lf", jerry_get_number_value (value)); 973 double x = jerry_get_number_value (x_val); 974 double d = jerry_get_number_value (args_p[0]);
|