/external/libmojo/mojo/public/tools/bindings/generators/ |
D | mojom_cpp_generator.py | 134 return ExpressionToText(constant.value, kind=constant.kind) 140 if mojom.IsStructKind(field.kind): 142 if not IsTypemappedKind(field.kind): 143 return "%s::New()" % GetNameForKind(field.kind) 144 return ExpressionToText(field.default, kind=field.kind) 150 def GetNameForKind(kind, internal=False, flatten_nested_kind=False, argument 152 return _NameFormatter(kind, _variant).FormatForCpp( 156 def GetQualifiedNameForKind(kind, internal=False, flatten_nested_kind=False, argument 159 kind, _variant if include_variant else None).FormatForCpp( 170 def GetFullMojomNameForKind(kind): argument [all …]
|
D | mojom_js_generator.py | 39 def JavaScriptType(kind): argument 41 if kind.imported_from: 42 name.append(kind.imported_from["unique_name"]) 43 if kind.parent_kind: 44 name.append(kind.parent_kind.name) 45 name.append(kind.name) 51 if mojom.IsStructKind(field.kind): 53 return "new %s()" % JavaScriptType(field.kind) 55 if field.kind in mojom.PRIMITIVES: 56 return _kind_to_javascript_default_value[field.kind] [all …]
|
D | mojom_java_generator.py | 128 return GetNameForElement(element.kind) 152 def GetArrayNullabilityFlags(kind): argument 159 assert mojom.IsArrayKind(kind) 168 if mojom.IsNullableKind(kind): 170 if mojom.IsNullableKind(kind.kind): 178 def AppendEncodeDecodeParams(initial_params, context, kind, bit): argument 181 if (kind == mojom.BOOL): 183 if mojom.IsReferenceKind(kind): 184 if mojom.IsArrayKind(kind): 185 params.append(GetArrayNullabilityFlags(kind)) [all …]
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | module.py | 261 def __init__(self, name=None, kind=None, value=None, parent_kind=None): argument 263 self.kind = kind 269 def __init__(self, name=None, kind=None, ordinal=None, default=None, argument 274 self.kind = kind 340 def AddField(self, name, kind, ordinal=None, default=None, attributes=None): argument 341 field = StructField(name, kind, ordinal, default, attributes) 385 def AddField(self, name, kind, ordinal=None, attributes=None): argument 386 field = UnionField(name, kind, ordinal, None, attributes) 402 def __init__(self, kind=None, length=None): argument 403 if kind is not None: [all …]
|
D | translate.py | 50 def _MapKind(kind): argument 68 if kind.endswith('?'): 69 base_kind = _MapKind(kind[0:-1]) 77 if kind.endswith('}'): 78 lbracket = kind.rfind('{') 79 value = kind[0:lbracket] 80 return 'm[' + _MapKind(kind[lbracket+1:-1]) + '][' + _MapKind(value) + ']' 81 if kind.endswith(']'): 82 lbracket = kind.rfind('[') 83 typename = kind[0:lbracket] [all …]
|
/external/v8/src/ |
D | elements-kind.h | 76 const char* ElementsKindToString(ElementsKind kind); 85 inline bool IsDictionaryElementsKind(ElementsKind kind) { in IsDictionaryElementsKind() argument 86 return kind == DICTIONARY_ELEMENTS; in IsDictionaryElementsKind() 90 inline bool IsSloppyArgumentsElements(ElementsKind kind) { in IsSloppyArgumentsElements() argument 91 return kind == FAST_SLOPPY_ARGUMENTS_ELEMENTS || in IsSloppyArgumentsElements() 92 kind == SLOW_SLOPPY_ARGUMENTS_ELEMENTS; in IsSloppyArgumentsElements() 95 inline bool IsStringWrapperElementsKind(ElementsKind kind) { in IsStringWrapperElementsKind() argument 96 return kind == FAST_STRING_WRAPPER_ELEMENTS || in IsStringWrapperElementsKind() 97 kind == SLOW_STRING_WRAPPER_ELEMENTS; in IsStringWrapperElementsKind() 100 inline bool IsFixedTypedArrayElementsKind(ElementsKind kind) { in IsFixedTypedArrayElementsKind() argument [all …]
|
D | globals.h | 344 inline size_t hash_value(DeoptimizeKind kind) { in hash_value() argument 345 return static_cast<size_t>(kind); in hash_value() 347 inline std::ostream& operator<<(std::ostream& os, DeoptimizeKind kind) { 348 switch (kind) { 545 inline size_t hash_value(WriteBarrierKind kind) { in hash_value() argument 546 return static_cast<uint8_t>(kind); in hash_value() 549 inline std::ostream& operator<<(std::ostream& os, WriteBarrierKind kind) { 550 switch (kind) { 1113 inline bool IsValidFunctionKind(FunctionKind kind) { in IsValidFunctionKind() argument 1114 return kind == FunctionKind::kNormalFunction || in IsValidFunctionKind() [all …]
|
/external/annotation-tools/scene-lib/src/annotations/io/ |
D | ASTIndex.java | 115 Kind kind, String sel) { in ASTIndex() 117 node.accept(this, rec.extend(kind, sel)); in ASTIndex() 122 Kind kind, String sel, int arg) { in ASTIndex() 124 node.accept(this, rec.extend(kind, sel, arg)); in ASTIndex() 129 ASTRecord rec, Kind kind, String sel) { in ASTIndex() 133 save(node, rec, kind, sel, i++); in ASTIndex() 166 Kind kind = node.getKind(); in ASTIndex() 167 saveAll(node.getAnnotations(), rec, kind, ASTPath.ANNOTATION); in ASTIndex() 168 save(node.getUnderlyingType(), rec, kind, ASTPath.UNDERLYING_TYPE); in ASTIndex() 175 Kind kind = node.getKind(); in ASTIndex() [all …]
|
/external/libmojo/mojo/public/tools/bindings/generators/java_templates/ |
D | data_types_definition.tmpl | 4 {%- macro equality(kind, v1, v2, ne=False) -%} 5 {%- if kind|is_reference_kind -%} 6 {%- if kind|is_array_kind -%} 7 {%- if kind.kind|is_reference_kind -%} 20 {%- macro hash(kind, v) -%} 21 {%- if kind|is_array_kind -%} 22 {%- if kind.kind|is_reference_kind -%} 32 {%- macro array_element_size(kind) -%} 33 {%- if kind|is_union_kind %} 40 {%- macro encode(variable, kind, offset, bit, level=0, check_for_null=True) %} [all …]
|
/external/clang/test/Index/skip-parsed-bodies/ |
D | compile_commands.json | 23 // CHECK: [indexDeclaration]: kind: c++-instance-method | name: method_decl | {{.*}} | isRedec… 24 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def1 | {{.*}} | isRedec… 25 // CHECK-NEXT: [indexEntityReference]: kind: variable | name: some_val | {{.*}} | loc: ./t.h:9:27 26 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def2 | {{.*}} | isRedec… 27 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def2 | {{.*}} | isRedec… 28 // CHECK-NEXT: [indexEntityReference]: kind: namespace | name: NS | 29 // CHECK-NEXT: [indexEntityReference]: kind: c++-class | name: C | 30 // CHECK-NEXT: [indexEntityReference]: kind: variable | name: some_val | {{.*}} | loc: ./t.h:15:5 31 // CHECK-NEXT: [indexDeclaration]: kind: function | name: foo1 | {{.*}} | isRedecl: 0 | isDef: 1 | … 32 // CHECK-NEXT: [indexEntityReference]: kind: variable | name: some_val | {{.*}} | loc: ./t.h:19:5 [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/ |
D | ASTParserTokenManager.java | 164 private int jjStopAtPos(int pos, int kind) in jjStopAtPos() argument 166 jjmatchedKind = kind; in jjStopAtPos() 867 private int jjStartNfaWithStates_0(int pos, int kind, int state) in jjStartNfaWithStates_0() argument 869 jjmatchedKind = kind; in jjStartNfaWithStates_0() 1085 int kind = 0x7fffffff; in jjMoveNfa_0() local 1102 if (kind > 6) in jjMoveNfa_0() 1103 kind = 6; in jjMoveNfa_0() 1110 if (kind > 66) in jjMoveNfa_0() 1111 kind = 66; in jjMoveNfa_0() 1118 if (kind > 78) in jjMoveNfa_0() [all …]
|
/external/llvm/test/MC/Sparc/ |
D | sparc-ctrl-instructions.s | 5 ! CHECK: ! fixup A - offset: 0, value: foo, kind: fixup_sparc_call30 18 ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10 31 ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10 44 … ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10 48 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 52 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 56 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 60 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 64 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 68 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 [all …]
|
D | sparc64-ctrl-instructions.s | 5 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 9 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 13 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 17 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 21 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 25 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 29 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 33 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 37 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 41 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 [all …]
|
/external/llvm/test/MC/PowerPC/ |
D | ppc64-encoding-ext.s | 170 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 171 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 175 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 176 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 186 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 187 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 191 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 192 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 203 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 204 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… [all …]
|
/external/clang/test/Index/ |
D | index-suppress-refs.m | 22 // CHECK: [indexDeclaration]: kind: objc-class | name: I 23 // CHECK-NEXT: <ObjCContainerInfo>: kind: interface 24 // CHECK-NEXT: [indexDeclaration]: kind: objc-class | name: B 25 // CHECK-NEXT: <ObjCContainerInfo>: kind: interface 26 // CHECK-NEXT: [indexDeclaration]: kind: objc-protocol | name: P 27 // CHECK-NEXT: <ObjCContainerInfo>: kind: interface 28 // CHECK-NEXT: [indexDeclaration]: kind: typedef | name: MyInt 29 // CHECK-NEXT: [indexDeclaration]: kind: variable | name: gx 30 // CHECK-NEXT: [indexDeclaration]: kind: objc-class | name: I 31 // CHECK-NEXT: <ObjCContainerInfo>: kind: forward-ref [all …]
|
/external/python/cpython3/Lib/ |
D | pipes.py | 110 def append(self, cmd, kind): argument 114 if kind not in stepkinds: 115 raise ValueError('Template.append: bad kind %r' % (kind,)) 116 if kind == SOURCE: 120 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 122 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 124 self.steps.append((cmd, kind)) 126 def prepend(self, cmd, kind): argument 130 if kind not in stepkinds: 131 raise ValueError('Template.prepend: bad kind %r' % (kind,)) [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
D | ASTParserTokenManager.java | 204 private int jjStopAtPos(int pos, int kind) in jjStopAtPos() argument 206 jjmatchedKind = kind; in jjStopAtPos() 943 private int jjStartNfaWithStates_0(int pos, int kind, int state) in jjStartNfaWithStates_0() argument 945 jjmatchedKind = kind; in jjStartNfaWithStates_0() 1161 int kind = 0x7fffffff; in jjMoveNfa_0() local 1178 if (kind > 31) in jjMoveNfa_0() 1179 kind = 31; in jjMoveNfa_0() 1186 if (kind > 91) in jjMoveNfa_0() 1187 kind = 91; in jjMoveNfa_0() 1194 if (kind > 103) in jjMoveNfa_0() [all …]
|
/external/python/cpython2/Lib/ |
D | pipes.py | 108 def append(self, cmd, kind): argument 113 if kind not in stepkinds: 115 'Template.append: bad kind %r' % (kind,) 116 if kind == SOURCE: 122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd): 125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd): 128 self.steps.append((cmd, kind)) 130 def prepend(self, cmd, kind): argument 135 if kind not in stepkinds: 137 'Template.prepend: bad kind %r' % (kind,) [all …]
|
/external/llvm/test/MC/Mips/ |
D | branch-pseudos.s | 10 # CHECK: # fixup A - offset: 0, value: local_label-4, kind: fixup_Mips_PC16 15 # CHECK: # fixup A - offset: 0, value: global_label-4, kind: fixup_Mips_PC16 19 # CHECK: # fixup A - offset: 0, value: local_label-4, kind: fixup_Mips_PC16 23 # CHECK: # fixup A - offset: 0, value: local_label-4, kind: fixup_Mips_PC16 27 # CHECK: # fixup A - offset: 0, value: local_label-4, kind: fixup_Mips_PC… 33 # CHECK: # fixup A - offset: 0, value: local_label-4, kind: fixup_Mips_PC16 38 # CHECK: # fixup A - offset: 0, value: global_label-4, kind: fixup_Mips_PC16 44 # CHECK: # fixup A - offset: 0, value: local_label-4, kind: fixup_Mips_PC16 52 # CHECK: # fixup A - offset: 0, value: local_label-4, kind: fixup_Mips_PC16 57 # CHECK: # fixup A - offset: 0, value: global_label-4, kind: fixup_Mips_PC16 [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICULocaleService.java | 52 public Object get(ULocale locale, int kind) { in get() argument 53 return get(locale, kind, null); in get() 70 public Object get(ULocale locale, int kind, ULocale[] actualReturn) { in get() argument 71 Key key = createKey(locale, kind); in get() 111 public Factory registerObject(Object obj, ULocale locale, int kind) { in registerObject() argument 112 return registerObject(obj, locale, kind, true); in registerObject() 119 public Factory registerObject(Object obj, ULocale locale, int kind, boolean visible) { in registerObject() argument 120 Factory factory = new SimpleLocaleKeyFactory(obj, locale, kind, visible); in registerObject() 167 private int kind; field in ICULocaleService.LocaleKey 185 …tic LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID, int kind) { in createWithCanonicalFallback() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICULocaleService.java | 48 public Object get(ULocale locale, int kind) { in get() argument 49 return get(locale, kind, null); in get() 66 public Object get(ULocale locale, int kind, ULocale[] actualReturn) { in get() argument 67 Key key = createKey(locale, kind); in get() 107 public Factory registerObject(Object obj, ULocale locale, int kind) { in registerObject() argument 108 return registerObject(obj, locale, kind, true); in registerObject() 115 public Factory registerObject(Object obj, ULocale locale, int kind, boolean visible) { in registerObject() argument 116 Factory factory = new SimpleLocaleKeyFactory(obj, locale, kind, visible); in registerObject() 163 private int kind; field in ICULocaleService.LocaleKey 181 …tic LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID, int kind) { in createWithCanonicalFallback() argument [all …]
|
/external/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 43 assert tu_nodes[0].kind == CursorKind.STRUCT_DECL 54 assert s0_nodes[0].kind == CursorKind.FIELD_DECL 56 assert s0_nodes[0].type.kind == TypeKind.INT 57 assert s0_nodes[1].kind == CursorKind.FIELD_DECL 59 assert s0_nodes[1].type.kind == TypeKind.INT 61 assert tu_nodes[1].kind == CursorKind.STRUCT_DECL 66 assert tu_nodes[2].kind == CursorKind.FUNCTION_DECL 123 assert xs[0].kind == CursorKind.CLASS_DECL 125 assert cs[0].kind == CursorKind.CONSTRUCTOR 126 assert cs[1].kind == CursorKind.CONSTRUCTOR [all …]
|
/external/mockftpserver/branches/1.x_Branch/ |
D | .classpath | 2 <classpathentry kind="src" path="src/main/java"/> 3 <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/> 4 <classpathentry kind="src" path="src/test/java" output="target/test-classes"/> 5 …<classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.… 6 <classpathentry kind="output" path="target/classes"/> 7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 8 <classpathentry kind="var" path="M2_REPO/junit-addons/junit-addons/1.4/junit-addons-1.4.jar"/> 9 <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/> 10 <classpathentry kind="var" path="M2_REPO/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar"/> 11 …<classpathentry kind="var" path="M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon-framework-… [all …]
|
/external/mockftpserver/tags/1.0/ |
D | .classpath | 2 <classpathentry kind="src" path="src/main/java"/> 3 <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/> 4 <classpathentry kind="src" path="src/test/java" output="target/test-classes"/> 5 …<classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.… 6 <classpathentry kind="output" path="target/classes"/> 7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 8 <classpathentry kind="var" path="M2_REPO/junit-addons/junit-addons/1.4/junit-addons-1.4.jar"/> 9 <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/> 10 <classpathentry kind="var" path="M2_REPO/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar"/> 11 …<classpathentry kind="var" path="M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon-framework-… [all …]
|
/external/mockftpserver/tags/1.2.2/ |
D | .classpath | 2 <classpathentry kind="src" path="src/main/java"/> 3 <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/> 4 <classpathentry kind="src" path="src/test/java" output="target/test-classes"/> 5 …<classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.… 6 <classpathentry kind="output" path="target/classes"/> 7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 8 <classpathentry kind="var" path="M2_REPO/junit-addons/junit-addons/1.4/junit-addons-1.4.jar"/> 9 <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/> 10 <classpathentry kind="var" path="M2_REPO/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar"/> 11 …<classpathentry kind="var" path="M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon-framework-… [all …]
|