Home
last modified time | relevance | path

Searched refs:PyLong_CheckExact (Results 1 – 25 of 34) sorted by relevance

12

/third_party/python/Modules/_sqlite/
Dstatement.c148 if (PyLong_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
220 if (PyLong_CheckExact(obj) || PyFloat_CheckExact(obj) in _need_adapt()
/third_party/python/Include/
Dlongobject.h16 #define PyLong_CheckExact(op) Py_IS_TYPE(op, &PyLong_Type) macro
/third_party/skia/third_party/externals/markupsafe/
D_speedups.c123 if (PyLong_CheckExact(text) || in escape()
/third_party/node/tools/inspector_protocol/markupsafe/
D_speedups.c123 if (PyLong_CheckExact(text) || in escape()
/third_party/python/Objects/
Dinterpreteridobject.c196 else if (PyLong_CheckExact(other)) { in interpid_richcompare()
Drangeobject.c430 if (PyLong_CheckExact(ob) || PyBool_Check(ob)) in range_contains()
561 if (PyLong_CheckExact(ob) || PyBool_Check(ob)) { in range_count()
580 if (!PyLong_CheckExact(ob) && !PyBool_Check(ob)) { in range_index()
Dabstract.c787 if (PyLong_CheckExact(obj)) { in PyObject_Format()
1438 if (!result || PyLong_CheckExact(result)) { in _PyNumber_Index()
1469 if (result != NULL && !PyLong_CheckExact(result)) { in PyNumber_Index()
1541 if (PyLong_CheckExact(o)) { in PyNumber_Long()
1551 if (!result || PyLong_CheckExact(result)) { in PyNumber_Long()
1581 if (result == NULL || PyLong_CheckExact(result)) { in PyNumber_Long()
Dframeobject.c351 if (!PyLong_CheckExact(p_new_lineno)) { in frame_setlineno()
Dcodeobject.c790 || PyLong_CheckExact(op) in _PyCode_ConstantKey()
/third_party/markupsafe/
D_speedups.c200 if (PyLong_CheckExact(text) || in escape()
/third_party/python/Python/
Dast.c133 if (PyLong_CheckExact(value) in validate_constant()
381 (allow_real && PyLong_CheckExact(value)) || in ensure_literal_number()
459 if (PyLong_CheckExact(literal) || PyFloat_CheckExact(literal) || in validate_pattern_match_value()
Dformatter_unicode.c953 && PyLong_CheckExact(value)) in format_long_internal()
1476 if (PyLong_CheckExact(obj)) in _PyLong_FormatAdvancedWriter()
Dbltinmodule.c2455 if (PyLong_CheckExact(result)) { in builtin_sum_impl()
2471 if (PyLong_CheckExact(item) || PyBool_Check(item)) { in builtin_sum_impl()
Dast_unparse.c754 if (v->kind == Constant_kind && PyLong_CheckExact(v->v.Constant.value)) { in append_ast_attribute()
D_warnings.c396 || !PyLong_CheckExact(version_obj) in already_warned()
/third_party/python/Modules/
Dmathmodule.c92 else if (PyLong_CheckExact(obj)) { \
3096 if (PyLong_CheckExact(result)) { in math_prod_impl()
3115 if (PyLong_CheckExact(item)) { in math_prod_impl()
3165 if (PyLong_CheckExact(item)) { in math_prod_impl()
D_randommodule.c290 if (PyLong_CheckExact(arg)) { in random_seed()
D_csv.c217 if (!PyLong_CheckExact(src)) { in _set_int()
1543 if (!PyLong_CheckExact(new_limit)) { in csv_field_size_limit()
D_cursesmodule.c265 else if (PyLong_CheckExact(obj)) { in PyCurses_ConvertToChtype()
330 else if (PyLong_CheckExact(obj)) { in PyCurses_ConvertToCchar_t()
4455 else if (PyLong_CheckExact(obj)) { in PyCurses_ConvertToWchar_t()
D_abc.c465 if (PyLong_CheckExact(flags)) { in _abc__abc_init()
D_operator.c988 if (PyLong_CheckExact(item)) { in itemgetter_new()
D_functoolsmodule.c823 if (PyUnicode_CheckExact(key) || PyLong_CheckExact(key)) { in lru_cache_make_key()
/third_party/python/PC/
D_msi.c773 } else if (PyLong_CheckExact(data)) { in _msi_SummaryInformation_SetProperty_impl()
/third_party/python/Doc/c-api/
Dlong.rst33 .. c:function:: int PyLong_CheckExact(PyObject *p)
/third_party/python/Objects/stringlib/
Dunicode_format.h510 else if (PyLong_CheckExact(fieldobj)) in render_field()

12