Searched refs:base (Results 1 - 25 of 28) sorted by relevance

12

/system/core/include/cutils/
H A Dqsort_r_compat.h32 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk,
/system/core/toolbox/
H A Dhd.c23 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/libcutils/
H A Dqsort_r_compat.c26 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 Dtzstrftime.c414 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,
H A Dtztime.c191 int * unitsptr, int base));
193 int base));
1614 normalize_overflow(tensptr, unitsptr, base)
1617 const int base;
1622 (*unitsptr / base) :
1623 (-1 - (-1 - *unitsptr) / base);
1624 *unitsptr -= tensdelta * base;
1629 long_normalize_overflow(tensptr, unitsptr, base)
1632 const int base;
1637 (*unitsptr / base)
[all...]
/system/core/fastboot/
H A Dbootimg.c43 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 Dusb_linux.c244 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/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c51 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/init/
H A Ddevices.c531 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/extras/tests/binder/benchmarks/
H A DAndroid.mk39 frameworks/base/include
/system/core/libcorkscrew/
H A Dsymbol_table.c71 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/libpixelflinger/codeflinger/
H A DCodeCache.cpp136 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 DARMAssembler.cpp49 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 DCodeCache.h61 uint32_t* base() const;
H A DMIPSAssembler.cpp115 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...]
H A DARMAssembler.h42 uint32_t* base() const;
H A DMIPSAssembler.h45 uint32_t* base() const;
247 uint32_t* base() const;
/system/core/toolbox/cp/
H A Dcp.c210 /* 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/core/mkbootimg/
H A Dmkbootimg.c66 " [ --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/sh/
H A Doutput.c307 unsigned base;
379 base = 10;
382 base = 10;
385 base = 8;
394 base = 16;
410 *--p = digit[num % base];
411 num /= base;
H A Darith_lex.c293 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;
/system/core/include/system/
H A Dwindow.h78 void (*incRef)(struct android_native_base_t* base);
79 void (*decRef)(struct android_native_base_t* base);
/system/core/libpixelflinger/
H A Dpixelflinger.cpp824 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/adb/
H A Dusb_linux.c131 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/include/private/pixelflinger/
H A Dggl_context.h546 void* base; member in struct:android::context_t

Completed in 160 milliseconds

12