Home | History | Annotate | Download | only in androidfw

Lines Matching defs:TypeSpec

46 // Element of a TypeSpec array. See TypeSpec.
56 // TypeSpec is going to be immediately proceeded by
58 struct TypeSpec {
75 // a TypeSpec struct, followed by an array of Type structs.
78 using TypeSpecPtr = util::unique_cptr<TypeSpec>;
83 // contiguous block of memory to store both the TypeSpec struct and
97 if ((std::numeric_limits<size_t>::max() - sizeof(TypeSpec)) / sizeof(Type) < types_.size()) {
100 TypeSpec* type_spec = (TypeSpec*)::malloc(sizeof(TypeSpec) + (types_.size() * sizeof(Type)));
330 const util::unique_cptr<TypeSpec>& type_spec = type_specs_[i];
362 const util::unique_cptr<TypeSpec>& type_spec = type_specs_[i];
388 const TypeSpec* type_spec = type_specs_[type_idx].get();
445 // A TypeSpec builder. We use this to accumulate the set of Types
446 // available for a TypeSpec, and later build a single, contiguous block
447 // of memory that holds all the Types together with the TypeSpec.
486 // Starting a new TypeSpec, so finish the old one if there was one.
549 // Type chunks must be preceded by their TypeSpec chunks.
604 // Finish the last TypeSpec.