Home
last modified time | relevance | path

Searched refs:a_list (Results 1 – 9 of 9) sorted by relevance

/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py443 def PopFront(a_list): argument
444 head = a_list[0]
445 a_list[:1] = []
449 def PushFront(a_list, elem): argument
450 a_list[:0] = [elem]
453 def PopToken(a_list, token_type=None): argument
454 token = PopFront(a_list)
463 def PeekToken(a_list): argument
464 if not a_list:
467 return a_list[0]
/external/protobuf/gtest/scripts/
Dpump.py434 def PopFront(a_list): argument
435 head = a_list[0]
436 a_list[:1] = []
440 def PushFront(a_list, elem): argument
441 a_list[:0] = [elem]
444 def PopToken(a_list, token_type=None): argument
445 token = PopFront(a_list)
454 def PeekToken(a_list): argument
455 if not a_list:
458 return a_list[0]
/external/v8/testing/gtest/scripts/
Dpump.py443 def PopFront(a_list): argument
444 head = a_list[0]
445 a_list[:1] = []
449 def PushFront(a_list, elem): argument
450 a_list[:0] = [elem]
453 def PopToken(a_list, token_type=None): argument
454 token = PopFront(a_list)
463 def PeekToken(a_list): argument
464 if not a_list:
467 return a_list[0]
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/
Dpump.py443 def PopFront(a_list): argument
444 head = a_list[0]
445 a_list[:1] = []
449 def PushFront(a_list, elem): argument
450 a_list[:0] = [elem]
453 def PopToken(a_list, token_type=None): argument
454 token = PopFront(a_list)
463 def PeekToken(a_list): argument
464 if not a_list:
467 return a_list[0]
/external/googletest/googletest/scripts/
Dpump.py443 def PopFront(a_list): argument
444 head = a_list[0]
445 a_list[:1] = []
449 def PushFront(a_list, elem): argument
450 a_list[:0] = [elem]
453 def PopToken(a_list, token_type=None): argument
454 token = PopFront(a_list)
463 def PeekToken(a_list): argument
464 if not a_list:
467 return a_list[0]
/external/python/cpython3/Lib/
Dtraceback.py362 def from_list(klass, a_list): argument
373 for frame in a_list:
/external/python/cpython3/Doc/faq/
Dprogramming.rst484 operators. For example, ``+=`` mutates lists but not tuples or ints (``a_list
485 += [1, 2, 3]`` is equivalent to ``a_list.extend([1, 2, 3])`` and mutates
486 ``a_list``, whereas ``some_tuple += (1, 2, 3)`` and ``some_int += 1`` create
1287 >>> a_list = []
1288 >>> a_list += [1]
1289 >>> a_list
1294 >>> result = a_list.__iadd__([1])
1295 >>> a_list = result
1297 The object pointed to by a_list has been mutated, and the pointer to the
1298 mutated object is assigned back to ``a_list``. The end result of the
[all …]
/external/python/cpython2/Doc/faq/
Dprogramming.rst644 operators. For example, ``+=`` mutates lists but not tuples or ints (``a_list
645 += [1, 2, 3]`` is equivalent to ``a_list.extend([1, 2, 3])`` and mutates
646 ``a_list``, whereas ``some_tuple += (1, 2, 3)`` and ``some_int += 1`` create
1398 >>> a_list = []
1399 >>> a_list += [1]
1400 >>> a_list
1405 >>> result = a_list.__iadd__([1])
1406 >>> a_list = result
1408 The object pointed to by a_list has been mutated, and the pointer to the
1409 mutated object is assigned back to ``a_list``. The end result of the
[all …]
/external/python/cpython3/Doc/library/
Dtraceback.rst288 .. classmethod:: from_list(a_list)