Searched refs:ptr (Results 1 – 9 of 9) sorted by relevance
36 const char *ptr; in should_tag() local37 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()
35 void *ptr; in alloc() local37 ptr = (void*) __alloc_next; in alloc()40 return ptr; in alloc()
66 static int dmov_exec_cmdptr(unsigned id, unsigned *ptr) in dmov_exec_cmdptr() argument73 writel(DMOV_CMD_PTR_LIST | DMOV_CMD_ADDR(paddr(ptr)), ch.cmd); in dmov_exec_cmdptr()100 unsigned *ptr = ptrlist; in flash_read_id() local134 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() local186 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() local306 ptr[0] = (paddr(cmdlist) >> 3) | CMD_PTR_LP; in _flash_read_page()[all …]
250 unsigned *ptr = (unsigned*) *x++; in arm11_clock_test() local252 *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() local270 *ptr = val; in arm11_clock_init()
190 const unsigned char* ptr; in parseZipArchive() local212 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 …]
34 void* ptr; in sysCreateAnonShmem() local36 ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, in sysCreateAnonShmem()38 if (ptr == MAP_FAILED) { in sysCreateAnonShmem()44 return ptr; in sysCreateAnonShmem()
32 typedef void (*HashFreeFunc)(void* ptr);
115 void hexdump(void *ptr, unsigned len) in hexdump() argument117 unsigned char *b = ptr; in hexdump()
516 char *ptr; in ui_print() local517 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()