Lines Matching refs:getPtr
70 static char* ExtractHex (uint32_t* value, char* getPtr) in ExtractHex() argument
76 while (*getPtr == ' ') getPtr++; in ExtractHex()
79 c = *getPtr; in ExtractHex()
86 getPtr++; in ExtractHex()
89 return getPtr; in ExtractHex()
92 static char* ExtractDecimal (uint32_t* value, char* getPtr) in ExtractDecimal() argument
98 while (*getPtr == ' ') getPtr++; in ExtractDecimal()
101 c = *getPtr; in ExtractDecimal()
106 getPtr++; in ExtractDecimal()
109 return getPtr; in ExtractDecimal()
113 static void ExtractNumber (uint32_t* value, char* getPtr) in ExtractNumber() argument
117 while (*getPtr == ' ') getPtr++; in ExtractNumber()
118 if (*getPtr == '-') { in ExtractNumber()
120 getPtr++; in ExtractNumber()
122 if ((*getPtr == '0') && ((*(getPtr+1) == 'x') || (*(getPtr+1) == 'X'))) { in ExtractNumber()
123 getPtr +=2; in ExtractNumber()
124 (void)ExtractHex(value, getPtr); in ExtractNumber()
127 (void)ExtractDecimal(value, getPtr); in ExtractNumber()
239 uint8_t* getPtr; in ConvertELF() local
252 getPtr = ExtractBlock(sizeof elfHeader.e_ident, elfHeader.e_ident, rxBlock); in ConvertELF()
253 getPtr = ExtractWord(&elfHeader.e_type, getPtr); in ConvertELF()
254 getPtr = ExtractWord(&elfHeader.e_machine, getPtr); in ConvertELF()
255 getPtr = ExtractLong((uint32_t *)&elfHeader.e_version, getPtr); in ConvertELF()
256 getPtr = ExtractLong((uint32_t *)&elfHeader.e_entry, getPtr); in ConvertELF()
257 getPtr = ExtractLong((uint32_t *)&elfHeader.e_phoff, getPtr); in ConvertELF()
258 getPtr = ExtractLong((uint32_t *)&elfHeader.e_shoff, getPtr); in ConvertELF()
259 getPtr = ExtractLong((uint32_t *)&elfHeader.e_flags, getPtr); in ConvertELF()
260 getPtr = ExtractWord(&elfHeader.e_ehsize, getPtr); in ConvertELF()
261 getPtr = ExtractWord(&elfHeader.e_phentsize, getPtr); in ConvertELF()
262 getPtr = ExtractWord(&elfHeader.e_phnum, getPtr); in ConvertELF()
263 getPtr = ExtractWord(&elfHeader.e_shentsize, getPtr); in ConvertELF()
264 getPtr = ExtractWord(&elfHeader.e_shnum, getPtr); in ConvertELF()
265 getPtr = ExtractWord(&elfHeader.e_shstrndx, getPtr); in ConvertELF()
282 getPtr = ExtractLong((uint32_t *)§Header[i].sh_name, rxBlock); in ConvertELF()
283 getPtr = ExtractLong((uint32_t *)§Header[i].sh_type, getPtr); in ConvertELF()
284 getPtr = ExtractLong((uint32_t *)§Header[i].sh_flags, getPtr); in ConvertELF()
285 getPtr = ExtractLong((uint32_t *)§Header[i].sh_addr, getPtr); in ConvertELF()
286 getPtr = ExtractLong((uint32_t *)§Header[i].sh_offset, getPtr); in ConvertELF()
287 getPtr = ExtractLong((uint32_t *)§Header[i].sh_size, getPtr); in ConvertELF()
288 getPtr = ExtractLong((uint32_t *)§Header[i].sh_link, getPtr); in ConvertELF()
289 getPtr = ExtractLong((uint32_t *)§Header[i].sh_info, getPtr); in ConvertELF()
290 getPtr = ExtractLong((uint32_t *)§Header[i].sh_addralign, getPtr); in ConvertELF()
291 getPtr = ExtractLong((uint32_t *)§Header[i].sh_entsize, getPtr); in ConvertELF()