Home
last modified time | relevance | path

Searched refs:seq2 (Results 1 – 21 of 21) sorted by relevance

/third_party/python/Lib/unittest/
Dcase.py936 def assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None): argument
955 if not isinstance(seq2, seq_type):
957 % (seq_type_name, safe_repr(seq2)))
970 len2 = len(seq2)
976 if seq1 == seq2:
981 _common_shorten_repr(seq1, seq2))
992 item2 = seq2[i]
1004 type(seq1) != type(seq2)):
1022 (len1, safe_repr(seq2[len1])))
1029 pprint.pformat(seq2).splitlines()))
/third_party/python/Doc/c-api/
Ddict.rst228 .. c:function:: int PyDict_MergeFromSeq2(PyObject *a, PyObject *seq2, int override)
230 Update or merge into dictionary *a*, from the key-value pairs in *seq2*.
231 *seq2* must be an iterable object producing iterable objects of length 2,
237 def PyDict_MergeFromSeq2(a, seq2, override):
238 for key, value in seq2:
/third_party/musl/src/regex/
Dregcomp.c1920 tre_ast_node_t *seq1 = NULL, *seq2 = NULL; in tre_expand_ast() local
1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast()
1954 seq2 = tre_ast_new_iter(mem, seq2, 0, -1, 0); in tre_expand_ast()
1955 if (seq2 == NULL) in tre_expand_ast()
1968 if (seq2 != NULL) in tre_expand_ast()
1969 seq2 = tre_ast_new_catenation(mem, copy, seq2); in tre_expand_ast()
1971 seq2 = copy; in tre_expand_ast()
1972 if (seq2 == NULL) in tre_expand_ast()
1977 seq2 = tre_ast_new_union(mem, tmp, seq2); in tre_expand_ast()
1978 if (seq2 == NULL) in tre_expand_ast()
[all …]
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
Dregcomp.c1921 tre_ast_node_t *seq1 = NULL, *seq2 = NULL; in tre_expand_ast() local
1952 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast()
1955 seq2 = tre_ast_new_iter(mem, seq2, 0, -1, 0); in tre_expand_ast()
1956 if (seq2 == NULL) in tre_expand_ast()
1969 if (seq2 != NULL) in tre_expand_ast()
1970 seq2 = tre_ast_new_catenation(mem, copy, seq2); in tre_expand_ast()
1972 seq2 = copy; in tre_expand_ast()
1973 if (seq2 == NULL) in tre_expand_ast()
1978 seq2 = tre_ast_new_union(mem, tmp, seq2); in tre_expand_ast()
1979 if (seq2 == NULL) in tre_expand_ast()
[all …]
/third_party/musl/porting/liteos_m/kernel/src/regex/
Dregcomp.c1920 tre_ast_node_t *seq1 = NULL, *seq2 = NULL; in tre_expand_ast() local
1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast()
1954 seq2 = tre_ast_new_iter(mem, seq2, 0, -1, 0); in tre_expand_ast()
1955 if (seq2 == NULL) in tre_expand_ast()
1968 if (seq2 != NULL) in tre_expand_ast()
1969 seq2 = tre_ast_new_catenation(mem, copy, seq2); in tre_expand_ast()
1971 seq2 = copy; in tre_expand_ast()
1972 if (seq2 == NULL) in tre_expand_ast()
1977 seq2 = tre_ast_new_union(mem, tmp, seq2); in tre_expand_ast()
1978 if (seq2 == NULL) in tre_expand_ast()
[all …]
/third_party/musl/porting/uniproton/kernel/src/regex/
Dregcomp.c1920 tre_ast_node_t *seq1 = NULL, *seq2 = NULL; in tre_expand_ast() local
1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast()
1954 seq2 = tre_ast_new_iter(mem, seq2, 0, -1, 0); in tre_expand_ast()
1955 if (seq2 == NULL) in tre_expand_ast()
1968 if (seq2 != NULL) in tre_expand_ast()
1969 seq2 = tre_ast_new_catenation(mem, copy, seq2); in tre_expand_ast()
1971 seq2 = copy; in tre_expand_ast()
1972 if (seq2 == NULL) in tre_expand_ast()
1977 seq2 = tre_ast_new_union(mem, tmp, seq2); in tre_expand_ast()
1978 if (seq2 == NULL) in tre_expand_ast()
[all …]
/third_party/python/Modules/clinic/
Ditertoolsmodule.c.h552 itertools_compress_impl(PyTypeObject *type, PyObject *seq1, PyObject *seq2);
564 PyObject *seq2; in itertools_compress() local
571 seq2 = fastargs[1]; in itertools_compress()
572 return_value = itertools_compress_impl(type, seq1, seq2); in itertools_compress()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpcg_engine_test.cc61 std::seed_seq seq2{rd(), rd(), rd()}; in TYPED_TEST() local
62 engine.seed(seq2); in TYPED_TEST()
Dranden_engine_test.cc63 std::seed_seq seq2{rd(), rd(), rd()}; in TYPED_TEST() local
64 engine.seed(seq2); in TYPED_TEST()
/third_party/python/Lib/test/
Dtest_difflib.py52 seq2 = 'a' + 'b' * 200
54 sm = difflib.SequenceMatcher(None, seq1, seq2)
59 sm = difflib.SequenceMatcher(None, seq1, seq2, autojunk=False)
Dtest_collections.py1889 def assert_index_same(seq1, seq2, index_args): argument
1894 seq2.index(*index_args)
1896 actual = seq2.index(*index_args)
/third_party/python/Include/
Ddictobject.h54 PyObject *seq2,
/third_party/python/Lib/unittest/test/
Dtest_case.py807 seq2 = 'b' + 'x' * 80**2
809 pprint.pformat(seq2).splitlines()))
816 self.assertSequenceEqual(seq1, seq2)
826 self.assertSequenceEqual(seq1, seq2)
836 self.assertSequenceEqual(seq1, seq2)
/third_party/python/Doc/library/
Doperator.rst375 | Concatenation | ``seq1 + seq2`` | ``concat(seq1, seq2)`` |
/third_party/python/Doc/whatsnew/
D2.0.rst325 seq2 = (1,2,3)
326 >>> [ (x,y) for x in seq1 for y in seq2]
335 [ x,y for x in seq1 for y in seq2]
337 [ (x,y) for x in seq1 for y in seq2]
603 A new built-in, ``zip(seq1, seq2, ...)``, has been added. :func:`zip`
606 seq1, seq2)`` is that :func:`map` pads the sequences with ``None`` if the
/third_party/python/Doc/howto/
Dfunctional.rst413 >>> seq2 = (1, 2, 3)
414 >>> [(x, y) for x in seq1 for y in seq2] #doctest: +NORMALIZE_WHITESPACE
424 [x, y for x in seq1 for y in seq2]
426 [(x, y) for x in seq1 for y in seq2]
/third_party/python/Objects/
Ddictobject.c2462 PyDict_MergeFromSeq2(PyObject *d, PyObject *seq2, int override) in PyDict_MergeFromSeq2() argument
2471 assert(seq2 != NULL); in PyDict_MergeFromSeq2()
2473 it = PyObject_GetIter(seq2); in PyDict_MergeFromSeq2()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lecp/
Dmain.c2011 }, seq2[] = { variable
4187 .seq = seq2, .seq_size = LWS_ARRAY_SIZE(seq2) },
/third_party/python/Modules/
Ditertoolsmodule.c3837 itertools_compress_impl(PyTypeObject *type, PyObject *seq1, PyObject *seq2) in itertools_compress_impl() argument
3846 selectors = PyObject_GetIter(seq2); in itertools_compress_impl()
/third_party/python/Doc/data/
Drefcounts.dat546 PyDict_MergeFromSeq2:PyObject*:seq2:0:
/third_party/python/Misc/
DHISTORY26391 A new function zip() was added. zip(seq1, seq2, ...) is equivalent to
26392 map(None, seq1, seq2, ...) when the sequences have the same length;