Home
last modified time | relevance | path

Searched refs:DataSize (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm/tools/lli/ChildTarget/
DChildTarget.cpp100 uint32_t DataSize = 0; in handleAllocateSpace() local
101 int rc = ReadBytes(&DataSize, 4); in handleAllocateSpace()
104 assert(DataSize == 8); in handleAllocateSpace()
124 uint32_t DataSize = 0; in handleLoadSection() local
125 int rc = ReadBytes(&DataSize, 4); in handleLoadSection()
133 size_t BufferSize = DataSize - 8; in handleLoadSection()
153 uint32_t DataSize = 0; in handleExecute() local
154 int rc = ReadBytes(&DataSize, 4); in handleExecute()
157 assert(DataSize == 8); in handleExecute()
181 uint32_t DataSize = 0; in sendChildActive() local
[all …]
/external/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.cc396 NumberOfContours() * DataSize::kUSHORT); in Initialize()
398 (NumberOfContours() + 1) * DataSize::kUSHORT; in Initialize()
399 flags_offset_ = instructions_offset_ + instruction_size_ * DataSize::kBYTE; in Initialize()
405 x_coordinates_offset_ = flags_offset_ + flag_byte_count_ * DataSize::kBYTE; in Initialize()
407 DataSize::kBYTE; in Initialize()
415 5 * DataSize::kSHORT + in Initialize()
416 (NumberOfContours() * DataSize::kUSHORT) + in Initialize()
417 DataSize::kUSHORT + in Initialize()
418 (instruction_size_ * DataSize::kBYTE) + in Initialize()
419 (flag_byte_count_ * DataSize::kBYTE) + in Initialize()
[all …]
Dloca_table.cc58 return 2 * data_->ReadUShort(index * DataSize::kUSHORT); in Loca()
60 return data_->ReadULongAsInt(index * DataSize::kULONG); in Loca()
175 return loca_.size() * DataSize::kULONG; in SubDataSizeToSerialize()
177 return loca_.size() * DataSize::kUSHORT; in SubDataSizeToSerialize()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Deblc_table.h36 kHeaderLength = kNumSizes + DataSize::kULONG,
89 DataSize::kULONG +
93 DataSize::kULONG,
104 DataSize::kULONG,
105 kIndexSubTable4_codeOffsetPairLength = 2 * DataSize::kUSHORT,
107 kIndexSubTable4_codeOffsetPair_offset = DataSize::kUSHORT,
113 DataSize::kULONG,
117 DataSize::kULONG,
121 kCodeOffsetPairLength = 2 * DataSize::kUSHORT,
123 kCodeOffsetPair_offset = DataSize::kUSHORT,
Debsc_table.h31 kNumSizes = DataSize::kFixed,
32 kHeaderLength = kNumSizes + DataSize::kULONG,
40 kBitmapScaleTable_ppemY = kBitmapScaleTable_ppemX + DataSize::kBYTE,
42 DataSize::kBYTE,
44 DataSize::kBYTE,
46 DataSize::kBYTE,
Dbitmap_glyph.h58 DataSize::kUSHORT,
63 DataSize::kUSHORT,
66 kEbdtComponentLength = DataSize::kUSHORT + 2 * DataSize::kCHAR,
Dindex_sub_table_format3.cc55 return (last - first + 1 + 1) * DataSize::kUSHORT; in GetDataLength()
67 loca * DataSize::kUSHORT); in Loca()
183 offset_array_.size() * DataSize::kULONG; in SubDataSizeToSerialize()
248 i * DataSize::kUSHORT)); in Initialize()
262 (last_glyph_index - first_glyph_index + 1 + 1) * DataSize::kUSHORT; in DataLength()
Dindex_sub_table_format1.cc32 return (last - first + 1 + 1) * DataSize::kULONG; in GetDataLength()
67 loca * DataSize::kULONG); in Loca()
171 offset_array_.size() * DataSize::kULONG; in SubDataSizeToSerialize()
252 i * DataSize::kULONG)); in Initialize()
266 (last_glyph_index - first_glyph_index + 1 + 1) * DataSize::kULONG; in DataLength()
Dindex_sub_table_format5.cc41 DataSize::kUSHORT, in GlyphStartOffset()
190 glyph_array_.size() * DataSize::kUSHORT; in SubDataSizeToSerialize()
295 i * DataSize::kUSHORT)); in Initialize()
311 num_glyphs * DataSize::kUSHORT; in DataLength()
/external/sfntly/cpp/src/test/
Dfont_data_test.cc49 * DataSize::kUSHORT,
51 DataSize::kUSHORT,
52 kLowerByteArrayForSearchingLength * DataSize::kUSHORT,
53 DataSize::kUSHORT },
57 * DataSize::kUSHORT,
59 2 * DataSize::kUSHORT,
60 DataSize::kUSHORT,
61 2 * DataSize::kUSHORT },
65 * DataSize::kUSHORT,
66 kLowerByteArrayForSearchingLength * DataSize::kUSHORT,
[all …]
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMemoryManagerTest.cpp126 uintptr_t DataSize = i % 8 + 1; in TEST() local
132 data[i] = MemMgr->allocateDataSection(DataSize, Align, i + 10000, "", in TEST()
139 for (unsigned j = 0; j < DataSize; j++) { in TEST()
155 uintptr_t DataSize = i % 8 + 1; in TEST() local
162 for (unsigned j = 0; j < DataSize; j++) { in TEST()
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.cc494 (low_byte - first_code) * DataSize::kUSHORT; in GlyphId()
521 sub_header_index * DataSize::kUSHORT); in SubHeaderOffset()
608 DataSize::kUSHORT, in GlyphId()
610 DataSize::kUSHORT, in GlyphId()
673 index * DataSize::kUSHORT); in StartCode()
680 (seg_count + 1) * DataSize::kUSHORT; in StartCodeOffset()
690 index * DataSize::kUSHORT); in EndCode()
699 index * DataSize::kUSHORT); in IdDelta()
706 Offset::kFormat4EndCount + (2 * seg_count + 1) * DataSize::kUSHORT; in IdDeltaOffset()
716 + index * DataSize::kUSHORT); in IdRangeOffset()
[all …]
/external/llvm/tools/lli/
DRemoteTargetExternal.cpp241 uint32_t DataSize; in ReceivePayload() local
242 if (!ReadBytes(&DataSize, 4)) { in ReceivePayload()
246 if (DataSize != TotalSize) { in ReceivePayload()
251 ErrorMsg += DataSize; in ReceivePayload()
254 if (DataSize == 0) in ReceivePayload()
/external/compiler-rt/lib/profile/
DInstrProfilingWriter.c37 const uint64_t DataSize = DataEnd - DataBegin; in llvmWriteProfDataImpl() local
48 if (!DataSize) in llvmWriteProfDataImpl()
58 {DataBegin, sizeof(__llvm_profile_data), DataSize}, in llvmWriteProfDataImpl()
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyAsmBackend.cpp38 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
73 unsigned DataSize, uint64_t Value, in applyFixup() argument
84 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); in applyFixup()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp357 uint64_t DataSize = Section.getSize(); in computeTotalAllocSize() local
365 uint64_t SectionSize = DataSize + StubBufSize; in computeTotalAllocSize()
441 uint64_t DataSize = Section.getSize(); in computeSectionStubBufSize() local
447 unsigned EndAlignment = (DataSize | Alignment) & -(DataSize | Alignment); in computeSectionStubBufSize()
572 uint64_t DataSize = Section.getSize(); in emitSection() local
606 Allocate = DataSize + PaddingSize + StubBufSize; in emitSection()
618 memset(Addr, 0, DataSize); in emitSection()
620 memcpy(Addr, pData, DataSize); in emitSection()
624 memset(Addr + DataSize, 0, PaddingSize); in emitSection()
626 DataSize += PaddingSize; in emitSection()
[all …]
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp51 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
88 unsigned DataSize, uint64_t Value, in applyFixup() argument
94 assert(Offset + Size <= DataSize && "Invalid fixup offset!"); in applyFixup()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/
Dd3d1xstutil.h877 UINT DataSize,
882 if(DataSize && pData)
884 p = malloc(DataSize);
898 if(DataSize && pData)
900 memcpy(p, pData, DataSize);
902 v.second = DataSize;
943 UINT DataSize,
946 return set_private_data(guid, DataSize, pData);
971 UINT DataSize,
974 return BaseClass::set_private_data(guid, DataSize, pData);
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUAsmBackend.cpp49 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
90 unsigned DataSize, uint64_t Value, in applyFixup() argument
132 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); in applyFixup()
/external/google-breakpad/src/client/windows/unittests/
Ddump_analysis.cc140 uintptr_t range_end = range_start + descr.Memory.DataSize; in HasMemoryImpl()
166 uintptr_t range_end = range_start + static_cast<size_t>(descr.DataSize); in HasMemoryImpl()
179 curr_rva += descr.DataSize; in HasMemoryImpl()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp70 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
205 unsigned DataSize, uint64_t Value, in applyFixup() argument
218 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); in applyFixup()
470 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
511 unsigned DataSize, uint64_t Value, in applyFixup() argument
518 AArch64AsmBackend::applyFixup (Fixup, Data, DataSize, Value, IsPCRel); in applyFixup()
/external/llvm/lib/Target/BPF/MCTargetDesc/
DBPFAsmBackend.cpp34 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
66 unsigned DataSize, uint64_t Value, in applyFixup() argument
/external/clang/lib/AST/
DAPValue.cpp37 (DataSize - sizeof(LVBase)) / sizeof(LValuePathEntry);
78 (DataSize - sizeof(MemberPointerBase)) / sizeof(const CXXRecordDecl*);
252 char TmpData[DataSize]; in swap()
253 memcpy(TmpData, Data.buffer, DataSize); in swap()
254 memcpy(Data.buffer, RHS.Data.buffer, DataSize); in swap()
255 memcpy(RHS.Data.buffer, TmpData, DataSize); in swap()
631 static_assert(sizeof(LV) <= DataSize, "LV too big"); in MakeLValue()
DRecordLayout.cpp37 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
65 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp190 size_t DataSize);
294 size_t DataSize) { in TryToAddDesiredData() argument
299 Cur = (uint8_t *)memmem(Cur, End - Cur, &PresentData, DataSize); in TryToAddDesiredData()
305 Mutations.push_back({Pos, DataSize, DesiredData}); in TryToAddDesiredData()
306 Mutations.push_back({Pos, DataSize, DesiredData + 1}); in TryToAddDesiredData()
307 Mutations.push_back({Pos, DataSize, DesiredData - 1}); in TryToAddDesiredData()

123