/system/extras/fatblock/ |
H A D | fs.h | 46 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, struct extent *last,
|
H A D | read.c | 161 int fs_read(struct fs *fs, char *buf, offset_t start, offset_t len) argument 169 while ((e = fs_find_extent(fs, start, len, e,
|
/system/extras/libpagemap/include/pagemap/ |
H A D | pagemap.h | 70 unsigned long start; member in struct:pm_map 150 /* Get the name, flags, start/end address, or offset of a map. */ 156 #define pm_map_start(map) ((map)->start)
|
/system/extras/libpagemap/ |
H A D | pm_map.c | 26 return pm_process_pagemap_range(map->proc, map->start, map->end,
|
H A D | pm_process.c | 265 &map->start, &map->end, perms, &map->offset, name);
|
/system/extras/showmap/ |
H A D | showmap.c | 16 unsigned start; member in struct:mapinfo 41 unsigned long start; local 47 if (sscanf(line, "%lx-%lx %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { 59 if (prev && start == prev->end && is_library(prev->name)) { 77 info->start = start; 116 return a->start < b->start 117 || (a->start == b->start [all...] |
/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 104 // available at the start of the benchmark. 273 struct timespec start; local 274 clock_gettime(CLOCK_MONOTONIC, &start); 285 struct timespec deltaTimespec = tsDelta(&start, ¤t);
|
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 70 static ssize_t do_read(int fd, void *buf, off64_t start, size_t count) argument 75 lseek64(fd, start, SEEK_SET); 92 static ssize_t do_write(int fd, const void *buf, off64_t start, size_t count) argument 97 lseek64(fd, start, SEEK_SET); 119 * data for a given test area be easily reproducable given the start block and
|
/system/extras/tests/ext4/ |
H A D | rand_emmc_perf.c | 46 struct timeval start, end, res; local 102 gettimeofday(&start, 0); 118 timersub(&end, &start, &res); 125 timersub(&end, &start, &res);
|
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 265 struct timespec start, current, delta; local 269 clock_gettime(CLOCK_MONOTONIC, &start); 276 delta = tsDelta(&start, ¤t); 291 struct timespec start, current, delta; local 294 clock_gettime(CLOCK_MONOTONIC, &start); 301 delta = tsDelta(&start, ¤t); 324 const unsigned char *ptr = buf, *start = buf; local 329 if (((ptr - start) % bytesPerLine) == 0) { 336 (long long) (ptr - start) + xDumpOffset);
|
/system/extras/tests/sdcard/ |
H A D | sdcard_perf_test.cpp | 296 testCase->openTimer()->start(); 324 testCase->readTimer()->start(); 401 testCase->testTimer()->start(); 422 testCase->openTimer()->start(); 435 testCase->truncateTimer()->start(); 457 testCase->writeTimer()->start(); 475 testCase->syncTimer()->start(); 481 testCase->syncTimer()->start(); 500 testCase->testTimer()->start(); 536 testCase->testTimer()->start(); [all...] |
H A D | stopwatch.cpp | 78 void StopWatch::start() function in class:android_test::StopWatch 146 // reallocate the measurement buffer (e.g start and stop called more 161 // Go over all the samples and compute the diffs between a start and 170 for (size_t i = 0; i < mDataLen; i += 2) // even: start odd: stop
|
H A D | stopwatch.h | 40 // Once the watch has been created, start and stop can be called to 56 // we collect the raw start and stop time in an array that get 65 // watch.start(); 77 // Time of the snapshot and its nature (start of the interval or end of it). 88 // measured (1 sample == 1 start + 1 stop). Used 101 void start(); 134 size_t mNum; // # of intervals == # of start() calls.
|
H A D | sysutil.cpp | 73 // @param start Buffer where the data should be written to. 77 int readStringFromFile(const char *filename, char *const start, size_t size, bool must_exist=true) argument 79 if (NULL == start || size == 0) 83 char *end = start; 140 return end - start; 146 int writeStringToFile(const char *filename, const char *start, bool must_exist=true) argument 160 const size_t len = strlen(start); 167 ssize_t s = write(fd, start, size); 179 start += s; 446 char *start local [all...] |
/system/media/camera/src/ |
H A D | camera_metadata.c | 65 * | start of camera_metadata.data | 450 uint8_t *start = dst->data + entry->data.offset; local 451 uint8_t *end = start + data_bytes; 453 memmove(start, end, length); 501 uint8_t *start = dst->data + entry->data.offset; local 502 uint8_t *end = start + entry_bytes; 504 memmove(start, end, length);
|
/system/netd/ |
H A D | DnsProxyListener.cpp | 50 void DnsProxyListener::GetAddrInfoHandler::start() { function in class:DnsProxyListener::GetAddrInfoHandler 161 handler->start(); 210 handler->start(); 219 void DnsProxyListener::GetHostByAddrHandler::start() { function in class:DnsProxyListener::GetHostByAddrHandler
|
H A D | DnsProxyListener.h | 51 void start(); 82 void start();
|
H A D | NetlinkHandler.cpp | 40 int NetlinkHandler::start() { function in class:NetlinkHandler
|
H A D | NetlinkHandler.h | 30 int start(void);
|
H A D | NetlinkManager.cpp | 89 if (handler->start()) { 90 ALOGE("Unable to start NetlinkHandler: %s", strerror(errno)); 98 int NetlinkManager::start() { function in class:NetlinkManager
|
H A D | NetlinkManager.h | 43 int start();
|
H A D | TetherController.cpp | 152 char *start = strdup(inet_ntoa(addrs[addrIndex++])); local 154 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", start, end);
|
H A D | main.cpp | 63 if (nm->start()) { 64 ALOGE("Unable to start NetlinkManager (%s)", strerror(errno)); 73 ALOGE("Unable to start DnsProxyListener (%s)", strerror(errno)); 79 ALOGE("Unable to start MDnsSdListener (%s)", strerror(errno)); 86 ALOGE("Unable to start CommandListener (%s)", strerror(errno));
|