Home
last modified time | relevance | path

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

12345678910>>...481

/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/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/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/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/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/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.py49 """Resolver objects handle the process of looking up actual names and types.
54 types
56 * specify types as a Set of inferred types
68 types_ns: types namespace
86 types_ns: types namespace
92 Set of the argument types.
101 types_ns: types namespace
103 f_type: types of the actual function being called, if known
104 args: types of each respective argument in node.args
105 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/ComputeLibrary/arm_compute/runtime/CL/functions/
DCLElementWiseUnaryLayer.h54 * @param[in] input Input tensor. Data types supported: F16/F32.
55 * @param[out] output Output tensor. Data types supported: same as @p input.
61 * @param[in] input Input tensor. Data types supported: F16/F32.
62 * @param[out] output Output tensor. Data types supported: same as @p input.
67 * @param[in] input First tensor input info. Data types supported: F16/F32.
68 * @param[in] output Output tensor info. Data types supported: Same as @p input.
100 * @param[in] input Input tensor. Data types supported: F16/F32.
101 * @param[out] output Output tensor. Data types supported: same as @p input.
107 * @param[in] input Input tensor. Data types supported: F16/F32.
108 * @param[out] output Output tensor. Data types supported: same as @p input.
[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/bazel-skylib/docs/
Dtypes_doc.md1 ## types.is_list
4 types.is_list(<a href="#types.is_list-v">v</a>)
17 <tr id="types.is_list-v">
30 ## types.is_string
33 types.is_string(<a href="#types.is_string-v">v</a>)
46 <tr id="types.is_string-v">
59 ## types.is_bool
62 types.is_bool(<a href="#types.is_bool-v">v</a>)
75 <tr id="types.is_bool-v">
88 ## types.is_none
[all …]
/external/armnn/third-party/mapbox/
Dvariant.hpp92 template <typename T, typename... Types>
95 template <typename T, typename First, typename... Types>
96 struct direct_type<T, First, Types...>
99 ? sizeof...(Types)
100 : direct_type<T, Types...>::index;
142 template <typename T, typename... Types>
145 template <typename T, typename First, typename... Types>
146 struct convertible_type<T, First, Types...>
149 ? disjunction<std::is_convertible<T, Types>...>::value ? invalid_value : sizeof...(Types)
150 : 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/tensorflow/tensorflow/core/kernels/mlir_generated/
DBUILD495 "@com_google_absl//absl/types:optional",
551 "@com_google_absl//absl/types:optional",
591 # types = [
602 types = [
613 types = [
624 types = [
636 types = [
649 types = [
661 types = [
678 types = [
[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/selinux/libsepol/tests/
Dtest-linker-types.c32 /* Tests for types:
128 const char *types[2]; in base_type_tests() local
130 /* These tests look at types in the base only, the desire is to ensure that in base_type_tests()
131 * types are not destroyed or otherwise removed during the link process. in base_type_tests()
132 * if this happens these tests won't work anyway since we are using types to in base_type_tests()
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
[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/ComputeLibrary/arm_compute/runtime/NEON/functions/
DNEElementwiseOperations.h27 #include "arm_compute/core/Types.h"
57 …* @param[in, out] input1 First tensor input. Data types supported: QASYMM8/QASYMM8_SIGNED/S16/F1…
58 * @param[in, out] input2 Second tensor input. Data types supported: Same as @p input1.
59 * @param[out] output Output tensor. Data types supported: Same as @p input1.
65 …* @param[in] input1 First tensor input info. Data types supported: QASYMM8/QASYMM8_SIGNED/S16/F1…
66 * @param[in] input2 Second tensor input info. Data types supported: Same as @p input1.
67 * @param[in] output Output tensor info. Data types supported: Same as @p input1.
104 …* @param[in, out] input1 First tensor input. Data types supported: QASYMM8/QASYMM8_SIGNED/S16/F1…
105 * @param[in, out] input2 Second tensor input. Data types supported: Same as @p input1.
106 * @param[out] output Output tensor. Data types supported: Same as @p input1.
[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/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/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/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DParcelableWrapper.java34 import javax.lang.model.util.Types;
73 Types types, Elements elements, Collection<TypeElement> customParcelableWrappers) { in createCustomParcelableWrappers() argument
76 addCustomParcelableWrappers(types, wrappers, customParcelableWrappers); in createCustomParcelableWrappers()
82 Types types, Elements elements, Collection<ExecutableElement> methods) { in createGlobalParcelableWrappers() argument
85 addDefaultParcelableWrappers(types, elements, wrappers); in createGlobalParcelableWrappers()
89 addGeneratedProtoParcelableWrappers(types, elements, wrappers, usedTypes); in createGlobalParcelableWrappers()
103 Collection<TypeMirror> types = new HashSet<>(); in extractReturnTypeAndParameters() local
104 types.add(method.getReturnType()); in extractReturnTypeAndParameters()
105 types.addAll(method.getParameters().stream().map(Element::asType).collect(toSet())); in extractReturnTypeAndParameters()
106 return types; in extractReturnTypeAndParameters()
[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>>...481