Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 7349) sorted by relevance

12345678910>>...294

/external/deqp-deps/SPIRV-Tools/test/opt/
Dtypes_test.cpp52 std::vector<std::unique_ptr<Type>> types; \
53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
54 for (size_t i = 0; i < types.size(); ++i) { \
55 for (size_t j = 0; j < types.size(); ++j) { \
56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \
57 << "expected '" << types[i]->str() << "' is the same as '" \
58 << types[j]->str() << "'"; \
59 EXPECT_TRUE(*types[i] == *types[j]) \
60 << "expected '" << types[i]->str() << "' is the same as '" \
61 << types[j]->str() << "'"; \
[all …]
Dtype_manager_test.cpp66 std::vector<std::unique_ptr<Type>> types; in GenerateAllTypes() local
69 types.emplace_back(new Void()); in GenerateAllTypes()
70 auto* voidt = types.back().get(); in GenerateAllTypes()
71 types.emplace_back(new Bool()); in GenerateAllTypes()
72 auto* boolt = types.back().get(); in GenerateAllTypes()
75 types.emplace_back(new Integer(32, true)); in GenerateAllTypes()
76 auto* s32 = types.back().get(); in GenerateAllTypes()
77 types.emplace_back(new Integer(32, false)); in GenerateAllTypes()
78 types.emplace_back(new Integer(64, true)); in GenerateAllTypes()
79 types.emplace_back(new Integer(64, false)); in GenerateAllTypes()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtypes_test.cpp52 std::vector<std::unique_ptr<Type>> types; \
53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
54 for (size_t i = 0; i < types.size(); ++i) { \
55 for (size_t j = 0; j < types.size(); ++j) { \
56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \
57 << "expected '" << types[i]->str() << "' is the same as '" \
58 << types[j]->str() << "'"; \
59 EXPECT_TRUE(*types[i] == *types[j]) \
60 << "expected '" << types[i]->str() << "' is the same as '" \
61 << types[j]->str() << "'"; \
[all …]
Dtype_manager_test.cpp66 std::vector<std::unique_ptr<Type>> types; in GenerateAllTypes() local
69 types.emplace_back(new Void()); in GenerateAllTypes()
70 auto* voidt = types.back().get(); in GenerateAllTypes()
71 types.emplace_back(new Bool()); in GenerateAllTypes()
72 auto* boolt = types.back().get(); in GenerateAllTypes()
75 types.emplace_back(new Integer(32, true)); in GenerateAllTypes()
76 auto* s32 = types.back().get(); in GenerateAllTypes()
77 types.emplace_back(new Integer(32, false)); in GenerateAllTypes()
78 types.emplace_back(new Integer(64, true)); in GenerateAllTypes()
79 types.emplace_back(new Integer(64, false)); in GenerateAllTypes()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dtypes_test.cpp52 std::vector<std::unique_ptr<Type>> types; \
53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
54 for (size_t i = 0; i < types.size(); ++i) { \
55 for (size_t j = 0; j < types.size(); ++j) { \
56 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \
57 << "expected '" << types[i]->str() << "' is the same as '" \
58 << types[j]->str() << "'"; \
59 EXPECT_TRUE(*types[i] == *types[j]) \
60 << "expected '" << types[i]->str() << "' is the same as '" \
61 << types[j]->str() << "'"; \
[all …]
/external/selinux/libsepol/tests/
Dtest-linker-types.c128 const char *types[2]; in base_type_tests() local
141 types[0] = "g_b_type_1"; in base_type_tests()
142 test_attr_types(base, "g_b_attr_1", NULL, types, 1); in base_type_tests()
150 types[0] = "o1_b_type_1"; in base_type_tests()
151 test_attr_types(base, "o1_b_attr_1", base->decl_val_to_struct[decls[0] - 1], types, 1); in base_type_tests()
166 const char *types[2]; in module_type_tests() local
185 types[0] = "g_m1_type_1"; in module_type_tests()
186 types[1] = "g_m1_type_2"; in module_type_tests()
187 test_attr_types(base, "g_m1_attr_1", NULL, types, 2); in module_type_tests()
195 types[0] = "o1_m1_type_2"; in module_type_tests()
[all …]
Dtest-linker-roles.c73 const char *types[2]; in base_role_tests() local
82 types[0] = "g_b_type_1"; in base_role_tests()
83 role = test_role_type_set(base, "g_b_role_1", NULL, types, 1, 0); in base_role_tests()
92 types[0] = "o1_b_type_1"; in base_role_tests()
93 role = test_role_type_set(base, "o1_b_role_1", decl, types, 1, 0); in base_role_tests()
103 const char *types[3]; in module_role_tests() local
113 types[0] = "g_m1_type_1"; in module_role_tests()
114 role = test_role_type_set(base, "g_m1_role_1", NULL, types, 1, 0); in module_role_tests()
123 types[0] = "o1_m1_type_1"; in module_role_tests()
124 role = test_role_type_set(base, "o1_m1_role_1", decl, types, 1, 0); in module_role_tests()
[all …]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DBinaryOp.java43 Rop rop(TypeList types) { in ADD() argument
44 return Rops.opAdd(types); in ADD()
51 Rop rop(TypeList types) { in SUBTRACT() argument
52 return Rops.opSub(types); in SUBTRACT()
59 Rop rop(TypeList types) { in MULTIPLY() argument
60 return Rops.opMul(types); in MULTIPLY()
67 Rop rop(TypeList types) { in DIVIDE() argument
68 return Rops.opDiv(types); in DIVIDE()
75 Rop rop(TypeList types) { in REMAINDER() argument
76 return Rops.opRem(types); in REMAINDER()
[all …]
DComparison.java31 Rop rop(TypeList types) { in LT() argument
32 return Rops.opIfLt(types); in LT()
39 Rop rop(TypeList types) { in LE() argument
40 return Rops.opIfLe(types); in LE()
47 Rop rop(TypeList types) { in EQ() argument
48 return Rops.opIfEq(types); in EQ()
55 Rop rop(TypeList types) { in GE() argument
56 return Rops.opIfGe(types); in GE()
63 Rop rop(TypeList types) { in GT() argument
64 return Rops.opIfGt(types); in GT()
[all …]
DTypeList.java28 final TypeId<?>[] types; field in TypeList
31 TypeList(TypeId<?>[] types) { in TypeList() argument
32 this.types = types.clone(); in TypeList()
33 this.ropTypes = new StdTypeList(types.length); in TypeList()
34 for (int i = 0; i < types.length; i++) { in TypeList()
35 ropTypes.set(i, types[i].ropType); in TypeList()
43 return Collections.unmodifiableList(Arrays.asList(types)); in asList()
48 return o instanceof TypeList && Arrays.equals(((TypeList) o).types, types); in equals()
53 return Arrays.hashCode(types); in hashCode()
59 for (int i = 0; i < types.length; i++) { in toString()
[all …]
/external/llvm-project/clang/lib/Driver/
DTypes.cpp21 using namespace clang::driver::types;
52 const char *types::getTypeName(ID Id) { in getTypeName()
56 types::ID types::getPreprocessedType(ID Id) { in getPreprocessedType()
68 types::ID types::getPrecompiledType(ID Id) { in getPrecompiledType()
76 const char *types::getTypeTempSuffix(ID Id, bool CLMode) { in getTypeTempSuffix()
93 bool types::onlyPrecompileType(ID Id) { in onlyPrecompileType()
98 bool types::canTypeBeUserSpecified(ID Id) { in canTypeBeUserSpecified()
99 static const clang::driver::types::ID kStaticLangageTypes[] = { in canTypeBeUserSpecified()
110 bool types::appendSuffixForType(ID Id) { in appendSuffixForType()
115 bool types::canLipoType(ID Id) { in canLipoType()
[all …]
/external/llvm/test/Assembler/
Ddisubroutinetype.ll13 ; CHECK: !4 = !DISubroutineType(types: !1)
14 ; CHECK: !5 = !DISubroutineType(types: !2)
15 ; CHECK: !6 = !DISubroutineType(types: !3)
16 ; CHECK: !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
17 !4 = !DISubroutineType(types: !1)
18 !5 = !DISubroutineType(types: !2)
19 !6 = !DISubroutineType(types: !3)
20 !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
22 ; CHECK: !8 = !DISubroutineType(types: null)
23 !8 = !DISubroutineType(types: null)
[all …]
/external/llvm-project/llvm/test/Assembler/
Ddisubroutinetype.ll13 ; CHECK: !4 = !DISubroutineType(types: !1)
14 ; CHECK: !5 = !DISubroutineType(types: !2)
15 ; CHECK: !6 = !DISubroutineType(types: !3)
16 ; CHECK: !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
17 !4 = !DISubroutineType(types: !1)
18 !5 = !DISubroutineType(types: !2)
19 !6 = !DISubroutineType(types: !3)
20 !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
22 ; CHECK: !8 = !DISubroutineType(types: null)
23 !8 = !DISubroutineType(types: null)
[all …]
/external/bsdiff/
Dbsdiff_arguments_unittest.cc12 std::set<CompressorType> types; in TEST() local
13 EXPECT_TRUE(BsdiffArguments::ParseCompressorTypes("Brotli", &types)); in TEST()
14 EXPECT_EQ(1U, types.size()); in TEST()
15 EXPECT_NE(types.end(), types.find(CompressorType::kBrotli)); in TEST()
17 types.clear(); in TEST()
19 EXPECT_TRUE(BsdiffArguments::ParseCompressorTypes("bz2", &types)); in TEST()
20 EXPECT_EQ(1U, types.size()); in TEST()
21 EXPECT_NE(types.end(), types.find(CompressorType::kBZ2)); in TEST()
23 types.clear(); in TEST()
25 EXPECT_FALSE(BsdiffArguments::ParseCompressorTypes("invalid", &types)); in TEST()
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_inference.py150 self.types = {
151 s: set(other_types) for s, other_types in init_from.types.items()
154 self.types = {}
157 if frozenset(self.types.keys()) != frozenset(other.types.keys()):
159 ret = all(self.types[s] == other.types[s] for s in self.types)
168 for s, other_types in other.types.items():
169 if s not in result.types:
171 result.types[s] = self_types
173 self_types = result.types[s]
178 return 'SymbolTable {}'.format(self.types)
[all …]
/external/clang/lib/Driver/
DTypes.cpp17 using namespace clang::driver::types;
39 const char *types::getTypeName(ID Id) { in getTypeName()
43 types::ID types::getPreprocessedType(ID Id) { in getPreprocessedType()
47 const char *types::getTypeTempSuffix(ID Id, bool CLMode) { in getTypeTempSuffix()
57 bool types::onlyAssembleType(ID Id) { in onlyAssembleType()
61 bool types::onlyPrecompileType(ID Id) { in onlyPrecompileType()
65 bool types::canTypeBeUserSpecified(ID Id) { in canTypeBeUserSpecified()
69 bool types::appendSuffixForType(ID Id) { in appendSuffixForType()
73 bool types::canLipoType(ID Id) { in canLipoType()
80 bool types::isAcceptedByClang(ID Id) { in isAcceptedByClang()
[all …]
/external/iptables/extensions/
Dlibip6t_mh.c75 mhinfo->types[1] = 0xFF; in mh_init()
105 static void parse_mh_types(const char *mhtype, uint8_t *types) in parse_mh_types() argument
112 types[0] = types[1] = name_to_type(buffer); in parse_mh_types()
117 types[0] = buffer[0] ? name_to_type(buffer) : 0; in parse_mh_types()
118 types[1] = cp[0] ? name_to_type(cp) : 0xFF; in parse_mh_types()
120 if (types[0] > types[1]) in parse_mh_types()
132 parse_mh_types(cb->arg, mhinfo->types); in mh_parse()
181 print_types(mhinfo->types[0], mhinfo->types[1], in mh_print()
193 if (mhinfo->types[0] == 0 && mhinfo->types[1] == 0xFF) in mh_save()
199 if (mhinfo->types[0] != mhinfo->types[1]) in mh_save()
[all …]
Dlibxt_sctp.t12 -p sctp -m sctp --chunk-types all DATA;=;OK
13 -p sctp -m sctp --chunk-types all INIT;=;OK
14 -p sctp -m sctp --chunk-types all INIT_ACK;=;OK
15 -p sctp -m sctp --chunk-types all SACK;=;OK
16 -p sctp -m sctp --chunk-types all HEARTBEAT;=;OK
17 -p sctp -m sctp --chunk-types all HEARTBEAT_ACK;=;OK
18 -p sctp -m sctp --chunk-types all ABORT;=;OK
19 -p sctp -m sctp --chunk-types all SHUTDOWN;=;OK
20 -p sctp -m sctp --chunk-types all SHUTDOWN_ACK;=;OK
21 -p sctp -m sctp --chunk-types all ERROR;=;OK
[all …]
/external/llvm-project/clang/lib/Tooling/
DInterpolatingCompilationDatabase.cpp65 namespace types = clang::driver::types;
92 types::ID guessType(StringRef Filename, bool *Certain = nullptr) { in guessType()
95 types::lookupTypeForExtension(path::extension(Filename).substr(1)); in guessType()
97 *Certain = Lang != types::TY_CHeader && Lang != types::TY_INVALID; in guessType()
103 static types::ID foldType(types::ID Lang) { in foldType()
105 case types::TY_C: in foldType()
106 case types::TY_CHeader: in foldType()
107 return types::TY_C; in foldType()
108 case types::TY_ObjC: in foldType()
109 case types::TY_ObjCHeader: in foldType()
[all …]
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DZoneInfoDataTest.java52 int[][] types = {}; in testMakeTimeZone_NoTypes() local
54 createZoneInfoData(transitions, types); in testMakeTimeZone_NoTypes()
65 int[][] types = { in testMakeTimeZone_OneType_NoTransitions() local
68 ZoneInfoData zoneInfoData = createZoneInfoData(transitions, types); in testMakeTimeZone_OneType_NoTransitions()
92 int[][] types = { in testReadTimeZone_OneNonDstTransition() local
95 ZoneInfoData zoneInfoData = createZoneInfoData(transitions, types); in testReadTimeZone_OneNonDstTransition()
115 int[][] types = { in testReadTimeZone_OneDstTransition() local
119 createZoneInfoData(transitions, types); in testReadTimeZone_OneDstTransition()
135 int[][] types = { in testReadTimeZone_NegativeTransition() local
140 ZoneInfoData zoneInfoData = createZoneInfoData(transitions, types); in testReadTimeZone_NegativeTransition()
[all …]
/external/autotest/client/cros/cellular/pseudomodem/
Dmodem_3gpp.py6 import dbus.types
34 return dbus.types.Struct(
35 [dbus.types.UInt32(1),
36 dbus.types.Boolean(True),
37 dbus.types.ByteArray(pco_data)],
79 'status': dbus.types.UInt32(self.status),
83 'access-technology': dbus.types.UInt32(self.access_technology),
102 self._cached_pco = dbus.types.Array([], "(ubay)")
112 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_GSM_UMTS),
113 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_LTE),
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DTypeListPool.java52 public void intern(@Nonnull Collection<? extends CharSequence> types) { in intern() argument
53 if (types.size() > 0) { in intern()
54 …tends Collection<? extends CharSequence>> key = new Key<Collection<? extends CharSequence>>(types); in intern()
57 for (CharSequence type: types) { in intern()
69 return typesKey.types; in getTypes()
73 if (key == null || key.types.size() == 0) { in getNullableItemOffset()
82 @Nonnull TypeCollection types; field in TypeListPool.Key
84 public Key(@Nonnull TypeCollection types) { in Key() argument
85 this.types = types; in Key()
91 for (CharSequence type: types) { in hashCode()
[all …]
/external/rust/crates/downcast-rs/src/
Dlib.rs223 types [$($forall_types),*]
239 types [$($forall_types),*]
248 (@impl_body $trait_:ident [$($types:tt)*]) => {
251 pub fn is<__T: $trait_<$($types)*>>(&self) -> bool {
257 pub fn downcast<__T: $trait_<$($types)*>>(
269 pub fn downcast_rc<__T: $trait_<$($types)*>>(
281 … pub fn downcast_ref<__T: $trait_<$($types)*>>(&self) -> $crate::__std::option::Option<&__T> {
287 …pub fn downcast_mut<__T: $trait_<$($types)*>>(&mut self) -> $crate::__std::option::Option<&mut __T…
292 (@impl_body_sync $trait_:ident [$($types:tt)*]) => {
296 pub fn downcast_arc<__T: $trait_<$($types)*>>(
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCommandDispatchData.h361 BYTE types[3]; member
368 /* offsetOfTypes */ offsetof(Startup_COMMAND_DESCRIPTOR_t, types),
393 BYTE types[3]; member
400 /* offsetOfTypes */ offsetof(Shutdown_COMMAND_DESCRIPTOR_t, types),
425 BYTE types[3]; member
432 /* offsetOfTypes */ offsetof(SelfTest_COMMAND_DESCRIPTOR_t, types),
458 BYTE types[4]; member
465 /* offsetOfTypes */ offsetof(IncrementalSelfTest_COMMAND_DESCRIPTOR_t, types),
492 BYTE types[4]; member
499 /* offsetOfTypes */ offsetof(GetTestResult_COMMAND_DESCRIPTOR_t, types),
[all …]
/external/auto/common/src/test/java/com/google/auto/common/
DMoreTypesTest.java64 Types types = compilationRule.getTypes(); in equivalence() local
80 types.getDeclaredType(mapElement, objectType, objectType); in equivalence()
83 types.getDeclaredType(setElement, types.getDeclaredType(setElement, objectType)); in equivalence()
85 types.getDeclaredType(setElement, types.getDeclaredType(setElement, stringType)); in equivalence()
86 DeclaredType setOfSetOfSetOfObject = types.getDeclaredType(setElement, setOfSetOfObject); in equivalence()
87 DeclaredType setOfSetOfSetOfString = types.getDeclaredType(setElement, setOfSetOfString); in equivalence()
88 WildcardType wildcard = types.getWildcardType(null, null); in equivalence()
89 DeclaredType containerOfObject = types.getDeclaredType(container, objectType); in equivalence()
90 DeclaredType containerOfString = types.getDeclaredType(container, stringType); in equivalence()
91 TypeMirror containedInObject = types.asMemberOf(containerOfObject, contained); in equivalence()
[all …]

12345678910>>...294