/external/libmojo/mojo/public/tools/bindings/generators/ |
D | mojom_cpp_generator.py | 108 return ExpressionToText(constant.value, kind=constant.kind) 114 if mojom.IsStructKind(field.kind): 116 if not IsTypemappedKind(field.kind): 117 return "%s::New()" % GetNameForKind(field.kind) 118 return ExpressionToText(field.default, kind=field.kind) 120 if mojom.IsArrayKind(field.kind) or mojom.IsMapKind(field.kind): 122 if mojom.IsStringKind(field.kind): 129 def GetNameForKind(kind, internal=False): argument 130 return _NameFormatter(kind, _variant).FormatForCpp(internal=internal) 132 def GetQualifiedNameForKind(kind, internal=False): argument [all …]
|
D | mojom_js_generator.py | 39 def JavaScriptType(kind): argument 40 if kind.imported_from: 41 return kind.imported_from["unique_name"] + "." + kind.name 42 return kind.name 47 if mojom.IsStructKind(field.kind): 49 return "new %s()" % JavaScriptType(field.kind) 51 if field.kind in mojom.PRIMITIVES: 52 return _kind_to_javascript_default_value[field.kind] 53 if mojom.IsStructKind(field.kind): 55 if mojom.IsUnionKind(field.kind): [all …]
|
D | mojom_java_generator.py | 122 return GetNameForElement(element.kind) 146 def GetArrayNullabilityFlags(kind): argument 153 assert mojom.IsArrayKind(kind) 162 if mojom.IsNullableKind(kind): 164 if mojom.IsNullableKind(kind.kind): 172 def AppendEncodeDecodeParams(initial_params, context, kind, bit): argument 175 if (kind == mojom.BOOL): 177 if mojom.IsReferenceKind(kind): 178 if mojom.IsArrayKind(kind): 179 params.append(GetArrayNullabilityFlags(kind)) [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/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 326 def AddField(self, name, kind, ordinal=None, default=None, attributes=None): argument 327 field = StructField(name, kind, ordinal, default, attributes) 371 def AddField(self, name, kind, ordinal=None, attributes=None): argument 372 field = UnionField(name, kind, ordinal, None, attributes) 388 def __init__(self, kind=None, length=None): argument 389 if kind is not None: [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/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 …]
|
D | index-decls.m | 59 // CHECK: [indexDeclaration]: kind: objc-class | name: I | {{.*}} | loc: 1:12 60 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: prop | {{.*}} | loc: 3:2 61 // CHECK: [indexDeclaration]: kind: objc-property | name: prop | {{.*}} | loc: 2:25 62 // CHECK: [indexDeclaration]: kind: objc-category | name: | {{.*}} | loc: 6:12 63 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: setProp: | {{.*}} | loc: 7:33 64 // CHECK: [indexDeclaration]: kind: objc-property | name: prop | {{.*}} | loc: 7:33 66 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _prop | {{.*}} | loc: 11:20 67 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: prop | {{.*}} | loc: 11:13 | {{.*}… 68 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: setProp: | {{.*}} | loc: 11:13 | {… 70 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 20:33 [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/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/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/mockftpserver/tags/1.1/ |
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/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.2.1/ |
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.3/ |
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/ |
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 …]
|
/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.4/ |
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/libmojo/mojo/public/tools/bindings/generators/cpp_templates/ |
D | struct_data_view_definition.tmpl | 9 {%- set kind = pf.field.kind -%} 11 {%- if kind|is_struct_kind or kind|is_array_kind or kind|is_string_kind or 12 kind|is_map_kind %} 15 {%- elif kind|is_enum_kind %} 16 {{kind|get_qualified_name_for_kind}} {{struct.name}}DataView::{{name}}() const { 19 return {{kind|get_qualified_name_for_kind}}{}; 21 return static_cast<{{kind|get_qualified_name_for_kind}}>(data_->{{name}}); 24 {%- elif kind|is_union_kind %} 26 {{kind|cpp_wrapper_type}}* value) { 33 return mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>( [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/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/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 …]
|