Home
last modified time | relevance | path

Searched refs:aslist (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Lib/email/
D_parseaddr.py353 aslist = []
359 if aslist and not aslist[-1].strip():
360 aslist.pop()
361 aslist.append('.')
365 aslist.append('"%s"' % quote(self.getquote()))
367 if aslist and not aslist[-1].strip():
368 aslist.pop()
371 aslist.append(self.getatom())
374 aslist.append(ws)
377 return EMPTYSTRING.join(aslist)
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Dshell.py287 aslist = []
290 aslist.append(tail)
292 aslist.reverse()
293 dest = '/'.join(aslist)
313 aslist = []
316 aslist.append(tail)
318 aslist.reverse()
319 dest = '/'.join(aslist)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Dshell.py287 aslist = []
290 aslist.append(tail)
292 aslist.reverse()
293 dest = '/'.join(aslist)
313 aslist = []
316 aslist.append(tail)
318 aslist.reverse()
319 dest = '/'.join(aslist)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Dshell.py414 aslist = []
417 aslist.append(tail)
419 aslist.reverse()
420 dest = '/'.join(aslist)
440 aslist = []
443 aslist.append(tail)
445 aslist.reverse()
446 dest = '/'.join(aslist)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Dshell.py414 aslist = []
417 aslist.append(tail)
419 aslist.reverse()
420 dest = '/'.join(aslist)
440 aslist = []
443 aslist.append(tail)
445 aslist.reverse()
446 dest = '/'.join(aslist)
/external/python/cpython2/Lib/email/
D_parseaddr.py318 aslist = []
323 aslist.append('.')
326 aslist.append('"%s"' % quote(self.getquote()))
330 aslist.append(self.getatom())
334 return EMPTYSTRING.join(aslist)
336 aslist.append('@')
339 return EMPTYSTRING.join(aslist) + self.getdomain()
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c199 PyObject *aslist = NULL; in PyCF_Python2CF_mapping() local
218 if ( (aslist = PyMapping_Items(src)) == NULL ) goto err; in PyCF_Python2CF_mapping()
221 item_py = PySequence_GetItem(aslist, i); in PyCF_Python2CF_mapping()
236 Py_XDECREF(aslist); in PyCF_Python2CF_mapping()
/external/python/cpython2/Modules/
D_collectionsmodule.c883 PyObject *dict, *result, *aslist; in deque_reduce() local
888 aslist = PySequence_List((PyObject *)deque); in deque_reduce()
889 if (aslist == NULL) { in deque_reduce()
895 result = Py_BuildValue("O(O)", Py_TYPE(deque), aslist); in deque_reduce()
897 result = Py_BuildValue("O(On)", Py_TYPE(deque), aslist, deque->maxlen); in deque_reduce()
900 result = Py_BuildValue("O(OO)O", Py_TYPE(deque), aslist, Py_None, dict); in deque_reduce()
902 result = Py_BuildValue("O(On)O", Py_TYPE(deque), aslist, deque->maxlen, dict); in deque_reduce()
905 Py_DECREF(aslist); in deque_reduce()
914 PyObject *aslist, *result, *fmt; in deque_repr() local
924 aslist = PySequence_List(deque); in deque_repr()
[all …]
/external/python/cpython2/Lib/
Drfc822.py644 aslist = []
649 aslist.append('.')
652 aslist.append('"%s"' % self.getquote())
655 else: aslist.append(self.getatom())
659 return ''.join(aslist)
661 aslist.append('@')
664 return ''.join(aslist) + self.getdomain()
/external/python/cpython3/Modules/
D_collectionsmodule.c1357 PyObject *aslist, *result; in deque_repr() local
1367 aslist = PySequence_List(deque); in deque_repr()
1368 if (aslist == NULL) { in deque_repr()
1374 _PyType_Name(Py_TYPE(deque)), aslist, in deque_repr()
1378 _PyType_Name(Py_TYPE(deque)), aslist); in deque_repr()
1380 Py_DECREF(aslist); in deque_repr()
/external/python/cpython3/Lib/test/
Dtest_memoryview.py361 aslist = list(reversed(m.tolist()))
362 self.assertEqual(list(reversed(m)), aslist)