Home
last modified time | relevance | path

Searched refs:PyObject_IsTrue (Results 1 – 25 of 98) sorted by relevance

1234

/external/python/cpython2/Mac/Modules/
DNav.c88 c_rv = PyObject_IsTrue(rv); in my_previewProc()
115 c_rv = PyObject_IsTrue(rv); in my_filterProc()
460 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavGetFile()
494 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavPutFile()
527 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavAskSaveChanges()
556 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavCustomAskSaveChanges()
585 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavAskDiscardChanges()
618 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavChooseFile()
651 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavChooseFolder()
684 if ( kw && PyObject_IsTrue(kw) ) { in nav_NavChooseVolume()
[all …]
/external/python/cpython2/Python/
D_warnings.c29 rc = PyObject_IsTrue(result); in check_matched()
184 int rc = PyObject_IsTrue(already_warned); in already_warned()
203 int rc = PyObject_IsTrue(filename); in normalize_module()
531 is_true = PyObject_IsTrue(*filename); in setup_context()
Dbltinmodule.c98 cmp = PyObject_IsTrue(item); in builtin_all()
141 cmp = PyObject_IsTrue(item); in builtin_any()
303 ok = PyObject_IsTrue(item); in builtin_filter()
314 ok = PyObject_IsTrue(good); in builtin_filter()
2815 ok = PyObject_IsTrue(good); in filtertuple()
2884 ok = PyObject_IsTrue(good); in filterstring()
3012 ok = PyObject_IsTrue(good); in filterunicode()
Dpeephole.c206 if (PyObject_IsTrue(v) == 1) in fold_unaryops_on_constants()
422 !PyObject_IsTrue(PyList_GET_ITEM(consts, j))) in PyCode_Optimize()
/external/python/cpython3/Modules/
D_asynciomodule.c147 int is_res_true = PyObject_IsTrue(res); in _is_coroutine()
499 is_true = PyObject_IsTrue(res); in future_init()
1118 int is_true = PyObject_IsTrue(val); in FutureObj_set_blocking()
1145 int is_true = PyObject_IsTrue(val); in FutureObj_set_log_traceback()
2023 int is_true = PyObject_IsTrue(val); in TaskObj_set_log_destroy_pending()
2204 is_true = PyObject_IsTrue(res); in _asyncio_Task_cancel_impl()
2682 is_true = PyObject_IsTrue(r); in task_step_impl()
2718 int blocking = PyObject_IsTrue(o); in task_step_impl()
2778 is_true = PyObject_IsTrue(r); in task_step_impl()
2811 res = PyObject_IsTrue(o); in task_step_impl()
Dpyexpat.c1384 int b = PyObject_IsTrue(v); in xmlparse_setattro()
1406 int b = PyObject_IsTrue(v); in xmlparse_setattro()
1414 int b = PyObject_IsTrue(v); in xmlparse_setattro()
1421 int b = PyObject_IsTrue(v); in xmlparse_setattro()
D_threadmodule.c709 rc = PyObject_IsTrue(args); in local_new()
711 rc = PyObject_IsTrue(kw); in local_new()
/external/python/cpython3/Objects/
Dboolobject.c52 ok = PyObject_IsTrue(x); in bool_new()
Dobject.c773 ok = PyObject_IsTrue(res); in PyObject_RichCompareBool()
861 res = PyObject_IsTrue(isabstract); in _PyObject_IsAbstract()
1411 PyObject_IsTrue(PyObject *v) in PyObject_IsTrue() function
1442 res = PyObject_IsTrue(v); in PyObject_Not()
/external/python/cpython2/Objects/
Dboolobject.c61 ok = PyObject_IsTrue(x); in bool_new()
Dobject.c662 ok = PyObject_IsTrue(res); in try_rich_compare_bool()
1015 ok = PyObject_IsTrue(res); in PyObject_RichCompareBool()
1572 PyObject_IsTrue(PyObject *v) in PyObject_IsTrue() function
1603 res = PyObject_IsTrue(v); in PyObject_Not()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b2.rst17 Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(),
/external/python/cpython2/Modules/
Dpyexpat.c1182 flag = PyObject_IsTrue(flagobj); in xmlparse_UseForeignDTD()
1560 int b = PyObject_IsTrue(v); in xmlparse_setattr()
1582 int b = PyObject_IsTrue(v); in xmlparse_setattr()
1590 int b = PyObject_IsTrue(v); in xmlparse_setattr()
1597 int b = PyObject_IsTrue(v); in xmlparse_setattr()
1611 int b = PyObject_IsTrue(v); in xmlparse_setattr()
D_json.c898 int strict = PyObject_IsTrue(s->strict); in _parse_object_str()
1024 int strict = PyObject_IsTrue(s->strict); in _parse_object_unicode()
1513 strict = PyObject_IsTrue(s->strict); in scan_once_str()
1606 strict = PyObject_IsTrue(s->strict); in scan_once_unicode()
1826 allow_nan = PyObject_IsTrue(allow_nan_obj); in encoder_new()
2118 skipkeys = PyObject_IsTrue(s->skipkeys); in encoder_listencode_dict()
Dthreadmodule.c339 rc = PyObject_IsTrue(args); in local_new()
341 rc = PyObject_IsTrue(kw); in local_new()
Ditertoolsmodule.c906 ok = PyObject_IsTrue(good); in dropwhile_next()
1048 ok = PyObject_IsTrue(good); in takewhile_next()
2881 ok = PyObject_IsTrue(selector); in compress_next()
3016 ok = PyObject_IsTrue(item); in ifilter_next()
3025 ok = PyObject_IsTrue(good); in ifilter_next()
3161 ok = PyObject_IsTrue(item); in ifilterfalse_next()
3170 ok = PyObject_IsTrue(good); in ifilterfalse_next()
/external/python/cpython3/Modules/_io/
Diobase.c189 closed = PyObject_IsTrue(res); in iobase_check_closed()
273 closed = PyObject_IsTrue(res); in iobase_finalize()
Dtextio.c860 r = PyObject_IsTrue(res); in _textiowrapper_set_decoder()
915 r = PyObject_IsTrue(res); in _textiowrapper_set_encoder()
1195 r = PyObject_IsTrue(res); in _io_TextIOWrapper___init___impl()
1424 r = PyObject_IsTrue(_res); \
2933 r = PyObject_IsTrue(res); in _io_TextIOWrapper_close_impl()
/external/python/cpython2/Modules/_io/
Diobase.c149 closed = PyObject_IsTrue(res); in iobase_closed()
225 closed = PyObject_IsTrue(res); in _PyIOBase_finalize()
Dtextio.c956 r = PyObject_IsTrue(res); in textiowrapper_init()
980 r = PyObject_IsTrue(res); in textiowrapper_init()
1036 r = PyObject_IsTrue(res); in textiowrapper_init()
1149 r = PyObject_IsTrue(_res); \
2471 r = PyObject_IsTrue(res); in textiowrapper_close()
/external/python/cpython3/Python/
D_warnings.c44 rc = PyObject_IsTrue(result); in check_matched()
277 int rc = PyObject_IsTrue(already_warned); in already_warned()
774 is_true = PyObject_IsTrue(*filename); in setup_context()
Dbltinmodule.c378 cmp = PyObject_IsTrue(item); in builtin_all()
427 cmp = PyObject_IsTrue(item); in builtin_any()
602 ok = PyObject_IsTrue(item); in filter_next()
610 ok = PyObject_IsTrue(good); in filter_next()
1919 int do_flush = PyObject_IsTrue(flush); in builtin_print()
/external/protobuf/python/google/protobuf/pyext/
Dmap_container.cc505 if (PyObject_IsTrue(is_present.get())) { in ScalarMapGet()
754 if (PyObject_IsTrue(is_present.get())) { in MessageMapGet()
/external/python/cpython2/PC/os2vacpp/
Dpython.def318 PyObject_IsTrue
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
Drjsmin.c420 keep_bang_comments = PyObject_IsTrue(keep_bang_comments_); in rjsmin_jsmin()

1234