| /external/bazel-skylib/tests/ |
| D | types_tests.bzl | 14 """Unit tests for types.bzl.""" 17 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/bazelbuild-rules_cc/cc/toolchains/variables/ |
| D | BUILD | 1 load("//cc/toolchains/impl:variables.bzl", "cc_builtin_variables", "cc_variable", "types") 11 type = types.directory, 17 type = types.option(types.file), 23 type = types.file, 29 type = types.option(types.list(types.file)), 35 type = types.option(types.list(types.directory)), 44 type = types.directory, 50 type = types.file, 56 type = types.file, 63 type = types.option(types.void), [all …]
|
| /external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
| D | p5.cpp | 12 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/spirv-tools/src/test/opt/ |
| D | types_test.cpp | 15 #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/ |
| D | types_test.cpp | 15 #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/ |
| D | types_test.cpp | 15 #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/third_party/libc++/src/test/libcxx/type_traits/ |
| D | is_always_bitcastable.compile.pass.cpp | 55 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/ |
| D | warn-enum-compare.cpp | 68 …/ 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/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/classinspectors/ |
| D | JvmDescriptorUtils.kt | 45 import javax.lang.model.util.Types 114 internal fun TypeMirror.descriptor(types: Types): String = in descriptor() 115 accept(JvmDescriptorTypeVisitor, types) in descriptor() 121 internal fun WildcardType.descriptor(types: Types): String = in descriptor() 122 types.erasure(this).descriptor(types) in descriptor() 128 internal fun TypeVariable.descriptor(types: Types): String = in descriptor() 129 types.erasure(this).descriptor(types) in descriptor() 135 internal fun ArrayType.descriptor(types: Types): String = in descriptor() 136 "[" + componentType.descriptor(types) in descriptor() 142 internal fun ExecutableType.descriptor(types: Types): String { in descriptor() [all …]
|
| /external/javasqlite/src/main/java/SQLite/JDBC2z/ |
| D | JDBCDatabaseMetaData.java | 512 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/bazel-skylib/docs/ |
| D | types_doc.md | 3 Skylib module containing functions checking types. 5 <a id="types.is_bool"></a> 7 ## types.is_bool 10 types.is_bool(<a href="#types.is_bool-v">v</a>) 20 | <a id="types.is_bool-v"></a>v | The value whose type should be checked. | none | 27 <a id="types.is_depset"></a> 29 ## types.is_depset 32 types.is_depset(<a href="#types.is_depset-v">v</a>) 42 | <a id="types.is_depset-v"></a>v | The value whose type should be checked. | none | 49 <a id="types.is_dict"></a> [all …]
|
| /external/llvm/utils/ |
| D | llvm.grm | 197 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/ |
| D | type_inference.py | 45 """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/ |
| D | macho-objc-meta-data.test | 26 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/bazelbuild-rules_python/gazelle/python/testdata/with_third_party_requirements_from_imports/ |
| D | gazelle_python.yaml | 218 google.cloud.aiplatform.compat.types: google_cloud_aiplatform 219 google.cloud.aiplatform.compat.types.__init__: google_cloud_aiplatform 322 google.cloud.aiplatform.v1.schema.predict.instance_v1.types: google_cloud_aiplatform 323 google.cloud.aiplatform.v1.schema.predict.instance_v1.types.__init__: google_cloud_aiplatform 324 …google.cloud.aiplatform.v1.schema.predict.instance_v1.types.image_classification: google_cloud_aip… 325 …google.cloud.aiplatform.v1.schema.predict.instance_v1.types.image_object_detection: google_cloud_a… 326 …google.cloud.aiplatform.v1.schema.predict.instance_v1.types.image_segmentation: google_cloud_aipla… 327 …google.cloud.aiplatform.v1.schema.predict.instance_v1.types.text_classification: google_cloud_aipl… 328 …google.cloud.aiplatform.v1.schema.predict.instance_v1.types.text_extraction: google_cloud_aiplatfo… 329 …google.cloud.aiplatform.v1.schema.predict.instance_v1.types.text_sentiment: google_cloud_aiplatform [all …]
|
| /external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
| D | CommandDispatchData.h | 65 // 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/python/cpython3/Tools/c-analyzer/c_analyzer/ |
| D | analyze.py | 31 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/armnn/third-party/mapbox/ |
| D | variant.hpp | 97 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/iptables/extensions/ |
| D | libxt_sctp.t | 12 -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/apache-commons-lang/src/test/java/org/apache/commons/lang3/reflect/ |
| D | TypeUtilsTest.java | 69 //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/ |
| D | test-linker-types.c | 22 #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/ |
| D | MoreTypesTest.java | 52 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/ |
| D | Types.cpp | 1 //===--- 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/skia/modules/canvaskit/npm_build/ |
| D | package.json | 15 "dtslint": "dtslint types" 17 "types": "./types/index.d.ts", string 20 "@webgpu/types": "0.1.21" 31 "types": "./types/index.d.ts" string 36 "types": "./types/index.d.ts" string 41 "types": "./types/index.d.ts" string 46 "types": "./types/index.d.ts" string 51 "types": "./types/index.d.ts" string 57 "types": "./types/index.d.ts" string 62 "types": "./types/index.d.ts" string [all …]
|
| /external/bsdiff/ |
| D | bsdiff_arguments_unittest.cc | 12 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 …]
|