Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 9 of 9) sorted by relevance

/bootable/recovery/tools/ota/
Dadd-property-tag.c36 const char *ptr; in should_tag() local
37 for (ptr = line; ptr < prop && isspace(*ptr); ++ptr) ; in should_tag()
38 if (ptr != prop) return 0; // Must be at the beginning of the line in should_tag()
40 for (ptr += strlen(propname); *ptr != '\0' && isspace(*ptr); ++ptr) ; in should_tag()
41 return (*ptr == '='); // Must be followed by a '=' in should_tag()
/bootable/bootloader/legacy/libc/
Dmalloc.c35 void *ptr; in alloc() local
37 ptr = (void*) __alloc_next; in alloc()
40 return ptr; in alloc()
/bootable/bootloader/legacy/arch_msm7k/
Dnand.c66 static int dmov_exec_cmdptr(unsigned id, unsigned *ptr) in dmov_exec_cmdptr() argument
73 writel(DMOV_CMD_PTR_LIST | DMOV_CMD_ADDR(paddr(ptr)), ch.cmd); in dmov_exec_cmdptr()
100 unsigned *ptr = ptrlist; in flash_read_id() local
134 ptr[0] = (paddr(cmd) >> 3) | CMD_PTR_LP; in flash_read_id()
136 dmov_exec_cmdptr(DMOV_NAND_CHAN, ptr); in flash_read_id()
151 unsigned *ptr = ptrlist; in flash_erase_block() local
186 ptr[0] = (paddr(cmd) >> 3) | CMD_PTR_LP; in flash_erase_block()
188 dmov_exec_cmdptr(DMOV_NAND_CHAN, ptr); in flash_erase_block()
222 unsigned *ptr = ptrlist; in _flash_read_page() local
306 ptr[0] = (paddr(cmdlist) >> 3) | CMD_PTR_LP; in _flash_read_page()
[all …]
Dclock.c250 unsigned *ptr = (unsigned*) *x++; in arm11_clock_test() local
252 *ptr = val; in arm11_clock_test()
254 if(ptr == ((unsigned*) A11S_CLK_CNTL)) { in arm11_clock_test()
268 unsigned *ptr = (unsigned*) *x++; in arm11_clock_init() local
270 *ptr = val; in arm11_clock_init()
/bootable/recovery/minzip/
DZip.c190 const unsigned char* ptr; in parseZipArchive() local
212 ptr = pMap->addr + pMap->length - ENDHDR; in parseZipArchive()
214 while (ptr >= (const unsigned char*) pMap->addr) { in parseZipArchive()
215 if (*ptr == (ENDSIG & 0xff) && get4LE(ptr) == ENDSIG) in parseZipArchive()
217 ptr--; in parseZipArchive()
219 if (ptr < (const unsigned char*) pMap->addr) { in parseZipArchive()
229 numEntries = get2LE(ptr + ENDSUB); in parseZipArchive()
230 cdOffset = get4LE(ptr + ENDOFF); in parseZipArchive()
248 ptr = pMap->addr + cdOffset; in parseZipArchive()
255 if (ptr + CENHDR > (const unsigned char*)pMap->addr + pMap->length) { in parseZipArchive()
[all …]
DSysUtil.c34 void* ptr; in sysCreateAnonShmem() local
36 ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, in sysCreateAnonShmem()
38 if (ptr == MAP_FAILED) { in sysCreateAnonShmem()
44 return ptr; in sysCreateAnonShmem()
DHash.h32 typedef void (*HashFreeFunc)(void* ptr);
/bootable/bootloader/legacy/nandwrite/
Dnandwrite.c115 void hexdump(void *ptr, unsigned len) in hexdump() argument
117 unsigned char *b = ptr; in hexdump()
/bootable/recovery/
Dui.c516 char *ptr; in ui_print() local
517 for (ptr = buf; *ptr != '\0'; ++ptr) { in ui_print()
518 if (*ptr == '\n' || text_col >= text_cols) { in ui_print()
524 if (*ptr != '\n') text[text_row][text_col++] = *ptr; in ui_print()