/system/core/libcutils/ |
H A D | qsort_r_compat.c | 26 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk, argument 28 qsort_r(base, nel, width, thunk, compar); 47 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk, argument 52 qsort_r(base, nel, width, compar_wrapper, &compar_data); 75 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk, argument 81 qsort(base, nel, width, compar_wrapper);
|
H A D | tzstrftime.c | 414 int base; local 420 base = TM_YEAR_BASE; 428 len = isleap_sum(year, base) ? 447 ++base; 456 --base; 457 yday += isleap_sum(year, base) ? 478 pt = _yconv(year, base, 0, 1, 480 } else pt = _yconv(year, base, 1, 1,
|
/system/core/toolbox/ |
H A D | hd.c | 23 int base = -1; local 33 base = strtol(optarg, NULL, 0); 49 fprintf(stderr, "Usage: %s [-b base] [-c count] [-r delay] file\n", argv[0]); 60 if(base >= 0) { 61 lseek(fd, base, SEEK_SET); 62 filepos = base; 68 if(count > 0 && base + count - filepos < read_len) 69 read_len = base + count - filepos; 90 if(filepos == base + count)
|
/system/core/fastboot/ |
H A D | bootimg.c | 43 unsigned page_size, unsigned base, 71 hdr->kernel_addr = base + 0x00008000; 72 hdr->ramdisk_addr = base + 0x01000000; 73 hdr->second_addr = base + 0x00F00000; 74 hdr->tags_addr = base + 0x00000100; 40 mkbootimg(void *kernel, unsigned kernel_size, void *ramdisk, unsigned ramdisk_size, void *second, unsigned second_size, unsigned page_size, unsigned base, unsigned *bootimg_size) argument
|
H A D | usb_linux.c | 244 static usb_handle *find_usb_device(const char *base, ifc_match_func callback) argument 256 busdir = opendir(base); 262 sprintf(busname, "%s/%s", base, de->d_name);
|
/system/core/libcorkscrew/ |
H A D | symbol_table.c | 71 char* base = mmap(NULL, length, PROT_READ, MAP_PRIVATE, fd, 0); local 72 if (base == MAP_FAILED) { 77 Elf32_Ehdr *hdr = (Elf32_Ehdr*)base; 81 Elf32_Shdr *shdr = (Elf32_Shdr*)(base + hdr->e_shoff); 108 dynsyms = (Elf32_Sym*)(base + shdr[dynsym_idx].sh_offset); 111 dynstr = base + shdr[dynstr_idx].sh_offset; 118 syms = (Elf32_Sym*)(base + shdr[sym_idx].sh_offset); 121 str = base + shdr[str_idx].sh_offset; 196 munmap(base, length);
|
/system/core/mkbootimg/ |
H A D | mkbootimg.c | 66 " [ --base <address> ]\n" 112 unsigned base = 0x10000000; local 141 } else if(!strcmp(arg, "--base")) { 142 base = strtoul(val, 0, 16); 165 hdr.kernel_addr = base + kernel_offset; 166 hdr.ramdisk_addr = base + ramdisk_offset; 167 hdr.second_addr = base + second_offset; 168 hdr.tags_addr = base + tags_offset;
|
/system/core/libpixelflinger/codeflinger/ |
H A D | CodeCache.cpp | 136 uint32_t* Assembly::base() const 205 const long base = long(assembly->base()); local 206 const long curr = base + long(assembly->size()); 207 err = cacheflush(base, curr, 0);
|
H A D | ARMAssembler.cpp | 49 mBase = mPC = (uint32_t *)assembly->base(); 65 uint32_t* ARMAssembler::base() const function in class:android::ARMAssembler 72 mBase = mPC = (uint32_t *)mAssembly->base(); 91 size_t count = pc()-base(); 92 uint32_t* i = base(); 180 mAssembly->resize( int(pc()-base())*4 ); 185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration); 189 int err = qemu_add_mapping(int(base()), name); 197 printf(format, name, int(pc()-base()), bas [all...] |
H A D | GGLAssembler.h | 177 uint32_t* base() const { return 0; } // XXX function in class:android::GGLAssembler
|
H A D | MIPSAssembler.cpp | 115 uint32_t* ArmToMipsAssembler::base() const function in class:android::ArmToMipsAssembler 117 return mMips->base(); 795 // we only support simple base + index, no advanced modes for this one yet 823 // we only support simple base + index, no advanced modes for this one yet 860 // we only support simple base + index, no advanced modes for this one yet 888 // we only support simple base + index, no advanced modes for this one yet 912 // we only support simple base +/- index 954 // we only support simple base +/- index 1255 mBase = mPC = (uint32_t *)assembly->base(); 1269 uint32_t* MIPSAssembler::base() cons function in class:android::MIPSAssembler [all...] |
/system/core/toolbox/cp/ |
H A D | cp.c | 210 /* Save the target base in "to". */ 333 int base, dne, sval; local 338 base = 0; /* XXX gcc -Wuninitialized (see comment below) */ 388 * Since the first level MUST be FTS_ROOTLEVEL, base 394 base = (p == NULL) ? 0 : 397 if (!strcmp(&curr->fts_path[base], 399 base += 1; 401 base = curr->fts_pathlen; 404 p = &curr->fts_path[base]; 405 nlen = curr->fts_pathlen - base; [all...] |
/system/extras/tests/bionic/libc/other/ |
H A D | test_jpeg.c | 51 char* base; member in struct:__anon503 61 src->jpeg_mgr.next_input_byte = (unsigned char*)src->base, 62 src->jpeg_mgr.bytes_in_buffer = src->end - src->base; 92 src->jpeg_mgr.next_input_byte = (unsigned char*)src->base; 93 src->jpeg_mgr.bytes_in_buffer = src->end - src->base; 104 _source_init( SourceMgr src, char* base, long size ) argument 106 src->base = base; 107 src->cursor = base; 108 src->end = base [all...] |
/system/core/adb/ |
H A D | usb_linux.c | 131 static void find_usb_device(const char *base, argument 141 busdir = opendir(base); 147 snprintf(busname, sizeof busname, "%s/%s", base, de->d_name);
|
/system/core/init/ |
H A D | devices.c | 531 const char *base = "/dev/block/"; local 540 snprintf(devpath, sizeof(devpath), "%s%s", base, name); 541 make_dir(base, 0755); 552 char *base; local 566 * see drivers/base/core.c 601 base = "/dev/graphics/"; 602 make_dir(base, 0755); 604 base = "/dev/dri/"; 605 make_dir(base, 0755); 607 base [all...] |
/system/core/libpixelflinger/ |
H A D | pixelflinger.cpp | 824 void* const base = malloc(sizeof(context_t) + 32); local 825 if (base) { 827 context_t *c = (context_t *)((ptrdiff_t(base)+31) & ~0x1FL); 829 c->base = base; 841 free(c->base);
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 546 void* base; member in struct:android::context_t
|
/system/core/sh/ |
H A D | arith_lex.c | 293 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); 1610 * @param base the character buffer 1615 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) argument 1620 base[size-2] != YY_END_OF_BUFFER_CHAR || 1621 base[size-1] != YY_END_OF_BUFFER_CHAR ) 1630 b->yy_buf_pos = b->yy_ch_buf = base;
|