/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_tooltip.py | 31 def wrapped_func(*args, **kwargs): 32 wrapped_func.call_args_list.append((args, kwargs)) 33 return func(*args, **kwargs)
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_dir_util.py | 19 def _log(self, msg, *args): 20 if len(args) > 0: 21 self._logs.append(msg % args)
|
H A D | test_file_util.py | 17 def _log(self, msg, *args): 18 if len(args) > 0: 19 self._logs.append(msg % args)
|
/third_party/python/Lib/test/ |
H A D | test_threading_local.py | 39 t = threading.Thread(target=target, args=(local, weaklist)) 73 with threading_helper.start_threads(threading.Thread(target=f, args=(i,)) 119 def __init__(self, *args, **kwargs):
|
/third_party/python/Lib/test/test_importlib/ |
H A D | fixtures.py | 308 for args in args_set: 309 with self.subTest(**args): 310 func(self, **args)
|
/third_party/python/Lib/ |
H A D | xdrlib.py | 46 raise ConversionError(e.args[0]) from None 82 raise ConversionError(e.args[0]) from None 86 raise ConversionError(e.args[0]) from None
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | run_code_generation.py | 253 args = ['git.bat'] if os.name == 'nt' else ['git'] 254 args += ['cl', 'format'] 256 if subprocess.call(args) != 0:
|
/kernel/linux/linux-5.10/tools/power/pm-graph/ |
H A D | sleepgraph.py | 381 args = dict() 383 args['date'] = n.strftime('%y%m%d') 384 args['time'] = n.strftime('%H%M%S') 385 args['hostname'] = args['host'] = self.hostname 386 args['mode'] = self.suspendmode 387 return value.format(**args) 563 self.kprobes[name] = {'name': name,'func': name,'args': dict(),'format': name} 570 k['args'] = k[self.archargs] 572 k['args'] [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | ioctl.c | 2352 struct btrfs_ioctl_search_args_v2 args; in btrfs_ioctl_tree_search_v2() local 2363 if (copy_from_user(&args, uarg, sizeof(args))) in btrfs_ioctl_tree_search_v2() 2366 buf_size = args.buf_size; in btrfs_ioctl_tree_search_v2() 2373 ret = search_ioctl(inode, &args.key, &buf_size, in btrfs_ioctl_tree_search_v2() 2375 if (ret == 0 && copy_to_user(&uarg->key, &args.key, sizeof(args.key))) in btrfs_ioctl_tree_search_v2() 2473 struct btrfs_ioctl_ino_lookup_user_args *args) in btrfs_search_path_in_tree_user() 2479 u64 dirid = args->dirid; in btrfs_search_path_in_tree_user() 2504 ptr = &args in btrfs_search_path_in_tree_user() 2472 btrfs_search_path_in_tree_user(struct inode *inode, struct btrfs_ioctl_ino_lookup_user_args *args) btrfs_search_path_in_tree_user() argument 2644 struct btrfs_ioctl_ino_lookup_args *args; btrfs_ioctl_ino_lookup() local 2697 struct btrfs_ioctl_ino_lookup_user_args *args; btrfs_ioctl_ino_lookup_user() local [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | cfg80211.h | 4217 * @testmode_dump: Implement a test mode dump. The cb->args[2] and up may be 5111 * @storage points to cb->args[5], ie. is preserved over the multiple 6313 * struct ieee80211_radiotap_iterator - tracks walk thru present radiotap args 9096 #define wiphy_printk(level, wiphy, format, args...) \ 9097 dev_printk(level, &(wiphy)->dev, format, ##args) 9098 #define wiphy_emerg(wiphy, format, args...) \ 9099 dev_emerg(&(wiphy)->dev, format, ##args) 9100 #define wiphy_alert(wiphy, format, args...) \ 9101 dev_alert(&(wiphy)->dev, format, ##args) 9102 #define wiphy_crit(wiphy, format, args [all...] |
/third_party/python/Modules/ |
H A D | itertoolsmodule.c | 1606 islice_new(PyTypeObject *type, PyObject *args, PyObject *kwds) in islice_new() argument 1618 if (!PyArg_UnpackTuple(args, "islice", 2, 4, &seq, &a1, &a2, &a3)) in islice_new() 1621 numargs = PyTuple_Size(args); in islice_new() 1914 PyObject *args; in starmap_next() local 1918 args = (*Py_TYPE(it)->tp_iternext)(it); in starmap_next() 1919 if (args == NULL) in starmap_next() 1921 if (!PyTuple_CheckExact(args)) { in starmap_next() 1922 PyObject *newargs = PySequence_Tuple(args); in starmap_next() 1923 Py_DECREF(args); in starmap_next() 1926 args in starmap_next() 2018 chain_new(PyTypeObject *type, PyObject *args, PyObject *kwds) chain_new() argument 2228 product_new(PyTypeObject *type, PyObject *args, PyObject *kwds) product_new() argument 4386 repeat_new(PyTypeObject *type, PyObject *args, PyObject *kwds) repeat_new() argument 4544 zip_longest_new(PyTypeObject *type, PyObject *args, PyObject *kwds) zip_longest_new() argument 4716 PyObject *args = PyTuple_New(PyTuple_GET_SIZE(lz->ittuple)); zip_longest_reduce() local [all...] |
H A D | _cursesmodule.c | 597 (PyCursesWindowObject *self, PyObject *args) \ 600 if (!PyArg_ParseTuple(args, PARSESTR, &arg1)) return NULL; \ 605 (PyCursesWindowObject *self, PyObject *args) \ 608 if (!PyArg_ParseTuple(args,PARSESTR, &arg1)) return NULL; \ 613 (PyCursesWindowObject *self, PyObject *args) \ 616 if (!PyArg_ParseTuple(args,PARSESTR, &arg1, &arg2)) return NULL; \ 1197 PyCursesWindow_ChgAt(PyCursesWindowObject *self, PyObject *args) in PyCursesWindow_ChgAt() argument 1207 switch (PyTuple_Size(args)) { in PyCursesWindow_ChgAt() 1209 if (!PyArg_ParseTuple(args,"l;attr", &lattr)) in PyCursesWindow_ChgAt() 1214 if (!PyArg_ParseTuple(args,"i in PyCursesWindow_ChgAt() 1544 PyCursesWindow_GetStr(PyCursesWindowObject *self, PyObject *args) PyCursesWindow_GetStr() argument 1748 PyCursesWindow_InStr(PyCursesWindowObject *self, PyObject *args) PyCursesWindow_InStr() argument [all...] |
H A D | mathmodule.c | 842 math_gcd(PyObject *module, PyObject * const *args, Py_ssize_t nargs) in math_gcd() argument 850 res = PyNumber_Index(args[0]); in math_gcd() 861 x = _PyNumber_Index(args[i]); in math_gcd() 917 math_lcm(PyObject *module, PyObject * const *args, Py_ssize_t nargs) in math_lcm() argument 925 res = PyNumber_Index(args[0]); in math_lcm() 936 x = PyNumber_Index(args[i]); in math_lcm() 1122 math_2(PyObject *const *args, Py_ssize_t nargs, in math_2() argument 1128 x = PyFloat_AsDouble(args[0]); in math_2() 1132 y = PyFloat_AsDouble(args[1]); in math_2() 1157 static PyObject * math_##funcname(PyObject *self, PyObject *args) { \ 2754 math_hypot(PyObject *self, PyObject *const *args, Py_ssize_t nargs) math_hypot() argument [all...] |
/third_party/skia/third_party/skcms/ |
H A D | skcms.cc | 2652 const void** args = arguments; 2683 *args++ = palette; 2687 *ops++ = Op_tf_r; *args++ = skcms_sRGB_TransferFunction(); 2688 *ops++ = Op_tf_g; *args++ = skcms_sRGB_TransferFunction(); 2689 *ops++ = Op_tf_b; *args++ = skcms_sRGB_TransferFunction(); 2738 *args++ = oa.arg; 2743 *args++ = &srcProfile->A2B; 2751 *args++ = oa.arg; 2762 *args++ = &srcProfile->A2B.matrix; 2771 *args [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_trace.h | 1785 TP_PROTO(struct xfs_alloc_arg *args), 1786 TP_ARGS(args), 1807 __entry->dev = args->mp->m_super->s_dev; 1808 __entry->agno = args->agno; 1809 __entry->agbno = args->agbno; 1810 __entry->minlen = args->minlen; 1811 __entry->maxlen = args->maxlen; 1812 __entry->mod = args->mod; 1813 __entry->prod = args->prod; 1814 __entry->minleft = args [all...] |
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | ptrace.c | 326 * for syscall args. in put_rnat() 2004 unsigned long *args; member 2011 struct syscall_get_set_args *args = data; in syscall_get_set_args_cb() local 2012 struct pt_regs *pt = args->regs; in syscall_get_set_args_cb() 2022 * syscall args are in out= regs, locals are non-empty. in syscall_get_set_args_cb() 2037 count = min_t(int, args->n, nouts); in syscall_get_set_args_cb() 2041 int j = ndirty + nlocals + i + args->i; in syscall_get_set_args_cb() 2042 if (args->rw) in syscall_get_set_args_cb() 2043 *ia64_rse_skip_regs(krbs, j) = args->args[ in syscall_get_set_args_cb() 2056 ia64_syscall_get_set_arguments(struct task_struct *task, struct pt_regs *regs, unsigned long *args, int rw) ia64_syscall_get_set_arguments() argument [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_api.c | 1801 s_idx = cb->args[0]; in tc_dump_qdisc() 1802 s_q_idx = q_idx = cb->args[1]; in tc_dump_qdisc() 1838 cb->args[0] = idx; in tc_dump_qdisc() 1839 cb->args[1] = q_idx; in tc_dump_qdisc() 2020 struct tc_bind_class_args args = {}; in tc_bind_tclass() local 2024 args.portid = portid; in tc_bind_tclass() 2025 args.clid = clid; in tc_bind_tclass() 2026 args.new_cl = new_cl; in tc_bind_tclass() 2027 args.w.fn = tc_bind_class_walker; in tc_bind_tclass() 2028 q->ops->cl_ops->walk(q, &args in tc_bind_tclass() [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_api.c | 1832 s_idx = cb->args[0]; in tc_dump_qdisc() 1833 s_q_idx = q_idx = cb->args[1]; in tc_dump_qdisc() 1869 cb->args[0] = idx; in tc_dump_qdisc() 1870 cb->args[1] = q_idx; in tc_dump_qdisc() 2051 struct tc_bind_class_args args = {}; in tc_bind_tclass() local 2055 args.portid = portid; in tc_bind_tclass() 2056 args.clid = clid; in tc_bind_tclass() 2057 args.new_cl = new_cl; in tc_bind_tclass() 2058 args.w.fn = tc_bind_class_walker; in tc_bind_tclass() 2059 q->ops->cl_ops->walk(q, &args in tc_bind_tclass() [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | otherstestndk.cpp | 232 napi_value args[2] = {nullptr, nullptr};
in DRem() local 233 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr);
in DRem() 235 napi_get_value_double(env, args[0], &firstParam);
in DRem() 236 napi_get_value_double(env, args[1], &secondParam);
in DRem() 246 napi_value args[2] = {nullptr, nullptr};
in DRemF() local 247 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr);
in DRemF() 249 napi_get_value_double(env, args[0], &firstParam);
in DRemF() 250 napi_get_value_double(env, args[1], &secondParam);
in DRemF() 260 napi_value args[1] = {nullptr};
in Finite() local 261 napi_get_cb_info(env, info, &argc, args, nullpt in Finite() 274 napi_value args[1] = {nullptr}; FiniteF() local 677 napi_value args[1] = {nullptr}; Overflow() local [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-object-gen.cc | 432 CodeStubArguments args(this, argc); in TF_BUILTIN() 435 TNode<Object> target = args.GetOptionalArgumentValue(0); in TF_BUILTIN() 442 GotoIf(UintPtrLessThanOrEqual(args.GetLengthWithoutReceiver(), in TF_BUILTIN() 449 args.ForEach( in TF_BUILTIN() 458 args.PopAndReturn(to); in TF_BUILTIN() 1062 CodeStubArguments args(this, argc); in TF_BUILTIN() 1064 TNode<Object> prototype = args.GetOptionalArgumentValue(kPrototypeArg); in TF_BUILTIN() 1065 TNode<Object> properties = args.GetOptionalArgumentValue(kPropertiesArg); in TF_BUILTIN() 1141 args.PopAndReturn(instance); in TF_BUILTIN() 1149 args in TF_BUILTIN() [all...] |
/third_party/python/Python/ |
H A D | sysmodule.c | 197 /* Initialize event args now */ in sys_audit_tstate() 253 PyObject* args[2] = {eventName, eventArgs}; in sys_audit_tstate() local 254 o = _PyObject_FastCallTstate(ts, hook, args, 2); in sys_audit_tstate() 455 "audit(event, *args)\n\ 460 sys_audit(PyObject *self, PyObject *const *args, Py_ssize_t argc) in sys_audit() argument 476 PyObject *auditEvent = args[0]; in sys_audit() 493 PyObject *auditArgs = _PyTuple_FromArray(args + 1, argc - 1); in sys_audit() 510 sys_breakpointhook(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *keywords) in sys_breakpointhook() argument 576 PyObject *retval = PyObject_Vectorcall(hook, args, nargs, keywords); in sys_breakpointhook() 596 "breakpointhook(*args, **kw 1008 sys_settrace(PyObject *self, PyObject *args) sys_settrace() argument 1053 sys_setprofile(PyObject *self, PyObject *args) sys_setprofile() argument 1239 sys_set_asyncgen_hooks(PyObject *self, PyObject *args, PyObject *kw) sys_set_asyncgen_hooks() argument 1705 sys_getsizeof(PyObject *self, PyObject *args, PyObject *kwds) sys_getsizeof() argument [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | asus-wmi.c | 149 u32 arg4; /* Some ROG laptops require a full 5 input args */ 307 struct bios_args args = { in asus_wmi_evaluate_method3() local 312 struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; in asus_wmi_evaluate_method3() 348 struct bios_args args = { in asus_wmi_evaluate_method5() local 355 struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; in asus_wmi_evaluate_method5() 389 struct bios_args args = { in asus_wmi_evaluate_method_buf() local 394 struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; in asus_wmi_evaluate_method_buf() 446 asus_wmi_evaluate_method_agfn(const struct acpi_buffer args) asus_wmi_evaluate_method_agfn() argument 2179 struct agfn_fan_args args = { asus_agfn_fan_speed_read() local 2206 struct agfn_fan_args args = { asus_agfn_fan_speed_write() local 4242 struct bios_args args = { show_call() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | services.c | 72 struct convert_context_args args; member 443 static int dump_masked_av_helper(void *k, void *d, void *args) in dump_masked_av_helper() argument 446 char **permission_names = args; in dump_masked_av_helper() 1979 * @args: populated convert_context_args struct 1985 * specified in the policy @args->oldp to the values specified in the policy 1986 * @args->newp, storing the new context in @newc, and verifying that the 1989 int services_convert_context(struct convert_context_args *args, in services_convert_context() argument 2006 rc = string_to_context_struct(args->newp, NULL, s, newc, SECSID_NULL); in services_convert_context() 2036 usrdatum = symtab_search(&args->newp->p_users, in services_convert_context() 2037 sym_name(args in services_convert_context() 3329 get_classes_callback(void *k, void *d, void *args) get_classes_callback() argument 3370 get_permissions_callback(void *k, void *d, void *args) get_permissions_callback() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 519 char *args; in dlpar_store() local 522 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store() 533 rc = dlpar_parse_resource(&args, &hp_elog); in dlpar_store() 537 rc = dlpar_parse_action(&args, &hp_elog); in dlpar_store() 541 rc = dlpar_parse_id_type(&args, &hp_elog); in dlpar_store()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 520 char *args; in dlpar_store() local 523 args = argbuf = kstrdup(buf, GFP_KERNEL); in dlpar_store() 531 rc = dlpar_parse_resource(&args, &hp_elog); in dlpar_store() 535 rc = dlpar_parse_action(&args, &hp_elog); in dlpar_store() 539 rc = dlpar_parse_id_type(&args, &hp_elog); in dlpar_store()
|