Searched defs:start (Results 26 - 50 of 53) sorted by relevance

123

/system/core/libsparse/
H A Dbacked_block.c145 struct backed_block_list *to, struct backed_block *start,
150 if (start == NULL) {
151 start = from->data_blocks;
155 for (end = start; end && end->next; end = end->next)
159 if (start == NULL || end == NULL) {
165 if (from->data_blocks == start) {
169 if (bb->next == start) {
177 to->data_blocks = start;
181 if (!bb->next || bb->next->block > start->block) {
183 bb->next = start;
144 backed_block_list_move(struct backed_block_list *from, struct backed_block_list *to, struct backed_block *start, struct backed_block *end) argument
[all...]
H A Dsparse.c230 struct backed_block *start; local
241 start = backed_block_iter_new(from->backed_block_list);
248 for (bb = start; bb; bb = backed_block_iter_next(bb)) {
270 to->backed_block_list, start, last_bb);
/system/core/libutils/
H A DLinearAllocator.cpp97 void* start() { function in class:android::LinearAllocator::Page
102 return (void*) (((size_t)start()) + pageSize);
132 void* LinearAllocator::start(Page* p) { function in class:android::LinearAllocator
160 mNext = start(mCurrentPage);
174 return start(page);
186 if (ptr >= start(mCurrentPage) && ptr < end(mCurrentPage)
H A DString8.cpp391 ssize_t String8::find(const char* other, size_t start) const
394 if (start >= len) {
397 const char* s = mString+start;
407 void String8::toLower(size_t start, size_t length) argument
410 if (start >= len) {
413 if (start+length > len) {
414 length = len-start;
417 buf += start;
431 void String8::toUpper(size_t start, size_t length) argument
434 if (start >
[all...]
/system/core/toolbox/
H A Ddd.h68 struct timeval start; /* start time of dd */ member in struct:__anon247
/system/extras/fatblock/
H A Dfs.c29 offset_t start, offset_t len, int type)
34 extent->start = start;
42 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, argument
54 end = start + len;
58 e_start = e->start;
62 if (start >= e_end)
68 if (e_start <= start) {
70 e_rel_start = start - e_start;
74 rel_len = e_end - start;
28 fs_add_extent(struct fs *fs, struct extent *extent, offset_t start, offset_t len, int type) argument
115 cluster_t clusters_needed, start; local
[all...]
/system/extras/showmap/
H A Dshowmap.c16 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 DbinderAddInts.cpp104 // available at the start of the benchmark.
273 struct timespec start; local
274 clock_gettime(CLOCK_MONOTONIC, &start);
285 struct timespec deltaTimespec = tsDelta(&start, &current);
/system/extras/tests/directiotest/
H A Ddirectiotest.c70 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/lib/testUtil/
H A DtestUtil.c265 struct timespec start, current, delta; local
269 clock_gettime(CLOCK_MONOTONIC, &start);
276 delta = tsDelta(&start, &current);
291 struct timespec start, current, delta; local
294 clock_gettime(CLOCK_MONOTONIC, &start);
301 delta = tsDelta(&start, &current);
324 const unsigned char *ptr = buf, *start = buf; local
329 if (((ptr - start) % bytesPerLine) == 0) {
336 (long long) (ptr - start) + xDumpOffset);
/system/media/camera/tests/
H A Dcamera_metadata_tests_fake_vendor.h158 unsigned int start, end; local
163 start = fakevendor_section_bounds[section][0];
165 count += end - start;
172 unsigned int start, end, tag; local
176 start = fakevendor_section_bounds[section][0];
178 for (tag = start; tag < end; tag++) {
/system/netd/
H A DDnsProxyListener.cpp75 void DnsProxyListener::GetAddrInfoHandler::start() { function in class:DnsProxyListener::GetAddrInfoHandler
238 handler->start();
289 handler->start();
315 void DnsProxyListener::GetHostByNameHandler::start() { function in class:DnsProxyListener::GetHostByNameHandler
422 handler->start();
450 void DnsProxyListener::GetHostByAddrHandler::start() { function in class:DnsProxyListener::GetHostByAddrHandler
/system/core/libcorkscrew/arch-x86/
H A Ddwarf.h98 uint32_t start; member in struct:__anon157
H A Dbacktrace-x86.c255 ALOGV("find_fde: no eh_frame_hdr for map: start=0x%x, end=0x%x", mi->start, mi->end);
293 uintptr_t start = 0; local
299 if (!read_dwarf(memory, eh_frame_hdr, &start, eh_hdr_info.fde_table_enc, &entry)) return 0;
300 if (pc <= start) {
308 ALOGV("find_fde: pc %x is out of FDE bounds: %x", pc, start);
312 if (!read_dwarf(memory, eh_frame_hdr, &start, eh_hdr_info.fde_table_enc, &c)) return 0;
314 ALOGV("pc 0x%x, ENTRY %d: start=0x%x, fde=0x%x", pc, high, start, fde);
725 if (!read_dwarf(memory, fde, &fde_info->start, (uint8_
[all...]
/system/core/sh/
H A Dexec.c281 * set to the start of the path before the first call; padvance will update
296 const char *start; local
301 start = *path;
302 for (p = start ; *p && *p != ':' && *p != '%' ; p++);
303 len = p - start + strlen(name) + 2; /* "2" is for '/' and '\0' */
307 if (p != start) {
308 memcpy(q, start, p - start);
309 q += p - start;
501 prev = -1; /* where to start */
[all...]
H A Dexpand.c82 int begoff; /* offset of start of region */
343 * Expand arithmetic expression. Backup to start of expression,
349 char *p, *start; local
362 * scan backwards looking for the start of arithmetic. If the
372 start = stackblock();
374 while (*p != CTLARI && p >= start)
378 if (p > start && *(p-1) == CTLESC)
379 for (p = start; *p != CTLARI; p++)
387 begoff = p - start;
398 recordregion(begoff, p - 1 - start,
913 recordregion(int start, int end, int inquotes) argument
948 char *start; local
1127 char *start; local
[all...]
/system/extras/libpagemap/include/pagemap/
H A Dpagemap.h71 unsigned long start; member in struct:pm_map
174 /* Get the name, flags, start/end address, or offset of a map. */
181 #define pm_map_start(map) ((map)->start)
/system/extras/tests/sdcard/
H A Dsysutil.cpp73 // @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/core/adb/
H A Dsysdeps.h437 static __inline__ int adb_thread_create( adb_thread_t *pthread, adb_thread_func_t start, void* arg ) argument
444 return pthread_create( pthread, &attr, start, arg );
/system/core/fastboot/
H A Dengine.c97 double start; member in struct:Action
185 fprintf(stderr,"OKAY [%7.3fs]\n", (split - a->start));
186 a->start = split;
218 a->start = -1;
455 cur_product, a->prod, (split - a->start));
456 a->start = split;
466 fprintf(stderr,"OKAY [%7.3fs]\n", (split - a->start));
467 a->start = split;
587 double start = -1; local
589 a->start
[all...]
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c91 /* Get the EXIDX section start and size for the module that contains a
110 uintptr_t start = (uintptr_t)__gnu_Unwind_Find_exidx((_Unwind_Ptr)pc, &count); local
112 return start;
196 pc, mi->name, mi->start, exidx_start, exidx_size, handler, handler_index);
/system/core/liblog/
H A Dfake_log_device.c479 const char* start = p; local
481 if ((p-start) > 0) {
482 v->iov_base = (void*)start;
483 v->iov_len = p-start;
484 totalLen += p-start;
/system/extras/ext4_utils/
H A Dallocate.c208 static int reserve_blocks(struct block_group_info *bg, u32 start, u32 num) argument
212 u32 block = start;
238 if (start == bg->first_free_block)
239 bg->first_free_block = start + num;
/system/vold/
H A DVolume.cpp458 property_set("ctl.start", service);
671 char* start = strstr(line, "UUID="); local
672 if (start != NULL && sscanf(start + 5, "\"%127[^\"]\"", value) == 1) {
678 start = strstr(line, "LABEL=");
679 if (start != NULL && sscanf(start + 6, "\"%127[^\"]\"", value) == 1) {
/system/media/camera/src/
H A Dcamera_metadata.c82 * | start of camera_metadata.data |
354 ALOGE("%s: Entry start + capacity (%u) should be <= data start (%u)",
365 ALOGE("%s: Data start + capacity (%u) should be <= total size (%u)",
650 uint8_t *start = get_data(dst) + entry->data.offset; local
651 uint8_t *end = start + data_bytes;
653 memmove(start, end, length);
704 uint8_t *start = get_data(dst) + entry->data.offset; local
705 uint8_t *end = start + entry_bytes;
707 memmove(start, en
[all...]

Completed in 558 milliseconds

123