Home
last modified time | relevance | path

Searched full:types (Results 1 – 25 of 15517) sorted by relevance

12345678910>>...621

/external/bazel-skylib/tests/
Dtypes_tests.bzl14 """Unit tests for types.bzl."""
16 load("//lib:types.bzl", "types")
25 """Unit tests for types.is_string."""
29 asserts.true(env, types.is_string(""))
30 asserts.true(env, types.is_string("string"))
32 asserts.false(env, types.is_string(4))
33 asserts.false(env, types.is_string([1]))
34 asserts.false(env, types.is_string({}))
35 asserts.false(env, types.is_string(()))
36 asserts.false(env, types.is_string(True))
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dp5.cpp12 template<typename... Types>
14 typedef pair<Types..., int> expand_with_pacs; // okay
15 …typedef pair<Types, int...> expand_no_packs; // expected-error{{pack expansion does not contain a…
16 …typedef pair<pair<Types..., int>..., int> expand_with_expanded_nested; // expected-error{{pack exp…
21 template<typename ...Types>
25 …typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains paramet…
41 template<typename T, int N, typename ... Types>
43 …: public Types, public T // expected-error{{base type contains unexpanded parameter pack 'Types'}}
48 …typedef Types *types_pointer; // expected-error{{declaration type contains unexpanded parameter pa…
51 …typedef Types (^block_pointer_1)(int); // expected-error{{declaration type contains unexpanded par…
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dtypes_test.cpp15 #include "source/opt/types.h"
29 // Fixture class providing some element types.
42 // Element types to be used for constructing other types for testing.
52 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() << "'"; \
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtypes_test.cpp15 #include "source/opt/types.h"
29 // Fixture class providing some element types.
42 // Element types to be used for constructing other types for testing.
52 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() << "'"; \
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtypes_test.cpp15 #include "source/opt/types.h"
29 // Fixture class providing some element types.
42 // Element types to be used for constructing other types for testing.
52 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() << "'"; \
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/type_traits/
Dis_always_bitcastable.compile.pass.cpp55 types::for_each(Types1{}, []<class T>() { in check()
56 types::for_each(Types2{}, []<class U>() { in check()
69 // Arithmetic types. in test()
71 // Bit-castable arithmetic types. in test()
73 // 8-bit types. in test()
74 using integral_8 = types::type_list<char8_t, std::int8_t, std::uint8_t>; in test()
75 using chars = types::type_list<char, unsigned char, signed char>; in test()
77 check<true, types::concatenate_t<integral_8, chars>>(); in test()
83 // 16-bit types. in test()
84 using integral_16 = types::type_list<char16_t, std::int16_t, std::uint16_t>; in test()
[all …]
/external/clang/test/SemaCXX/
Dwarn-enum-compare.cpp68 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
69 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
70 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
72 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
73 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
74 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
76 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
77 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
78 …/ expected-warning {{comparison of two values with different enumeration types ('name1::Baz' and … in test()
80 …while (x == a); // expected-warning {{comparison of two values with different enumeration types (… in test()
[all …]
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCDatabaseMetaData.java512 String tableNamePattern, String types[]) in getTables() argument
528 if (types == null || types.length == 0) { in getTables()
533 for (int i = 0; i < types.length; i++) { in getTables()
536 sb.append(SQLite.Shell.sql_quote(types[i].toLowerCase())); in getTables()
623 int types[] = { in getColumns() local
624 Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, in getColumns()
625 Types.VARCHAR, Types.SMALLINT, Types.VARCHAR, in getColumns()
626 Types.INTEGER, Types.INTEGER, Types.INTEGER, in getColumns()
627 Types.INTEGER, Types.INTEGER, Types.VARCHAR, in getColumns()
628 Types.VARCHAR, Types.INTEGER, Types.INTEGER, in getColumns()
[all …]
/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/classinspectors/
DJvmDescriptorUtils.kt43 import javax.lang.model.util.Types
111 internal fun TypeMirror.descriptor(types: Types): String = in descriptor()
112 accept(JvmDescriptorTypeVisitor, types) in descriptor()
118 internal fun WildcardType.descriptor(types: Types): String = in descriptor()
119 types.erasure(this).descriptor(types) in descriptor()
125 internal fun TypeVariable.descriptor(types: Types): String = in descriptor()
126 types.erasure(this).descriptor(types) in descriptor()
132 internal fun ArrayType.descriptor(types: Types): String = in descriptor()
133 "[" + componentType.descriptor(types) in descriptor()
139 internal fun ExecutableType.descriptor(types: Types): String { in descriptor()
[all …]
/external/bazel-skylib/docs/
Dtypes_doc.md3 Skylib module containing functions checking types.
5 <a id="#types.is_list"></a>
7 ## types.is_list
10 types.is_list(<a href="#types.is_list-v">v</a>)
20 | <a id="types.is_list-v"></a>v | The value whose type should be checked. | none |
27 <a id="#types.is_string"></a>
29 ## types.is_string
32 types.is_string(<a href="#types.is_string-v">v</a>)
42 | <a id="types.is_string-v"></a>v | The value whose type should be checked. | none |
49 <a id="#types.is_bool"></a>
[all …]
/external/llvm/utils/
Dllvm.grm197 Types
200 | Types OptAddrSpace ^ "*"
203 | Types "(" ^ ArgTypeListI ^ ")" OptFuncAttrs
205 | "[" ^ EUINT64VAL "x" Types ^ "]"
206 | "<" ^ EUINT64VAL "x" Types ^ ">"
213 ArgType ::= Types OptParamAttrs ;
215 ResultTypes ::= Types | void ;
221 TypeListI ::= Types | TypeListI ^ "," Types ;
223 ConstVal::= Types "[" ^ ConstVector ^ "]"
224 | Types "[" ^ "]"
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_inference.py45 """Resolver objects handle the process of looking up actual names and types.
50 types
52 * specify types as a Set of inferred types
64 types_ns: types namespace
82 types_ns: types namespace
88 Set of the argument types.
97 types_ns: types namespace
99 f_type: types of the actual function being called, if known
100 args: types of each respective argument in node.args
101 keywords: types of each respective argument in node.keywords
[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/ms-tpm-20-ref/TPMCmd/tpm/include/
DCommandDispatchData.h65 // unmarshaling values in the types array of each command
246 // marshaling values in the types array of each command
331 // This list of aliases allows the types in the _COMMAND_DESCRIPTOR_T to match the
332 // types in the command/response templates of part 3.
361 BYTE types[3]; member
368 /* offsetOfTypes */ offsetof(Startup_COMMAND_DESCRIPTOR_t, types),
370 /* types */ {TPM_SU_P_UNMARSHAL,
393 BYTE types[3]; member
400 /* offsetOfTypes */ offsetof(Shutdown_COMMAND_DESCRIPTOR_t, types),
402 /* types */ {TPM_SU_P_UNMARSHAL,
[all …]
/external/armnn/third-party/mapbox/
Dvariant.hpp97 template <typename T, typename... Types>
100 template <typename T, typename First, typename... Types>
101 struct direct_type<T, First, Types...>
104 ? sizeof...(Types)
105 : direct_type<T, Types...>::index;
147 template <typename T, typename... Types>
150 template <typename T, typename First, typename... Types>
151 struct convertible_type<T, First, Types...>
154 ? disjunction<std::is_convertible<T, Types>...>::value ? invalid_value : sizeof...(Types)
155 : convertible_type<T, Types...>::index;
[all …]
/external/python/cpython3/Tools/c-analyzer/c_analyzer/
Danalyze.py31 def analyze_decl(decl, typespecs, knowntypespecs, types, knowntypes, *, argument
33 resolved = resolve_decl(decl, typespecs, knowntypespecs, types)
39 return analyze_resolved(resolved, decl, types, knowntypes)
45 def analyze_type_decls(types, analyze_decl, handle_unresolved=True): argument
46 unresolved = set(types)
53 types[decl] = IGNORED
62 types[decl] = UNKNOWN
67 # Handle direct recursive types first.
82 types[decl] = resolved
89 # Handle indirect recursive types.
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/reflect/
DTypeUtilsTest.java69 //raw types, where used, are used purposely
147 //raw types, where used, are used purposely
227 …public void delegateBooleanAssertion(final Type[] types, final int i2, final int i1, final boolean… in delegateBooleanAssertion() argument
228 final Type type1 = types[i1]; in delegateBooleanAssertion()
229 final Type type2 = types[i2]; in delegateBooleanAssertion()
303 final Type[] types = method.getGenericParameterTypes(); in testGetArrayComponentType() local
305 assertNull(TypeUtils.getArrayComponentType(types[0])); in testGetArrayComponentType()
306 assertNull(TypeUtils.getArrayComponentType(types[1])); in testGetArrayComponentType()
307 assertNull(TypeUtils.getArrayComponentType(types[2])); in testGetArrayComponentType()
308 assertNull(TypeUtils.getArrayComponentType(types[3])); in testGetArrayComponentType()
[all …]
/external/selinux/libsepol/tests/
Dtest-linker-types.c22 #include "test-linker-types.h"
33 /* Tests for types:
129 const char *types[2]; in base_type_tests() local
131 /* These tests look at types in the base only, the desire is to ensure that in base_type_tests()
132 * types are not destroyed or otherwise removed during the link process. in base_type_tests()
133 * if this happens these tests won't work anyway since we are using types to in base_type_tests()
142 types[0] = "g_b_type_1"; in base_type_tests()
143 test_attr_types(base, "g_b_attr_1", NULL, types, 1); in base_type_tests()
151 types[0] = "o1_b_type_1"; in base_type_tests()
152 test_attr_types(base, "o1_b_attr_1", base->decl_val_to_struct[decls[0] - 1], types, 1); in base_type_tests()
[all …]
/external/auto/common/src/test/java/com/google/auto/common/
DMoreTypesTest.java52 import javax.lang.model.util.Types;
66 Types types = compilationRule.getTypes(); in equivalence() local
82 types.getDeclaredType(mapElement, objectType, objectType); in equivalence()
85 types.getDeclaredType(setElement, types.getDeclaredType(setElement, objectType)); in equivalence()
87 types.getDeclaredType(setElement, types.getDeclaredType(setElement, stringType)); in equivalence()
88 DeclaredType setOfSetOfSetOfObject = types.getDeclaredType(setElement, setOfSetOfObject); in equivalence()
89 DeclaredType setOfSetOfSetOfString = types.getDeclaredType(setElement, setOfSetOfString); in equivalence()
90 WildcardType wildcard = types.getWildcardType(null, null); in equivalence()
91 DeclaredType containerOfObject = types.getDeclaredType(container, objectType); in equivalence()
92 DeclaredType containerOfString = types.getDeclaredType(container, stringType); in equivalence()
[all …]
/external/clang/lib/Driver/
DTypes.cpp1 //===--- Types.cpp - Driver input & temporary type information ------------===//
10 #include "clang/Driver/Types.h"
17 using namespace clang::driver::types;
29 #include "clang/Driver/Types.def"
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()
[all …]
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
DBUILD444 "@com_google_absl//absl/types:optional",
490 "@com_google_absl//absl/types:optional",
524 # types = [
544 types = [
556 types = [
567 types = [
578 types = [
594 types = [
607 types = [
619 types = [
[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/guava/guava-tests/test/com/google/common/reflect/
DTypesTest.java41 * Tests for {@link Types}.
51 Types.newParameterizedType(Entry.class, String.class, Integer.class); in testNewParameterizedType_ownerTypeImplied()
60 Types.newParameterizedType(HashMap.class, String.class, int[][].class); in testNewParameterizedType()
71 Arrays.asList(String.class, Types.newArrayType(Types.newArrayType(int.class))), in testNewParameterizedType()
79 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); in testNewParameterizedType_nonStaticLocalClass()
90 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); in doTestNewParameterizedType_staticLocalClass()
98 Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class, int[][].class); in testNewParameterizedTypeWithOwner()
116 Types.newParameterizedType(Entry.class, String.class, Integer.class)); in testNewParameterizedType_serializable()
121 Types.newParameterizedTypeWithOwner(Number.class, List.class, String.class); in testNewParameterizedType_ownerMismatch()
129 Types.newParameterizedType(Entry.class, String.class, Integer.class), in testNewParameterizedType_ownerMissing()
[all …]
/external/guava/android/guava-tests/test/com/google/common/reflect/
DTypesTest.java41 * Tests for {@link Types}.
51 Types.newParameterizedType(Entry.class, String.class, Integer.class); in testNewParameterizedType_ownerTypeImplied()
60 Types.newParameterizedType(HashMap.class, String.class, int[][].class); in testNewParameterizedType()
71 Arrays.asList(String.class, Types.newArrayType(Types.newArrayType(int.class))), in testNewParameterizedType()
79 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); in testNewParameterizedType_nonStaticLocalClass()
90 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); in doTestNewParameterizedType_staticLocalClass()
98 Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class, int[][].class); in testNewParameterizedTypeWithOwner()
116 Types.newParameterizedType(Entry.class, String.class, Integer.class)); in testNewParameterizedType_serializable()
121 Types.newParameterizedTypeWithOwner(Number.class, List.class, String.class); in testNewParameterizedType_ownerMismatch()
129 Types.newParameterizedType(Entry.class, String.class, Integer.class), in testNewParameterizedType_ownerMissing()
[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 …]

12345678910>>...621