Home
last modified time | relevance | path

Searched refs:structs (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dtypes.rs17 pub structs: UnorderedMap<&'a Ident, &'a Struct>,
33 let mut structs = UnorderedMap::new(); variables
76 || structs.contains_key(ident)
84 structs.insert(&strct.name.rust, strct);
101 || structs.contains_key(ident)
121 || !structs.contains_key(ident) && !enums.contains_key(ident))
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
202 structs,
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[iden
[all...]
H A Dcheck.rs85 && !cx.types.structs.contains_key(ident) in check_type_ident()
99 && !cx.types.structs.contains_key(&ident.rust) in check_type_box()
118 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec()
318 cx.error(span, "structs without any fields are not supported"); in check_api_struct()
443 } else if !cx.types.structs.contains_key(&receiver.ty.rust) in check_api_fn()
659 && !cx.types.structs.contains_key(ty) in is_opaque_cxx()
701 if cx.types.structs.contains_key(&ident.rust) { in describe()
H A Dpod.rs15 } else if let Some(strct) = self.structs.get(ident) { in is_guaranteed_pod()
H A Dtoposort.rs40 if let Some(inner) = types.structs.get(&ident.rust) { in visit()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dtypes.rs17 pub structs: UnorderedMap<&'a Ident, &'a Struct>,
33 let mut structs = UnorderedMap::new(); variables
76 || structs.contains_key(ident)
84 structs.insert(&strct.name.rust, strct);
101 || structs.contains_key(ident)
121 || !structs.contains_key(ident) && !enums.contains_key(ident))
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
202 structs,
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[iden
[all...]
H A Dcheck.rs85 && !cx.types.structs.contains_key(ident) in check_type_ident()
99 && !cx.types.structs.contains_key(&ident.rust) in check_type_box()
118 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec()
318 cx.error(span, "structs without any fields are not supported"); in check_api_struct()
443 } else if !cx.types.structs.contains_key(&receiver.ty.rust) in check_api_fn()
659 && !cx.types.structs.contains_key(ty) in is_opaque_cxx()
701 if cx.types.structs.contains_key(&ident.rust) { in describe()
H A Dpod.rs15 } else if let Some(strct) = self.structs.get(ident) { in is_guaranteed_pod()
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dtypes.rs17 pub structs: UnorderedMap<&'a Ident, &'a Struct>,
33 let mut structs = UnorderedMap::new(); variables
76 || structs.contains_key(ident)
84 structs.insert(&strct.name.rust, strct);
101 || structs.contains_key(ident)
121 || !structs.contains_key(ident) && !enums.contains_key(ident))
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
202 structs,
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[iden
[all...]
H A Dcheck.rs85 && !cx.types.structs.contains_key(ident) in check_type_ident()
99 && !cx.types.structs.contains_key(&ident.rust) in check_type_box()
118 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec()
318 cx.error(span, "structs without any fields are not supported"); in check_api_struct()
443 } else if !cx.types.structs.contains_key(&receiver.ty.rust) in check_api_fn()
659 && !cx.types.structs.contains_key(ty) in is_opaque_cxx()
701 if cx.types.structs.contains_key(&ident.rust) { in describe()
H A Dtoposort.rs40 if let Some(inner) = types.structs.get(&ident.rust) { in visit()
H A Dpod.rs15 } else if let Some(strct) = self.structs.get(ident) { in is_guaranteed_pod()
/third_party/rust/crates/cxx/syntax/
H A Dtypes.rs17 pub structs: UnorderedMap<&'a Ident, &'a Struct>,
33 let mut structs = UnorderedMap::new(); variables
76 || structs.contains_key(ident)
84 structs.insert(&strct.name.rust, strct);
101 || structs.contains_key(ident)
121 || !structs.contains_key(ident) && !enums.contains_key(ident))
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
202 structs,
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[iden
[all...]
H A Dcheck.rs85 && !cx.types.structs.contains_key(ident) in check_type_ident()
99 && !cx.types.structs.contains_key(&ident.rust) in check_type_box()
118 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec()
318 cx.error(span, "structs without any fields are not supported"); in check_api_struct()
443 } else if !cx.types.structs.contains_key(&receiver.ty.rust) in check_api_fn()
659 && !cx.types.structs.contains_key(ty) in is_opaque_cxx()
701 if cx.types.structs.contains_key(&ident.rust) { in describe()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dtypes.rs17 pub structs: UnorderedMap<&'a Ident, &'a Struct>,
33 let mut structs = UnorderedMap::new(); variables
76 || structs.contains_key(ident)
84 structs.insert(&strct.name.rust, strct);
101 || structs.contains_key(ident)
121 || !structs.contains_key(ident) && !enums.contains_key(ident))
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
202 structs,
217 let mut unresolved_structs = types.structs.keys();
223 for var in &types.structs[iden
[all...]
H A Dcheck.rs85 && !cx.types.structs.contains_key(ident) in check_type_ident()
99 && !cx.types.structs.contains_key(&ident.rust) in check_type_box()
118 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec()
318 cx.error(span, "structs without any fields are not supported"); in check_api_struct()
443 } else if !cx.types.structs.contains_key(&receiver.ty.rust) in check_api_fn()
659 && !cx.types.structs.contains_key(ty) in is_opaque_cxx()
701 if cx.types.structs.contains_key(&ident.rust) { in describe()
H A Dpod.rs15 } else if let Some(strct) = self.structs.get(ident) { in is_guaranteed_pod()
/third_party/littlefs/
H A DMakefile266 .PHONY: structs
267 structs: STRUCTSFLAGS+=-S
268 structs: $(OBJ) $(BUILDDIR)/lfs.structs.csv
269 ./scripts/structs.py $(OBJ) $(STRUCTSFLAGS)
272 .PHONY: structs-diff
273 structs-diff: $(OBJ)
274 ./scripts/structs.py $^ $(STRUCTSFLAGS) -d $(BUILDDIR)/lfs.structs.csv
327 $(BUILDDIR)/lfs.structs
[all...]
/third_party/mesa3d/src/asahi/lib/
H A Dgen_pack.py283 elif self.type in self.parser.structs:
354 if field.type in self.parser.structs:
355 sub_struct = self.parser.structs[field.type]
368 if field.type in self.parser.structs:
369 sub_fields = self.parser.structs[field.type].fields
549 if field.type in self.parser.structs:
590 self.structs = {}
610 self.structs[attrs["name"]] = self.group
645 elif field.type in self.structs:
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DToposortStructs.cpp54 const std::vector<const TStructure *> &structs) in BuildGraph()
57 for (const TStructure *s : structs) in BuildGraph()
192 ASSERT(andNodes.size() > 0); // Empty structs are not allowed in GLSL in CreateStructEqualityFunction()
331 std::vector<const TStructure *> structs; in ToposortStructs() local
336 structs.push_back(d.structure); in ToposortStructs()
342 Graph<const TStructure *> g = BuildGraph(symbolEnv, structs); in ToposortStructs()
53 BuildGraph(SymbolEnv &symbolEnv, const std::vector<const TStructure *> &structs) BuildGraph() argument
/third_party/python/Modules/_ctypes/
H A Dstgdict.c674 * members of structs. Treating them as pointers breaks things. in PyCStructUnionType_update_stgdict()
687 * type transformation to small structs nonetheless. in PyCStructUnionType_update_stgdict()
725 ffi_type *structs; /* point to struct aliases of arrays */ in PyCStructUnionType_update_stgdict() local
728 Py_ssize_t struct_index = 0; /* index into dummy structs */ in PyCStructUnionType_update_stgdict()
803 * num_ffi_types structs. in PyCStructUnionType_update_stgdict()
807 structs = (ffi_type *) &dummy_types[num_ffi_type_pointers]; in PyCStructUnionType_update_stgdict()
810 memset(structs, 0, num_ffi_types * sizeof(ffi_type)); in PyCStructUnionType_update_stgdict()
871 element_types[element_index++] = &structs[struct_index]; in PyCStructUnionType_update_stgdict()
872 structs[struct_index].size = length * edict->ffi_type_pointer.size; in PyCStructUnionType_update_stgdict()
873 structs[struct_inde in PyCStructUnionType_update_stgdict()
[all...]
/third_party/mesa3d/src/panfrost/lib/genxml/
H A Dgen_pack.py330 section.type = self.parser.structs[attrs["type"]]
384 elif self.type in self.parser.structs:
455 if field.type in self.parser.structs:
456 sub_struct = self.parser.structs[field.type]
469 if field.type in self.parser.structs:
470 sub_fields = self.parser.structs[field.type].fields
649 if field.type in self.parser.structs:
687 self.structs = {}
715 self.structs[attrs["name"]] = self.group
762 elif field.type in self.structs
[all...]
/third_party/mesa3d/src/intel/genxml/
H A Dgen_sort_tags.py121 structs = sorted(xml.findall('./struct'), key=get_name)
123 for s in structs:
132 for _s in structs:
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/
H A DcheckLinks.py92 checkTag(tag, value, structs, 'structs', 'slink/sname')
131 # (protos, structs, enums, etc.) followed by the name of the proto,
135 # Lists of current /protos/ (functions) and /structs/ includes. There
241 elif (category == 'structs'):
242 if (tag in structs.keys()):
244 # Any /structs/ include means to stop accumulating /protos/
266 if (value not in structs.keys() and
288 if (curStruct and value in structs[curStruct]):
/third_party/mesa3d/src/broadcom/cle/
H A Dgen_pack_header.py165 elif self.type in self.parser.structs:
330 elif field.type in self.parser.structs:
407 self.structs = {}
463 self.structs[attrs["name"]] = 1
/third_party/skia/third_party/externals/dawn/generator/
H A Ddawn_json_generator.py217 # extensible. Chained structs may contain a Dawn object.
238 # Chained structs inherit from wgpu::ChainedStruct, which has
356 def topo_sort_structure(structs):
357 for struct in structs:
375 for struct in structs:
378 result = sorted(structs, key=lambda struct: struct.subdag_depth)
380 for struct in structs:

Completed in 26 milliseconds

1234