Home
last modified time | relevance | path

Searched refs:types (Results 1 - 25 of 4649) sorted by relevance

12345678910>>...186

/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A 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[
119 std::vector<std::unique_ptr<Type>> types; GenerateAllTypes() local
252 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
271 std::vector<std::unique_ptr<Integer>> types; TEST() local
282 std::vector<std::unique_ptr<Integer>> types; TEST() local
293 std::vector<std::unique_ptr<Float>> types; TEST() local
320 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
347 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); GenerateAllTypesWithDecorations() local
366 std::vector<std::unique_ptr<Type>> types = GenerateAllTypesWithDecorations(); TEST() local
376 std::vector<std::unique_ptr<Type>> types = GenerateAllTypesWithDecorations(); TEST() local
[all...]
H A 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 in GenerateAllTypes()
920 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
1085 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A 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[
119 std::vector<std::unique_ptr<Type>> types; GenerateAllTypes() local
252 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
271 std::vector<std::unique_ptr<Integer>> types; TEST() local
282 std::vector<std::unique_ptr<Integer>> types; TEST() local
293 std::vector<std::unique_ptr<Float>> types; TEST() local
320 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
347 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); GenerateAllTypesWithDecorations() local
366 std::vector<std::unique_ptr<Type>> types = GenerateAllTypesWithDecorations(); TEST() local
376 std::vector<std::unique_ptr<Type>> types = GenerateAllTypesWithDecorations(); TEST() local
[all...]
H A 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 in GenerateAllTypes()
920 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
1085 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
[all...]
/third_party/spirv-tools/test/opt/
H A 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[
119 std::vector<std::unique_ptr<Type>> types; GenerateAllTypes() local
256 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
336 std::vector<std::unique_ptr<Integer>> types; TEST() local
347 std::vector<std::unique_ptr<Integer>> types; TEST() local
358 std::vector<std::unique_ptr<Float>> types; TEST() local
385 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
407 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); GenerateAllTypesWithDecorations() local
426 std::vector<std::unique_ptr<Type>> types = GenerateAllTypesWithDecorations(); TEST() local
436 std::vector<std::unique_ptr<Type>> types = GenerateAllTypesWithDecorations(); TEST() local
[all...]
H A 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 in GenerateAllTypes()
944 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
1119 std::vector<std::unique_ptr<Type>> types = GenerateAllTypes(); TEST() local
[all...]
/third_party/rust/crates/rustix/src/termios/
H A Dconstants.rs12 pub use backend::termios::types::B1000000;
23 pub use backend::termios::types::B1152000;
34 pub use backend::termios::types::B1500000;
45 pub use backend::termios::types::B2000000;
58 pub use backend::termios::types::B2500000;
71 pub use backend::termios::types::B3000000;
84 pub use backend::termios::types::B3500000;
97 pub use backend::termios::types::B4000000;
105 pub use backend::termios::types::B460800;
117 pub use backend::termios::types
[all...]
/third_party/selinux/libsepol/tests/
H A 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, in base_type_tests()
167 const char *types[2]; module_type_tests() local
[all...]
H A Dtest-linker-roles.c51 * - role a and b in base, b dom a, are types correct (TODO)
74 const char *types[2]; in base_role_tests() local
83 types[0] = "g_b_type_1"; in base_role_tests()
84 role = test_role_type_set(base, "g_b_role_1", NULL, types, 1, 0); in base_role_tests()
93 types[0] = "o1_b_type_1"; in base_role_tests()
94 role = test_role_type_set(base, "o1_b_role_1", decl, types, 1, 0); in base_role_tests()
104 const char *types[3]; in module_role_tests() local
114 types[0] = "g_m1_type_1"; in module_role_tests()
115 role = test_role_type_set(base, "g_m1_role_1", NULL, types, 1, 0); in module_role_tests()
124 types[ in module_role_tests()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DimportEquals1.js7 import type * as types from './a';
8 export = types; // Error
11 import * as types from './a';
12 export = types;
15 import types from './b';
16 new types.A(); // Error
19 import types = require('./b');
20 new types.A(); // Error
23 import * as types from './b';
24 new types
69 var types = __importStar(require("./a")); global() variable
[all...]
H A DexportDefault.js7 import type * as types from './a';
8 export default types;
11 import * as types from './a';
12 export default types;
15 import types from './b';
16 new types.A(); // Error
19 import types = require('./b');
20 new types.A(); // Error
23 import * as types from './b';
24 new types
71 var types = __importStar(require("./a")); global() variable
80 var types = require("./b"); global() variable
108 var types = __importStar(require("./b")); global() variable
[all...]
H A DimportClause_namespaceImport.js10 import type * as types from './a';
11 types;
12 types.Value;
13 let v: types.Value;
14 const a: types.A = {};
15 const b: types.B = {};
16 const c: types.C<string> = "";
17 const d = { types };
40 types;
41 types
[all...]
H A DnestedNamespace.js4 export namespace types {
10 interface B extends a.types.A {}
16 exports.types = void 0;
17 var types; variable
18 (function (types) {
24 types.A = A;
25 })(types = exports.types || (exports.types = {}));
H A Dchained2.js13 import * as types from './b';
14 export { types as default };
17 import types from './c';
18 new types.A();
19 new types.B();
20 const a: types.A = {};
21 const b: types.B = {};
39 var types = require("./b"); variable
40 exports["default"] = types;
/third_party/node/test/parallel/
H A Dtest-util-types.js5 const { types, inspect } = require('util');
53 assert(method in types, `Missing ${method} for ${inspect(value)}`);
54 assert(types[method](value), `Want ${inspect(value)} to match ${method}`);
56 for (const key of Object.keys(types)) {
57 if ((types.isArrayBufferView(value) ||
58 types.isAnyArrayBuffer(value)) && key.includes('Array') ||
63 assert.strictEqual(types[key](value),
66 `${method}, ${types[key](value)}`);
77 ].forEach((entry) => assert(types.isBoxedPrimitive(entry)));
80 assert(!types
[all...]
/third_party/python/Tools/c-analyzer/c_analyzer/
H A Danalyze.py31 def analyze_decl(decl, typespecs, knowntypespecs, types, knowntypes, *,
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):
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...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fAttribLocationTests.cpp42 const AttribType types[] = in createAttributeLocationTests() local
96 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in createAttributeLocationTests()
98 const AttribType& type = types[typeNdx]; in createAttributeLocationTests()
109 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in createAttributeLocationTests()
111 const AttribType& type = types[typeNdx]; in createAttributeLocationTests()
129 // For types which occupy more than one location. Alias second location. in createAttributeLocationTests()
147 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in createAttributeLocationTests()
149 const AttribType& type = types[typeNdx]; in createAttributeLocationTests()
175 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(types); typeNdx++) in createAttributeLocationTests()
177 const AttribType& type = types[typeNd in createAttributeLocationTests()
[all...]
/third_party/python/Lib/test/
H A Dtest_types.py1 # Python test set -- part 6, built-in types
12 import types namespace
98 # calling built-in types without argument must return 0
528 # presentation types
595 self.assertIsInstance(object.__init__, types.WrapperDescriptorType)
596 self.assertIsInstance(object.__str__, types.WrapperDescriptorType)
597 self.assertIsInstance(object.__lt__, types.WrapperDescriptorType)
598 self.assertIsInstance(int.__lt__, types.WrapperDescriptorType)
607 self.assertIsInstance(object().__init__, types.MethodWrapperType)
608 self.assertIsInstance(object().__str__, types
[all...]
H A Dtest_asdl_parser.py45 self.types = self.mod.types
49 self.assertIn('stmt', self.types)
50 self.assertIn('expr', self.types)
51 self.assertIn('mod', self.types)
58 self.assertIsInstance(self.types['withitem'], self.asdl.Product)
59 self.assertIsInstance(self.types['alias'], self.asdl.Product)
62 alias = self.types['alias']
70 stmt = self.types['stmt']
78 ehandler = self.types['excepthandle
[all...]
/third_party/mesa3d/src/vulkan/util/
H A Dvk_cmd_queue_gen.py232 ${get_struct_free(c, p, types)}
266 ${get_struct_copy("cmd->u.%s.%s" % (to_struct_field_name(c.name), to_field_name(p.name)), p.name, p.type, 'sizeof(%s)' % p.type, types)}
441 def get_pnext_member_copy(struct, src_type, member, types, level):
442 if not types[src_type].extended_by:
447 for type in types[src_type].extended_by:
452 """ % (type.enum, get_struct_copy(field_name, "pnext", type.name, "sizeof(%s)" % type.name, types, level))
462 def get_struct_copy(dst, src_name, src_type, size, types, level=0):
474 if src_type in types:
475 for member in types[src_type].members:
479 member_copies += get_pnext_member_copy("tmp_dst%d" % level, src_type, member, types, leve
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DTypeRegistry.java44 * message types used in Any message fields.
67 return types.get(name); in find()
79 private final Map<String, Descriptor> types; field in TypeRegistry
81 TypeRegistry(Map<String, Descriptor> types) { in TypeRegistry() argument
82 this.types = types; in TypeRegistry()
98 * Adds a message type and all types defined in the same .proto file as well as all transitively
102 if (types == null) { in add()
110 * Adds message types and all types define
158 private Map<String, Descriptor> types = new HashMap<>(); global() field in TypeRegistry.Builder
[all...]
/third_party/node/test/async-hooks/
H A Dinit-hooks.js64 sanityCheck(types) {
65 if (types != null && !Array.isArray(types)) types = [ types ];
77 if (types != null && !types.includes(a.type)) continue;
128 if (typeof opts === 'string') opts = { types: opts };
129 const { types = null, depth = 5, stage = null } = opts;
130 const activities = types
[all...]
/third_party/musl/porting/uniproton/kernel/src/time/
H A D__tz.c40 static const unsigned char *zi, *trans, *index_local, *types, *abbrevs, *abbrevs_end; variable
75 if (local) off = (int32_t)zi_read32(types + 6 * index_local[m-1]); in scan_trans()
92 if (local) off = (int32_t)zi_read32(types + 6 * index_local[a-1]); in scan_trans()
94 for (a=0; a<(abbrevs-types)/6; a++) { in scan_trans()
95 if (types[6*a+4] != types[4]) break; in scan_trans()
97 if (a == (abbrevs-types)/6) a = 0; in scan_trans()
98 if (types[6*a+4]) { in scan_trans()
110 if (a && types[6*index_local[a-1]+4] != types[ in scan_trans()
[all...]
/third_party/musl/porting/liteos_m/kernel/src/time/
H A D__tz.c40 static const unsigned char *zi, *trans, *index_local, *types, *abbrevs, *abbrevs_end; variable
75 if (local) off = (int32_t)zi_read32(types + 6 * index_local[m-1]); in scan_trans()
92 if (local) off = (int32_t)zi_read32(types + 6 * index_local[a-1]); in scan_trans()
94 for (a=0; a<(abbrevs-types)/6; a++) { in scan_trans()
95 if (types[6*a+4] != types[4]) break; in scan_trans()
97 if (a == (abbrevs-types)/6) a = 0; in scan_trans()
98 if (types[6*a+4]) { in scan_trans()
110 if (a && types[6*index_local[a-1]+4] != types[ in scan_trans()
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Da_mbstr.c29 * of permissible ASN1 string types. It then works out the minimal type
277 unsigned long types = *((unsigned long *)arg); in type_str() local
280 if ((types & B_ASN1_NUMERICSTRING) && !(ossl_isdigit(native) in type_str()
282 types &= ~B_ASN1_NUMERICSTRING; in type_str()
283 if ((types & B_ASN1_PRINTABLESTRING) && !ossl_isasn1print(native)) in type_str()
284 types &= ~B_ASN1_PRINTABLESTRING; in type_str()
285 if ((types & B_ASN1_IA5STRING) && !ossl_isascii(native)) in type_str()
286 types &= ~B_ASN1_IA5STRING; in type_str()
287 if ((types & B_ASN1_T61STRING) && (value > 0xff)) in type_str()
288 types in type_str()
[all...]

Completed in 11 milliseconds

12345678910>>...186