/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-crbug-135008.js | 31 var scope = { x:23 }; 33 with(scope) { 35 "scope.f = (function outer() {" + 45 assertSame(23, scope.f());
|
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_utils.cc | 15 bool ServiceWorkerUtils::ScopeMatches(const GURL& scope, const GURL& url) { argument 16 DCHECK(!scope.has_ref()); 18 return StartsWithASCII(url.spec(), scope.spec(), true); 21 bool LongestScopeMatcher::MatchLongest(const GURL& scope) { argument 22 if (!ServiceWorkerUtils::ScopeMatches(scope, url_)) 24 if (match_.is_empty() || match_.spec().size() < scope.spec().size()) { 25 match_ = scope;
|
/external/iproute2/ip/ |
H A D | routef | 4 exec ip -4 ro flush scope global type unicast
|
/external/chromium_org/third_party/polymer/components-chromium/core-animated-pages/transitions/ |
H A D | core-transition-pages-extracted.js | 16 * This class will be applied to the scope element in the `prepare` function. 28 * This class will be applied to the scope element in the `go` function. It is 59 prepare: function(scope, options) { 60 this.boundCompleteFn = this.complete.bind(this, scope); 62 scope.classList.add(this.scopeClass); 66 go: function(scope, options) { 69 scope.classList.add(this.activeClass); 71 scope.addEventListener('transitionend', this.boundCompleteFn, false); 74 setup: function(scope) { 75 if (!scope [all...] |
/external/chromium_org/tools/gn/ |
H A D | function_rebase_path_unittest.cc | 13 std::string RebaseOne(Scope* scope, argument 24 Value result = functions::RunRebasePath(scope, &function, args, &err); 36 Scope* scope = setup.scope(); local 37 scope->set_source_dir(SourceDir("//tools/gn/")); 40 EXPECT_EQ("../../tools/gn", RebaseOne(scope, ".", "//out/Debug", ".")); 41 EXPECT_EQ("../../tools/gn/", RebaseOne(scope, "./", "//out/Debug", ".")); 42 EXPECT_EQ("../../tools/gn/foo", RebaseOne(scope, "foo", "//out/Debug", ".")); 43 EXPECT_EQ("../..", RebaseOne(scope, "../..", "//out/Debug", ".")); 44 EXPECT_EQ("../../", RebaseOne(scope, " [all...] |
H A D | functions_target.cc | 10 #include "tools/gn/scope.h" 28 Scope* scope, 33 if (!EnsureNotProcessingImport(function, scope, err) || 34 !EnsureNotProcessingBuildConfig(function, scope, err)) 36 Scope block_scope(scope); 37 if (!FillTargetBlockScope(scope, function, target_type, block, 146 Value RunAction(Scope* scope, argument 151 return ExecuteGenericTarget(functions::kAction, scope, function, args, 226 Value RunActionForEach(Scope* scope, argument 231 return ExecuteGenericTarget(functions::kActionForEach, scope, functio 27 ExecuteGenericTarget(const char* target_type, Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument 279 RunCopy(const FunctionCallNode* function, const std::vector<Value>& args, Scope* scope, Err* err) argument 305 RunExecutable(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument 345 RunGroup(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument 374 RunSharedLibrary(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument 421 RunSourceSet(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument 451 RunStaticLibrary(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) argument [all...] |
H A D | template.cc | 10 #include "tools/gn/scope.h" 14 Template::Template(const Scope* scope, const FunctionCallNode* def) argument 15 : closure_(scope->MakeClosure()), 19 Template::Template(scoped_ptr<Scope> scope, const FunctionCallNode* def) argument 20 : closure_(scope.Pass()), 27 Value Template::Invoke(Scope* scope, argument 34 if (!EnsureNotProcessingImport(invocation, scope, err)) 37 // First run the invocation's block. Need to allocate the scope on the heap 39 scoped_ptr<Scope> invocation_scope(new Scope(scope)); 40 if (!FillTargetBlockScope(scope, invocatio [all...] |
H A D | function_set_default_toolchain.cc | 9 #include "tools/gn/scope.h" 46 Value RunSetDefaultToolchain(Scope* scope, argument 50 if (!scope->IsProcessingBuildConfig()) { 58 // this key on the scope to point to the destination. 60 scope->GetProperty(Loader::kDefaultToolchainKey, NULL)); 64 const SourceDir& current_dir = scope->GetSourceDir(); 65 const Label& default_toolchain = ToolchainLabelForScope(scope);
|
H A D | value_unittest.cc | 30 Scope* scope = new Scope(setup.scope()); local 31 Value scopeval(NULL, scoped_ptr<Scope>(scope)); 34 scope->SetValue("a", Value(NULL, static_cast<int64>(42)), NULL); 35 scope->SetValue("b", Value(NULL, "hello, world"), NULL);
|
H A D | import_manager.cc | 15 // Returns a newly-allocated scope on success, null on failure. 27 scoped_ptr<Scope> scope(new Scope(settings->base_config())); 28 scope->set_source_dir(file.GetDir()); 33 ScopePerFileProvider per_file_provider(scope.get(), false); 35 scope->SetProcessingImport(); 36 block->ExecuteBlockInScope(scope.get(), err); 39 scope->ClearProcessingImport(); 41 return scope.release(); 55 Scope* scope, 57 // See if we have a cached import, but be careful to actually do the scope 53 DoImport(const SourceFile& file, const ParseNode* node_for_err, Scope* scope, Err* err) argument [all...] |
H A D | function_foreach.cc | 8 #include "tools/gn/scope.h" 30 " The block does not introduce a new scope, so that variable assignments\n" 35 " the loop variable will no longer be in scope, and the previous value\n" 49 Value RunForEach(Scope* scope, argument 73 list_value = scope->GetValue(list_identifier->value().value(), true); 80 Scope list_exec_scope(scope); 81 value_storage_for_exec = args_vector[1]->Execute(scope, err); 97 // If the loop variable was previously defined in this scope, save it so we 99 const Value* old_loop_value_ptr = scope->GetValue(loop_var); 105 scope [all...] |
H A D | function_get_label_info.cc | 84 Value RunGetLabelInfo(Scope* scope, argument 94 Label label = Label::Resolve(scope->GetSourceDir(), 95 ToolchainLabelForScope(scope), args[0], err); 113 GetGenDirForSourceDir(scope->settings(), label.dir())); 118 scope->settings()->default_toolchain_label() == toolchain_label; 120 GetToolchainGenDir(scope->settings()->build_settings(), 125 GetOutputDirForSourceDir(scope->settings(), label.dir())); 130 scope->settings()->default_toolchain_label() == toolchain_label; 132 GetToolchainOutputDir(scope->settings()->build_settings(),
|
H A D | action_target_generator_unittest.cc | 14 setup.scope()->set_item_collector(&items_); 27 input_good.parsed()->Execute(setup.scope(), &err); 40 input_bad.parsed()->Execute(setup.scope(), &err);
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | FontBuilder.cpp | 99 FontDescriptionChangeScope scope(this); 101 scope.reset(); 102 setFontFamilyToStandard(scope.fontDescription(), m_document); 103 setSize(scope.fontDescription(), FontBuilder::initialSize()); 108 FontDescriptionChangeScope scope(this); 110 scope.set(fontDescription); 120 FontDescriptionChangeScope scope(this); 137 scope.set(fontDescription); 142 FontDescriptionChangeScope scope(this); 144 setFontFamilyToStandard(scope [all...] |
H A D | MatchRequest.h | 36 MatchRequest(RuleSet* ruleSet, bool includeEmptyRules = false, const ContainerNode* scope = 0, const CSSStyleSheet* cssSheet = 0, unsigned styleSheetIndex = 0) 39 , scope(scope) 50 RawPtrWillBeMember<const ContainerNode> scope; member in class:blink::MatchRequest
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | CTarget.java | 81 /** Is scope in @scope::name {action} valid for this kind of grammar? 88 public boolean isValidActionScope(int grammarType, String scope) { argument 91 if (scope.equals("lexer")) { 94 if (scope.equals("header")) { 97 if (scope.equals("includes")) { 100 if (scope.equals("preincludes")) { 103 if (scope.equals("overrides")) { 108 if (scope.equals("parser")) { 111 if (scope [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | SignerStub.java | 51 * Constructor, sets given name and scope 54 * @param scope 57 public SignerStub(String name, IdentityScope scope) argument 59 super(name, scope);
|
H A D | IdentityScopeStub.java | 57 * @param scope 60 public IdentityScopeStub(String name, IdentityScope scope) argument 62 super(name, scope); 124 * Sets the system's identity scope 126 * @param scope 128 public static void mySetSystemScope(IdentityScope scope) { argument 130 IdentityScope.setSystemScope(scope);
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
H A D | TypeSlots.py | 193 def generate(self, scope, code): 198 value = self.slot_code(scope) 205 current_scope = scope 209 and current_scope.parent_type.base_type.scope): 210 current_scope = current_scope.parent_type.base_type.scope 234 def generate_dynamic_init_code(self, scope, code): 236 value = self.slot_code(scope) 239 scope.parent_type.typeobj_cname, 255 def slot_code(self, scope): 291 def slot_code(self, scope) [all...] |
/external/chromium_org/third_party/skia/tools/skpdiff/ |
H A D | diff_viewer.js | 16 scope: true, 17 link: function(scope, elm, attrs, ctrl) { 29 image.src = scope.record.differencePath; 33 image.src = scope.record.baselinePath; 37 image.src = scope.record.testPath; 54 scope.setImgScaleFactor(1 / divisor); 57 canvas.width = image.width * scope.imgScaleFactor; 58 canvas.height = image.height * scope.imgScaleFactor; 61 if (!scope.maskSizeUpdated) { 63 scope [all...] |
/external/skia/tools/skpdiff/ |
H A D | diff_viewer.js | 16 scope: true, 17 link: function(scope, elm, attrs, ctrl) { 29 image.src = scope.record.differencePath; 33 image.src = scope.record.baselinePath; 37 image.src = scope.record.testPath; 54 scope.setImgScaleFactor(1 / divisor); 57 canvas.width = image.width * scope.imgScaleFactor; 58 canvas.height = image.height * scope.imgScaleFactor; 61 if (!scope.maskSizeUpdated) { 63 scope [all...] |
/external/libsepol/tests/ |
H A D | helpers.c | 68 scope_datum_t *scope = (scope_datum_t *) hashtab_search(p->scope[symtab].table, sym); local 70 if (scope == NULL) { 73 if (scope->scope != SCOPE_DECL) { 76 if (scope->decl_ids_len != 1) { 80 return p->decl_val_to_struct[scope->decl_ids[0] - 1];
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
H A D | debug-function-scopes.js | 47 // A copy of the scope types from mirror-debugger.js. 77 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure); 78 CheckScope(mirror.scope(1), { z: 22, w: 5, v: "Capybara" }, ScopeType.Closure); 79 CheckScope(mirror.scope(2), { x: 5 }, ScopeType.Closure); 80 CheckScope(mirror.scope(3), {}, ScopeType.Global); 110 CheckScope(mirror.scope(0), { l4: 11 }, ScopeType.Block); 112 CheckScope(mirror.scope(1), { l3: 9 }, ScopeType.Block); 113 CheckScope(mirror.scope(2), { l1: 6, l2: 7 }, ScopeType.Block); 114 CheckScope(mirror.scope(3), { v1:3, l0: 0, v3: 5, v6: 11 }, ScopeType.Closure); 115 CheckScope(mirror.scope( [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | PlainTextRange.cpp | 60 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRange(const ContainerNode& scope) const 62 return createRangeFor(scope, ForGeneric); 65 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRangeForSelection(const ContainerNode& scope) const 67 return createRangeFor(scope, ForSelection); 70 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRangeFor(const ContainerNode& scope, GetRangeFor getRangeFor) const argument 74 RefPtrWillBeRawPtr<Range> resultRange = scope.document().createRange(); 85 TextIterator it(rangeOfContents(const_cast<ContainerNode*>(&scope)).get(), behaviorFlags); 160 PlainTextRange PlainTextRange::create(const ContainerNode& scope, const Range& range) argument 170 if (range.startContainer() != &scope && !range.startContainer()->isDescendantOf(&scope)) [all...] |
H A D | PlainTextRange.h | 51 PassRefPtrWillBeRawPtr<Range> createRange(const ContainerNode& scope) const; 52 PassRefPtrWillBeRawPtr<Range> createRangeForSelection(const ContainerNode& scope) const; 54 static PlainTextRange create(const ContainerNode& scope, const Range&); 60 PassRefPtrWillBeRawPtr<Range> createRangeFor(const ContainerNode& scope, GetRangeFor) const;
|