Home
last modified time | relevance | path

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

123456

/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/cpython3/Modules/clinic/
D_hashopenssl.c.h220 usedforsecurity = PyObject_IsTrue(args[2]); in EVP_new()
272 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_md5()
324 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_sha1()
376 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_sha224()
428 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_sha256()
480 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_sha384()
532 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_sha512()
586 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_sha3_224()
642 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_sha3_256()
698 usedforsecurity = PyObject_IsTrue(args[1]); in _hashlib_openssl_sha3_384()
[all …]
D_pickle.c.h135 fix_imports = PyObject_IsTrue(fastargs[2]); in _pickle_Pickler___init__()
350 fix_imports = PyObject_IsTrue(fastargs[1]); in _pickle_Unpickler___init__()
530 fix_imports = PyObject_IsTrue(args[3]); in _pickle_dump()
609 fix_imports = PyObject_IsTrue(args[2]); in _pickle_dumps()
685 fix_imports = PyObject_IsTrue(args[1]); in _pickle_load()
788 fix_imports = PyObject_IsTrue(args[1]); in _pickle_loads()
Dsha512module.c.h108 usedforsecurity = PyObject_IsTrue(args[1]); in _sha512_sha512()
159 usedforsecurity = PyObject_IsTrue(args[1]); in _sha512_sha384()
Dsha256module.c.h108 usedforsecurity = PyObject_IsTrue(args[1]); in _sha256_sha256()
159 usedforsecurity = PyObject_IsTrue(args[1]); in _sha256_sha224()
D_queuemodule.c.h70 block = PyObject_IsTrue(args[1]); in _queue_SimpleQueue_put()
161 block = PyObject_IsTrue(args[0]); in _queue_SimpleQueue_get()
Dsha1module.c.h108 usedforsecurity = PyObject_IsTrue(args[1]); in _sha1_sha1()
Dmd5module.c.h108 usedforsecurity = PyObject_IsTrue(args[1]); in _md5_md5()
Dfcntlmodule.c.h132 mutate_arg = PyObject_IsTrue(args[3]); in fcntl_ioctl()
/external/python/cpython3/Objects/clinic/
Dodictobject.c.h117 last = PyObject_IsTrue(args[0]); in OrderedDict_popitem()
161 last = PyObject_IsTrue(args[1]); in OrderedDict_move_to_end()
Dlongobject.c.h240 is_signed = PyObject_IsTrue(args[2]); in int_to_bytes()
306 is_signed = PyObject_IsTrue(args[2]); in int_from_bytes()
/external/python/cpython3/Modules/_blake2/clinic/
Dblake2s_impl.c.h181 last_node = PyObject_IsTrue(fastargs[11]); in py_blake2s_new()
189 usedforsecurity = PyObject_IsTrue(fastargs[12]); in py_blake2s_new()
Dblake2b_impl.c.h181 last_node = PyObject_IsTrue(fastargs[11]); in py_blake2b_new()
189 usedforsecurity = PyObject_IsTrue(fastargs[12]); in py_blake2b_new()
/external/tensorflow/tensorflow/python/framework/
Dpy_context_manager.cc48 if (PyObject_IsTrue(result.get())) { in ~PyContextManager()
Dpython_tensor_converter_wrapper.cc72 bool is_eager = PyObject_IsTrue(py_is_eager.get()); in MakePythonTensorConverter()
/external/python/cpython3/Objects/
Dboolobject.c52 ok = PyObject_IsTrue(x); in bool_new()
/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()
/external/python/cpython2/Objects/
Dboolobject.c61 ok = PyObject_IsTrue(x); in bool_new()
/external/python/cpython3/Modules/_sha3/clinic/
Dsha3module.c.h40 usedforsecurity = PyObject_IsTrue(fastargs[1]); in py_sha3_new()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b2.rst17 Update uses of PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(),
/external/python/cpython3/Modules/
D_asynciomodule.c151 int is_res_true = PyObject_IsTrue(res); in _is_coroutine()
512 is_true = PyObject_IsTrue(res); in future_init()
1168 int is_true = PyObject_IsTrue(val); in FutureObj_set_blocking()
1195 int is_true = PyObject_IsTrue(val); in FutureObj_set_log_traceback()
2147 int is_true = PyObject_IsTrue(val); in TaskObj_set_log_destroy_pending()
2262 is_true = PyObject_IsTrue(res); in _asyncio_Task_cancel_impl()
2818 is_true = PyObject_IsTrue(r); in task_step_impl()
2849 int blocking = PyObject_IsTrue(o); in task_step_impl()
2910 is_true = PyObject_IsTrue(r); in task_step_impl()
/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()
/external/python/cpython2/Modules/_io/
Diobase.c149 closed = PyObject_IsTrue(res); in iobase_closed()
225 closed = PyObject_IsTrue(res); in _PyIOBase_finalize()
/external/python/cpython3/Modules/_io/
Diobase.c190 closed = PyObject_IsTrue(res); in iobase_check_closed()
274 closed = PyObject_IsTrue(res); in iobase_finalize()

123456