Searched refs:offset_ptr (Results 1 - 21 of 21) sorted by relevance

/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DDataExtractor.cpp17 static T getU(uint32_t *offset_ptr, const DataExtractor *de, argument
20 uint32_t offset = *offset_ptr;
27 *offset_ptr += sizeof(val);
33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, argument
35 uint32_t offset = *offset_ptr;
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data);
42 *offset_ptr = offset;
50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const {
51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data());
55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_ argument
65 getU16(uint32_t *offset_ptr, uint16_t *dst, uint32_t count) const argument
75 getU32(uint32_t *offset_ptr, uint32_t *dst, uint32_t count) const argument
85 getU64(uint32_t *offset_ptr, uint64_t *dst, uint32_t count) const argument
92 getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const argument
107 getSigned(uint32_t *offset_ptr, uint32_t byte_size) const argument
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Support/
H A DDataExtractor.h37 /// Extract a C string from \a *offset_ptr.
40 /// pointed to by \a offset_ptr. A variable length NULL terminated C
41 /// string will be extracted and the \a offset_ptr will be
45 /// @param[in,out] offset_ptr
54 /// pointed to by \a offset_ptr is out of bounds, or if the
57 const char *getCStr(uint32_t *offset_ptr) const;
60 /// *offset_ptr.
63 /// pointed to by \a offset_ptr. The size of the extracted integer
70 /// @param[in,out] offset_ptr
83 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/DebugInfo/
H A DDWARFFormValue.cpp90 DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, argument
102 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize());
106 Value.uval = data.getULEB128(offset_ptr);
110 Value.uval = data.getU8(offset_ptr);
114 Value.uval = data.getU16(offset_ptr);
118 Value.uval = data.getU32(offset_ptr);
124 Value.uval = data.getU8(offset_ptr);
128 Value.uval = data.getU16(offset_ptr);
132 Value.uval = data.getU32(offset_ptr);
136 Value.uval = data.getU64(offset_ptr);
189 skipValue(DataExtractor debug_info_data, uint32_t* offset_ptr, const DWARFCompileUnit *cu) const argument
195 skipValue(uint16_t form, DataExtractor debug_info_data, uint32_t *offset_ptr, const DWARFCompileUnit *cu) argument
[all...]
H A DDWARFDebugRangeList.cpp22 bool DWARFDebugRangeList::extract(DataExtractor data, uint32_t *offset_ptr) { argument
24 if (!data.isValidOffset(*offset_ptr))
29 Offset = *offset_ptr;
32 uint32_t prev_offset = *offset_ptr;
33 entry.StartAddress = data.getAddress(offset_ptr);
34 entry.EndAddress = data.getAddress(offset_ptr);
36 if (*offset_ptr != prev_offset + 2 * AddressSize) {
H A DDWARFAbbreviationDeclaration.cpp18 DWARFAbbreviationDeclaration::extract(DataExtractor data, uint32_t* offset_ptr){ argument
19 return extract(data, offset_ptr, data.getULEB128(offset_ptr));
23 DWARFAbbreviationDeclaration::extract(DataExtractor data, uint32_t* offset_ptr, argument
28 Tag = data.getULEB128(offset_ptr);
29 HasChildren = data.getU8(offset_ptr);
31 while (data.isValidOffset(*offset_ptr)) {
32 uint16_t attr = data.getULEB128(offset_ptr);
33 uint16_t form = data.getULEB128(offset_ptr);
H A DDWARFDebugLine.cpp167 uint32_t *offset_ptr, Prologue *prologue) {
168 const uint32_t prologue_offset = *offset_ptr;
171 prologue->TotalLength = debug_line_data.getU32(offset_ptr);
172 prologue->Version = debug_line_data.getU16(offset_ptr);
176 prologue->PrologueLength = debug_line_data.getU32(offset_ptr);
177 const uint32_t end_prologue_offset = prologue->PrologueLength + *offset_ptr;
178 prologue->MinInstLength = debug_line_data.getU8(offset_ptr);
179 prologue->DefaultIsStmt = debug_line_data.getU8(offset_ptr);
180 prologue->LineBase = debug_line_data.getU8(offset_ptr);
181 prologue->LineRange = debug_line_data.getU8(offset_ptr);
166 parsePrologue(DataExtractor debug_line_data, uint32_t *offset_ptr, Prologue *prologue) argument
222 parseStatementTable(DataExtractor debug_line_data, uint32_t *offset_ptr, State &state) argument
[all...]
H A DDWARFDebugArangeSet.cpp50 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) { argument
51 if (data.isValidOffset(*offset_ptr)) {
53 Offset = *offset_ptr;
69 Header.Length = data.getU32(offset_ptr);
70 Header.Version = data.getU16(offset_ptr);
71 Header.CuOffset = data.getU32(offset_ptr);
72 Header.AddrSize = data.getU8(offset_ptr);
73 Header.SegSize = data.getU8(offset_ptr);
86 const uint32_t header_size = *offset_ptr - Offset;
92 *offset_ptr
[all...]
H A DDWARFAbbreviationDeclaration.h43 bool extract(DataExtractor data, uint32_t* offset_ptr);
44 bool extract(DataExtractor data, uint32_t* offset_ptr, uint32_t code);
H A DDWARFFormValue.h52 bool extractValue(DataExtractor data, uint32_t *offset_ptr,
67 bool skipValue(DataExtractor debug_info_data, uint32_t *offset_ptr,
70 uint32_t *offset_ptr, const DWARFCompileUnit *cu);
H A DDWARFDebugInfoEntry.cpp69 uint32_t* offset_ptr,
73 OS << format("0x%8.8x: ", *offset_ptr);
88 if (!formValue.extractValue(cu->getDebugInfoExtractor(), offset_ptr, cu))
98 uint32_t *offset_ptr) {
99 Offset = *offset_ptr;
102 uint64_t abbrCode = debug_info_data.getULEB128(offset_ptr);
107 uint32_t offset = *offset_ptr;
200 debug_info_data.getU32(offset_ptr);
202 debug_info_data.getU64(offset_ptr);
206 *offset_ptr
67 dumpAttribute(raw_ostream &OS, const DWARFCompileUnit *cu, uint32_t* offset_ptr, uint16_t attr, uint16_t form, unsigned indent) const argument
96 extractFast(const DWARFCompileUnit *cu, const uint8_t *fixed_form_sizes, uint32_t *offset_ptr) argument
223 extract(const DWARFCompileUnit *cu, uint32_t *offset_ptr) argument
[all...]
H A DDWARFDebugAbbrev.cpp16 uint32_t* offset_ptr) {
17 const uint32_t beginOffset = *offset_ptr;
22 while (abbrevDeclaration.extract(data, offset_ptr)) {
32 return beginOffset != *offset_ptr;
15 extract(DataExtractor data, uint32_t* offset_ptr) argument
H A DDWARFCompileUnit.cpp24 bool DWARFCompileUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { argument
27 Offset = *offset_ptr;
29 if (debug_info.isValidOffset(*offset_ptr)) {
32 Length = debug_info.getU32(offset_ptr);
33 Version = debug_info.getU16(offset_ptr);
34 abbrOffset = debug_info.getU32(offset_ptr);
35 AddrSize = debug_info.getU8(offset_ptr);
48 *offset_ptr = Offset;
H A DDWARFDebugInfoEntry.h45 uint32_t *offset_ptr, uint16_t attr, uint16_t form,
49 uint32_t *offset_ptr);
53 bool extract(const DWARFCompileUnit *cu, uint32_t *offset_ptr);
H A DDWARFDebugRangeList.h69 bool extract(DataExtractor data, uint32_t *offset_ptr);
H A DDWARFDebugAbbrev.h44 bool extract(DataExtractor data, uint32_t* offset_ptr);
H A DDWARFDebugArangeSet.h58 bool extract(DataExtractor data, uint32_t *offset_ptr);
H A DDWARFDebugLine.h226 static bool parsePrologue(DataExtractor debug_line_data, uint32_t *offset_ptr,
230 uint32_t *offset_ptr, State &state);
H A DDWARFCompileUnit.h42 bool extract(DataExtractor debug_info, uint32_t* offset_ptr);
/macosx-10.10/swig-12/Lib/ocaml/
H A Dlibswigocaml.h16 extern void *offset_ptr( void *ptr, int n );
/macosx-10.10/libdispatch-442.1.4/dispatch/
H A Ddata.h263 * @param offset_ptr A pointer to a size_t variable to be filled with the
274 size_t *offset_ptr);
/macosx-10.10/libdispatch-442.1.4/src/
H A Ddata.c449 size_t *offset_ptr)
452 *offset_ptr = 0;
460 *offset_ptr = offset;
484 *offset_ptr = offset;
448 dispatch_data_copy_region(dispatch_data_t dd, size_t location, size_t *offset_ptr) argument

Completed in 157 milliseconds