Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 79) sorted by relevance

1234

/system/extras/fatblock/
Dfs.c29 offset_t start, offset_t len, int type) in fs_add_extent() argument
34 extent->start = start; in fs_add_extent()
42 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, in fs_find_extent() argument
54 end = start + len; in fs_find_extent()
58 e_start = e->start; in fs_find_extent()
62 if (start >= e_end) in fs_find_extent()
68 if (e_start <= start) { in fs_find_extent()
70 e_rel_start = start - e_start; in fs_find_extent()
74 rel_len = e_end - start; in fs_find_extent()
77 r_rel_start = e_start - start; in fs_find_extent()
[all …]
Dfatblock.h36 offset_t start; member
68 int fs_read(struct fs *fs, char *buf, offset_t start, offset_t len);
/system/core/libcorkscrew/arch-arm/
Dptrace-arm.c33 if (try_get_word_ptrace(pid, mi->start + offsetof(Elf32_Ehdr, e_phoff), &elf_phoff) in load_exidx_header()
34 && try_get_word_ptrace(pid, mi->start + offsetof(Elf32_Ehdr, e_phnum), in load_exidx_header()
39 uintptr_t elf_phdr = mi->start + elf_phoff + i * elf_phentsize; in load_exidx_header()
53 *out_exidx_start = mi->start + elf_phdr_offset; in load_exidx_header()
/system/core/libcorkscrew/
Dsymbol_table.c34 if (asym->start > bsym->start) return 1; in qcompar()
35 if (asym->start < bsym->start) return -1; in qcompar()
43 if (addr < symbol->start) return -1; in bcompar()
156 table->symbols[symbol_index].start = dynsyms[i].st_value; in load_symbol_table()
160 table->symbols[symbol_index].start, table->symbols[symbol_index].end); in load_symbol_table()
174 table->symbols[symbol_index].start = syms[i].st_value; in load_symbol_table()
178 table->symbols[symbol_index].start, table->symbols[symbol_index].end); in load_symbol_table()
Dmap_info.c36 unsigned long int start; in parse_maps_line() local
40 if (sscanf(line, "%lx-%lx %4s %*x %*x:%*x %*d%n", &start, &end, in parse_maps_line()
56 mi->start = start; in parse_maps_line()
65 mi->start, mi->end, mi->is_readable, mi->is_executable, mi->name); in parse_maps_line()
101 while (mi && !(addr >= mi->start && addr < mi->end)) { in find_map_info()
/system/extras/showmap/
Dshowmap.c16 unsigned start; member
41 unsigned long start; in parse_header() local
47 if (sscanf(line, "%lx-%lx %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { in parse_header()
59 if (prev && start == prev->end && is_library(prev->name)) { in parse_header()
77 info->start = start; in parse_header()
116 return a->start < b->start in order_before()
117 || (a->start == b->start && a->end < b->end); in order_before()
280 printf("%08x %08x ", mi->start, mi->end); in show_map()
/system/extras/tests/ext4/
Drand_emmc_perf.c46 struct timeval start, end, res; in main() local
102 gettimeofday(&start, 0); in main()
118 timersub(&end, &start, &res); in main()
125 timersub(&end, &start, &res); in main()
/system/extras/tests/sdcard/
Dsysutil.cpp77 int readStringFromFile(const char *filename, char *const start, size_t size, bool must_exist=true) in readStringFromFile() argument
79 if (NULL == start || size == 0) in readStringFromFile()
83 char *end = start; in readStringFromFile()
140 return end - start; in readStringFromFile()
146 int writeStringToFile(const char *filename, const char *start, bool must_exist=true) in writeStringToFile() argument
160 const size_t len = strlen(start); in writeStringToFile()
167 ssize_t s = write(fd, start, size); in writeStringToFile()
179 start += s; in writeStringToFile()
446 char *start = reinterpret_cast<char *>(&pid); in writePidAndWaitForReply() local
453 ssize_t s = write(writefd, start, size); in writePidAndWaitForReply()
[all …]
Dsdcard_perf_test.cpp290 testCase->openTimer()->start(); in readData()
318 testCase->readTimer()->start(); in readData()
395 testCase->testTimer()->start(); in testRead()
416 testCase->openTimer()->start(); in writeData()
429 testCase->truncateTimer()->start(); in writeData()
451 testCase->writeTimer()->start(); in writeData()
469 testCase->syncTimer()->start(); in writeData()
475 testCase->syncTimer()->start(); in writeData()
494 testCase->testTimer()->start(); in testWrite()
530 testCase->testTimer()->start(); in testOpenCreate()
/system/extras/tests/lib/testUtil/
DtestUtil.c265 struct timespec start, current, delta; in testDelay() local
269 clock_gettime(CLOCK_MONOTONIC, &start); in testDelay()
276 delta = tsDelta(&start, &current); in testDelay()
291 struct timespec start, current, delta; in testDelaySpin() local
294 clock_gettime(CLOCK_MONOTONIC, &start); in testDelaySpin()
301 delta = tsDelta(&start, &current); in testDelaySpin()
324 const unsigned char *ptr = buf, *start = buf; in testXDump() local
329 if (((ptr - start) % bytesPerLine) == 0) { in testXDump()
336 (long long) (ptr - start) + xDumpOffset); in testXDump()
/system/core/fastboot/
Dengine.c98 double start; member
139 fprintf(stderr,"OKAY [%7.3fs]\n", (split - a->start)); in cb_default()
140 a->start = split; in cb_default()
172 a->start = -1; in queue_action()
417 cur_product, a->prod, (split - a->start)); in cb_check()
418 a->start = split; in cb_check()
428 fprintf(stderr,"OKAY [%7.3fs]\n", (split - a->start)); in cb_check()
429 a->start = split; in cb_check()
547 double start = -1; in fb_execute_queue() local
549 a->start = now(); in fb_execute_queue()
[all …]
/system/core/libnl_2/
Dattr.c77 struct nlattr *start = (struct nlattr *)nlmsg_tail(msg->nm_nlh); in nla_nest_start() local
84 return start; in nla_nest_start()
88 int nla_nest_end(struct nl_msg *msg, struct nlattr *start) in nla_nest_end() argument
91 start->nla_len = (unsigned char *)nlmsg_tail(nlmsg_hdr(msg)) - in nla_nest_end()
92 (unsigned char *)start; in nla_nest_end()
/system/core/libpixelflinger/codeflinger/
Ddisassem.c583 int start; in disasm_print_reglist() local
587 start = -1; in disasm_print_reglist()
591 if (start != -1) { in disasm_print_reglist()
597 if (start == loop - 1) in disasm_print_reglist()
598 di->di_printf("r%d", start); in disasm_print_reglist()
600 di->di_printf("r%d-r%d", start, loop - 1); in disasm_print_reglist()
601 start = -1; in disasm_print_reglist()
605 start = loop; in disasm_print_reglist()
/system/core/sh/
Dexpand.c349 char *p, *start; in expari() local
372 start = stackblock(); in expari()
374 while (*p != CTLARI && p >= start) in expari()
378 if (p > start && *(p-1) == CTLESC) in expari()
379 for (p = start; *p != CTLARI; p++) in expari()
387 begoff = p - start; in expari()
398 recordregion(begoff, p - 1 - start, 0); in expari()
913 recordregion(int start, int end, int inquotes) in recordregion() argument
920 if (ifslastp->endoff == start in recordregion()
931 ifslastp->begoff = start; in recordregion()
[all …]
/system/core/libzipfile/
Dcentraldir.c189 const unsigned char* start; in read_central_dir() local
201 start = buf + bufsize - MAX_EOCD_SEARCH; in read_central_dir()
203 start = buf; in read_central_dir()
206 while (p >= start) { in read_central_dir()
213 if (p < start) { in read_central_dir()
/system/core/init/
DREADME.BOOTCHART13 Otherwise, flash your device, and start it. Then create a file on the /data partition
16 adb shell 'echo $TIMEOUT > /data/bootchart-start'
21 adb shell 'echo 120 > /data/bootchart-start'
29 bootcharting. This is not the case of /data/bootchart-start, so don't forget to delete it
32 adb shell rm /data/bootchart-start
/system/vold/
DNetlinkManager.cpp50 int NetlinkManager::start() { in start() function in NetlinkManager
82 if (mHandler->start()) { in start()
DNetlinkHandler.h28 int start(void);
/system/netd/
DDnsProxyListener.h52 void start();
84 void start();
DDnsProxyListener.cpp49 void DnsProxyListener::GetAddrInfoHandler::start() { in start() function in DnsProxyListener::GetAddrInfoHandler
159 handler->start(); in runCommand()
208 handler->start(); in runCommand()
217 void DnsProxyListener::GetHostByAddrHandler::start() { in start() function in DnsProxyListener::GetHostByAddrHandler
/system/core/rootdir/etc/
Dinit.goldfish.rc26 # start essential services
27 start qemud
28 start goldfish-logcat
29 start goldfish-setup
Dinit.testmenu236 start
249 start runtime $single_process
298 "4" ) start powerd -i $powerdidletime ;;
299 "5" ) start powerd -i $powerdidletime -v ;;
/system/extras/tests/directiotest/
Ddirectiotest.c70 static ssize_t do_read(int fd, void *buf, off64_t start, size_t count) in do_read() argument
75 lseek64(fd, start, SEEK_SET); in do_read()
92 static ssize_t do_write(int fd, const void *buf, off64_t start, size_t count) in do_write() argument
97 lseek64(fd, start, SEEK_SET); in do_write()
/system/core/toolbox/
Dnandread.c34 loff_t start = 0, len = 0; in nandread_main() local
64 start = strtoll(optarg, NULL, 0); in nandread_main()
188 end = len ? (start + len) : mtdinfo.size; in nandread_main()
189 for (pos = start, opos = 0; pos < end; pos += mtdinfo.writesize) { in nandread_main()
200 oobbuf.start = pos; in nandread_main()
265 "%08x %08x %08x %08x\n", pos, oobbuf.start, in nandread_main()
/system/core/include/sysutils/
DServiceManager.h25 int start(const char *name);

1234