/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
D | coffeescript.js | 53 if (state.scope.align === null) state.scope.align = false; 54 var scopeOffset = state.scope.offset; 57 if (lineOffset > scopeOffset && state.scope.type == "coffee") { 219 for (var scope = state.scope; scope; scope = scope.prev) { 220 if (scope.type === "coffee") { 221 offset = scope.offset + conf.indentUnit; 228 } else if (state.scope.align) { 229 state.scope.align = false; 231 state.scope = { 234 prev: state.scope, [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
D | FontBuilder.cpp | 99 FontDescriptionChangeScope scope(this); in setInitial() local 101 scope.reset(); in setInitial() 102 setFontFamilyToStandard(scope.fontDescription(), m_document); in setInitial() 103 setSize(scope.fontDescription(), FontBuilder::initialSize()); in setInitial() 108 FontDescriptionChangeScope scope(this); in inheritFrom() local 110 scope.set(fontDescription); in inheritFrom() 120 FontDescriptionChangeScope scope(this); in fromSystemFont() local 137 scope.set(fontDescription); in fromSystemFont() 142 FontDescriptionChangeScope scope(this); in setFontFamilyInitial() local 144 setFontFamilyToStandard(scope.fontDescription(), m_document); in setFontFamilyInitial() [all …]
|
/external/chromium_org/tools/gn/ |
D | function_rebase_path_unittest.cc | 13 std::string RebaseOne(Scope* scope, in RebaseOne() argument 24 Value result = functions::RunRebasePath(scope, &function, args, &err); in RebaseOne() 36 Scope* scope = setup.scope(); in TEST() local 37 scope->set_source_dir(SourceDir("//tools/gn/")); in TEST() 40 EXPECT_EQ("../../tools/gn", RebaseOne(scope, ".", "//out/Debug", ".")); in TEST() 41 EXPECT_EQ("../../tools/gn/", RebaseOne(scope, "./", "//out/Debug", ".")); in TEST() 42 EXPECT_EQ("../../tools/gn/foo", RebaseOne(scope, "foo", "//out/Debug", ".")); in TEST() 43 EXPECT_EQ("../..", RebaseOne(scope, "../..", "//out/Debug", ".")); in TEST() 44 EXPECT_EQ("../../", RebaseOne(scope, "../../", "//out/Debug", ".")); in TEST() 47 EXPECT_EQ("../..", RebaseOne(scope, "../../..", "//out/Debug", ".")); in TEST() [all …]
|
D | functions_target.cc | 28 Scope* scope, in ExecuteGenericTarget() argument 33 if (!EnsureNotProcessingImport(function, scope, err) || in ExecuteGenericTarget() 34 !EnsureNotProcessingBuildConfig(function, scope, err)) in ExecuteGenericTarget() 36 Scope block_scope(scope); in ExecuteGenericTarget() 37 if (!FillTargetBlockScope(scope, function, target_type, block, in ExecuteGenericTarget() 146 Value RunAction(Scope* scope, in RunAction() argument 151 return ExecuteGenericTarget(functions::kAction, scope, function, args, in RunAction() 226 Value RunActionForEach(Scope* scope, in RunActionForEach() argument 231 return ExecuteGenericTarget(functions::kActionForEach, scope, function, args, in RunActionForEach() 281 Scope* scope, in RunCopy() argument [all …]
|
D | functions.h | 31 typedef Value (*SelfEvaluatingArgsFunction)(Scope* scope, 37 typedef Value (*GenericBlockFunction)(Scope* scope, 52 typedef Value (*NoBlockFunction)(Scope* scope, 60 Value RunAction(Scope* scope, 69 Value RunActionForEach(Scope* scope, 78 Value RunAssert(Scope* scope, 102 Value RunDeclareArgs(Scope* scope, 111 Value RunDefined(Scope* scope, 119 Value RunExecScript(Scope* scope, 127 Value RunExecutable(Scope* scope, [all …]
|
D | functions.cc | 24 const Scope* scope, in EnsureNotProcessingImport() argument 26 if (scope->IsProcessingImport()) { in EnsureNotProcessingImport() 37 const Scope* scope, in EnsureNotProcessingBuildConfig() argument 39 if (scope->IsProcessingBuildConfig()) { in EnsureNotProcessingBuildConfig() 48 bool FillTargetBlockScope(const Scope* scope, in FillTargetBlockScope() argument 62 const Scope* default_scope = scope->GetTargetDefaults(target_type); in FillTargetBlockScope() 101 const Label& ToolchainLabelForScope(const Scope* scope) { in ToolchainLabelForScope() argument 102 return scope->settings()->toolchain_label(); in ToolchainLabelForScope() 105 Label MakeLabelForScope(const Scope* scope, in MakeLabelForScope() argument 108 const Label& toolchain_label = ToolchainLabelForScope(scope); in MakeLabelForScope() [all …]
|
D | operators.cc | 21 void AppendFilteredSourcesToValue(const Scope* scope, in AppendFilteredSourcesToValue() argument 24 const PatternList* filter = scope->GetSourcesAssignmentFilter(); in AppendFilteredSourcesToValue() 59 Scope* scope, in GetValueOrFillError() argument 61 Value value = node->Execute(scope, err); in GetValueOrFillError() 120 Value ExecuteEquals(Scope* scope, in ExecuteEquals() argument 125 const Value* old_value = scope->GetValue(left.value(), false); in ExecuteEquals() 157 Value* set_value = scope->SetValue(left.value(), in ExecuteEquals() 160 AppendFilteredSourcesToValue(scope, right, set_value); in ExecuteEquals() 163 scope->SetValue(left.value(), right, op_node->right()); in ExecuteEquals() 178 void ValuePlusEquals(const Scope* scope, in ValuePlusEquals() argument [all …]
|
D | scope_unittest.cc | 14 bool HasStringValueEqualTo(const Scope* scope, in HasStringValueEqualTo() argument 17 const Value* value = scope->GetValue(name); in HasStringValueEqualTo() 40 setup.scope()->SetValue("v", old_value, &assignment); in TEST() 42 setup.scope()->SetValue(private_var_name, old_value, &assignment); in TEST() 46 scoped_refptr<Template> templ(new Template(setup.scope(), &templ_definition)); in TEST() 47 setup.scope()->AddTemplate("templ", templ.get()); in TEST() 49 new Template(setup.scope(), &templ_definition)); in TEST() 50 setup.scope()->AddTemplate("_templ", private_templ.get()); in TEST() 59 EXPECT_FALSE(setup.scope()->NonRecursiveMergeTo( in TEST() 74 EXPECT_FALSE(setup.scope()->NonRecursiveMergeTo( in TEST() [all …]
|
D | template.cc | 14 Template::Template(const Scope* scope, const FunctionCallNode* def) in Template() argument 15 : closure_(scope->MakeClosure()), in Template() 19 Template::Template(scoped_ptr<Scope> scope, const FunctionCallNode* def) in Template() argument 20 : closure_(scope.Pass()), in Template() 27 Value Template::Invoke(Scope* scope, in Invoke() argument 34 if (!EnsureNotProcessingImport(invocation, scope, err)) in Invoke() 39 scoped_ptr<Scope> invocation_scope(new Scope(scope)); in Invoke() 40 if (!FillTargetBlockScope(scope, invocation, in Invoke() 55 template_scope.set_source_dir(scope->GetSourceDir()); in Invoke() 60 template_scope.set_item_collector(scope->GetItemCollector()); in Invoke() [all …]
|
/external/chromium_org/third_party/polymer/components-chromium/core-animated-pages/transitions/ |
D | core-transition-pages-extracted.js | 59 prepare: function(scope, options) { argument 60 this.boundCompleteFn = this.complete.bind(this, scope); 62 scope.classList.add(this.scopeClass); 66 go: function(scope, options) { argument 69 scope.classList.add(this.activeClass); 71 scope.addEventListener('transitionend', this.boundCompleteFn, false); 74 setup: function(scope) { argument 75 if (!scope._pageTransitionStyles) { 76 scope._pageTransitionStyles = {}; 81 if (!scope._pageTransitionStyles[name]) { [all …]
|
D | hero-transition-extracted.js | 14 go: function(scope, options) { argument 26 scope._heroes.forEach(function(h) { 40 if (!scope._heroes.length) { 45 prepare: function(scope, options) { argument 49 if (scope._heroes && scope._heroes.length) { 50 this.ensureComplete(scope); 52 scope._heroes = []; 118 scope._heroes.push(h); 141 ensureComplete: function(scope) { argument 143 if (scope._heroes) { [all …]
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
D | TypeSlots.py | 193 def generate(self, scope, code): argument 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): argument 236 value = self.slot_code(scope) 239 scope.parent_type.typeobj_cname, 255 def slot_code(self, scope): argument 291 def slot_code(self, scope): argument [all …]
|
D | Pipeline.py | 31 scope = context.find_module(full_module_name, pos = initial_pos, need_pxd = 0, 34 tree = context.parse(source_desc, scope, pxd = 0, full_module_name = full_module_name) 36 tree.scope = scope 41 def parse_pxd_stage_factory(context, scope, module_name): argument 43 tree = context.parse(source_desc, scope, pxd=True, 45 tree.scope = scope 61 for name, (statlistnode, scope) in context.pxds.iteritems(): 62 module_node.merge_in(statlistnode, scope) 66 def use_utility_code_definitions(scope, target, seen=None): argument 70 for entry in scope.entries.itervalues(): [all …]
|
D | ModuleNode.py | 33 module_node.scope.check_c_classes_pxd() 37 module_node.scope.check_c_classes() 38 module_node.scope.check_c_functions() 55 def merge_in(self, tree, scope, merge_scope=False): argument 70 self.scope.utility_code_list.extend(scope.utility_code_list) 77 extend_if_not_in(self.scope.include_files, scope.include_files) 78 extend_if_not_in(self.scope.included_files, scope.included_files) 79 extend_if_not_in(self.scope.python_include_files, 80 scope.python_include_files) 84 for entry in scope.c_class_entries: [all …]
|
/external/skia/tools/skpdiff/ |
D | diff_viewer.js | 16 scope: true, 17 link: function(scope, elm, attrs, ctrl) { argument 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.updateMaskCanvasSize({width: canvas.width, height: canvas.height}); [all …]
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
D | diff_viewer.js | 16 scope: true, 17 link: function(scope, elm, attrs, ctrl) { argument 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.updateMaskCanvasSize({width: canvas.width, height: canvas.height}); [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | CTarget.java | 88 public boolean isValidActionScope(int grammarType, String scope) { in isValidActionScope() argument 91 if (scope.equals("lexer")) { in isValidActionScope() 94 if (scope.equals("header")) { in isValidActionScope() 97 if (scope.equals("includes")) { in isValidActionScope() 100 if (scope.equals("preincludes")) { in isValidActionScope() 103 if (scope.equals("overrides")) { in isValidActionScope() 108 if (scope.equals("parser")) { in isValidActionScope() 111 if (scope.equals("header")) { in isValidActionScope() 114 if (scope.equals("includes")) { in isValidActionScope() 117 if (scope.equals("preincludes")) { in isValidActionScope() [all …]
|
/external/chromium_org/v8/test/cctest/compiler/ |
D | test-schedule.cc | 23 HandleAndZoneScope scope; in TEST() local 24 Schedule schedule(scope.main_zone()); in TEST() 32 HandleAndZoneScope scope; in TEST() local 33 Graph graph(scope.main_zone()); in TEST() 37 Schedule schedule(scope.main_zone()); in TEST() 53 HandleAndZoneScope scope; in TEST() local 55 Schedule schedule(scope.main_zone()); in TEST() 72 HandleAndZoneScope scope; in TEST() local 73 Schedule schedule(scope.main_zone()); in TEST() 79 Graph graph(scope.main_zone()); in TEST() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransAutoreleasePool.cpp | 98 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local 99 clearRefsIn(*scope.Begin, info.Refs); in ~AutoreleasePoolRewriter() 100 clearRefsIn(*scope.End, info.Refs); in ~AutoreleasePoolRewriter() 101 clearRefsIn(scope.Releases.begin(), scope.Releases.end(), info.Refs); in ~AutoreleasePoolRewriter() 122 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local 123 clearUnavailableDiags(*scope.Begin); in ~AutoreleasePoolRewriter() 124 clearUnavailableDiags(*scope.End); in ~AutoreleasePoolRewriter() 125 if (scope.IsFollowedBySimpleReturnStmt) { in ~AutoreleasePoolRewriter() 127 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {"); in ~AutoreleasePoolRewriter() 128 Pass.TA.removeStmt(*scope.End); in ~AutoreleasePoolRewriter() [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | debug-function-scopes.js | 73 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure); 74 CheckScope(mirror.scope(1), { w: 5, v: "Capybara" }, ScopeType.With); 75 CheckScope(mirror.scope(2), { y: 17, z: 22 }, ScopeType.Closure); 76 CheckScope(mirror.scope(3), { x: 5 }, ScopeType.Closure); 77 CheckScope(mirror.scope(4), {}, ScopeType.Global); 85 CheckScope(mirror.scope(0), {}, ScopeType.Global); 104 CheckScope(mirror.scope(0), { visible2: 20 }, ScopeType.Closure); 105 CheckScope(mirror.scope(1), { visible1: 10 }, ScopeType.Closure); 106 CheckScope(mirror.scope(2), {}, ScopeType.Global); 127 CheckScope(mirror.scope(0), { e2: "I'm error 2" }, ScopeType.Catch); [all …]
|
/external/libsepol/src/ |
D | avrule_block.c | 69 ebitmap_init(&decl->required.scope[i]); in avrule_decl_create() 70 ebitmap_init(&decl->declared.scope[i]); in avrule_decl_create() 77 static void scope_index_destroy(scope_index_t * scope) in scope_index_destroy() argument 80 if (scope == NULL) { in scope_index_destroy() 84 ebitmap_destroy(scope->scope + i); in scope_index_destroy() 86 for (i = 0; i < scope->class_perms_len; i++) { in scope_index_destroy() 87 ebitmap_destroy(scope->class_perms_map + i); in scope_index_destroy() 89 free(scope->class_perms_map); in scope_index_destroy() 155 scope_datum_t *scope = in is_id_enabled() local 156 (scope_datum_t *) hashtab_search(p->scope[symbol_table].table, id); in is_id_enabled() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ObjC.stg | 252 <rule.ruleDescriptor:{ruleDescriptor | <returnScopeInterface(scope=ruleDescriptor.returnScope)>}>}> 306 <returnScopeImplementation(scope=ruleDescriptor.returnScope)>}> 562 <scopes:{it | <if(it.isDynamicGlobalScope)><globalAttributeScopeInterface(scope=it)><endif>}> 565 <rule.ruleDescriptor:{ ruleDescriptor | <ruleAttributeScopeInterface(scope=ruleDescriptor.ruleScope… 567 <rules:{rule |<rule.ruleDescriptor:{ ruleDescriptor | <returnScopeInterface(scope=ruleDescriptor.re… 572 <rules:{rule | <rule.ruleDescriptor.ruleScope:ruleAttributeScopeDecl(scope=rule.ruleDescriptor.rule… 574 <scopes:{it | <if(it.isDynamicGlobalScope)><globalAttributeScopeMemVar(scope=it)><endif>}><\n> 670 <scopes:{it | <if(it.isDynamicGlobalScope)><globalAttributeScopeImplementation(scope=it)><endif>}> 674 <rule.ruleDescriptor:{ ruleDescriptor | <ruleAttributeScopeImplementation(scope=ruleDescriptor.rule… 677 <rules:{rule | <rule.ruleDescriptor:{ ruleDescriptor | <returnScopeImplementation(scope=ruleDescrip… [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | PlainTextRange.cpp | 60 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRange(const ContainerNode& scope) const in createRange() 62 return createRangeFor(scope, ForGeneric); in createRange() 65 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRangeForSelection(const ContainerNode& scope) c… in createRangeForSelection() 67 return createRangeFor(scope, ForSelection); in createRangeForSelection() 70 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRangeFor(const ContainerNode& scope, GetRangeFo… in createRangeFor() argument 74 RefPtrWillBeRawPtr<Range> resultRange = scope.document().createRange(); in createRangeFor() 85 TextIterator it(rangeOfContents(const_cast<ContainerNode*>(&scope)).get(), behaviorFlags); in createRangeFor() 160 PlainTextRange PlainTextRange::create(const ContainerNode& scope, const Range& range) in create() argument 170 if (range.startContainer() != &scope && !range.startContainer()->isDescendantOf(&scope)) in create() 172 if (range.endContainer() != scope && !range.endContainer()->isDescendantOf(&scope)) in create() [all …]
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkDisplayApply.cpp | 47 …SK_MEMBER(scope, Drawable), // thing that scopes animation (unnamed enclosed displayable goes here) 59 …restore(false), scope(NULL), steps(-1), transition((Transition) -1), fActive(NULL), /*fCurrentScop… in SkApply() 68 delete scope; in ~SkApply() 160 return fDeleteScope && scope == child; in contains() 164 SkDrawable* saveScope = scope; in deepCopy() 165 scope = NULL; in deepCopy() 167 result->scope = scope = saveScope; in deepCopy() 187 if (scope ==NULL) in draw() 189 if (scope->isApply() || scope->isDrawable() == false) in draw() 193 SkASSERT(scope); in draw() [all …]
|
/external/skia/src/animator/ |
D | SkDisplayApply.cpp | 47 …SK_MEMBER(scope, Drawable), // thing that scopes animation (unnamed enclosed displayable goes here) 59 …restore(false), scope(NULL), steps(-1), transition((Transition) -1), fActive(NULL), /*fCurrentScop… in SkApply() 68 delete scope; in ~SkApply() 160 return fDeleteScope && scope == child; in contains() 164 SkDrawable* saveScope = scope; in deepCopy() 165 scope = NULL; in deepCopy() 167 result->scope = scope = saveScope; in deepCopy() 187 if (scope ==NULL) in draw() 189 if (scope->isApply() || scope->isDrawable() == false) in draw() 193 SkASSERT(scope); in draw() [all …]
|