Home
last modified time | relevance | path

Searched refs:isolated (Results 1 - 25 of 29) sorted by relevance

12

/third_party/python/Lib/test/support/
H A Dinterpreters.py22 def create(*, isolated=True):
24 id = _interpreters.create(isolated=isolated)
25 return Interpreter(id, isolated=isolated)
48 def __init__(self, id, *, isolated=None):
52 self._isolated = isolated
55 data = dict(id=int(self._id), isolated=self._isolated)
73 def isolated(self): member in Interpreter
H A Dscript_helper.py28 that need to use an assert_python*() function to launch an isolated
99 isolated = env_vars.pop('__isolated')
101 isolated = not env_vars and not env_required
103 if isolated:
104 # isolated mode: ignore Python environment variables, ignore user
163 Python is started in isolated mode (command line option -I),
/third_party/python/Python/
H A Dpreconfig.c132 COPY_ATTR(isolated); in precmdline_get_preconfig()
146 COPY_ATTR(isolated); in precmdline_set_preconfig()
165 COPY_ATTR(isolated); in _PyPreCmdline_SetConfig()
199 cmdline->isolated = 1; in precmdline_parse_cmdline()
235 /* isolated, use_environment */ in _PyPreCmdline_Read()
236 if (cmdline->isolated < 0) { in _PyPreCmdline_Read()
237 cmdline->isolated = 0; in _PyPreCmdline_Read()
239 if (cmdline->isolated > 0) { in _PyPreCmdline_Read()
265 assert(cmdline->isolated >= 0); in _PyPreCmdline_Read()
283 config->isolated in _PyPreConfig_InitCompatConfig()
[all...]
H A Dinitconfig.c637 assert(config->isolated >= 0); in config_check_consistency()
743 config->isolated = -1; in _PyConfig_InitCompatConfig()
793 config->isolated = 0; in config_init_defaults()
830 config->isolated = 1; in PyConfig_InitIsolatedConfig()
940 COPY_ATTR(isolated); in _PyConfig_Copy()
1051 SET_ITEM_INT(isolated); in _PyConfig_AsDict()
1329 GET_UINT(isolated); in _PyConfig_FromDict()
1475 COPY_FLAG(isolated, Py_IsolatedFlag); in config_get_global_vars()
1512 COPY_FLAG(isolated, Py_IsolatedFlag); in config_set_global_vars()
2254 preconfig->isolated in _PyConfig_Write()
[all...]
/third_party/node/test/fixtures/wpt/hr-time/resources/
H A Dtiming-attack.js1 function run_test(isolated) {
3 if (isolated) {
26 assert_equals(self.crossOriginIsolated, isolated, "Document cross-origin isolated value matches");
41 }, 'The recommended minimum resolution of the Performance interface has been set to ' + resolution + ' microseconds for cross-origin isolated contexts.');
/third_party/python/Lib/test/
H A Dtest_interpreters.py207 self.assertFalse(main.isolated)
212 self.assertFalse(interp.isolated)
215 interp1 = interpreters.create(isolated=True)
216 interp2 = interpreters.create(isolated=False)
217 self.assertTrue(interp1.isolated)
218 self.assertFalse(interp2.isolated)
223 self.assertFalse(interp.isolated)
226 interp1 = interpreters.Interpreter(1, isolated=True)
227 interp2 = interpreters.Interpreter(1, isolated=False)
228 self.assertTrue(interp1.isolated)
[all...]
H A D_test_embed_set_config.py57 'isolated',
160 ("isolated", "isolated", 12),
174 self.set_config(user_site_directory=0, isolated=0)
176 self.set_config(user_site_directory=1, isolated=0)
189 self.set_config(use_environment=0, isolated=0)
191 self.set_config(use_environment=1, isolated=0)
H A Dtest_sys.py685 "hash_randomization", "isolated", "dev_mode", "utf8_mode",
817 def c_locale_get_error_handler(self, locale, isolated=False, encoding=None):
832 if isolated:
847 out = self.c_locale_get_error_handler(locale, isolated=True)
H A Dtest_getpath.py870 isolated=0, variable
H A Dtest_embed.py422 isolated=1, variable in InitConfigTests
431 'isolated',
437 'isolated': 0,
521 isolated=1, variable in InitConfigTests
556 ('Py_IsolatedFlag', 'isolated'),
1003 # -X dev must be ignored by isolated preconfiguration
1005 'isolated': 0,
1015 'isolated': 0,
1022 'isolated': 1,
1030 # _PyPreConfig.isolated
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DCanonGSUBBuilder.java82 int isolated = UTF16.charAt(record.getDecomposition(), 0); in buildArabicContextualForms()
86 initClassTable.addMapping(isolated, contextual); in buildArabicContextualForms()
90 mediClassTable.addMapping(isolated, contextual); in buildArabicContextualForms()
94 finaClassTable.addMapping(isolated, contextual); in buildArabicContextualForms()
98 isolClassTable.addMapping(isolated, contextual); in buildArabicContextualForms()
/third_party/python/Include/cpython/
H A Dinitconfig.h54 /* If greater than 0, enable isolated mode: sys.path contains
59 int isolated; member
137 int isolated; member
/third_party/python/Programs/
H A D_testembed.c849 /* Test PyConfig.isolated=1 */ in test_init_isolated_flag()
854 config.isolated = 1; in test_init_isolated_flag()
855 // These options are set to 1 by isolated=1 in test_init_isolated_flag()
870 /* PyPreConfig.isolated=1, PyConfig.isolated=0 */
876 preconfig.isolated = 1; in test_preinit_isolated1()
896 /* PyPreConfig.isolated=0, PyConfig.isolated=1 */
902 preconfig.isolated = 0; in test_preinit_isolated2()
909 /* Test PyConfig.isolated in test_preinit_isolated2()
[all...]
H A D_bootstrap_python.c73 config.isolated = 0; in wmain()
/third_party/python/Include/internal/
H A Dpycore_initconfig.h102 int isolated; /* -I option */ member
111 .isolated = -1, \
/third_party/skia/src/ports/
H A DSkFontMgr_android.cpp501 void addFamily(FontFamily& family, const bool isolated, int familyIndex) { in addFamily() argument
513 sk_make_sp<SkFontStyleSet_Android>(family, fScanner, isolated); in addFamily()
523 void buildNameToFamilyMap(SkTDArray<FontFamily*> families, const bool isolated) { in buildNameToFamilyMap() argument
526 addFamily(*family, isolated, familyIndex++); in buildNameToFamilyMap()
528 addFamily(*fallbackFamily, isolated, familyIndex++); in buildNameToFamilyMap()
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/
H A Dmain.go114 var verbose, isolated, build bool
123 flag.BoolVar(&isolated, "isolate", false, "run each test in an isolated process")
254 if isolated {
255 fmt.Println("Running in parallel isolated...")
/third_party/python/Lib/ensurepip/
H A D__init__.py100 if sys.flags.isolated:
101 # run code in isolated mode if currently running isolated
/third_party/python/Lib/
H A Dsite.py64 isolated mode (-I) disables automatic readline configuration.
607 if not sys.flags.isolated:
/third_party/python/Modules/
H A Dmain.c205 if (config->isolated) { in pymain_import_readline()
H A D_xxsubinterpretersmodule.c1997 static char *kwlist[] = {"isolated", NULL}; in interp_create()
1998 int isolated = 1; in interp_create() local
2000 &isolated)) { in interp_create()
2007 PyThreadState *tstate = _Py_NewInterpreter(isolated); in interp_create()
/third_party/jinja2/
H A Dcompiler.py226 def inner(self, isolated: bool = False) -> "Frame":
228 if isolated:
1926 scope_frame = frame.inner(isolated=True)
/third_party/node/deps/v8/third_party/jinja2/
H A Dcompiler.py175 def inner(self, isolated=False):
177 if isolated:
1817 scope_frame = frame.inner(isolated=True)
/third_party/node/tools/inspector_protocol/jinja2/
H A Dcompiler.py172 def inner(self, isolated=False):
174 if isolated:
1695 scope_frame = frame.inner(isolated=True)
/third_party/skia/third_party/externals/jinja2/
H A Dcompiler.py175 def inner(self, isolated=False):
177 if isolated:
1817 scope_frame = frame.inner(isolated=True)

Completed in 31 milliseconds

12