Home
last modified time | relevance | path

Searched refs:Py_DEBUG (Results 1 - 25 of 62) sorted by relevance

123

/third_party/python/Python/
H A Dpyarena.c66 #if defined(Py_DEBUG)
147 #if defined(Py_DEBUG) in _PyArena_New()
161 #if defined(Py_DEBUG) in _PyArena_Free()
186 #if defined(Py_DEBUG) in _PyArena_Malloc()
193 #if defined(Py_DEBUG) in _PyArena_Malloc()
H A Dthread.c46 #ifdef Py_DEBUG
60 #ifdef Py_DEBUG in PyThread_init_thread()
69 #endif /* Py_DEBUG */ in PyThread_init_thread()
80 #ifdef Py_DEBUG in _PyThread_debug_deprecation()
H A Dhamt.c359 #ifdef Py_DEBUG
375 #ifdef Py_DEBUG
454 #ifdef Py_DEBUG
516 #endif /* Py_DEBUG */
1038 #ifdef Py_DEBUG in hamt_node_bitmap_without()
1181 #ifdef Py_DEBUG
1253 #endif /* Py_DEBUG */
1589 #ifdef Py_DEBUG
1625 #endif /* Py_DEBUG */
1888 #ifdef Py_DEBUG in hamt_node_array_without()
[all...]
H A Dpystrhex.c139 #ifdef Py_DEBUG in _Py_strhex_impl()
H A Dcontext.c346 #ifdef Py_DEBUG in _context_alloc()
478 #ifdef Py_DEBUG in context_tp_dealloc()
1319 #if defined(Py_DEBUG) && PyContext_MAXFREELIST > 0 in _PyContext_Fini()
/third_party/python/Include/internal/
H A Dpycore_asdl.h85 #ifdef Py_DEBUG
97 #ifdef Py_DEBUG
H A Dpycore_pystate.h113 #ifdef Py_DEBUG in _PyInterpreterState_GET()
H A Dpycore_object.h58 #ifdef Py_DEBUG in _Py_DECREF_NO_DEALLOC()
H A Dpycore_opcode.h240 #ifdef Py_DEBUG
/third_party/python/Lib/test/
H A Dtest_lltrace.py17 Py_DEBUG = hasattr(sys, 'gettotalrefcount') variable
19 @unittest.skipUnless(Py_DEBUG, "lltrace requires Py_DEBUG")
H A Dtest_cmd_line.py22 Py_DEBUG = hasattr(sys, "gettotalrefcount") variable
137 if Py_DEBUG:
699 if Py_DEBUG:
771 if not Py_DEBUG:
809 default_name = 'pymalloc_debug' if Py_DEBUG else 'pymalloc'
812 default_name = 'malloc_debug' if Py_DEBUG else 'malloc'
H A Dpythoninfo.py134 Py_DEBUG = hasattr(sys, 'gettotalrefcount')
135 if Py_DEBUG:
139 info_add('build.Py_DEBUG', text)
494 'Py_DEBUG',
H A Dtest_regrtest.py28 Py_DEBUG = hasattr(sys, 'gettotalrefcount') variable
673 if not Py_DEBUG:
690 if Py_DEBUG:
911 @unittest.skipUnless(Py_DEBUG, 'need a debug build')
925 @unittest.skipUnless(Py_DEBUG, 'need a debug build')
H A Dtest_embed.py25 Py_DEBUG = hasattr(sys, 'gettotalrefcount') variable
505 'use_frozen_modules': not Py_DEBUG,
1211 'use_frozen_modules': not Py_DEBUG,
1505 config['use_frozen_modules'] = int(not Py_DEBUG)
1510 config['use_frozen_modules'] = int(not Py_DEBUG)
/third_party/python/Objects/
H A Dtupleobject.c39 #ifdef Py_DEBUG in tuple_alloc()
191 #ifdef Py_DEBUG in tupledealloc()
197 #ifdef Py_DEBUG in tupledealloc()
941 #ifdef Py_DEBUG in _PyTuple_Resize()
1178 #ifdef Py_DEBUG in maybe_freelist_pop()
1216 #ifdef Py_DEBUG in maybe_freelist_push()
H A Dobject.c99 #ifdef Py_DEBUG in _Py_AddToAllObjects()
420 #ifdef Py_DEBUG in PyObject_Repr()
446 #ifndef Py_DEBUG in PyObject_Repr()
469 #ifndef Py_DEBUG in PyObject_Str()
480 #ifdef Py_DEBUG in PyObject_Str()
505 #ifndef Py_DEBUG in PyObject_Str()
2377 #ifdef Py_DEBUG in _Py_Dealloc()
2392 #ifdef Py_DEBUG in _Py_Dealloc()
H A Dcall.c48 #ifdef Py_DEBUG in _Py_CheckFunctionResult()
70 #ifdef Py_DEBUG in _Py_CheckFunctionResult()
409 #ifdef Py_DEBUG in PyEval_CallObjectWithKeywords()
H A Dgenobject.c1683 #if defined(Py_DEBUG) && _PyAsyncGen_MAXFREELIST > 0 in _PyAsyncGen_Fini()
1732 #ifdef Py_DEBUG in async_gen_asend_dealloc()
1897 #ifdef Py_DEBUG in async_gen_asend_new()
1938 #ifdef Py_DEBUG in async_gen_wrapped_val_dealloc()
2015 #ifdef Py_DEBUG in _PyAsyncGenValueWrapperNew()
H A Dobmalloc.c215 #ifdef Py_DEBUG
263 #ifdef Py_DEBUG in _PyMem_SetDefaultAllocator()
2929 #ifdef Py_DEBUG
2951 * In Py_DEBUG mode, also perform some expensive internal consistency
3027 #ifdef Py_DEBUG in _PyObject_DebugMallocStats()
3036 #ifdef Py_DEBUG in _PyObject_DebugMallocStats()
/third_party/python/Include/
H A Dpyhash.h80 #ifdef Py_DEBUG
H A Dpyport.h70 Py_DEBUG
312 * Cast VALUE to type NARROW from type WIDE. In Py_DEBUG mode, this
317 #ifdef Py_DEBUG
398 // If Python is built in debug mode (if the Py_DEBUG macro is defined), the
404 #if defined(Py_DEBUG)
H A Dpymacro.h137 #elif defined(Py_DEBUG)
/third_party/python/Modules/_multiprocessing/
H A Dmultiprocessing.h19 # ifdef Py_DEBUG
/third_party/python/Lib/test/test_capi/
H A Dtest_misc.py39 # Were we compiled --with-pydebug or with #define Py_DEBUG?
40 Py_DEBUG = hasattr(sys, 'gettotalrefcount') variable
262 if Py_DEBUG:
290 if Py_DEBUG:
640 if Py_DEBUG:
710 if Py_DEBUG:
1252 @unittest.skipUnless(Py_DEBUG, 'need Py_DEBUG')
/third_party/python/PC/
H A Dpyconfig.h324 # define Py_DEBUG macro

Completed in 32 milliseconds

123