Home
last modified time | relevance | path

Searched refs:PyList_CheckExact (Results 1 - 22 of 22) sorted by relevance

/third_party/python/Modules/
H A D_bisectmodule.c139 if (PyList_CheckExact(a)) { in _bisect_insort_right_impl()
267 if (PyList_CheckExact(a)) { in _bisect_insort_left_impl()
H A D_elementtree.c542 if (PyList_CheckExact(res)) { in element_get_text()
564 if (PyList_CheckExact(res)) { in element_get_tail()
989 text = text ? JOIN_SET(text, PyList_CheckExact(text)) : Py_None; in element_setstate_from_attributes()
993 tail = tail ? JOIN_SET(tail, PyList_CheckExact(tail)) : Py_None; in element_setstate_from_attributes()
2554 *dest = JOIN_SET(*data, PyList_CheckExact(*data)); in treebuilder_extend_element_text_or_tail()
2756 } else if (PyList_CheckExact(self->data)) { in treebuilder_handle_data()
H A D_pickle.c1844 assert(PyList_CheckExact(names)); in get_deep_attribute()
3005 assert(PyList_CheckExact(obj)); in batch_list_exact()
3077 if (PyList_CheckExact(obj) && self->proto > 0) { in save_list()
6458 if (PyList_CheckExact(list)) { in do_append()
H A Dgcmodule.c1363 assert(PyList_CheckExact(gcstate->callbacks)); in invoke_gc_callback()
H A D_testcapimodule.c1949 if (!(PyList_CheckExact(sub_keywords) || PyTuple_CheckExact(sub_keywords))) { in parse_tuple_and_keywords()
H A Dposixmodule.c552 assert(PyList_CheckExact(lst)); in run_at_forkers()
/third_party/python/Include/
H A Dlistobject.h26 #define PyList_CheckExact(op) Py_IS_TYPE(op, &PyList_Type) macro
/third_party/python/Python/
H A Dsuggestions.c133 assert(PyList_CheckExact(dir)); in calculate_suggestions()
H A Dspecialize.c1874 if (PyList_CheckExact(lhs)) { in compare_op_fail_kind()
2013 if (PyList_CheckExact(seq)) { in _Py_Specialize_UnpackSequence()
H A Dcodecs.c64 assert(PyList_CheckExact(codec_search_path)); in PyCodec_Unregister()
H A Dceval.c2171 DEOPT_IF(!PyList_CheckExact(list), BINARY_SUBSCR);
2339 DEOPT_IF(!PyList_CheckExact(list), STORE_SUBSCR);
2855 DEOPT_IF(!PyList_CheckExact(seq), UNPACK_SEQUENCE);
5852 assert(PyList_CheckExact(names));
H A Dinitconfig.c1242 if (!PyList_CheckExact(list)) { in config_dict_get_wstrlist()
H A Dmarshal.c481 else if (PyList_CheckExact(v)) { in w_complex_object()
H A Dcompile.c8540 assert(PyList_CheckExact(consts)); in fold_tuple_on_constants()
8809 assert(PyList_CheckExact(consts)); in optimize_basic_block()
9355 assert(PyList_CheckExact(consts)); in trim_unused_consts()
/third_party/python/Modules/_sqlite/
H A Dcursor.c649 if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) && PySequence_Check(parameters))) { in bind_parameters()
653 } else if (PyList_CheckExact(parameters)) { in bind_parameters()
672 } else if (PyList_CheckExact(parameters)) { in bind_parameters()
/third_party/python/Objects/
H A Dlistobject.c126 assert(PyList_CheckExact(op)); in _PyList_ClearFreeList()
367 if (state->numfree < PyList_MAXFREELIST && PyList_CheckExact(op)) { in list_dealloc()
891 if (PyList_CheckExact(iterable) || PyTuple_CheckExact(iterable) || in list_extend()
H A Dabstract.c2058 if (PyList_CheckExact(v)) in PySequence_Tuple()
2153 if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) { in PySequence_Fast()
2415 if (meth_output == NULL || PyList_CheckExact(meth_output)) { in method_output_as_list()
H A Dexceptions.c1138 assert(PyList_CheckExact(match_list)); in exceptiongroup_split_recursive()
1148 assert(PyList_CheckExact(rest_list)); in exceptiongroup_split_recursive()
1163 assert(PyList_CheckExact(rest_list)); in exceptiongroup_split_recursive()
1288 assert(PyList_CheckExact(keep)); in exception_group_projection()
H A Dbytearrayobject.c847 if (PyList_CheckExact(arg) || PyTuple_CheckExact(arg)) { in bytearray___init___impl()
H A Dbytesobject.c2857 if (PyList_CheckExact(x)) in PyBytes_FromObject()
/third_party/protobuf/python/google/protobuf/pyext/
H A Dmessage.cc377 if (subclasses && PyList_CheckExact(subclasses)) { in InsertEmptyWeakref()
/third_party/python/Modules/_io/
H A Dtextio.c1674 else if (!PyList_CheckExact(self->pending_bytes)) { in _io_TextIOWrapper_write_impl()

Completed in 122 milliseconds