Home
last modified time | relevance | path

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

12345678910>>...206

/external/deqp-deps/SPIRV-Tools/test/opt/
Dtypes_test.cpp51 std::vector<std::unique_ptr<Type>> types; \
52 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
53 for (size_t i = 0; i < types.size(); ++i) { \
54 for (size_t j = 0; j < types.size(); ++j) { \
55 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \
56 << "expected '" << types[i]->str() << "' is the same as '" \
57 << types[j]->str() << "'"; \
58 EXPECT_TRUE(*types[i] == *types[j]) \
59 << "expected '" << types[i]->str() << "' is the same as '" \
60 << 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.cpp51 std::vector<std::unique_ptr<Type>> types; \
52 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
53 for (size_t i = 0; i < types.size(); ++i) { \
54 for (size_t j = 0; j < types.size(); ++j) { \
55 EXPECT_TRUE(types[i]->IsSame(types[j].get())) \
56 << "expected '" << types[i]->str() << "' is the same as '" \
57 << types[j]->str() << "'"; \
58 EXPECT_TRUE(*types[i] == *types[j]) \
59 << "expected '" << types[i]->str() << "' is the same as '" \
60 << 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/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.c75 const char *types[2]; in base_role_tests() local
84 types[0] = "g_b_type_1"; in base_role_tests()
85 role = test_role_type_set(base, "g_b_role_1", NULL, types, 1, 0); in base_role_tests()
94 types[0] = "o1_b_type_1"; in base_role_tests()
95 role = test_role_type_set(base, "o1_b_role_1", decl, types, 1, 0); in base_role_tests()
105 const char *types[3]; in module_role_tests() local
115 types[0] = "g_m1_type_1"; in module_role_tests()
116 role = test_role_type_set(base, "g_m1_role_1", NULL, types, 1, 0); in module_role_tests()
125 types[0] = "o1_m1_type_1"; in module_role_tests()
126 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/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/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/swiftshader/third_party/llvm-7.0/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/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/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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DTypeBuilderTest.cpp61 (TypeBuilder<types::i<1>, true>::get(Context))); in TEST()
63 (TypeBuilder<types::i<1>, false>::get(Context))); in TEST()
65 (TypeBuilder<types::i<72>, true>::get(Context))); in TEST()
67 (TypeBuilder<types::i<72>, false>::get(Context))); in TEST()
78 (TypeBuilder<types::ieee_float, true>::get(Context))); in TEST()
80 (TypeBuilder<types::ieee_float, false>::get(Context))); in TEST()
82 (TypeBuilder<types::ieee_double, true>::get(Context))); in TEST()
84 (TypeBuilder<types::ieee_double, false>::get(Context))); in TEST()
86 (TypeBuilder<types::x86_fp80, true>::get(Context))); in TEST()
88 (TypeBuilder<types::x86_fp80, false>::get(Context))); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/unittests/Support/
DTypeBuilderTest.cpp52 …EXPECT_EQ(IntegerType::get(getGlobalContext(), 1), (TypeBuilder<types::i<1>, true>::get(getGlobalC… in TEST()
53 …EXPECT_EQ(IntegerType::get(getGlobalContext(), 1), (TypeBuilder<types::i<1>, false>::get(getGlobal… in TEST()
54 …EXPECT_EQ(IntegerType::get(getGlobalContext(), 72), (TypeBuilder<types::i<72>, true>::get(getGloba… in TEST()
55 …EXPECT_EQ(IntegerType::get(getGlobalContext(), 72), (TypeBuilder<types::i<72>, false>::get(getGlob… in TEST()
62 …EXPECT_EQ(Type::getFloatTy(getGlobalContext()), (TypeBuilder<types::ieee_float, true>::get(getGlob… in TEST()
63 …EXPECT_EQ(Type::getFloatTy(getGlobalContext()), (TypeBuilder<types::ieee_float, false>::get(getGlo… in TEST()
64 …EXPECT_EQ(Type::getDoubleTy(getGlobalContext()), (TypeBuilder<types::ieee_double, true>::get(getGl… in TEST()
65 …EXPECT_EQ(Type::getDoubleTy(getGlobalContext()), (TypeBuilder<types::ieee_double, false>::get(getG… in TEST()
66 …EXPECT_EQ(Type::getX86_FP80Ty(getGlobalContext()), (TypeBuilder<types::x86_fp80, true>::get(getGlo… in TEST()
67 …EXPECT_EQ(Type::getX86_FP80Ty(getGlobalContext()), (TypeBuilder<types::x86_fp80, false>::get(getGl… in TEST()
[all …]
/external/llvm/unittests/IR/
DTypeBuilderTest.cpp61 (TypeBuilder<types::i<1>, true>::get(Context))); in TEST()
63 (TypeBuilder<types::i<1>, false>::get(Context))); in TEST()
65 (TypeBuilder<types::i<72>, true>::get(Context))); in TEST()
67 (TypeBuilder<types::i<72>, false>::get(Context))); in TEST()
78 (TypeBuilder<types::ieee_float, true>::get(Context))); in TEST()
80 (TypeBuilder<types::ieee_float, false>::get(Context))); in TEST()
82 (TypeBuilder<types::ieee_double, true>::get(Context))); in TEST()
84 (TypeBuilder<types::ieee_double, false>::get(Context))); in TEST()
86 (TypeBuilder<types::x86_fp80, true>::get(Context))); in TEST()
88 (TypeBuilder<types::x86_fp80, false>::get(Context))); in TEST()
[all …]
/external/autotest/client/cros/cellular/pseudomodem/
Dmodem_cdma.py6 import dbus.types
84 'Sid' : dbus.types.UInt32(0),
85 'Nid' : dbus.types.UInt32(0),
87 dbus.types.UInt32(
90 dbus.types.UInt32(
92 'ActivationState' : dbus.types.UInt32(activation_state)
96 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_CDMA_EVDO)
99 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_CDMA_EVDO))
100 props['MaxBearers'] = dbus.types.UInt32(1)
101 props['MaxActiveBearers'] = dbus.types.UInt32(1)
[all …]
Dmodem_3gpp.py6 import dbus.types
54 'status': dbus.types.UInt32(self.status),
58 'access-technology': dbus.types.UInt32(self.access_technology),
91 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_GSM_UMTS),
92 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_LTE),
93 dbus.types.UInt32(
97 props['CurrentCapabilities'] = dbus.types.UInt32(
100 props['MaxBearers'] = dbus.types.UInt32(3)
101 props['MaxActiveBearers'] = dbus.types.UInt32(2)
103 props['AccessTechnologies'] = dbus.types.UInt32((
[all …]
/external/python/cpython3/Lib/test/
Dtest_types.py9 import types
580 self.assertIsInstance(object.__init__, types.WrapperDescriptorType)
581 self.assertIsInstance(object.__str__, types.WrapperDescriptorType)
582 self.assertIsInstance(object.__lt__, types.WrapperDescriptorType)
583 self.assertIsInstance(int.__lt__, types.WrapperDescriptorType)
586 self.assertIsInstance(object().__init__, types.MethodWrapperType)
587 self.assertIsInstance(object().__str__, types.MethodWrapperType)
588 self.assertIsInstance(object().__lt__, types.MethodWrapperType)
589 self.assertIsInstance((42).__lt__, types.MethodWrapperType)
592 self.assertIsInstance(str.join, types.MethodDescriptorType)
[all …]
/external/syzkaller/vendor/golang.org/x/text/unicode/bidi/
Dcore.go102 func newParagraph(types []Class, pairTypes []bracketType, pairValues []rune, levels level) *paragra…
103 validateTypes(types)
109 initialTypes: append([]Class(nil), types...),
115 resultTypes: append([]Class(nil), types...),
412 types []Class // type of each character using the index member
431 types := make([]Class, length)
433 types[i] = p.resultTypes[x]
447 lastType := types[length-1]
465 types: types,
484 for i, t := range s.types {
[all …]
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-objc-meta-data.test26 OBJC2_64BIT_EXE: types 0x100001b48 v16@0:8
29 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
68 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
71 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
150 OBJC2_64BIT_OBJ: types 0x102e v24@0:8@16
153 OBJC2_64BIT_OBJ: types 0x102e v24@0:8@16
231 OBJC2_32BIT_EXE: types 0x562b c16@0:4@8@12
234 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
237 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
240 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/X86/
Dmacho-objc-meta-data.test27 OBJC2_64BIT_EXE: types 0x100001b48 v16@0:8
30 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
69 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
72 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
151 OBJC2_64BIT_OBJ: types 0x102e v24@0:8@16
154 OBJC2_64BIT_OBJ: types 0x102e v24@0:8@16
232 OBJC2_32BIT_EXE: types 0x562b c16@0:4@8@12
235 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
238 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
241 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
[all …]

12345678910>>...206