Home
last modified time | relevance | path

Searched refs:args_count (Results 1 – 25 of 37) sorted by relevance

12

/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/
DI2C-js.cpp47 CHECK_ARGUMENT_COUNT(I2C, frequency, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
89 CHECK_ARGUMENT_COUNT(I2C, read, (args_count == 1 || args_count == 3 || args_count == 4)); in DECLARE_CLASS_FUNCTION()
91 if (args_count == 1) { in DECLARE_CLASS_FUNCTION()
112 CHECK_ARGUMENT_TYPE_ON_CONDITION(I2C, read, 3, boolean, (args_count == 4)); in DECLARE_CLASS_FUNCTION()
132 if (args_count == 4) { in DECLARE_CLASS_FUNCTION()
182 CHECK_ARGUMENT_COUNT(I2C, write, (args_count == 1 || args_count == 3 || args_count == 4)); in DECLARE_CLASS_FUNCTION()
184 if (args_count == 1) { in DECLARE_CLASS_FUNCTION()
208 CHECK_ARGUMENT_TYPE_ON_CONDITION(I2C, write, 3, boolean, (args_count == 4)); in DECLARE_CLASS_FUNCTION()
225 bool repeated = args_count == 4 && jerry_get_boolean_value(args[3]); in DECLARE_CLASS_FUNCTION()
248 CHECK_ARGUMENT_COUNT(I2C, start, (args_count == 0)); in DECLARE_CLASS_FUNCTION()
[all …]
DDigitalOut-js.cpp48 CHECK_ARGUMENT_COUNT(DigitalOut, write, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
76 CHECK_ARGUMENT_COUNT(DigitalOut, read, (args_count == 0)); in DECLARE_CLASS_FUNCTION()
100 CHECK_ARGUMENT_COUNT(DigitalOut, is_connected, (args_count == 0)); in DECLARE_CLASS_FUNCTION()
125 CHECK_ARGUMENT_COUNT(DigitalOut, __constructor, (args_count == 1 || args_count == 2)); in DECLARE_CLASS_CONSTRUCTOR()
127 CHECK_ARGUMENT_TYPE_ON_CONDITION(DigitalOut, __constructor, 1, number, (args_count == 2)); in DECLARE_CLASS_CONSTRUCTOR()
135 switch (args_count) { in DECLARE_CLASS_CONSTRUCTOR()
DPwmOut-js.cpp50 CHECK_ARGUMENT_COUNT(PwmOut, write, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
84 CHECK_ARGUMENT_COUNT(PwmOut, read, (args_count == 0)); in DECLARE_CLASS_FUNCTION()
111 CHECK_ARGUMENT_COUNT(PwmOut, period, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
137 CHECK_ARGUMENT_COUNT(PwmOut, period_ms, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
163 CHECK_ARGUMENT_COUNT(PwmOut, period_us, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
189 CHECK_ARGUMENT_COUNT(PwmOut, pulsewidth, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
215 CHECK_ARGUMENT_COUNT(PwmOut, pulsewidth_ms, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
241 CHECK_ARGUMENT_COUNT(PwmOut, pulsewidth_us, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
268 CHECK_ARGUMENT_COUNT(PwmOut, __constructor, args_count == 1); in DECLARE_CLASS_CONSTRUCTOR()
DInterruptIn-js.cpp51 CHECK_ARGUMENT_COUNT(InterruptIn, rise, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
116 CHECK_ARGUMENT_COUNT(InterruptIn, fall, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
181 CHECK_ARGUMENT_COUNT(InterruptIn, mode, (args_count == 1)); in DECLARE_CLASS_FUNCTION()
206 CHECK_ARGUMENT_COUNT(InterruptIn, disable_irq, (args_count == 0)); in DECLARE_CLASS_FUNCTION()
228 CHECK_ARGUMENT_COUNT(InterruptIn, enable_irq, (args_count == 0)); in DECLARE_CLASS_FUNCTION()
252 CHECK_ARGUMENT_COUNT(InterruptIn, __constructor, (args_count == 1)); in DECLARE_CLASS_CONSTRUCTOR()
DAnalogIn-js.cpp46 CHECK_ARGUMENT_COUNT(AnalogIn, read, (args_count == 0)); in DECLARE_CLASS_FUNCTION()
71 CHECK_ARGUMENT_COUNT(AnalogIn, read_u16, (args_count == 0)); in DECLARE_CLASS_FUNCTION()
95 CHECK_ARGUMENT_COUNT(AnalogIn, __constructor, args_count == 1); in DECLARE_CLASS_CONSTRUCTOR()
DsetInterval-js.cpp27 CHECK_ARGUMENT_COUNT(global, setInterval, (args_count == 2)); in DECLARE_GLOBAL_FUNCTION()
56 CHECK_ARGUMENT_COUNT(global, clearInterval, (args_count == 1)); in DECLARE_GLOBAL_FUNCTION()
DsetTimeout-js.cpp27 CHECK_ARGUMENT_COUNT(global, setTimeout, (args_count == 2)); in DECLARE_GLOBAL_FUNCTION()
56 CHECK_ARGUMENT_COUNT(global, clearTimeout, (args_count == 1)); in DECLARE_GLOBAL_FUNCTION()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c144 const jerry_length_t args_count) in handle_clear_require_cache() argument
148 (void) args_count; in handle_clear_require_cache()
150 TEST_ASSERT (args_count == 1); in handle_clear_require_cache()
160 const jerry_length_t args_count) in handle_require() argument
164 (void) args_count; in handle_require()
168 TEST_ASSERT (args_count == 1); in handle_require()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-call-gen.cc277 TNode<Int32T> args_count = in CallOrConstructWithArrayLike() local
302 TailCallStub(callable, context, target, args_count, length, elements); in CallOrConstructWithArrayLike()
305 TailCallStub(callable, context, target, *new_target, args_count, length, in CallOrConstructWithArrayLike()
315 args_count, context, in CallOrConstructWithArrayLike()
327 TNode<Int32T> args_count, TNode<Context> context, TNode<Int32T> kind) { in CallOrConstructDoubleVarargs() argument
345 TailCallStub(callable, context, target, args_count, length, new_elements); in CallOrConstructDoubleVarargs()
348 TailCallStub(callable, context, target, *new_target, args_count, length, in CallOrConstructDoubleVarargs()
355 TNode<Object> spread, TNode<Int32T> args_count, TNode<Context> context) { in CallOrConstructWithSpread() argument
447 TailCallStub(callable, context, target, args_count, length, elements); in CallOrConstructWithSpread()
450 TailCallStub(callable, context, target, *new_target, args_count, length, in CallOrConstructWithSpread()
[all …]
Dbuiltins-call-gen.h26 TNode<Int32T> args_count,
30 TNode<Object> spread, TNode<Int32T> args_count,
Dbuiltins-constructor-gen.cc121 auto args_count = in TF_BUILTIN() local
124 CallOrConstructWithSpread(target, new_target, spread, args_count, context); in TF_BUILTIN()
131 auto args_count = in TF_BUILTIN() local
135 target, new_target, spread, args_count, in TF_BUILTIN()
145 auto args_count = in TF_BUILTIN() local
152 target, new_target, spread, args_count, [=] { return context; }, in TF_BUILTIN()
Dbuiltins-shadowrealm-gen.cc217 TNode<Int32T> args_count = Int32Constant(0); // args already on the stack in TF_BUILTIN() local
222 result = CallStub(callable, target_context, target, args_count, argc, in TF_BUILTIN()
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrgload.c359 FT_UInt format, format_low, args_format = 0, args_count, n; in pfr_glyph_load_simple() local
373 args_count = 0; in pfr_glyph_load_simple()
388 args_count = 1; in pfr_glyph_load_simple()
398 args_count = 0; in pfr_glyph_load_simple()
408 args_count = 0; in pfr_glyph_load_simple()
414 args_count = 3; in pfr_glyph_load_simple()
420 args_count = 3; in pfr_glyph_load_simple()
425 args_count = 4; in pfr_glyph_load_simple()
433 for ( n = 0; n < args_count; n++ ) in pfr_glyph_load_simple()
500 if ( n == 0 && args_count == 4 ) in pfr_glyph_load_simple()
[all …]
/third_party/jerryscript/tests/unit-core/
Dtest-proxy.cpp66 const jerry_length_t args_count) /**< number of function arguments */ in handler_get() argument
71 TEST_ASSERT (args_count == 3); in handler_get()
92 const jerry_length_t args_count) /**< number of function arguments */ in handler_set() argument
97 JERRY_UNUSED (args_count); in handler_set()
99 TEST_ASSERT (args_count == 4); in handler_set()
Dtest-native-instanceof.cpp28 const jerry_size_t args_count) in external_function() argument
33 (void) args_count; in external_function()
Dtest-resource-name.cpp27 const jerry_length_t args_count) /**< argument count */ in resource_name_handler() argument
33 …jerry_value_t resource_name = jerry_get_resource_name (args_count > 0 ? args_p[0] : undefined_valu… in resource_name_handler()
Dtest-abort.cpp27 const jerry_length_t args_count) in callback_func() argument
32 JERRY_UNUSED (args_count); in callback_func()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-util/
Dwrappers.h35 const jerry_length_t args_count)
49 const jerry_length_t args_count)
60 const jerry_length_t args_count)
/third_party/node/deps/v8/src/profiler/
Dprofiler-listener.h80 const char* GetName(int args_count) { in GetName() argument
81 return code_entries_.strings().GetName(args_count); in GetName()
/third_party/node/deps/v8/src/interpreter/
Dinterpreter-assembler.cc715 TNode<Word32T> args_count = args.reg_count(); in CallJSAndDispatch() local
718 args_count = Int32Add(args_count, Int32Constant(kJSArgcReceiverSlots)); in CallJSAndDispatch()
726 args_count, args.base_reg_location(), in CallJSAndDispatch()
791 TNode<Word32T> args_count = args.reg_count(); in CallJSWithSpreadAndDispatch() local
793 args_count, args.base_reg_location(), in CallJSWithSpreadAndDispatch()
810 TNode<Word32T> args_count = JSParameterCount(args.reg_count()); in Construct() local
822 CallStub(callable, context, args_count, args.base_reg_location(), in Construct()
835 CallStub(callable, context, args_count, args.base_reg_location(), in Construct()
961 TNode<Word32T> args_count = JSParameterCount(args.reg_count()); in ConstructWithSpread() local
962 return CallStub(callable, context, args_count, args.base_reg_location(), in ConstructWithSpread()
/third_party/jerryscript/jerry-core/vm/
Dopcodes.c772 const ecma_length_t args_count) /**< argument number */ in ecma_op_implicit_constructor_handler_cb() argument
774 JERRY_UNUSED_4 (function_obj, this_val, args_p, args_count); in ecma_op_implicit_constructor_handler_cb()
796 … const ecma_length_t args_count) /**< argument number */ in ecma_op_implicit_constructor_handler_heritage_cb() argument
798 JERRY_UNUSED_4 (function_obj, this_val, args_p, args_count); in ecma_op_implicit_constructor_handler_heritage_cb()
818 args_count); in ecma_op_implicit_constructor_handler_heritage_cb()
/third_party/jerryscript/jerry-core/api/
Djerry.c2818 const jerry_size_t args_count) /**< number of the arguments */ in jerry_invoke_function() argument
2820 JERRY_ASSERT (args_count == 0 || args_p != NULL); in jerry_invoke_function()
2828 for (uint32_t i = 0; i < args_count; i++) in jerry_invoke_function()
2843 args_count)); in jerry_invoke_function()
2852 args_count)); in jerry_invoke_function()
2869 jerry_size_t args_count) /**< number of the arguments */ in jerry_call_function() argument
2891 for (jerry_size_t i = 0; i < args_count; i++) in jerry_call_function()
2899 return jerry_invoke_function (false, func_obj_val, this_val, args_p, args_count); in jerry_call_function()
2918 jerry_size_t args_count) /**< number of the arguments */ in jerry_construct_object() argument
2924 for (jerry_size_t i = 0; i < args_count; i++) in jerry_construct_object()
[all …]
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h221 const jerry_length_t args_count);
549 const jerry_value_t args_p[], jerry_size_t args_count);
551 jerry_size_t args_count);
/third_party/rust/crates/clap/src/parser/
Dvalidator.rs115 let args_count = matcher in validate_exclusive() localVariable
124 if args_count <= 1 { in validate_exclusive()
137 .filter(|&arg| arg.is_exclusive_set() && args_count > 1) in validate_exclusive()
/third_party/jerryscript/docs/
D09.EXT-REFERENCE-ARG.md223 const jerry_length_t args_count)
243 args_count,
605 const jerry_length_t args_count)
639 args_count,
701 const jerry_length_t args_count)
730 args_count,

12