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

/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/fastboot/
H A Dbootimg.c43 unsigned page_size, unsigned base, unsigned tags_offset,
72 hdr->kernel_addr = base + kernel_offset;
73 hdr->ramdisk_addr = base + ramdisk_offset;
74 hdr->second_addr = base + second_offset;
75 hdr->tags_addr = base + tags_offset;
40 mkbootimg(void *kernel, unsigned kernel_size, unsigned kernel_offset, void *ramdisk, unsigned ramdisk_size, unsigned ramdisk_offset, void *second, unsigned second_size, unsigned second_offset, unsigned page_size, unsigned base, unsigned tags_offset, 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);
H A Dfastboot.c67 unsigned page_size, unsigned base, unsigned tags_offset,
323 " -b <base_addr> specify a custom kernel base address. default: 0x10000000\n"
894 {"base", required_argument, 0, 'b'},
/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c51 char* base; member in struct:__anon279
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/libcorkscrew/
H A Dsymbol_table.c78 char* base = mmap(NULL, length, PROT_READ, MAP_PRIVATE, fd, 0); local
79 if (base == MAP_FAILED) {
84 Elf32_Ehdr *hdr = (Elf32_Ehdr*)base;
88 Elf32_Shdr *shdr = (Elf32_Shdr*)(base + hdr->e_shoff);
115 dynsyms = (Elf32_Sym*)(base + shdr[dynsym_idx].sh_offset);
118 dynstr = base + shdr[dynstr_idx].sh_offset;
125 syms = (Elf32_Sym*)(base + shdr[sym_idx].sh_offset);
128 str = base + shdr[str_idx].sh_offset;
203 munmap(base, length);
/system/extras/tests/binder/benchmarks/
H A DAndroid.mk40 frameworks/base/include
/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.h63 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.h41 uint32_t* base() const;
H A DMIPSAssembler.h45 uint32_t* base() const;
247 uint32_t* base() const;
H A DGGLAssembler.h177 uint32_t* base() const { return 0; } // XXX function in class:android::GGLAssembler
/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/init/
H A Ddevices.c540 const char *base = "/dev/block/"; local
549 snprintf(devpath, sizeof(devpath), "%s%s", base, name);
550 make_dir(base, 0755);
561 char *base; local
575 * see drivers/base/core.c
610 base = "/dev/graphics/";
611 make_dir(base, 0755);
613 base = "/dev/dri/";
614 make_dir(base, 0755);
616 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);
166 hdr.kernel_addr = base + kernel_offset;
167 hdr.ramdisk_addr = base + ramdisk_offset;
168 hdr.second_addr = base + second_offset;
169 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/libutils/
H A DRefBase.cpp70 weakref_impl(RefBase* base) argument
73 , mBase(base)
89 weakref_impl(RefBase* base) argument
92 , mBase(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);
H A Dscanline.cpp422 c->scanline = (void(*)(context_t* c))assembly->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 292 milliseconds