Home
last modified time | relevance | path

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

12

/system/core/toolbox/
Dhd.c23 int base = -1; in hd_main() local
33 base = strtol(optarg, NULL, 0); in hd_main()
60 if(base >= 0) { in hd_main()
61 lseek(fd, base, SEEK_SET); in hd_main()
62 filepos = base; in hd_main()
68 if(count > 0 && base + count - filepos < read_len) in hd_main()
69 read_len = base + count - filepos; in hd_main()
90 if(filepos == base + count) in hd_main()
/system/core/fastboot/
Dbootimg.c43 unsigned page_size, unsigned base, unsigned tags_offset, in mkbootimg() argument
72 hdr->kernel_addr = base + kernel_offset; in mkbootimg()
73 hdr->ramdisk_addr = base + ramdisk_offset; in mkbootimg()
74 hdr->second_addr = base + second_offset; in mkbootimg()
75 hdr->tags_addr = base + tags_offset; in mkbootimg()
Dusb_linux.c244 static usb_handle *find_usb_device(const char *base, ifc_match_func callback) in find_usb_device() argument
256 busdir = opendir(base); in find_usb_device()
262 sprintf(busname, "%s/%s", base, de->d_name); in find_usb_device()
Dfastboot.c67 unsigned page_size, unsigned base, unsigned tags_offset,
/system/core/init/
Ddevices.c540 const char *base = "/dev/block/"; in handle_block_device_event() local
549 snprintf(devpath, sizeof(devpath), "%s%s", base, name); in handle_block_device_event()
550 make_dir(base, 0755); in handle_block_device_event()
561 char *base; in handle_generic_device_event() local
610 base = "/dev/graphics/"; in handle_generic_device_event()
611 make_dir(base, 0755); in handle_generic_device_event()
613 base = "/dev/dri/"; in handle_generic_device_event()
614 make_dir(base, 0755); in handle_generic_device_event()
616 base = "/dev/oncrpc/"; in handle_generic_device_event()
617 make_dir(base, 0755); in handle_generic_device_event()
[all …]
Dreadme.txt230 Set the system clock base (0 if system clock ticks in GMT)
/system/extras/tests/bionic/libc/other/
Dtest_jpeg.c51 char* base; member
61 src->jpeg_mgr.next_input_byte = (unsigned char*)src->base, in _source_init_source()
62 src->jpeg_mgr.bytes_in_buffer = src->end - src->base; in _source_init_source()
92 src->jpeg_mgr.next_input_byte = (unsigned char*)src->base; in _source_resync_to_restart()
93 src->jpeg_mgr.bytes_in_buffer = src->end - src->base; in _source_resync_to_restart()
104 _source_init( SourceMgr src, char* base, long size ) in _source_init() argument
106 src->base = base; in _source_init()
107 src->cursor = base; in _source_init()
108 src->end = base + size; in _source_init()
/system/core/libcorkscrew/
Dsymbol_table.c78 char* base = mmap(NULL, length, PROT_READ, MAP_PRIVATE, fd, 0); in load_symbol_table() local
79 if (base == MAP_FAILED) { in load_symbol_table()
84 Elf32_Ehdr *hdr = (Elf32_Ehdr*)base; in load_symbol_table()
88 Elf32_Shdr *shdr = (Elf32_Shdr*)(base + hdr->e_shoff); in load_symbol_table()
115 dynsyms = (Elf32_Sym*)(base + shdr[dynsym_idx].sh_offset); in load_symbol_table()
118 dynstr = base + shdr[dynstr_idx].sh_offset; in load_symbol_table()
125 syms = (Elf32_Sym*)(base + shdr[sym_idx].sh_offset); in load_symbol_table()
128 str = base + shdr[str_idx].sh_offset; in load_symbol_table()
203 munmap(base, length); in load_symbol_table()
/system/core/libpixelflinger/codeflinger/
DCodeCache.cpp136 uint32_t* Assembly::base() const in base() function in android::Assembly
205 const long base = long(assembly->base()); in cache() local
206 const long curr = base + long(assembly->size()); in cache()
207 err = cacheflush(base, curr, 0); in cache()
DARMAssembler.cpp49 mBase = mPC = (uint32_t *)assembly->base(); in ARMAssembler()
65 uint32_t* ARMAssembler::base() const in base() function in android::ARMAssembler
72 mBase = mPC = (uint32_t *)mAssembly->base(); in reset()
91 size_t count = pc()-base(); in disassemble()
92 uint32_t* i = base(); in disassemble()
180 mAssembly->resize( int(pc()-base())*4 ); in generate()
185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration); in generate()
189 int err = qemu_add_mapping(int(base()), name); in generate()
197 printf(format, name, int(pc()-base()), base(), pc(), duration); in generate()
DCodeCache.h63 uint32_t* base() const;
DMIPSAssembler.cpp115 uint32_t* ArmToMipsAssembler::base() const in base() function in android::ArmToMipsAssembler
117 return mMips->base(); in base()
1255 mBase = mPC = (uint32_t *)assembly->base(); in MIPSAssembler()
1269 uint32_t* MIPSAssembler::base() const in base() function in android::MIPSAssembler
1276 mBase = mPC = (uint32_t *)mAssembly->base(); in reset()
1346 size_t count = pc()-base(); in disassemble()
1347 uint32_t* mipsPC = base(); in disassemble()
1401 mAssembly->resize( int(pc()-base())*4 ); in generate()
1406 ALOGI(format, name, int(pc()-base()), base(), pc(), duration); in generate()
1410 int err = qemu_add_mapping(int(base()), name); in generate()
DARMAssembler.h41 uint32_t* base() const;
DMIPSAssembler.h45 uint32_t* base() const;
247 uint32_t* base() const;
DGGLAssembler.h177 uint32_t* base() const { return 0; } // XXX in base() function
/system/core/mkbootimg/
Dmkbootimg.c112 unsigned base = 0x10000000; in main() local
142 base = strtoul(val, 0, 16); in main()
166 hdr.kernel_addr = base + kernel_offset; in main()
167 hdr.ramdisk_addr = base + ramdisk_offset; in main()
168 hdr.second_addr = base + second_offset; in main()
169 hdr.tags_addr = base + tags_offset; in main()
/system/core/toolbox/cp/
Dcp.c333 int base, dne, sval; in copy() local
338 base = 0; /* XXX gcc -Wuninitialized (see comment below) */ in copy()
394 base = (p == NULL) ? 0 : in copy()
397 if (!strcmp(&curr->fts_path[base], in copy()
399 base += 1; in copy()
401 base = curr->fts_pathlen; in copy()
404 p = &curr->fts_path[base]; in copy()
405 nlen = curr->fts_pathlen - base; in copy()
/system/core/sh/
Doutput.c307 unsigned base; in doformat()
379 base = 10; in doformat()
382 base = 10; in doformat()
385 base = 8; in doformat()
394 base = 16; in doformat()
410 *--p = digit[num % base]; in doformat()
411 num /= base; in doformat()
Darith_lex.c293 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
1615 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) in yy_scan_buffer() argument
1620 base[size-2] != YY_END_OF_BUFFER_CHAR || in yy_scan_buffer()
1621 base[size-1] != YY_END_OF_BUFFER_CHAR ) in yy_scan_buffer()
1630 b->yy_buf_pos = b->yy_ch_buf = base; in yy_scan_buffer()
/system/extras/tests/binder/benchmarks/
DAndroid.mk40 frameworks/base/include
/system/core/libutils/
DRefBase.cpp70 weakref_impl(RefBase* base) in weakref_impl() argument
73 , mBase(base) in weakref_impl()
89 weakref_impl(RefBase* base) in weakref_impl() argument
92 , mBase(base) in weakref_impl()
/system/core/include/system/
Dwindow.h78 void (*incRef)(struct android_native_base_t* base);
79 void (*decRef)(struct android_native_base_t* base);
/system/core/libpixelflinger/
Dpixelflinger.cpp824 void* const base = malloc(sizeof(context_t) + 32); in gglInit() local
825 if (base) { in gglInit()
827 context_t *c = (context_t *)((ptrdiff_t(base)+31) & ~0x1FL); in gglInit()
829 c->base = base; in gglInit()
841 free(c->base); in gglUninit()
/system/core/adb/
Dusb_linux.c131 static void find_usb_device(const char *base, in find_usb_device() argument
141 busdir = opendir(base); in find_usb_device()
147 snprintf(busname, sizeof busname, "%s/%s", base, de->d_name); in find_usb_device()
/system/core/include/private/pixelflinger/
Dggl_context.h546 void* base;

12