Home
last modified time | relevance | path

Searched refs:arg_num (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-math.c130 ecma_number_t arg_num; in ecma_builtin_math_object_max_min() local
134 arg_num = ecma_get_number_from_value (*arg); in ecma_builtin_math_object_max_min()
145 arg_num = ecma_get_number_from_value (value); in ecma_builtin_math_object_max_min()
153 if (JERRY_UNLIKELY (nan_found || ecma_number_is_nan (arg_num))) in ecma_builtin_math_object_max_min()
159 if (ecma_number_is_zero (arg_num) in ecma_builtin_math_object_max_min()
162 bool is_negative = ecma_number_is_negative (arg_num); in ecma_builtin_math_object_max_min()
166 result_num = arg_num; in ecma_builtin_math_object_max_min()
171 if (is_max ? (arg_num > result_num) : (arg_num < result_num)) in ecma_builtin_math_object_max_min()
173 result_num = arg_num; in ecma_builtin_math_object_max_min()
211 ecma_number_t arg_num; in ecma_builtin_math_object_hypot() local
[all …]
Decma-builtin-number-prototype.c263 ecma_number_t arg_num; in ecma_builtin_number_prototype_object_to_string() local
265 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (arguments_list_p[0], &arg_num))) in ecma_builtin_number_prototype_object_to_string()
270 radix = ecma_number_to_uint32 (arg_num); in ecma_builtin_number_prototype_object_to_string()
594 ecma_number_t arg_num; in ecma_builtin_number_prepare_conversion() local
595 arg_1 = ecma_op_to_integer (arg_1, &arg_num); in ecma_builtin_number_prepare_conversion()
603 && (arg_num <= -1 || arg_num >= 21)) in ecma_builtin_number_prepare_conversion()
631 (ecma_number_is_nan (arg_num) || arg_num < 1 || arg_num >= 22)) in ecma_builtin_number_prepare_conversion()
636 *arg_1_int32_p = ecma_number_to_int32 (arg_num); in ecma_builtin_number_prepare_conversion()
Decma-builtin-global.c124 ecma_builtin_global_object_is_nan (ecma_number_t arg_num) /**< routine's first argument */ in ecma_builtin_global_object_is_nan() argument
126 return ecma_make_boolean_value (ecma_number_is_nan (arg_num)); in ecma_builtin_global_object_is_nan()
139 ecma_builtin_global_object_is_finite (ecma_number_t arg_num) /**< routine's first argument */ in ecma_builtin_global_object_is_finite() argument
141 bool is_finite = !(ecma_number_is_nan (arg_num) in ecma_builtin_global_object_is_finite()
142 || ecma_number_is_infinity (arg_num)); in ecma_builtin_global_object_is_finite()
797 ecma_number_t arg_num; in ecma_builtin_global_dispatch_routine() local
799 routine_arg_1 = ecma_get_number (routine_arg_1, &arg_num); in ecma_builtin_global_dispatch_routine()
808 return ecma_builtin_global_object_is_nan (arg_num); in ecma_builtin_global_dispatch_routine()
813 return ecma_builtin_global_object_is_finite (arg_num); in ecma_builtin_global_dispatch_routine()
Decma-builtin-string.c86 ECMA_OP_TO_NUMBER_TRY_CATCH (arg_num, args[arg_index], ret_value); in ecma_builtin_string_object_from_char_code()
88 uint32_t uint32_char_code = ecma_number_to_uint32 (arg_num); in ecma_builtin_string_object_from_char_code()
95 ECMA_OP_TO_NUMBER_FINALIZE (arg_num); in ecma_builtin_string_object_from_char_code()
/third_party/libunwind/src/x86_64/
DGregs.c70 int arg_num; in tdep_access_reg() local
90 arg_num = reg - UNW_X86_64_RAX; in tdep_access_reg()
91 mask = (1 << arg_num); in tdep_access_reg()
94 c->dwarf.eh_args[arg_num] = *valp; in tdep_access_reg()
100 *valp = c->dwarf.eh_args[arg_num]; in tdep_access_reg()
/third_party/libunwind/src/x86/
DGregs.c44 int arg_num; in tdep_access_reg() local
64 arg_num = reg - UNW_X86_EAX; in tdep_access_reg()
65 mask = (1 << arg_num); in tdep_access_reg()
68 c->dwarf.eh_args[arg_num] = *valp; in tdep_access_reg()
74 *valp = c->dwarf.eh_args[arg_num]; in tdep_access_reg()
/third_party/ffmpeg/libavfilter/
Dopencl.h61 #define CL_SET_KERNEL_ARG(kernel, arg_num, type, arg) \ argument
62 cle = clSetKernelArg(kernel, arg_num, sizeof(type), arg); \
65 "argument %d: error %d.\n", arg_num, cle); \
/third_party/python/Modules/
D_posixsubprocess.c741 Py_ssize_t arg_num, num_groups = 0; in subprocess_fork_exec() local
804 for (arg_num = 0; arg_num < num_args; ++arg_num) { in subprocess_fork_exec()
810 borrowed_arg = PySequence_Fast_GET_ITEM(fast_args, arg_num); in subprocess_fork_exec()
813 PyTuple_SET_ITEM(converted_args, arg_num, converted_arg); in subprocess_fork_exec()