/external/python/cpython3/PC/ |
D | frozen_dllmain.c | 80 for (modName = possibleModules+Py_ARRAY_LENGTH(possibleModules)-2; in PyWinFreeze_ExeTerm() 106 for (modName = possibleModules+Py_ARRAY_LENGTH(possibleModules)-2; in DllMain()
|
D | getpathp.c | 384 keyBufPtr += Py_ARRAY_LENGTH(keyPrefix) - 1; in getpythonregpath()
|
/external/python/cpython3/Programs/ |
D | _testembed.c | 288 Py_Main(Py_ARRAY_LENGTH(argv), argv); in test_initialize_pymain() 474 config.argc = Py_ARRAY_LENGTH(argv); in test_init_from_config() 484 config.nxoption = Py_ARRAY_LENGTH(xoptions); in test_init_from_config() 491 config.nwarnoption = Py_ARRAY_LENGTH(warnoptions); in test_init_from_config()
|
/external/python/cpython3/Include/ |
D | pymacro.h | 59 #define Py_ARRAY_LENGTH(array) \ macro 64 #define Py_ARRAY_LENGTH(array) \ macro
|
/external/python/cpython3/Python/ |
D | pathconfig.c | 308 _Py_wgetcwd(fullpath, Py_ARRAY_LENGTH(fullpath)); in _PyPathConfig_ComputeArgv0() 352 Py_ARRAY_LENGTH(fullpath), in _PyPathConfig_ComputeArgv0() 372 if (_Py_wrealpath(argv0, fullpath, Py_ARRAY_LENGTH(fullpath))) { in _PyPathConfig_ComputeArgv0()
|
D | fileutils.c | 1323 wmode, Py_ARRAY_LENGTH(wmode)); in _Py_fopen_obj() 1556 res = (int)readlink(cpath, cbuf, Py_ARRAY_LENGTH(cbuf)); in _Py_wreadlink() 1560 if (res == Py_ARRAY_LENGTH(cbuf)) { in _Py_wreadlink() 1637 if (getcwd(fname, Py_ARRAY_LENGTH(fname)) == NULL) in _Py_wgetcwd()
|
D | dynload_aix.c | 139 for (j=0; j < Py_ARRAY_LENGTH(load_errtab); j++) { in aix_loaderror()
|
D | traceback.c | 628 end = &buffer[Py_ARRAY_LENGTH(buffer) - 1]; in _Py_DumpDecimal() 650 const Py_ssize_t size = Py_ARRAY_LENGTH(buffer) - 1; in _Py_DumpHexadecimal()
|
D | codecs.c | 1511 for (i = 0; i < Py_ARRAY_LENGTH(methods); ++i) { in _PyCodecRegistry_Init()
|
D | pylifecycle.c | 2075 size_t buflen = Py_ARRAY_LENGTH(buffer) - 1; in fatal_output_debug()
|
D | bltinmodule.c | 1299 if (niters <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in map_next()
|
/external/python/cpython3/Modules/ |
D | _randommodule.c | 211 init_by_array(self, key, Py_ARRAY_LENGTH(key)); in random_seed_urandom() 231 init_by_array(self, key, Py_ARRAY_LENGTH(key)); in random_seed_time_pid()
|
D | ossaudiodev.c | 1065 num_controls = Py_ARRAY_LENGTH(control_labels); in build_namelists() 1066 assert(num_controls == Py_ARRAY_LENGTH(control_names)); in build_namelists()
|
D | audioop.c | 1665 (size_t)index >= Py_ARRAY_LENGTH(stepsizeTable)) { in audioop_lin2adpcm_impl() 1795 (size_t)index >= Py_ARRAY_LENGTH(stepsizeTable)) { in audioop_adpcm2lin_impl()
|
D | posixmodule.c | 1530 result = GetCurrentDirectoryW(Py_ARRAY_LENGTH(path_buf), new_path); in win32_wchdir() 1533 if (result > Py_ARRAY_LENGTH(path_buf)) { in win32_wchdir() 3276 len = GetCurrentDirectoryW(Py_ARRAY_LENGTH(wbuf), wbuf); in posix_getcwd() 3280 if (len >= Py_ARRAY_LENGTH(wbuf)) { in posix_getcwd() 3465 Py_ssize_t len = Py_ARRAY_LENGTH(namebuf)-4; in _listdir_windows_no_opendir() 3715 Py_ARRAY_LENGTH(woutbuf), in os__getfullpathname_impl() 3717 if (result > Py_ARRAY_LENGTH(woutbuf)) { in os__getfullpathname_impl() 3750 int buf_size = Py_ARRAY_LENGTH(buf); in os__getfinalpathname_impl() 6500 DWORD num_chars = Py_ARRAY_LENGTH(user_name); in os_getlogin_impl()
|
D | unicodedata.c | 434 assert(prefix_index < Py_ARRAY_LENGTH(decomp_prefix)); in unicodedata_UCD_decomposition_impl()
|
D | faulthandler.c | 124 Py_ARRAY_LENGTH(faulthandler_handlers);
|
D | _datetimemodule.c | 4112 for (given_spec = 0; given_spec < Py_ARRAY_LENGTH(specs); given_spec++) { in time_isoformat() 4123 if (given_spec == Py_ARRAY_LENGTH(specs)) { in time_isoformat() 5343 for (given_spec = 0; given_spec < Py_ARRAY_LENGTH(specs); given_spec++) { in datetime_isoformat() 5353 if (given_spec == Py_ARRAY_LENGTH(specs)) { in datetime_isoformat()
|
D | _functoolsmodule.c | 148 if (nargs2 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in partial_fastcall()
|
D | mathmodule.c | 1694 if (x < (long)Py_ARRAY_LENGTH(SmallFactorials)) in math_factorial()
|
D | _sre.c | 1263 for (i = 0; i < Py_ARRAY_LENGTH(flag_names); i++) { in pattern_repr()
|
D | arraymodule.c | 3027 char buffer[Py_ARRAY_LENGTH(descriptors)], *p; in array_modexec()
|
D | socketmodule.c | 5149 DWORD size = Py_ARRAY_LENGTH(buf); 7967 for(i = 0; i<Py_ARRAY_LENGTH(codes); ++i) {
|
/external/python/cpython3/Objects/ |
D | call.c | 849 if (nargs <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in _PyObject_FastCall_Prepend() 887 if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in _PyObject_Call_Prepend() 921 const Py_ssize_t small_stack_len = Py_ARRAY_LENGTH(small_stack); in _PyObject_CallFunctionVa() 1182 if (nargs <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in object_vacall()
|
D | unicodeobject.c | 7216 if (size > PY_SSIZE_T_MAX / (Py_ssize_t)Py_ARRAY_LENGTH(buffer)) { in decode_code_page_errors() 7221 *v = (PyObject*)_PyUnicode_New(size * Py_ARRAY_LENGTH(buffer)); in decode_code_page_errors() 7229 if (size > (PY_SSIZE_T_MAX - n) / (Py_ssize_t)Py_ARRAY_LENGTH(buffer)) { in decode_code_page_errors() 7233 if (unicode_resize(v, n + size * Py_ARRAY_LENGTH(buffer)) < 0) in decode_code_page_errors() 7247 buffer, Py_ARRAY_LENGTH(buffer)); in decode_code_page_errors() 7568 if (Py_ARRAY_LENGTH(buffer) > PY_SSIZE_T_MAX / insize) { in encode_code_page_errors() 7572 outsize = insize * Py_ARRAY_LENGTH(buffer); in encode_code_page_errors() 7611 buffer, Py_ARRAY_LENGTH(buffer), in encode_code_page_errors() 15212 Py_ARRAY_LENGTH(linebreak)); in _PyUnicode_Init()
|