/external/syzkaller/prog/ |
D | clone.go | 11 newargs := make(map[*ResultArg]*ResultArg) 16 c1.Ret = clone(c.Ret, newargs).(*ResultArg) 20 c1.Args[ai] = clone(arg, newargs) 28 func clone(arg Arg, newargs map[*ResultArg]*ResultArg) Arg { 40 a1.Res = clone(a.Res, newargs) 53 a1.Inner[i] = clone(arg2, newargs) 59 a1.Option = clone(a.Option, newargs) 65 r := newargs[a1.Res] 73 newargs[a] = a1
|
/external/u-boot/common/ |
D | avb_verify.c | 189 char *newargs = NULL; in avb_set_enforce_option() local 223 newargs = append_cmd_line(newargs, cmdarg[i]); in avb_set_enforce_option() 225 return newargs; in avb_set_enforce_option() 230 char *newargs = NULL; in avb_set_ignore_corruption() local 232 newargs = avb_set_enforce_option(cmdline, VERITY_TABLE_OPT_LOGGING); in avb_set_ignore_corruption() 233 if (newargs) in avb_set_ignore_corruption() 234 newargs = append_cmd_line(newargs, in avb_set_ignore_corruption() 237 return newargs; in avb_set_ignore_corruption() 242 char *newargs; in avb_set_enforce_verity() local 244 newargs = avb_set_enforce_option(cmdline, VERITY_TABLE_OPT_RESTART); in avb_set_enforce_verity() [all …]
|
/external/python/setuptools/ |
D | launcher.c | 255 char **newargs, **newargsp, **parsedargs; /* argument array for exec */ in run() local 302 newargs = (char **)calloc(parsedargc + argc + 1, sizeof(char *)); in run() 303 newargsp = newargs; in run() 317 execv(ptr, (const char * const *)(newargs)); in run() 324 cmdline = join_executable_and_args(ptr, newargs, parsedargc + argc); in run()
|
/external/toybox/toys/posix/ |
D | find.c | 86 char **newargs; in flush_exec() local 108 newargs = xmalloc(sizeof(char *)*(aa->arglen+bb->namecount+1)); in flush_exec() 110 memcpy(newargs, aa->argstart, sizeof(char *)*aa->arglen); in flush_exec() 111 newargs[aa->arglen] = 0; in flush_exec() 117 memcpy(newargs, aa->argstart, sizeof(char *)*pos); in flush_exec() 118 for (dl = bb->names; dl; dl = dl->next) newargs[pos++] = dl->data; in flush_exec() 120 memcpy(newargs+pos, aa->argstart+aa->curly+1, sizeof(char *)*rest); in flush_exec() 121 newargs[pos+rest] = 0; in flush_exec() 124 rc = xrun(newargs); in flush_exec()
|
/external/python/cpython2/Modules/ |
D | _struct.c | 1876 PyObject *s_object, *fmt, *newargs, *result; in pack() local 1884 newargs = PyTuple_GetSlice(args, 1, n); in pack() 1885 if (newargs == NULL) in pack() 1890 Py_DECREF(newargs); in pack() 1893 result = s_pack(s_object, newargs); in pack() 1894 Py_DECREF(newargs); in pack() 1906 PyObject *s_object, *fmt, *newargs, *result; in pack_into() local 1914 newargs = PyTuple_GetSlice(args, 1, n); in pack_into() 1915 if (newargs == NULL) in pack_into() 1920 Py_DECREF(newargs); in pack_into() [all …]
|
D | _collectionsmodule.c | 1658 PyObject *newargs; in defdict_init() local 1661 newargs = PyTuple_New(0); in defdict_init() 1672 newargs = PySequence_GetSlice(args, 1, n); in defdict_init() 1674 if (newargs == NULL) in defdict_init() 1678 result = PyDict_Type.tp_init(self, newargs, kwds); in defdict_init() 1679 Py_DECREF(newargs); in defdict_init()
|
D | parsermodule.c | 3404 PyObject *newargs; in parser__pickler() local 3409 if ((newargs = Py_BuildValue("Oi", st, 1)) == NULL) in parser__pickler() 3411 tuple = parser_st2tuple((PyST_Object*)NULL, newargs, empty_dict); in parser__pickler() 3416 Py_DECREF(newargs); in parser__pickler()
|
D | itertoolsmodule.c | 1381 PyObject *newargs = PySequence_Tuple(args); in starmap_next() local 1383 if (newargs == NULL) in starmap_next() 1385 args = newargs; in starmap_next()
|
/external/python/cpython3/Modules/ |
D | _operator.c | 1621 PyObject *newargs; in methodcaller_reduce() local 1625 newargs = PyTuple_New(1 + callargcount); in methodcaller_reduce() 1626 if (newargs == NULL) in methodcaller_reduce() 1629 PyTuple_SET_ITEM(newargs, 0, mc->name); in methodcaller_reduce() 1633 PyTuple_SET_ITEM(newargs, i + 1, arg); in methodcaller_reduce() 1635 return Py_BuildValue("ON", Py_TYPE(mc), newargs); in methodcaller_reduce() 1641 PyObject *newargs[2]; in methodcaller_reduce() local 1652 newargs[0] = (PyObject *)Py_TYPE(mc); in methodcaller_reduce() 1653 newargs[1] = mc->name; in methodcaller_reduce() 1654 constructor = _PyObject_FastCallDict(partial, newargs, 2, mc->kwds); in methodcaller_reduce()
|
D | parsermodule.c | 1062 PyObject *newargs; in parser__pickler() local 1067 if ((newargs = Py_BuildValue("Oi", st, 1)) == NULL) in parser__pickler() 1069 tuple = parser_st2tuple((PyST_Object*)NULL, newargs, empty_dict); in parser__pickler() 1074 Py_DECREF(newargs); in parser__pickler()
|
D | _collectionsmodule.c | 2168 PyObject *newargs; in defdict_init() local 2171 newargs = PyTuple_New(0); in defdict_init() 2182 newargs = PySequence_GetSlice(args, 1, n); in defdict_init() 2184 if (newargs == NULL) in defdict_init() 2188 result = PyDict_Type.tp_init(self, newargs, kwds); in defdict_init() 2189 Py_DECREF(newargs); in defdict_init()
|
D | _pickle.c | 3771 PyObject *newargs; in save_reduce() local 3776 newargs = PyTuple_New(PyTuple_GET_SIZE(args) + 2); in save_reduce() 3777 if (newargs == NULL) in save_reduce() 3782 Py_DECREF(newargs); in save_reduce() 3785 PyTuple_SET_ITEM(newargs, 0, cls_new); in save_reduce() 3787 PyTuple_SET_ITEM(newargs, 1, cls); in save_reduce() 3791 PyTuple_SET_ITEM(newargs, i + 2, item); in save_reduce() 3794 callable = PyObject_Call(st->partial, newargs, kwargs); in save_reduce() 3795 Py_DECREF(newargs); in save_reduce() 3799 newargs = PyTuple_New(0); in save_reduce() [all …]
|
D | itertoolsmodule.c | 1737 PyObject *newargs = PySequence_Tuple(args); in starmap_next() local 1739 if (newargs == NULL) in starmap_next() 1741 args = newargs; in starmap_next()
|
/external/python/cpython2/Lib/test/ |
D | test_datetime.py | 1116 newargs = args[:] 1117 newargs[i] = newval 1118 expected = cls(*newargs) 1496 newargs = args[:] 1497 newargs[i] = args[i] + 1 1498 t2 = self.theclass(*newargs) # this is larger than t1 1666 newargs = args[:] 1667 newargs[i] = newval 1668 expected = cls(*newargs) 1779 newargs = args[:] [all …]
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 4264 PyObject *newargs = _PyObject_CallNoArg(getnewargs_ex); in _PyObject_GetNewArguments() local 4266 if (newargs == NULL) { in _PyObject_GetNewArguments() 4269 if (!PyTuple_Check(newargs)) { in _PyObject_GetNewArguments() 4272 "not '%.200s'", Py_TYPE(newargs)->tp_name); in _PyObject_GetNewArguments() 4273 Py_DECREF(newargs); in _PyObject_GetNewArguments() 4276 if (PyTuple_GET_SIZE(newargs) != 2) { in _PyObject_GetNewArguments() 4279 "length 2, not %zd", PyTuple_GET_SIZE(newargs)); in _PyObject_GetNewArguments() 4280 Py_DECREF(newargs); in _PyObject_GetNewArguments() 4283 *args = PyTuple_GET_ITEM(newargs, 0); in _PyObject_GetNewArguments() 4285 *kwargs = PyTuple_GET_ITEM(newargs, 1); in _PyObject_GetNewArguments() [all …]
|
D | exceptions.c | 820 PyObject *newargs; in oserror_parse_args() local 837 newargs = PyTuple_New(nargs); in oserror_parse_args() 838 if (!newargs) in oserror_parse_args() 840 PyTuple_SET_ITEM(newargs, 0, *myerrno); in oserror_parse_args() 844 PyTuple_SET_ITEM(newargs, i, val); in oserror_parse_args() 847 args = *p_args = newargs; in oserror_parse_args()
|
/external/python/cpython3/Lib/test/ |
D | datetimetester.py | 1578 newargs = args[:] 1579 newargs[i] = newval 1580 expected = cls(*newargs) 2159 newargs = args[:] 2160 newargs[i] = args[i] + 1 2161 t2 = self.theclass(*newargs) # this is larger than t1 2515 newargs = args[:] 2516 newargs[i] = newval 2517 expected = cls(*newargs) 2870 newargs = args[:] [all …]
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 2230 PyObject *newlist, *v, *seq, *compare=NULL, *keyfunc=NULL, *newargs; in builtin_sorted() local 2250 newargs = PyTuple_GetSlice(args, 1, 4); in builtin_sorted() 2251 if (newargs == NULL) { in builtin_sorted() 2257 v = PyObject_Call(callable, newargs, kwds); in builtin_sorted() 2258 Py_DECREF(newargs); in builtin_sorted()
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 5889 PyObject *newargs, *x; local 5902 newargs = PyTuple_New(n+1); 5903 if (newargs == NULL) 5906 PyTuple_SET_ITEM(newargs, 0, (PyObject *)type); 5910 PyTuple_SET_ITEM(newargs, i+1, x); 5912 x = PyObject_Call(func, newargs, kwds); 5913 Py_DECREF(newargs);
|