Home
last modified time | relevance | path

Searched refs:SizeOf (Results 1 – 25 of 102) sorted by relevance

12345

/external/google-breakpad/src/processor/
Dsimple_serializer-inl.h57 static size_t SizeOf(bool boolean) { return 1; } in SizeOf() function
74 static size_t SizeOf(const string &str) { return str.size() + 1; } in SizeOf() function
78 return dest + SizeOf(str); in Write()
86 static size_t SizeOf(const char *cstring) { in SizeOf() function
92 return dest + SizeOf(cstring); in Write()
101 static size_t SizeOf(const Line &line) { in SizeOf() function
102 return SimpleSerializer<MemAddr>::SizeOf(line.address) in SizeOf()
103 + SimpleSerializer<MemAddr>::SizeOf(line.size) in SizeOf()
104 + SimpleSerializer<int32_t>::SizeOf(line.source_file_id) in SizeOf()
105 + SimpleSerializer<int32_t>::SizeOf(line.line); in SizeOf()
[all …]
Dmap_serializers-inl.h55 size_t StdMapSerializer<Key, Value>::SizeOf( in SizeOf() function
63 size += key_serializer_.SizeOf(iter->first); in SizeOf()
64 size += value_serializer_.SizeOf(iter->second); in SizeOf()
103 unsigned int size_to_alloc = SizeOf(m); in Serialize()
119 size_t RangeMapSerializer<Address, Entry>::SizeOf( in SizeOf() function
128 size += address_serializer_.SizeOf(iter->first); in SizeOf()
130 size += address_serializer_.SizeOf(iter->second.base()); in SizeOf()
132 size += entry_serializer_.SizeOf(iter->second.entry()); in SizeOf()
172 unsigned int size_to_alloc = SizeOf(m); in Serialize()
190 size_t ContainedRangeMapSerializer<AddrType, EntryType>::SizeOf( in SizeOf() function
[all …]
Dmodule_serializer.cc51 size_t ModuleSerializer::SizeOf(const BasicSourceLineResolver::Module &module) { in SizeOf() function in google_breakpad::ModuleSerializer
55 total_size_alloc_ += SimpleSerializer<bool>::SizeOf(module.is_corrupt_); in SizeOf()
59 map_sizes_[map_index++] = files_serializer_.SizeOf(module.files_); in SizeOf()
60 map_sizes_[map_index++] = functions_serializer_.SizeOf(module.functions_); in SizeOf()
61 map_sizes_[map_index++] = pubsym_serializer_.SizeOf(module.public_symbols_); in SizeOf()
64 wfi_serializer_.SizeOf(&(module.windows_frame_info_[i])); in SizeOf()
65 map_sizes_[map_index++] = cfi_init_rules_serializer_.SizeOf( in SizeOf()
67 map_sizes_[map_index++] = cfi_delta_rules_serializer_.SizeOf( in SizeOf()
78 total_size_alloc_ += SimpleSerializer<char>::SizeOf(0); in SizeOf()
106 unsigned int size_to_alloc = SizeOf(module); in Serialize()
Dmap_serializers.h56 size_t SizeOf(const std::map<Key, Value> &m) const;
82 size_t SizeOf(const AddressMap<Addr, Entry> &m) const { in SizeOf() function
83 return std_map_serializer_.SizeOf(m.map_); in SizeOf()
113 size_t SizeOf(const RangeMap<Address, Entry> &m) const;
142 size_t SizeOf(const ContainedRangeMap<AddrType, EntryType> *m) const;
Dsimple_serializer.h52 static size_t SizeOf(const Type &item) { return sizeof(item); } in SizeOf() function
57 return dest + SizeOf(item); in Write()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDIE.cpp293 CUOffset += V.SizeOf(AP); in computeOffsetsAndAbbrevs()
339 unsigned DIEValue::SizeOf(const AsmPrinter *AP) const { in SizeOf() function in DIEValue
345 return getDIE##T().SizeOf(AP, Form); in SizeOf()
411 Asm->OutStreamer->EmitIntValue(Integer, SizeOf(Asm, Form)); in EmitValue()
429 unsigned DIEInteger::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf() function in DIEInteger
464 AP->EmitDebugThreadLocal(Expr, SizeOf(AP, Form)); in EmitValue()
469 unsigned DIEExpr::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf() function in DIEExpr
486 AP->EmitLabelReference(Label, SizeOf(AP, Form), in EmitValue()
495 unsigned DIELabel::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf() function in DIELabel
512 AP->EmitLabelDifference(LabelHi, LabelLo, SizeOf(AP, Form)); in EmitValue()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDIE.cpp206 unsigned DIEValue::SizeOf(const AsmPrinter *AP) const { in SizeOf() function in DIEValue
212 return getDIE##T().SizeOf(AP, Form); in SizeOf()
270 Size = SizeOf(Asm, dwarf::DW_FORM_ref_addr); in EmitValue()
279 unsigned DIEInteger::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf() function in DIEInteger
321 AP->OutStreamer->EmitValue(Expr, SizeOf(AP, Form)); in EmitValue()
326 unsigned DIEExpr::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf() function in DIEExpr
343 AP->EmitLabelReference(Label, SizeOf(AP, Form), in EmitValue()
351 unsigned DIELabel::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf() function in DIELabel
368 AP->EmitLabelDifference(LabelHi, LabelLo, SizeOf(AP, Form)); in EmitValue()
373 unsigned DIEDelta::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf() function in DIEDelta
[all …]
/external/v8/src/
Dobjects-body-descriptors-inl.h20 int FlexibleBodyDescriptor<start_offset>::SizeOf(Map* map, HeapObject* object) { in SizeOf() function
104 static inline int SizeOf(Map* map, HeapObject* object) { in SizeOf() function
123 static inline int SizeOf(Map* map, HeapObject* object) { in SizeOf() function
147 static inline int SizeOf(Map* map, HeapObject* object) { in SizeOf() function
190 static inline int SizeOf(Map* map, HeapObject* object) { in SizeOf() function
217 static inline int SizeOf(Map* map, HeapObject* object) { in SizeOf() function
248 static inline int SizeOf(Map* map, HeapObject* obj) { in SizeOf() function
264 static inline int SizeOf(Map* map, HeapObject* obj) { in SizeOf() function
284 static inline int SizeOf(Map* map, HeapObject* obj) { in SizeOf() function
300 static inline int SizeOf(Map* map, HeapObject* obj) { in SizeOf() function
[all …]
Dobjects-body-descriptors.h84 static inline int SizeOf(Map* map, HeapObject* object) { return kSize; } in SizeOf() function
106 static inline int SizeOf(Map* map, HeapObject* object);
143 static inline int SizeOf(Map* map, HeapObject* object) { in SizeOf() function
145 return ChildBodyDescriptor::SizeOf(map, object); in SizeOf()
/external/tensorflow/tensorflow/core/kernels/
Dtyped_queue.h77 int64 SizeOf(const SubQueue& sq) { in SizeOf() function
83 int64 SizeOf(const std::deque<PersistentTensor>& sq) { in SizeOf() function
91 int64 SizeOf(const std::vector<PersistentTensor>& sq) { in SizeOf() function
101 int64 SizeOf(const std::priority_queue<TensorPair, U, V>& sq) { in SizeOf() function
115 memory_size += SizeOf(sq); in MemoryUsed()
/external/deqp-deps/SPIRV-Tools/source/comp/
Dmove_to_front.cpp90 *rank = 1 + SizeOf(LeftOf(node)); in RankFromValue()
92 if (IsRightChild(node)) *rank += 1 + SizeOf(LeftOf(ParentOf(node))); in RankFromValue()
174 const uint32_t left_subtree_num_nodes = SizeOf(LeftOf(node)); in ValueFromRank()
224 assert(SizeOf(handle) == 1); in CreateNode()
234 assert(SizeOf(node) == 1); in InsertNode()
313 const uint32_t scapegoat = SizeOf(LeftOf(node)) >= SizeOf(RightOf(node)) in RemoveNode()
450 MutableSizeOf(node) = 1 + SizeOf(LeftOf(node)) + SizeOf(RightOf(node)); in UpdateNode()
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmove_to_front.cpp90 *rank = 1 + SizeOf(LeftOf(node)); in RankFromValue()
92 if (IsRightChild(node)) *rank += 1 + SizeOf(LeftOf(ParentOf(node))); in RankFromValue()
174 const uint32_t left_subtree_num_nodes = SizeOf(LeftOf(node)); in ValueFromRank()
224 assert(SizeOf(handle) == 1); in CreateNode()
234 assert(SizeOf(node) == 1); in InsertNode()
313 const uint32_t scapegoat = SizeOf(LeftOf(node)) >= SizeOf(RightOf(node)) in RemoveNode()
450 MutableSizeOf(node) = 1 + SizeOf(LeftOf(node)) + SizeOf(RightOf(node)); in UpdateNode()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDIE.h225 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const = 0;
267 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const;
292 virtual unsigned SizeOf(AsmPrinter *AP, unsigned /*Form*/) const { in SizeOf() function
323 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const;
350 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const;
378 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const { in SizeOf() function
420 virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const;
DDIE.cpp212 unsigned DIEInteger::SizeOf(AsmPrinter *AP, unsigned Form) const { in SizeOf() function in DIEInteger
263 AP->OutStreamer.EmitSymbolValue(Label, SizeOf(AP, Form), 0/*AddrSpace*/); in EmitValue()
268 unsigned DIELabel::SizeOf(AsmPrinter *AP, unsigned Form) const { in SizeOf() function in DIELabel
286 AP->EmitLabelDifference(LabelHi, LabelLo, SizeOf(AP, Form)); in EmitValue()
291 unsigned DIEDelta::SizeOf(AsmPrinter *AP, unsigned Form) const { in SizeOf() function in DIEDelta
328 Size += Values[i]->SizeOf(AP, AbbrevData[i].getForm()); in ComputeSize()
352 unsigned DIEBlock::SizeOf(AsmPrinter *AP, unsigned Form) const { in SizeOf() function in DIEBlock
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/COFF/
Dtypes-array-advanced.ll50 ; CHECK: SizeOf: 0
63 ; CHECK: SizeOf: 0
69 ; CHECK: SizeOf: 7
76 ; CHECK: SizeOf: 35
83 ; CHECK: SizeOf: 70
96 ; CHECK: SizeOf: 0
104 ; CHECK: SizeOf: 12
117 ; CHECK: SizeOf: 4
138 ; CHECK: SizeOf: 4
165 ; CHECK: SizeOf: 16
Dtypes-ptr-to-member.ll37 ; CHECK: SizeOf: 4
51 ; CHECK: SizeOf: 4
65 ; CHECK: SizeOf: 8
79 ; CHECK: SizeOf: 12
96 ; CHECK: SizeOf: 8
110 ; CHECK: SizeOf: 16
124 ; CHECK: SizeOf: 16
138 ; CHECK: SizeOf: 24
154 ; CHECK: SizeOf: 0
170 ; CHECK: SizeOf: 0
/external/v8/src/heap/
Dobjects-visiting-inl.h88 int size = type::BodyDescriptor::SizeOf(map, object); \
108 int size = Context::BodyDescriptor::SizeOf(map, object); in VisitNativeContext()
131 int size = JSObject::FastBodyDescriptor::SizeOf(map, object); in VisitJSObjectFast()
143 int size = JSObject::BodyDescriptor::SizeOf(map, object); in VisitJSApiObject()
176 int size = JSFunction::BodyDescriptorWeak::SizeOf(map, object); in VisitJSFunction()
185 int size = Context::BodyDescriptor::SizeOf(map, object); in VisitNativeContext()
202 int size = WeakArrayBodyDescriptor::SizeOf(map, object); in VisitWeakArray()
Dmark-compact-inl.h31 int size = AllocationSite::BodyDescriptorWeak::SizeOf(map, object); in VisitAllocationSite()
41 int size = BytecodeArray::BodyDescriptor::SizeOf(map, array); in VisitBytecodeArray()
51 int size = CodeDataContainer::BodyDescriptorWeak::SizeOf(map, object); in VisitCodeDataContainer()
74 int size = JSObject::BodyDescriptor::SizeOf(map, object); in VisitJSApiObject()
84 int size = JSFunction::BodyDescriptorWeak::SizeOf(map, object); in VisitJSFunction()
132 int size = Map::BodyDescriptor::SizeOf(map, object); in VisitMap()
146 int size = Context::BodyDescriptorWeak::SizeOf(map, context); in VisitNativeContext()
156 int size = TransitionArray::BodyDescriptor::SizeOf(map, array); in VisitTransitionArray()
279 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); in VisitFixedArrayIncremental()
348 map->map(), map, Map::BodyDescriptor::SizeOf(map->map(), map), this); in MarkMapContents()
Dconcurrent-marking.cc195 int size = JSFunction::BodyDescriptorWeak::SizeOf(map, object); in VisitJSFunction()
210 int size = ConsString::BodyDescriptor::SizeOf(map, object); in VisitConsString()
218 int size = SlicedString::BodyDescriptor::SizeOf(map, object); in VisitSlicedString()
226 int size = ThinString::BodyDescriptor::SizeOf(map, object); in VisitThinString()
278 int size = BytecodeArray::BodyDescriptorWeak::SizeOf(map, object); in VisitBytecodeArray()
287 int size = AllocationSite::BodyDescriptorWeak::SizeOf(map, object); in VisitAllocationSite()
295 int size = CodeDataContainer::BodyDescriptorWeak::SizeOf(map, object); in VisitCodeDataContainer()
320 int size = Context::BodyDescriptorWeak::SizeOf(map, object); in VisitNativeContext()
329 int size = TransitionArray::BodyDescriptor::SizeOf(map, array); in VisitTransitionArray()
435 int size = T::BodyDescriptor::SizeOf(map, object); in VisitJSObjectSubclass()
/external/llvm/test/DebugInfo/COFF/
Dtypes-ptr-to-member.ll37 ; CHECK: SizeOf: 4
51 ; CHECK: SizeOf: 4
65 ; CHECK: SizeOf: 8
79 ; CHECK: SizeOf: 12
96 ; CHECK: SizeOf: 8
110 ; CHECK: SizeOf: 16
124 ; CHECK: SizeOf: 16
138 ; CHECK: SizeOf: 24
154 ; CHECK: SizeOf: 0
170 ; CHECK: SizeOf: 0
Dtypes-array-advanced.ll50 ; CHECK: SizeOf: 4
57 ; CHECK: SizeOf: 7
64 ; CHECK: SizeOf: 35
71 ; CHECK: SizeOf: 70
84 ; CHECK: SizeOf: 0
92 ; CHECK: SizeOf: 12
105 ; CHECK: SizeOf: 4
120 ; CHECK: SizeOf: 16
Dtypes-data-members.ll73 ; CHECK: SizeOf: 0
119 ; CHECK: SizeOf: 12
142 ; CHECK: SizeOf: 0
169 ; CHECK: SizeOf: 4
189 ; CHECK: SizeOf: 0
223 ; CHECK: SizeOf: 12
243 ; CHECK: SizeOf: 0
257 ; CHECK: SizeOf: 8
278 ; CHECK: SizeOf: 8
290 ; CHECK: SizeOf: 8
[all …]
/external/llvm/include/llvm/CodeGen/
DDIE.h141 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
160 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
179 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
195 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
213 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
237 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { in SizeOf() function
260 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
408 unsigned SizeOf(const AsmPrinter *AP) const;
707 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
738 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DDIE.h194 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
211 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
228 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
244 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
263 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
285 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
304 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
323 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
472 unsigned SizeOf(const AsmPrinter *AP) const;
872 unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp53 OffsetInParent(OffsetInParent), SizeOf(Size), LayoutSize(Size), in LayoutItemBase()
55 UsedBytes.resize(SizeOf, true); in LayoutItemBase()
134 ImmediateUsedBytes.resize(SizeOf, false); in ClassLayout()
138 End = std::min(SizeOf, End); in ClassLayout()
149 return SizeOf - ImmediateUsedBytes.count(); in immediatePadding()

12345