Home
last modified time | relevance | path

Searched refs:number_p (Results 1 – 9 of 9) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-conversion.c337 ecma_number_t *number_p) /**< [out] ecma number */ in ecma_get_number() argument
341 *number_p = ecma_get_integer_from_value (value); in ecma_get_number()
347 *number_p = ecma_get_float_from_value (value); in ecma_get_number()
354 *number_p = ecma_string_to_number (str_p); in ecma_get_number()
367 ecma_value_t ret_value = ecma_get_number (primitive_value, number_p); in ecma_get_number()
374 *number_p = ecma_number_make_nan (); in ecma_get_number()
380 *number_p = 0; in ecma_get_number()
393 *number_p = ecma_is_value_true (value) ? 1 : 0; in ecma_get_number()
871 ecma_number_t *number_p) /**< [out] ecma number */ in ecma_op_to_integer() argument
879 ecma_value_t to_number = ecma_get_number (value, number_p); in ecma_op_to_integer()
[all …]
Decma-conversion.h48 ecma_value_t ecma_get_number (ecma_value_t value, ecma_number_t *number_p);
52 ecma_value_t ecma_op_to_integer (ecma_value_t value, ecma_number_t *number_p);
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-value.c976 ecma_number_t *number_p = (ecma_number_t *) ecma_get_pointer_from_ecma_value (float_value); in ecma_update_float_number() local
982 ecma_dealloc_number (number_p); in ecma_update_float_number()
986 *number_p = new_number; in ecma_update_float_number()
1055 ecma_number_t *number_p = (ecma_number_t *) ecma_get_pointer_from_ecma_value (value); in ecma_free_value() local
1056 ecma_dealloc_number (number_p); in ecma_free_value()
1130 ecma_number_t *number_p = (ecma_number_t *) ecma_get_pointer_from_ecma_value (value); in ecma_free_number() local
1131 ecma_dealloc_number (number_p); in ecma_free_number()
Decma-alloc.c64 ecma_dealloc_number (ecma_number_t *number_p) /**< number to be freed */ in ecma_dealloc_number() argument
66 jmem_pools_free ((uint8_t *) number_p, sizeof (ecma_number_t)); in ecma_dealloc_number()
Decma-literal-storage.c235 ecma_number_t *number_p = JMEM_CP_GET_NON_NULL_POINTER (ecma_number_t, in ecma_find_or_create_literal_number() local
238 if (*number_p == number_arg) in ecma_find_or_create_literal_number()
241 return ecma_make_float_value (number_p); in ecma_find_or_create_literal_number()
Decma-alloc.h62 void ecma_dealloc_number (ecma_number_t *number_p);
/third_party/jerryscript/jerry-ext/arg/
Darg-transform-functions.c52 double *number_p) /**< [out] the number in JS arg */ in jerryx_arg_transform_number_strict_common() argument
62 *number_p = jerry_get_number_value (js_arg); in jerryx_arg_transform_number_strict_common()
76 double *number_p) /**< [out] the number in JS arg */ in jerryx_arg_transform_number_common() argument
90 *number_p = jerry_get_number_value (to_number); in jerryx_arg_transform_number_common()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.h53 ecma_builtin_helper_array_index_normalize (ecma_value_t arg, uint32_t length, uint32_t *number_p);
Decma-builtin-helpers.c338 uint32_t *number_p) /**< [out] uint32_t */ in ecma_builtin_helper_array_index_normalize() argument
347 *number_p = ((to_int < 0) ? (uint32_t) JERRY_MAX ((length + to_int), 0) in ecma_builtin_helper_array_index_normalize()