Home
last modified time | relevance | path

Searched refs:definition (Results 1 – 25 of 1991) sorted by relevance

12345678910>>...80

/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
Dconditional_features.py16 def _IsEnabled(definition, enabled_features): argument
22 if not hasattr(definition, "attribute_list"):
24 if not definition.attribute_list:
28 for a in definition.attribute_list:
31 raise EnableIfError(definition.filename,
33 definition.lineno)
36 for attribute in definition.attribute_list:
53 def _FilterDefinition(definition, enabled_features): argument
55 if isinstance(definition, ast.Enum):
56 _FilterDisabledFromNodeList(definition.enum_value_list, enabled_features)
[all …]
/external/skqp/tools/bookmaker/
DbmhParser.cpp123 Definition* definition = nullptr; in addDefinition() local
154 definition = fRoot; in addDefinition()
164 definition = fParent; in addDefinition()
183 definition = fRoot; in addDefinition()
185 definition = &fRoot->fLeaves[name]; in addDefinition()
192 for (auto child : definition->fChildren) { in addDefinition()
209 if (fCheckMethods && !definition->checkMethod()) { in addDefinition()
214 if (!this->checkEndMarker(markType, definition->fName)) { in addDefinition()
218 if (!this->popParentStack(definition)) { in addDefinition()
221 if (fRoot == definition) { in addDefinition()
[all …]
DtextParser.cpp15 TextParser::TextParser(const Definition* definition) : in TextParser() argument
16 TextParser(definition->fFileName, definition->fContentStart, definition->fContentEnd, in TextParser()
17 definition->fLineCount) { in TextParser()
67 void TextParser::setForErrorReporting(const Definition* definition, const char* str) { in setForErrorReporting() argument
68 fFileName = definition->fFileName; in setForErrorReporting()
69 fStart = definition->fContentStart; in setForErrorReporting()
75 fEnd = definition->fContentEnd; in setForErrorReporting()
76 fLineCount = definition->fLineCount; in setForErrorReporting()
/external/skia/tools/bookmaker/
DbmhParser.cpp123 Definition* definition = nullptr; in addDefinition() local
154 definition = fRoot; in addDefinition()
164 definition = fParent; in addDefinition()
183 definition = fRoot; in addDefinition()
185 definition = &fRoot->fLeaves[name]; in addDefinition()
192 for (auto child : definition->fChildren) { in addDefinition()
209 if (fCheckMethods && !definition->checkMethod()) { in addDefinition()
214 if (!this->checkEndMarker(markType, definition->fName)) { in addDefinition()
218 if (!this->popParentStack(definition)) { in addDefinition()
221 if (fRoot == definition) { in addDefinition()
[all …]
DtextParser.cpp15 TextParser::TextParser(const Definition* definition) : in TextParser() argument
16 TextParser(definition->fFileName, definition->fContentStart, definition->fContentEnd, in TextParser()
17 definition->fLineCount) { in TextParser()
67 void TextParser::setForErrorReporting(const Definition* definition, const char* str) { in setForErrorReporting() argument
68 fFileName = definition->fFileName; in setForErrorReporting()
69 fStart = definition->fContentStart; in setForErrorReporting()
75 fEnd = definition->fContentEnd; in setForErrorReporting()
76 fLineCount = definition->fLineCount; in setForErrorReporting()
/external/clang/test/SemaObjC/
Dcheck-dup-objc-decls-1.m3 @interface Foo // expected-note {{previous definition is here}}
8 @class Bar; // expected-note {{previous definition is here}}
16 typedef int OBJECT; // expected-note {{previous definition is here}}
21 typedef int Gorf; // expected-note {{previous definition is here}}
23 …{redefinition of 'Gorf' as different kind of symbol}} expected-note {{previous definition is here}}
32 @interface A<P> @end // expected-note {{previous definition is here}}
33 @interface A<Q> @end // expected-error {{duplicate interface definition for class 'A'}}
35 @protocol PP<P> @end // expected-note {{previous definition is here}}
36 @protocol PP<Q> @end // expected-warning {{duplicate protocol definition of 'PP'}}
38 @interface A(Cat)<P> @end // expected-note {{previous definition is here}}
[all …]
Dcategory-1.m5 @protocol p1,p2,p3; // expected-note {{protocol 'p1' has no definition}} \
6 // expected-note {{protocol 'p2' has no definition}}
8 …<p1> // expected-warning {{cannot find protocol definition for 'p1'}} expected-note {{previous def…
11 @interface MyClass1 (Category1) // expected-warning {{duplicate definition of category 'Category1'…
17 @interface MyClass1 (Category4) @end // expected-note {{previous definition is here}}
20 @interface MyClass1 (Category7) @end // expected-note {{previous definition is here}}
21 @interface MyClass1 (Category8) @end // expected-note {{previous definition is here}}
24 @interface MyClass1 (Category4) @end // expected-warning {{duplicate definition of category 'Catego…
25 @interface MyClass1 (Category7) @end // expected-warning {{duplicate definition of category 'Catego…
26 @interface MyClass1 (Category8) @end // expected-warning {{duplicate definition of category 'Catego…
[all …]
Ddeprecate_function_containers.m5 void p_foo() {} // expected-warning {{function definition inside an Objective-C container is deprec…
9 void foo() {} // expected-warning {{function definition inside an Objective-C container is deprecat…
10 inline void v_foo() {} // expected-warning {{function definition inside an Objective-C container is…
11 static int s_foo() {return 0; } // expected-warning {{function definition inside an Objective-C con…
12 static inline int si_val() { return 1; } // expected-warning {{function definition inside an Object…
16 void cat_foo() {} // expected-warning {{function definition inside an Objective-C container is depr…
32 …e_observe_moin1(void (^callback)(id)) { // expected-warning {{function definition inside an Object…
Dclass-def-test-1.m3 @protocol SUPER; // expected-note {{protocol 'SUPER' has no definition}}
5 @interface SUPER <SUPER> @end // expected-warning {{cannot find protocol definition for 'SUPER'}}
7 typedef int INTF; // expected-note {{previous definition is here}}
11 @interface OBJECT @end // expected-note {{previous definition is here}}
13 @interface INTF1 : OBJECT @end // expected-note {{previous definition is here}}
15 @interface INTF1 : OBJECT @end // expected-error {{duplicate interface definition for class 'INTF1'…
19 typedef int OBJECT2; // expected-note 2 {{previous definition is here}}
Dclass-proto-1.m5 @protocol p1,p2,p3; // expected-note {{protocol 'p2' has no definition}} \
6 // expected-note {{protocol 'p3' has no definition}}
18 @interface E1 <p2> @end // expected-warning {{cannot find protocol definition for 'p2'}}
25 @interface E2 <p1,p2,p3> @end // expected-warning {{cannot find protocol definition for 'p3'}}
42 … UndefinedParentProtocol; // expected-note {{protocol 'UndefinedParentProtocol' has no definition}}
47 …SObject <UndefinedProtocol> // expected-warning {{cannot find protocol definition for 'UndefinedPr…
Dmethod-undefined-warn-1.m11 @implementation INTF // expected-warning {{method definition for 'int_meth' not found}} \
12 // expected-warning {{method definition for 'cls_meth' not found}} \
13 // expected-warning {{method definition for 'cls_meth1:' not found}}
27 @implementation INTF1 // expected-warning {{method definition for 'int_meth' not found}} \
28 // expected-warning {{method definition for 'cls_meth' not found}} \
29 // expected-warning {{method definition for 'cls_meth1:' not found}}
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp114 object.definition = insn;
152 object.definition = insn;
179 object.definition = insn;
205 auto resultId = object.definition.word(2); in ProcessInterfaceVariable()
209 auto ptrType = getType(object.definition.word(1)).definition; in ProcessInterfaceVariable()
214 auto &structType = getType(pointeeType).definition; in ProcessInterfaceVariable()
366 switch (obj.definition.opcode()) in PopulateInterfaceInner()
369 return PopulateInterfaceInner(iface, obj.definition.word(3), d); in PopulateInterfaceInner()
371 for (auto i = 0u; i < obj.definition.word(3); i++, d.Location++) in PopulateInterfaceInner()
374 PopulateInterfaceInner(iface, obj.definition.word(2), d); in PopulateInterfaceInner()
[all …]
/external/fonttools/Tests/mtiLib/data/mti/
Dchainedcoverage.txt8 backtrackcoverage definition begin
19 coverage definition end
21 inputcoverage definition begin
23 coverage definition end
25 lookaheadcoverage definition begin
36 coverage definition end
Dcontextcoverage.txt8 coverage definition begin 0
19 coverage definition end
21 coverage definition begin 1
23 coverage definition end
25 coverage definition begin 2
36 coverage definition end
Dgsubreversechanined.txt9 backtrackcoverage definition begin
18 coverage definition end
27 backtrackcoverage definition begin
36 coverage definition end
45 lookaheadcoverage definition begin
50 coverage definition end
Dgpospairclass.txt3 firstclass definition begin
13 class definition end
15 secondclass definition begin
21 class definition end
Dchainedclass.txt4 backtrackclass definition begin
11 class definition end
13 class definition begin
16 class definition end
/external/libxml2/result/
Dsvg2.rdr60 4 3 #text 0 1 Java Font definition:Dialog 0
71 4 3 #text 0 1 Java Font definition:Helvetica 0
99 4 3 #text 0 1 Java Font definition:Dialog 0
110 4 3 #text 0 1 Java Font definition:Helvetica 700
159 4 3 #text 0 1 Java Font definition:Dialog 700
170 4 3 #text 0 1 Java Font definition:Dialog 700
Dsvg2.rde60 4 3 #text 0 1 Java Font definition:Dialog 0
71 4 3 #text 0 1 Java Font definition:Helvetica 0
99 4 3 #text 0 1 Java Font definition:Dialog 0
110 4 3 #text 0 1 Java Font definition:Helvetica 700
159 4 3 #text 0 1 Java Font definition:Dialog 700
170 4 3 #text 0 1 Java Font definition:Dialog 700
/external/adhd/scripts/
Dini_editor.py51 definition = parse_values[2]
52 return Port(io, index, definition)
56 def __init__(self, io, index, definition): argument
70 self.definition = definition
71 result = re.match(r'(\S+)\s+; (.+)', definition)
83 line += self.definition
118 definition = parse_values[1]
119 return NonPort(name, definition)
123 def __init__(self, name, definition): argument
131 self.definition = definition
[all …]
/external/fonttools/Tests/mtiLib/data/
Dmixed-toplevels.txt4 backtrackclass definition begin
11 class definition end
13 class definition begin
16 class definition end
Dlookupnames-forward.txt4 backtrackclass definition begin
11 class definition end
13 class definition begin
16 class definition end
Dlookupnames-backward.txt11 backtrackclass definition begin
18 class definition end
20 class definition begin
23 class definition end
/external/libxml2/result/schemas/
Dderivation-ok-restriction-2-1-1_0_0.err1 …th the corresponding 'required' attribute use of the base complex type definition '{http://FOO}typ…
2 …attribute use, nor a matching wildcard exists in the base complex type definition '{http://FOO}typ…
3 …attribute use, nor a matching wildcard exists in the base complex type definition '{http://FOO}typ…
4 …attribute use, nor a matching wildcard exists in the base complex type definition '{http://FOO}typ…
5 …attribute use, nor a matching wildcard exists in the base complex type definition '{http://FOO}typ…
6 …use for the 'required' attribute use 'barB_3' of the base complex type definition '{http://FOO}typ…
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dconditional_features_unittest.py37 definition = parser.Parse(source, "my_file.mojom")
38 conditional_features.RemoveDisabledDefinitions(definition, ENABLED_FEATURES)
40 self.assertEquals(definition, expected)
226 definition = parser.Parse(source, "my_file.mojom")
229 definition, ENABLED_FEATURES)

12345678910>>...80