Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dstringobject.c866 if (! PyString_CheckExact(op)) { in string_print()
1004 if (PyString_CheckExact(s)) { in string_str()
1041 PyString_CheckExact(a) && PyString_CheckExact(b)) { in string_concat()
1099 if (size == Py_SIZE(a) && PyString_CheckExact(a)) { in string_repeat()
1146 if (i == 0 && j == Py_SIZE(a) && PyString_CheckExact(a)) { in string_slice()
1159 if (!PyString_CheckExact(sub_obj)) { in string_contains()
1330 PyString_CheckExact(self)) { in string_subscript()
1616 if (PyString_CheckExact(item) || PyUnicode_CheckExact(item)) { in string_join()
1851 if (i == 0 && j == len && PyString_CheckExact(self)) { in do_xstrip()
1881 if (i == 0 && j == len && PyString_CheckExact(self)) { in do_strip()
[all …]
Ddictobject.c421 if (!PyString_CheckExact(key)) { in lookdict_string()
716 if (!PyString_CheckExact(key) || in PyDict_GetItem()
766 if (!PyString_CheckExact(key) || in _PyDict_GetItemWithError()
838 if (PyString_CheckExact(key)) { in PyDict_SetItem()
879 if (!PyString_CheckExact(key) || in PyDict_DelItem()
911 if (!PyString_CheckExact(key) || in _PyDict_DelItemIf()
1246 if (!PyString_CheckExact(key) || in dict_subscript()
1997 if (!PyString_CheckExact(key) || in dict_contains()
2030 if (!PyString_CheckExact(key) || in dict_get()
2059 if (!PyString_CheckExact(key) || in dict_setdefault()
[all …]
Dcodeobject.c38 if (v == NULL || !PyString_CheckExact(v)) { in intern_strings()
54 if (PyString_CheckExact(v)) { in intern_string_constants()
235 if (PyString_CheckExact(item)) { in validate_and_copy_tuple()
Dsetobject.c168 if (!PyString_CheckExact(key)) { in set_lookkey_string()
382 if (!PyString_CheckExact(key) || in set_add_key()
429 if (!PyString_CheckExact(key) || in set_discard_key()
691 if (!PyString_CheckExact(key) || in set_contains_key()
Dobject.c418 if (PyString_CheckExact(v)) { in _PyObject_Str()
534 if (PyString_CheckExact(v)) { in PyObject_Unicode()
Dfloatobject.c1822 if (PyString_CheckExact(x)) in float_new()
Dtypeobject.c25 PyString_CheckExact(name) && \
2718 if (!PyString_CheckExact(name)) { in type_setattro()
6436 assert(PyString_CheckExact(name));
/external/python/cpython2/Include/
Dbytesobject.h5 #define PyBytes_CheckExact PyString_CheckExact
Dstringobject.h60 #define PyString_CheckExact(op) (Py_TYPE(op) == &PyString_Type) macro
/external/python/cpython2/Objects/stringlib/
Dstringdefs.h26 #define STRINGLIB_CHECK_EXACT PyString_CheckExact
Dstring_format.h582 if (PyString_CheckExact(fieldobj)) in render_field()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c127 } else if (PyString_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
209 || PyFloat_CheckExact(obj) || PyString_CheckExact(obj) in _need_adapt()
/external/python/cpython2/Python/
Dceval.c1457 if (PyString_CheckExact(v) in PyEval_EvalFrameEx()
1458 && (!PyString_Check(w) || PyString_CheckExact(w))) { in PyEval_EvalFrameEx()
1488 else if (PyString_CheckExact(v) && in PyEval_EvalFrameEx()
1489 PyString_CheckExact(w)) { in PyEval_EvalFrameEx()
1734 else if (PyString_CheckExact(v) && in PyEval_EvalFrameEx()
1735 PyString_CheckExact(w)) { in PyEval_EvalFrameEx()
2349 if (PyString_CheckExact(w)) { in PyEval_EvalFrameEx()
Dbltinmodule.c1279 if (!PyString_CheckExact(s)) { in builtin_intern()
2854 if (PyString_CheckExact(strobj)) { in filterstring()
Dmarshal.c327 else if (PyString_CheckExact(v)) { in w_object()
DPython-ast.c599 if (!PyString_CheckExact(obj) && obj != Py_None) { in obj2ast_identifier()
609 if (!PyString_CheckExact(obj) && !PyUnicode_CheckExact(obj)) { in obj2ast_string()
/external/python/cpython2/Modules/
D_elementtree.c1896 if (PyString_CheckExact(self->data) && Py_REFCNT(self->data) == 1 &&
1897 PyString_CheckExact(data) && PyString_GET_SIZE(data) == 1) {
2784 if (!PyString_CheckExact(buffer) || PyString_GET_SIZE(buffer) == 0) {
DcPickle.c4614 if (PyString_CheckExact(d_key)) in load_build()
/external/python/cpython2/Doc/c-api/
Dstring.rst42 .. c:function:: int PyString_CheckExact(PyObject *o)
/external/python/cpython2/Parser/
Dtokenizer.c429 if (PyString_CheckExact(buf)) in fp_readl()
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c1829 if (PyString_CheckExact(cls)) { in POINTER()