/external/python/cpython3/Lib/test/ |
H A D | future_test2.py | 3 from __future__ import nested_scopes; import site namespace
|
H A D | test_site.py | 1 """Tests for 'site'. 28 import site namespace 30 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE): 31 # need to add user site directory for tests 33 os.makedirs(site.USER_SITE) 34 site.addsitedir(site.USER_SITE) 36 raise unittest.SkipTest('unable to create user site directory (%r): %s' 37 % (site [all...] |
/external/python/cpython2/Tools/scripts/ |
H A D | win_add2path.py | 11 import site namespace 24 if hasattr(site, "USER_SITE"): 25 userpath = site.USER_SITE.replace(appdata, "%APPDATA%")
|
/external/python/cpython3/Tools/scripts/ |
H A D | win_add2path.py | 11 import site namespace 24 if hasattr(site, "USER_SITE"): 25 usersite = site.USER_SITE.replace(appdata, "%APPDATA%")
|
/external/v8/src/ |
H A D | allocation-site-scopes.h | 31 void update_current_site(AllocationSite* site) { argument 32 *(current_.location()) = site; 35 void InitializeTraversal(Handle<AllocationSite> site) { argument 36 top_ = site; 55 void ExitScope(Handle<AllocationSite> site, Handle<JSObject> object); 63 AllocationSiteUsageContext(Isolate* isolate, Handle<AllocationSite> site, argument 66 top_site_(site), 73 // Advance current site
|
H A D | compilation-dependencies.cc | 142 Handle<AllocationSite> site) { 145 site->SitePointsToLiteral() 146 ? JSObject::cast(site->transition_info())->GetElementsKind() 147 : site->GetElementsKind(); 149 Insert(DependentCode::kAllocationSiteTransitionChangedGroup, site); 141 AssumeTransitionStable( Handle<AllocationSite> site) argument
|
H A D | compilation-dependencies.h | 42 void AssumeTenuringDecision(Handle<AllocationSite> site) { argument 43 Insert(DependentCode::kAllocationSiteTenuringChangedGroup, site); 45 void AssumeTransitionStable(Handle<AllocationSite> site);
|
/external/autotest/server/cros/servo/ |
H A D | firmware_programmer.py | 18 import site namespace 294 site_packages_paths = site.getsitepackages()
|
/external/autotest/venv/lucifer/ |
H A D | autotest.py | 28 import site namespace 35 _SITEPKG_DIR = os.path.join(AUTOTEST_DIR, 'site-packages') 71 # Add Autotest's site-packages. 72 site.addsitedir(_SITEPKG_DIR) 88 site.addsitedir(d) 112 """Get list of system site-package directories. 119 'import site; print repr(site.getsitepackages())'])
|
/external/doclava/src/com/google/doclava/ |
H A D | FederationTagger.java | 41 * Adds a Doclava documentation site for federation. Accepts the base URL of 45 * reading the API from "/xml/current.xml" within the site's base URL. 49 * @param name internally-used name for federation site 51 public void addSiteUrl(String name, URL site) { argument 55 federatedUrls.put(name, site); 59 * Adds an explicit Doclava-generated API file for the specified site. 63 * @param name internally-used name for federation site (must match name used 76 for (FederatedSite site : federatedSites) { 77 applyFederation(site, Arrays.asList(classDoc)); 83 for (FederatedSite site 152 federateMethods(FederatedSite site, ClassInfo federatedClass, ClassInfo localClass) argument 163 federateConstructors(FederatedSite site, ClassInfo federatedClass, ClassInfo localClass) argument 172 federateFields(FederatedSite site, ClassInfo federatedClass, ClassInfo localClass) argument [all...] |
/external/python/cpython2/Lib/distutils/tests/ |
H A D | test_install.py | 6 import site namespace 69 'site.USER_SITE was introduced in 2.6') 72 self.old_user_base = site.USER_BASE 73 self.old_user_site = site.USER_SITE 77 site.USER_BASE = self.user_base 78 site.USER_SITE = self.user_site 88 site.USER_BASE = self.old_user_base 89 site.USER_SITE = self.old_user_site 110 # user base and site shouldn't be created yet
|
H A D | test_build_ext.py | 31 import site namespace 32 self.old_user_base = site.USER_BASE 33 site.USER_BASE = self.mkdtemp() 35 build_ext.USER_BASE = site.USER_BASE 108 'site.USER_SITE was introduced in 2.6') 110 import site namespace 123 lib = os.path.join(site.USER_BASE, 'lib') 124 incl = os.path.join(site.USER_BASE, 'include')
|
/external/python/cpython3/Lib/distutils/tests/ |
H A D | test_build_ext.py | 34 import site namespace 35 self.old_user_base = site.USER_BASE 36 site.USER_BASE = self.mkdtemp() 38 build_ext.USER_BASE = site.USER_BASE 92 import site namespace 93 site.USER_BASE = self.old_user_base 120 import site namespace 133 lib = os.path.join(site.USER_BASE, 'lib') 134 incl = os.path.join(site.USER_BASE, 'include')
|
H A D | test_install.py | 6 import site namespace 71 self.old_user_base = site.USER_BASE 72 self.old_user_site = site.USER_SITE 76 site.USER_BASE = self.user_base 77 site.USER_SITE = self.user_site 87 site.USER_BASE = self.old_user_base 88 site.USER_SITE = self.old_user_site 109 # user base and site shouldn't be created yet
|
/external/python/cpython3/Tools/msi/ |
H A D | make_zip.py | 34 'site-packages', 237 print('# Uncomment to run site.main() automatically', file=f) 238 print('#import site', file=f) namespace
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
H A D | InvokeDynamicSupport.java | 50 RoboCallSite site = new RoboCallSite(type, caller.lookupClass()); 52 bindInitCallSite(site); 54 return site; 60 MethodCallSite site = new MethodCallSite(type, caller.lookupClass(), name, original, REGULAR); 62 bindCallSite(site); 64 return site; 70 MethodCallSite site = new MethodCallSite(type, caller.lookupClass(), name, original, STATIC); 72 bindCallSite(site); 74 return site; 113 private static MethodHandle bindInitCallSite(RoboCallSite site) { argument 118 bindCallSite(MethodCallSite site) argument 144 bindWithFallback(MethodHandle mh, RoboCallSite site, MethodHandle fallback) argument [all...] |
/external/v8/src/interpreter/ |
H A D | control-flow-builders.cc | 85 for (auto site : case_sites_) { 86 DCHECK(site.is_bound()); 93 BytecodeLabel& site = case_sites_.at(index); local 94 builder()->Bind(&site);
|
/external/compiler-rt/lib/asan/ |
H A D | asan_globals.cc | 315 GlobalRegistrationSite site = {stack_id, &globals[0], &globals[n - 1]}; local 316 global_registration_site_vector->push_back(site);
|
/external/curl/lib/ |
H A D | pipeline.c | 176 struct site_blacklist_entry *site; local 178 site = curr->ptr; 179 if(strcasecompare(site->hostname, conn->host.name) && 180 site->port == conn->remote_port) {
|
/external/python/cpython2/Lib/test/ |
H A D | test_site.py | 1 """Tests for 'site'. 19 # Need to make sure to not import 'site' if someone specified ``-S`` at the 20 # command-line. Detect this by just making sure 'site' has not been imported 22 if "site" in sys.modules: 23 import site namespace 25 raise unittest.SkipTest("importation of site.py suppressed") 27 if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE): 28 # need to add user site directory for tests 30 os.makedirs(site [all...] |
/external/v8/src/runtime/ |
H A D | runtime-literals.cc | 7 #include "src/allocation-site-scopes.h" 244 Handle<AllocationSite> site; local 255 site = creation_context.EnterNewScope(); 258 creation_context.ExitScope(site, boilerplate); 261 vector->Set(literals_slot, *site); 263 site = Handle<AllocationSite>::cast(literal_site); 265 Handle<JSObject>(JSObject::cast(site->transition_info()), isolate); 268 AllocationSiteUsageContext usage_context(isolate, site, enable_mementos); 272 usage_context.ExitScope(site, boilerplate); 281 Handle<AllocationSite> site; local 309 Handle<AllocationSite> site; local [all...] |
H A D | runtime-array.cc | 258 Handle<AllocationSite> site, 271 bool can_use_type_feedback = !site.is_null(); 298 ElementsKind to_kind = can_use_type_feedback ? site->GetElementsKind() 302 // Update the allocation site info to reflect the advice alteration. 303 if (!site.is_null()) site->SetElementsKind(to_kind); 306 // We should allocate with an initial map that reflects the allocation site 317 allocation_site = site; 328 if (!site.is_null() && 334 site 256 ArrayConstructorCommon(Isolate* isolate, Handle<JSFunction> constructor, Handle<JSReceiver> new_target, Handle<AllocationSite> site, Arguments* caller_args) argument 352 Handle<AllocationSite> site = type_info->IsAllocationSite() local [all...] |
/external/python/cpython2/Modules/ |
H A D | bsddb.h | 219 DB_SITE *site; member in struct:DBSiteObject
|
/external/v8/src/compiler/ |
H A D | js-call-reducer.cc | 44 // Check if we have an allocation site from the CallIC. 45 Handle<AllocationSite> site; local 50 site = Handle<AllocationSite>::cast(feedback); 62 NodeProperties::ChangeOp(node, javascript()->CreateArray(arity, site)); 691 // Check if we have an allocation site. 692 Handle<AllocationSite> site; local 697 site = Handle<AllocationSite>::cast(feedback); 707 NodeProperties::ChangeOp(node, javascript()->CreateArray(arity, site)); 728 Handle<AllocationSite> site = Handle<AllocationSite>::cast(feedback); local 746 NodeProperties::ChangeOp(node, javascript()->CreateArray(arity, site)); [all...] |
H A D | js-operator.h | 498 explicit CreateArrayParameters(size_t arity, Handle<AllocationSite> site) argument 499 : arity_(arity), site_(site) {} 502 Handle<AllocationSite> site() const { return site_; } function in class:v8::internal::compiler::final 620 const Operator* CreateArray(size_t arity, Handle<AllocationSite> site);
|