Home
last modified time | relevance | path

Searched refs:core_config (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_embed.py373 core_config = config['core_config']
382 expected[key] = core_config[key]
383 expected['xoptions'] = self.main_xoptions(core_config['xoptions'])
434 core_config = dict(config['core_config'])
436 core_config.pop(key, None)
437 self.assertEqual(core_config, expected)
440 core_config = config['core_config']
445 expected[global_key] = 0 if core_config[core_key] else 1
448 expected[global_key] = core_config[core_key]
479 core_config = {
[all …]
/external/python/cpython3/Modules/
Dgetpath.c338 search_for_prefix(const _PyCoreConfig *core_config, in search_for_prefix() argument
345 if (core_config->home) { in search_for_prefix()
346 wcsncpy(prefix, core_config->home, MAXPATHLEN); in search_for_prefix()
405 calculate_prefix(const _PyCoreConfig *core_config, in calculate_prefix() argument
408 calculate->prefix_found = search_for_prefix(core_config, calculate, prefix); in calculate_prefix()
450 search_for_exec_prefix(const _PyCoreConfig *core_config, in search_for_exec_prefix() argument
456 if (core_config->home) { in search_for_exec_prefix()
457 wchar_t *delim = wcschr(core_config->home, DELIM); in search_for_exec_prefix()
462 wcsncpy(exec_prefix, core_config->home, MAXPATHLEN); in search_for_exec_prefix()
526 calculate_exec_prefix(const _PyCoreConfig *core_config, in calculate_exec_prefix() argument
[all …]
Dmain.c1555 const _PyCoreConfig *config = &_PyGILState_GetInterpreterStateUnsafe()->core_config; in pymain_open_filename()
2821 err = _PyMainInterpreterConfig_Read(&main_config, &interp->core_config); in pymain_init_python_main()
3017 config = &interp->core_config; in pymain_init()
D_testcapimodule.c4565 const _PyCoreConfig *config = &interp->core_config; in get_core_config()
/external/python/cpython3/Python/
Dpylifecycle.c401 _emit_stderr_warning_for_legacy_locale(const _PyCoreConfig *core_config) in _emit_stderr_warning_for_legacy_locale() argument
403 if (core_config->coerce_c_locale_warn) { in _emit_stderr_warning_for_legacy_locale()
596 const _PyCoreConfig *core_config) in _Py_Initialize_ReconfigureCore() argument
598 if (core_config->allocator != NULL) { in _Py_Initialize_ReconfigureCore()
600 if (allocator == NULL || strcmp(core_config->allocator, allocator) != 0) { in _Py_Initialize_ReconfigureCore()
606 _PyCoreConfig_SetGlobalConfig(core_config); in _Py_Initialize_ReconfigureCore()
608 if (_PyCoreConfig_Copy(&interp->core_config, core_config) < 0) { in _Py_Initialize_ReconfigureCore()
635 const _PyCoreConfig *core_config) in _Py_InitializeCore_impl() argument
654 return _Py_Initialize_ReconfigureCore(interp, core_config); in _Py_InitializeCore_impl()
658 _PyCoreConfig_SetGlobalConfig(core_config); in _Py_InitializeCore_impl()
[all …]
Dpathconfig.c50 _PyPathConfig_Init(const _PyCoreConfig *core_config) in _PyPathConfig_Init() argument
65 err = _PyPathConfig_Calculate(&new_config, core_config); in _PyPathConfig_Init()
72 if (core_config->home != NULL) { in _PyPathConfig_Init()
73 new_config.home = _PyMem_RawWcsdup(core_config->home); in _PyPathConfig_Init()
83 new_config.program_name = _PyMem_RawWcsdup(core_config->program_name); in _PyPathConfig_Init()
Dpystate.c148 interp->core_config = _PyCoreConfig_INIT; in PyInterpreterState_New()
201 _PyCoreConfig_Clear(&interp->core_config); in PyInterpreterState_Clear()
Dsysmodule.c2067 _PyCoreConfig *core_config = &_PyGILState_GetInterpreterStateUnsafe()->core_config; in make_flags() local
2091 PyStructSequence_SET_ITEM(seq, pos++, PyBool_FromLong(core_config->dev_mode)); in make_flags()
Dpythonrun.c95 int show_ref_count = PyThreadState_GET()->interp->core_config.show_ref_count; in PyRun_InteractiveLoopFlags()
Dimport.c1619 int import_time = interp->core_config.import_time; in import_find_and_load()
/external/python/cpython3/PC/
Dgetpathp.c536 get_program_full_path(const _PyCoreConfig *core_config, in get_program_full_path() argument
660 const _PyCoreConfig *core_config) in calculate_init() argument
662 calculate->home = core_config->home; in calculate_init()
771 calculate_module_search_path(const _PyCoreConfig *core_config, in calculate_module_search_path() argument
782 int skipdefault = (core_config->module_search_path_env != NULL || in calculate_module_search_path()
821 if (core_config->module_search_path_env != NULL) { in calculate_module_search_path()
822 bufsz += wcslen(core_config->module_search_path_env) + 1; in calculate_module_search_path()
830 if (core_config->module_search_path_env) { in calculate_module_search_path()
832 config->module_search_path = core_config->module_search_path_env; in calculate_module_search_path()
842 if (core_config->module_search_path_env) { in calculate_module_search_path()
[all …]
/external/u-boot/arch/arm/mach-exynos/
Dlowlevel_init.c123 uint32_t tmp, core_id, core_config; in power_down_core() local
138 core_config = (core_id * CPU_CONFIG_STATUS_OFFSET); in power_down_core()
139 core_config += EXYNOS5420_CPU_CONFIG_BASE; in power_down_core()
140 writel(0x0, core_config); in power_down_core()
/external/python/cpython3/Programs/
D_testembed.c319 const _PyCoreConfig *core_config = &interp->core_config; in dump_config_impl() local
320 dict = _PyCoreConfig_AsDict(core_config); in dump_config_impl()
/external/python/cpython3/Include/
Dpylifecycle.h80 const _PyCoreConfig *core_config);
141 PyAPI_FUNC(_PyInitError) _PyPathConfig_Init(const _PyCoreConfig *core_config);
Dpystate.h145 _PyCoreConfig core_config; member
/external/python/cpython3/Include/internal/
Dpystate.h64 const _PyCoreConfig *core_config);
/external/python/cpython3/Objects/
Dtupleobject.c48 if (!interp->core_config.show_alloc_count) { in show_track()
Dobject.c100 if (!interp->core_config.show_alloc_count) { in dump_counts()
Dlistobject.c89 if (!interp->core_config.show_alloc_count) { in show_alloc()