Home
last modified time | relevance | path

Searched refs:types (Results 101 - 125 of 5392) sorted by relevance

12345678910>>...216

/third_party/rust/crates/cxx/macro/src/syntax/
H A Dtoposort.rs10 pub fn sort<'a>(cx: &mut Errors, apis: &'a [Api], types: &Types<'a>) -> Vec<&'a Struct> { in sort()
15 let _ = visit(cx, strct, &mut sorted, marks, types); in sort()
26 types: &Types<'a>, in visit()
40 if let Some(inner) = types.structs.get(&ident.rust) { in visit()
41 if visit(cx, inner, sorted, marks, types).is_err() { in visit()
H A Dtypes.rs193 // All these APIs may contain types passed by value. We need to ensure
200 let mut types = Types { variables
215 types.toposorted_structs = toposort::sort(cx, apis, &types);
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[ident].fields {
224 if match types.determine_improper_ctype(&var.ty) {
227 types.struct_improper_ctypes.contains(inner)
231 types.struct_improper_ctypes.insert(ident);
241 types
[all...]
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/
H A Dutil.test.js7189 let proc = new util.types();
7203 let proc = new util.types();
7217 let proc = new util.types();
7231 let proc = new util.types();
7246 let proc = new util.types();
7262 let proc = new util.types();
7278 let proc = new util.types();
7294 let proc = new util.types();
7310 let proc = new util.types();
7326 let proc = new util.types();
[all...]
/third_party/typescript/tests/baselines/reference/
H A DpartialDiscriminatedUnionMemberHasGoodError.js15 types: ValidType[];
21 types: [{
29 types: [{
/third_party/rust/crates/rustix/src/process/
H A Dexit.rs13 pub const EXIT_SUCCESS: i32 = backend::process::types::EXIT_SUCCESS;
25 pub const EXIT_FAILURE: i32 = backend::process::types::EXIT_FAILURE;
34 pub const EXIT_SIGNALED_SIGABRT: i32 = backend::process::types::EXIT_SIGNALED_SIGABRT;
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_module_test.cpp254 std::vector<uint32_t> types; in DumpImageInfo() local
257 GetImageComponentTypes(image, &types) != IMAGE_SUCCESS) { in DumpImageInfo()
263 IMG_TST_LOGI("Get %{public}lu components.", static_cast<unsigned long>(types.size())); in DumpImageInfo()
264 for (uint32_t i = 0; i < types.size(); i++) { in DumpImageInfo()
269 if (GetImageByteBuffer(image, types[i], &nativeBuffer) != IMAGE_SUCCESS || in DumpImageInfo()
270 GetImageBufferSize(image, types[i], &bufferSize) != IMAGE_SUCCESS || in DumpImageInfo()
271 GetImageRowStride(image, types[i], &rowStride) != IMAGE_SUCCESS || in DumpImageInfo()
272 GetImagePixelStride(image, types[i], &pixelStride) != IMAGE_SUCCESS) { in DumpImageInfo()
278 types[i], nativeBuffer, static_cast<unsigned long>(bufferSize), rowStride, pixelStride); in DumpImageInfo()
353 Image_ErrorCode ImageReceiverModuleTest::GetImageComponentTypes(OH_ImageNative *image, std::vector<uint32_t> *types) in GetImageComponentTypes() argument
[all...]
/third_party/selinux/libsepol/src/
H A Doptimize.c40 uint32_t *types; member
48 v->types = calloc(v->capacity, sizeof(*v->types)); in type_vec_init()
49 if (!v->types) in type_vec_init()
56 free(v->types); in type_vec_destroy()
63 uint32_t *new_types = reallocarray(v->types, in type_vec_append()
65 sizeof(*v->types)); in type_vec_append()
69 v->types = new_types; in type_vec_append()
73 v->types[v->count++] = type; in type_vec_append()
84 if (v->types[mi in type_vec_contains()
[all...]
/foundation/ability/ability_lite/interfaces/kits/js/napi/
H A Djs_aafwk.cpp51 napi_valuetype types[1];
52 status = napi_typeof(env, args[0], types);
54 assert(argc == 1 && types[0] == napi_object);
75 napi_valuetype types[1];
76 status = napi_typeof(env, args[0], types);
78 assert(argc == 1 && types[0] == napi_object);
/third_party/node/deps/v8/src/wasm/
H A Dcanonical-types.cc5 #include "src/wasm/canonical-types.h"
21 DCHECK_GE(module->types.size(), size); in AddRecursiveGroup()
22 uint32_t start_index = static_cast<uint32_t>(module->types.size()) - size; in AddRecursiveGroup()
24 group.types.resize(size); in AddRecursiveGroup()
26 group.types[i] = CanonicalizeTypeDef(module, module->types[start_index + i], in AddRecursiveGroup()
31 // Identical group found. Map new types to the old types's canonical in AddRecursiveGroup()
39 // types. in AddRecursiveGroup()
44 CanonicalType& canonical_type = group.types[ in AddRecursiveGroup()
[all...]
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder_ident_expression_test.cc38 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F()
60 EXPECT_EQ(DumpInstructions(b.types()), R"(%3 = OpTypeFloat 32 in TEST_F()
82 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F()
103 EXPECT_EQ(DumpInstructions(b.types()), R"(%3 = OpTypeFloat 32 in TEST_F()
129 EXPECT_EQ(DumpInstructions(b.types()), R"(%3 = OpTypeInt 32 1 in TEST_F()
154 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeInt 32 1 in TEST_F()
H A Dbuilder_binary_expression_test.cc50 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeInt 32 1 in TEST_P()
79 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeInt 32 1 in TEST_P()
103 EXPECT_EQ(DumpInstructions(b.types()), R"(%3 = OpTypeInt 32 1 in TEST_P()
146 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeInt 32 0 in TEST_P()
174 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeInt 32 0 in TEST_P()
213 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeFloat 32 in TEST_P()
236 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_P()
269 EXPECT_EQ(DumpInstructions(b.types()), R"(%1 = OpTypeBool in TEST_P()
292 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeBool in TEST_P()
326 EXPECT_EQ(DumpInstructions(b.types()), in TEST_P()
[all...]
H A Dbuilder_unary_op_expression_test.cc33 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeInt 32 1 in TEST_F()
50 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeFloat 32 in TEST_F()
67 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeInt 32 1 in TEST_F()
83 EXPECT_EQ(DumpInstructions(b.types()), R"(%2 = OpTypeBool in TEST_F()
105 EXPECT_EQ(DumpInstructions(b.types()), R"(%4 = OpTypeFloat 32 in TEST_F()
/third_party/typescript/tests/baselines/reference/tscWatch/incremental/
H A Dediting-module-augmentation-incremental.js20 //// [/users/username/projects/project/src/types/classnames.d.ts]
34 Program root files: ["/users/username/projects/project/src/index.ts","/users/username/projects/project/src/types/classnames.d.ts"]
41 /users/username/projects/project/src/types/classnames.d.ts
47 /users/username/projects/project/src/types/classnames.d.ts
53 /users/username/projects/project/src/types/classnames.d.ts (used version)
71 {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;","-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]],"exportedModulesMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"}
80 "./src/types/classnames.d.ts"
85 "./src/types/classnames.d.ts"
105 "./src/types/classnames.d.ts": {
116 "./src/types/classname
[all...]
/third_party/typescript/tests/baselines/reference/tsbuildWatch/noEmitOnError/
H A Ddoes-not-emit-any-files-on-error.js11 //// [/user/username/projects/noEmitOnError/shared/types/db.ts]
17 import { A } from "../shared/types/db";
50 [12:00:33 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/shared/types/db.js' does not exist
63 Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"]
68 /user/username/projects/noEmitOnError/shared/types/db.ts
81 /user/username/projects/noemitonerror/shared/types/db.ts:
104 [12:00:40 AM] Project 'tsconfig.json' is out of date because output file 'dev-build/shared/types/db.js' does not exist
117 Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"]
122 /user/username/projects/noEmitOnError/shared/types/db.ts
135 /user/username/projects/noemitonerror/shared/types/d
[all...]
H A Ddoes-not-emit-any-files-on-error-with-incremental.js11 //// [/user/username/projects/noEmitOnError/shared/types/db.ts]
17 import { A } from "../shared/types/db";
63 Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"]
68 /user/username/projects/noEmitOnError/shared/types/db.ts
81 /user/username/projects/noemitonerror/shared/types/db.ts:
95 {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-9621097780-export interface A {\r\n name: string;\r\n}","signature":false},{"version":"2626879346-import { A } from \"../shared/types/db\";\r\nconst a = {\r\n lastName: 'sdsd'\r\n;","signature":false},{"version":"11373096570-console.log(\"hi\");\r\nexport { }","signature":false}],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"}
102 "../shared/types/db.ts",
108 "../shared/types/db.ts"
116 "../shared/types/d
[all...]
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dtypes.rs193 // All these APIs may contain types passed by value. We need to ensure
200 let mut types = Types { variables
215 types.toposorted_structs = toposort::sort(cx, apis, &types);
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[ident].fields {
224 if match types.determine_improper_ctype(&var.ty) {
227 types.struct_improper_ctypes.contains(inner)
231 types.struct_improper_ctypes.insert(ident);
241 types
[all...]
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dtypes.rs193 // All these APIs may contain types passed by value. We need to ensure
200 let mut types = Types { variables
215 types.toposorted_structs = toposort::sort(cx, apis, &types);
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[ident].fields {
224 if match types.determine_improper_ctype(&var.ty) {
227 types.struct_improper_ctypes.contains(inner)
231 types.struct_improper_ctypes.insert(ident);
241 types
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dtypes.rs193 // All these APIs may contain types passed by value. We need to ensure
200 let mut types = Types { variables
215 types.toposorted_structs = toposort::sort(cx, apis, &types);
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[ident].fields {
224 if match types.determine_improper_ctype(&var.ty) {
227 types.struct_improper_ctypes.contains(inner)
231 types.struct_improper_ctypes.insert(ident);
241 types
[all...]
/third_party/rust/crates/cxx/syntax/
H A Dtypes.rs193 // All these APIs may contain types passed by value. We need to ensure
200 let mut types = Types { variables
215 types.toposorted_structs = toposort::sort(cx, apis, &types);
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[ident].fields {
224 if match types.determine_improper_ctype(&var.ty) {
227 types.struct_improper_ctypes.contains(inner)
231 types.struct_improper_ctypes.insert(ident);
241 types
[all...]
/third_party/python/Lib/
H A Dcopy.py41 This version does not copy types like module, class, function, method,
43 similar types.
51 import types namespace
111 types.BuiltinFunctionType, type(Ellipsis), type(NotImplemented),
112 types.FunctionType, weakref.ref):
114 t = getattr(types, "CodeType", None)
193 d[types.CodeType] = _deepcopy_atomic
196 d[types.BuiltinFunctionType] = _deepcopy_atomic
197 d[types.FunctionType] = _deepcopy_atomic
239 d[types
[all...]
/third_party/selinux/libsepol/tests/
H A Dtest-common.c187 role_datum_t *test_role_type_set(policydb_t * p, const char *id, avrule_decl_t * decl, const char **types, unsigned int len, unsigned int flags) in test_role_type_set() argument
203 ebitmap_for_each_positive_bit(&role->types.types, tnode, i) { in test_role_type_set()
206 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) { in test_role_type_set()
212 printf("\nRole %s had type %s not in types array\n", in test_role_type_set()
219 printf("\nrole %s has %d types, %d expected\n", p->sym_val_to_name[SYM_ROLES][role->s.value - 1], found, len); in test_role_type_set()
221 CU_ASSERT(role->types.negset.highbit == 0); in test_role_type_set()
222 CU_ASSERT(role->types.flags == flags); in test_role_type_set()
227 void test_attr_types(policydb_t * p, const char *id, avrule_decl_t * decl, const char **types, int len) in test_attr_types() argument
248 ebitmap_for_each_positive_bit(&attr->types, tnod in test_attr_types()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_gather_ssa_types.c55 BITSET_WORD *types, bool *progress) in copy_type()
57 if (!types) in copy_type()
60 if (BITSET_TEST(types, dst)) { in copy_type()
61 if (BITSET_TEST(types, src)) in copy_type()
63 BITSET_SET(types, src); in copy_type()
65 } else if (BITSET_TEST(types, src) && !src_is_sink) { in copy_type()
66 BITSET_SET(types, dst); in copy_type()
80 /** Gather up ALU types for SSA values
84 * it just assigns intness or floatness to types without any attempt to sort
54 copy_type(unsigned src, unsigned dst, bool src_is_sink, BITSET_WORD *types, bool *progress) copy_type() argument
/third_party/python/Tools/c-analyzer/c_analyzer/
H A Ddatafiles.py49 types = {decl: None for decl in collated['type']}
50 typespecs = _analyze.get_typespecs(types)
56 types,
60 _analyze.analyze_type_decls(types, analyze_decl, handle_unresolved)
61 return types, typespecs
/third_party/python/Lib/unittest/test/
H A Dtest_loader.py3 import types namespace
113 m = types.ModuleType('m')
130 m = types.ModuleType('m')
141 m = types.ModuleType('m')
181 m = types.ModuleType('m')
208 m = types.ModuleType('m')
237 m = types.ModuleType('m')
265 m = types.ModuleType('m')
294 m = types.ModuleType('m')
320 m = types
[all...]
/third_party/node/test/parallel/
H A Dtest-http2-respond-file-errors.js17 const types = {
35 Object.keys(types).forEach((type) => {
44 [option]: types[type]
50 `Received ${inspect(types[type])}`

Completed in 23 milliseconds

12345678910>>...216