Home
last modified time | relevance | path

Searched refs:num_args (Results 1 – 6 of 6) sorted by relevance

/device/google/marlin/power/
Dutils.c207 void interaction(int duration, int num_args, int opt_list[]) in interaction() argument
212 if (duration < 0 || num_args < 1 || opt_list[0] == 0) in interaction()
217 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction()
225 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]) in interaction_with_handle() argument
228 if (duration < 0 || num_args < 1 || opt_list[0] == 0) in interaction_with_handle()
233 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction_with_handle()
Dutils.h51 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]);
Dpower-helper.c141 void interaction(int duration, int num_args, int opt_list[]);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dinspect.py932 num_args = len(args)
937 if num_pos > num_args:
938 assign(varargs, positional[-(num_pos-num_args):])
941 elif 0 < num_args < num_pos:
943 f_name, 'at most' if defaults else 'exactly', num_args,
944 'arguments' if num_args > 1 else 'argument', num_total))
945 elif num_args == 0 and num_total:
973 unassigned = num_args - len([arg for arg in args if is_assigned(arg)])
975 num_required = num_args - num_defaults
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dinspect.py935 num_args = len(args)
940 if num_pos > num_args:
941 assign(varargs, positional[-(num_pos-num_args):])
944 elif 0 < num_args < num_pos:
946 f_name, 'at most' if defaults else 'exactly', num_args,
947 'arguments' if num_args > 1 else 'argument', num_total))
948 elif num_args == 0 and num_total:
976 unassigned = num_args - len([arg for arg in args if is_assigned(arg)])
978 num_required = num_args - num_defaults
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_testcapimodule.c1215 int num_args, i; in raise_exception() local
1218 &exc, &num_args)) in raise_exception()
1225 exc_args = PyTuple_New(num_args); in raise_exception()
1228 for (i = 0; i < num_args; ++i) { in raise_exception()