Home
last modified time | relevance | path

Searched refs:Py_ARRAY_LENGTH (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython3/Programs/
D_testembed.c303 Py_Main(Py_ARRAY_LENGTH(argv), argv); in test_initialize_pymain()
530 config_set_argv(&config, Py_ARRAY_LENGTH(argv), argv); in test_init_from_config()
539 Py_ARRAY_LENGTH(xoptions), xoptions); in test_init_from_config()
545 Py_ARRAY_LENGTH(warnoptions), warnoptions); in test_init_from_config()
639 config_set_argv(&config, Py_ARRAY_LENGTH(argv), argv); in check_init_parse_argv()
842 Py_ARRAY_LENGTH(argv), argv); in test_preinit_dont_parse_argv()
854 config_set_argv(&config, Py_ARRAY_LENGTH(argv), argv); in test_preinit_dont_parse_argv()
872 config_set_argv(&config, Py_ARRAY_LENGTH(argv), argv); in test_preinit_parse_argv()
1248 return Py_Main(Py_ARRAY_LENGTH(argv), argv); in test_audit_run_command()
1259 return Py_Main(Py_ARRAY_LENGTH(argv), argv); in test_audit_run_file()
[all …]
/external/python/cpython3/PC/
Dfrozen_dllmain.c80 for (modName = possibleModules+Py_ARRAY_LENGTH(possibleModules)-2; in PyWinFreeze_ExeTerm()
106 for (modName = possibleModules+Py_ARRAY_LENGTH(possibleModules)-2; in DllMain()
Dgetpathp.c285 wcscpy_s(filename, Py_ARRAY_LENGTH(filename), prefix); in gotlandmark()
367 keyBufPtr += Py_ARRAY_LENGTH(keyPrefix) - 1; in getpythonregpath()
578 char *p = fgets(line, Py_ARRAY_LENGTH(line), sp_file); in read_pth_file()
986 argv0_path, Py_ARRAY_LENGTH(argv0_path)); in calculate_path()
/external/python/cpython3/Include/
Dpymacro.h59 #define Py_ARRAY_LENGTH(array) \ macro
64 #define Py_ARRAY_LENGTH(array) \ macro
/external/python/cpython3/Python/
Dpathconfig.c630 if (!_Py_wgetcwd(fullpath, Py_ARRAY_LENGTH(fullpath))) { in _PyPathConfig_ComputeSysPath0()
646 nr = _Py_wreadlink(path0, link, Py_ARRAY_LENGTH(link)); in _PyPathConfig_ComputeSysPath0()
686 Py_ARRAY_LENGTH(fullpath), in _PyPathConfig_ComputeSysPath0()
707 if (_Py_wrealpath(path0, fullpath, Py_ARRAY_LENGTH(fullpath))) { in _PyPathConfig_ComputeSysPath0()
753 buffer[Py_ARRAY_LENGTH(buffer)-1] = '\0'; in _Py_FindEnvConfigValue()
756 char * p = fgets(buffer, Py_ARRAY_LENGTH(buffer) - 1, env_file); in _Py_FindEnvConfigValue()
Dfileutils.c1456 wmode, Py_ARRAY_LENGTH(wmode)); in _Py_fopen_obj()
1687 size_t cbuf_len = Py_ARRAY_LENGTH(cbuf); in _Py_wreadlink()
1790 Py_ARRAY_LENGTH(woutbuf), woutbuf, in _Py_abspath()
1796 if (result > Py_ARRAY_LENGTH(woutbuf)) { in _Py_abspath()
1829 cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0; in _Py_abspath()
1830 if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) { in _Py_abspath()
1880 if (getcwd(fname, Py_ARRAY_LENGTH(fname)) == NULL) in _Py_wgetcwd()
Ddynload_aix.c139 for (j=0; j < Py_ARRAY_LENGTH(load_errtab); j++) { in aix_loaderror()
Dtraceback.c638 end = &buffer[Py_ARRAY_LENGTH(buffer) - 1]; in _Py_DumpDecimal()
660 const Py_ssize_t size = Py_ARRAY_LENGTH(buffer) - 1; in _Py_DumpHexadecimal()
Dcodecs.c1515 for (size_t i = 0; i < Py_ARRAY_LENGTH(methods); ++i) { in _PyCodecRegistry_Init()
Dpylifecycle.c2136 size_t buflen = Py_ARRAY_LENGTH(buffer) - 1; in fatal_output_debug()
/external/python/cpython3/Modules/
Dgetpath.c359 PyStatus status = copy_absolute(abs_path, path, Py_ARRAY_LENGTH(abs_path)); in absolutize()
575 size_t prefix_len = Py_ARRAY_LENGTH(prefix); in calculate_prefix()
670 size_t n = fread(buf, 1, Py_ARRAY_LENGTH(buf) - 1, fp); in calculate_pybuilddir()
799 size_t exec_prefix_len = Py_ARRAY_LENGTH(exec_prefix); in calculate_exec_prefix()
927 uint32_t nsexeclength = Py_ARRAY_LENGTH(execpath) - 1; in calculate_program_macos()
1053 const size_t new_path_len = Py_ARRAY_LENGTH(new_path); in resolve_symlinks()
D_randommodule.c242 init_by_array(self, key, Py_ARRAY_LENGTH(key)); in random_seed_urandom()
262 init_by_array(self, key, Py_ARRAY_LENGTH(key)); in random_seed_time_pid()
D_stat.c570 for (int i = 0; i < (int)Py_ARRAY_LENGTH(st_constants); i++) { in stat_exec()
Dossaudiodev.c1062 num_controls = Py_ARRAY_LENGTH(control_labels); in build_namelists()
1063 assert(num_controls == Py_ARRAY_LENGTH(control_names)); in build_namelists()
D_functoolsmodule.c188 if (newnargs_total <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in partial_vectorcall()
1444 for (size_t i = 0; i < Py_ARRAY_LENGTH(typelist); i++) { in _functools_exec()
Daudioop.c1690 (size_t)index >= Py_ARRAY_LENGTH(stepsizeTable)) { in audioop_lin2adpcm_impl()
1820 (size_t)index >= Py_ARRAY_LENGTH(stepsizeTable)) { in audioop_adpcm2lin_impl()
Dpyexpat.c1187 assert((hi - handler_info) < (Py_ssize_t)Py_ARRAY_LENGTH(handler_info)); in xmlparse_handler_getter()
1199 assert((hi - handler_info) < (Py_ssize_t)Py_ARRAY_LENGTH(handler_info)); in xmlparse_handler_setter()
Dfaulthandler.c121 Py_ARRAY_LENGTH(faulthandler_handlers);
D_datetimemodule.c4347 for (given_spec = 0; given_spec < Py_ARRAY_LENGTH(specs); given_spec++) { in time_isoformat()
4358 if (given_spec == Py_ARRAY_LENGTH(specs)) { in time_isoformat()
5582 for (given_spec = 0; given_spec < Py_ARRAY_LENGTH(specs); given_spec++) { in datetime_isoformat()
5592 if (given_spec == Py_ARRAY_LENGTH(specs)) { in datetime_isoformat()
6548 for (size_t i = 0; i < Py_ARRAY_LENGTH(types); i++) { in PyInit__datetime()
Dunicodedata.c441 assert(prefix_index < Py_ARRAY_LENGTH(decomp_prefix)); in unicodedata_UCD_decomposition_impl()
Dposixmodule.c1727 result = GetCurrentDirectoryW(Py_ARRAY_LENGTH(path_buf), new_path); in win32_wchdir()
1730 if (result > Py_ARRAY_LENGTH(path_buf)) { in win32_wchdir()
3682 len = GetCurrentDirectoryW(Py_ARRAY_LENGTH(wbuf), wbuf); in posix_getcwd()
3686 if (len >= Py_ARRAY_LENGTH(wbuf)) { in posix_getcwd()
3931 Py_ssize_t len = Py_ARRAY_LENGTH(namebuf)-4; in _listdir_windows_no_opendir()
4222 int buf_size = Py_ARRAY_LENGTH(buf); in os__getfinalpathname_impl()
7714 DWORD num_chars = Py_ARRAY_LENGTH(user_name); in os_getlogin_impl()
D_operator.c1760 for (size_t i = 0; i < Py_ARRAY_LENGTH(types); i++) { in operator_exec()
/external/python/cpython3/Objects/
Dcall.c471 if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in _PyObject_Call_Prepend()
505 const Py_ssize_t small_stack_len = Py_ARRAY_LENGTH(small_stack); in _PyObject_CallFunctionVa()
770 if (nargs <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) { in object_vacall()
Dclassobject.c66 if (totalargs <= (Py_ssize_t)Py_ARRAY_LENGTH(newargs_stack) - 1) { in method_vectorcall()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c2077 for (size_t i = 0; i < Py_ARRAY_LENGTH(typelist); i++) { in PyInit__multibytecodec()

12