Home
last modified time | relevance | path

Searched refs:tup (Results 1 – 25 of 31) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstructseq.c239 PyObject *tup; in structseq_repr() local
249 if ((tup = make_tuple(obj)) == NULL) { in structseq_repr()
266 val = PyTuple_GetItem(tup, i); in structseq_repr()
272 Py_DECREF(tup); in structseq_repr()
277 Py_DECREF(tup); in structseq_repr()
303 Py_DECREF(tup); in structseq_repr()
317 PyObject *tup, *result; in structseq_concat() local
318 tup = make_tuple(obj); in structseq_concat()
319 result = PySequence_Concat(tup, b); in structseq_concat()
320 Py_DECREF(tup); in structseq_concat()
[all …]
Dcodeobject.c182 validate_and_copy_tuple(PyObject *tup) in validate_and_copy_tuple() argument
188 len = PyTuple_GET_SIZE(tup); in validate_and_copy_tuple()
194 item = PyTuple_GET_ITEM(tup, i); in validate_and_copy_tuple()
Dsetobject.c19 PyObject *tup; in set_key_error() local
20 tup = PyTuple_Pack(1, arg); in set_key_error()
21 if (!tup) in set_key_error()
23 PyErr_SetObject(PyExc_KeyError, tup); in set_key_error()
24 Py_DECREF(tup); in set_key_error()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstructseq.c240 PyObject *tup; in structseq_repr() local
250 if ((tup = make_tuple(obj)) == NULL) { in structseq_repr()
267 val = PyTuple_GetItem(tup, i); in structseq_repr()
273 Py_DECREF(tup); in structseq_repr()
278 Py_DECREF(tup); in structseq_repr()
304 Py_DECREF(tup); in structseq_repr()
318 PyObject *tup, *result; in structseq_concat() local
319 tup = make_tuple(obj); in structseq_concat()
320 result = PySequence_Concat(tup, b); in structseq_concat()
321 Py_DECREF(tup); in structseq_concat()
[all …]
Dcodeobject.c182 validate_and_copy_tuple(PyObject *tup) in validate_and_copy_tuple() argument
188 len = PyTuple_GET_SIZE(tup); in validate_and_copy_tuple()
194 item = PyTuple_GET_ITEM(tup, i); in validate_and_copy_tuple()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/
Dgc_inspection.py27 [tup] = [x for x in gc.get_referrers(marker) if type(x) is tuple]
28 print tup
29 print tup[1]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/
Dtest_parser.py15 tup = parser.st2tuple(st)
19 new = parser.tuple2st(tup)
26 if tup != parser.st2tuple(new):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dtimemodule.c395 PyObject *tup = NULL; in time_strftime() local
404 if (!PyArg_ParseTuple(args, "s|O:strftime", &fmt, &tup)) in time_strftime()
407 if (tup == NULL) { in time_strftime()
410 } else if (!gettmarg(tup, &buf)) in time_strftime()
564 PyObject *tup = NULL; in time_asctime() local
567 if (!PyArg_UnpackTuple(args, "asctime", 0, 1, &tup)) in time_asctime()
569 if (tup == NULL) { in time_asctime()
572 } else if (!gettmarg(tup, &buf)) in time_asctime()
629 time_mktime(PyObject *self, PyObject *tup) in time_mktime() argument
633 if (!gettmarg(tup, &buf)) in time_mktime()
DcPickle.c3782 PyObject *tup; in load_tuple() local
3786 if (!( tup=Pdata_popTuple(self->stack, i))) return -1; in load_tuple()
3787 PDATA_PUSH(self->stack, tup, -1); in load_tuple()
3794 PyObject *tup = PyTuple_New(len); in load_counted_tuple() local
3796 if (tup == NULL) in load_counted_tuple()
3805 PyTuple_SET_ITEM(tup, len, element); in load_counted_tuple()
3807 PDATA_PUSH(self->stack, tup, -1); in load_counted_tuple()
3923 PyObject *class, *tup, *obj=0; in load_obj() local
3927 if (!( tup=Pdata_popTuple(self->stack, i+1))) return -1; in load_obj()
3930 obj = Instance_New(class, tup); in load_obj()
[all …]
D_collectionsmodule.c1402 PyObject *tup; in defdict_missing() local
1403 tup = PyTuple_Pack(1, key); in defdict_missing()
1404 if (!tup) return NULL; in defdict_missing()
1405 PyErr_SetObject(PyExc_KeyError, tup); in defdict_missing()
1406 Py_DECREF(tup); in defdict_missing()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dtimemodule.c395 PyObject *tup = NULL; in time_strftime() local
404 if (!PyArg_ParseTuple(args, "s|O:strftime", &fmt, &tup)) in time_strftime()
407 if (tup == NULL) { in time_strftime()
410 } else if (!gettmarg(tup, &buf)) in time_strftime()
564 PyObject *tup = NULL; in time_asctime() local
567 if (!PyArg_UnpackTuple(args, "asctime", 0, 1, &tup)) in time_asctime()
569 if (tup == NULL) { in time_asctime()
572 } else if (!gettmarg(tup, &buf)) in time_asctime()
629 time_mktime(PyObject *self, PyObject *tup) in time_mktime() argument
633 if (!gettmarg(tup, &buf)) in time_mktime()
DcPickle.c3747 PyObject *tup; in load_tuple() local
3751 if (!( tup=Pdata_popTuple(self->stack, i))) return -1; in load_tuple()
3752 PDATA_PUSH(self->stack, tup, -1); in load_tuple()
3759 PyObject *tup = PyTuple_New(len); in load_counted_tuple() local
3761 if (tup == NULL) in load_counted_tuple()
3770 PyTuple_SET_ITEM(tup, len, element); in load_counted_tuple()
3772 PDATA_PUSH(self->stack, tup, -1); in load_counted_tuple()
3888 PyObject *class, *tup, *obj=0; in load_obj() local
3892 if (!( tup=Pdata_popTuple(self->stack, i+1))) return -1; in load_obj()
3895 obj = Instance_New(class, tup); in load_obj()
[all …]
D_collectionsmodule.c1334 PyObject *tup; in defdict_missing() local
1335 tup = PyTuple_Pack(1, key); in defdict_missing()
1336 if (!tup) return NULL; in defdict_missing()
1337 PyErr_SetObject(PyExc_KeyError, tup); in defdict_missing()
1338 Py_DECREF(tup); in defdict_missing()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dmisc.py2 def flatten(tup): argument
4 for elt in tup:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dargparse.py495 tup = self._current_indent, '', action_header
496 action_header = '%*s%s\n' % tup
500 tup = self._current_indent, '', action_width, action_header
501 action_header = '%*s%-*s ' % tup
506 tup = self._current_indent, '', action_header
507 action_header = '%*s%s\n' % tup
1083 tup = parser_name, ', '.join(self._name_parser_map)
1084 msg = _('unknown parser %r (choices: %s)') % tup
1396 tup = option_string, self.prefix_chars
1397 raise ValueError(msg % tup)
[all …]
Dos.py717 def _make_stat_result(tup, dict): argument
718 return stat_result(tup, dict)
729 def _make_statvfs_result(tup, dict): argument
730 return statvfs_result(tup, dict)
Dtabnanny.py267 firsts = map(lambda tup: str(tup[0]), w)
Dcookielib.py1442 def _cookie_from_cookie_tuple(self, tup, request): argument
1445 name, value, standard, rest = tup
1538 for tup in cookie_tuples:
1539 cookie = self._cookie_from_cookie_tuple(tup, request)
Dpstats.py203 for word, tup in self.sort_arg_dict_default.iteritems():
211 dict[fragment] = tup
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dargparse.py497 tup = self._current_indent, '', action_header
498 action_header = '%*s%s\n' % tup
502 tup = self._current_indent, '', action_width, action_header
503 action_header = '%*s%-*s ' % tup
508 tup = self._current_indent, '', action_header
509 action_header = '%*s%s\n' % tup
1085 tup = parser_name, ', '.join(self._name_parser_map)
1086 msg = _('unknown parser %r (choices: %s)') % tup
1409 tup = option_string, self.prefix_chars
1410 raise ValueError(msg % tup)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dpgen.py322 tup = self.generator.next()
323 while tup[0] in (tokenize.COMMENT, tokenize.NL):
324 tup = self.generator.next()
325 self.type, self.value, self.begin, self.end, self.line = tup
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dos.py746 def _make_stat_result(tup, dict): argument
747 return stat_result(tup, dict)
758 def _make_statvfs_result(tup, dict): argument
759 return statvfs_result(tup, dict)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dos.py731 def _make_stat_result(tup, dict): argument
732 return stat_result(tup, dict)
743 def _make_statvfs_result(tup, dict): argument
744 return statvfs_result(tup, dict)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_urllib2.py1034 [tup[0:2] for tup in o.calls])
1065 [tup[0:2] for tup in o.calls])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dbdist_msi.py261 tup = 'bdist_msi', self.target_version or 'any', fullname
262 self.distribution.dist_files.append(tup)

12