/system/core/libpixelflinger/ |
H A D | scanline.cpp | 619 const int32_t end = dvdx * (len-1) + v; local 620 if (end < 0) 621 v -= end;
|
/system/core/libsparse/ |
H A D | backed_block.c | 146 struct backed_block *end) 154 if (!end) { 155 for (end = start; end && end->next; end = end->next) 159 if (start == NULL || end == NULL) { 166 from->data_blocks = end->next; 170 bb->next = end 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...] |
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 139 /* If the string between 'str' and 'end' begins with 'prefixlen' characters 144 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) argument 146 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) 156 #define HAS_CONST_PREFIX(str,end,prefix) has_prefix((str),(end),prefix,CONST_STRLEN(prefix)) 165 const char *end; local 176 end = s + size; 177 while (s < end) { 180 /* buffer is 0-terminated, no need to check p < end */ 190 if ((a = HAS_CONST_PREFIX(s, end, "ACTIO [all...] |
H A D | SocketClient.cpp | 114 const char *end = arg + len; local 117 while (arg < end) {
|
/system/core/run-as/ |
H A D | package.c | 254 /* Skip any space or tab character from 'p' until 'end' is reached. 258 skip_spaces(const char* p, const char* end) argument 260 while (p < end && is_space(*p)) 266 /* Skip any non-space and non-tab character from 'p' until 'end'. 270 skip_non_spaces(const char* p, const char* end) argument 272 while (p < end && !is_space(*p)) 278 /* Find the first occurence of 'ch' between 'p' and 'end' 279 * Return its position, or 'end' if none is found. 282 find_first(const char* p, const char* end, char ch) argument 284 while (p < end 297 compare_name(const char* p, const char* end, const char* name) argument 334 parse_spaces(const char** pp, const char* end) argument 358 parse_positive_decimal(const char** pp, const char* end) argument 437 const char* end = find_first(p, buffer_end, '\\n'); local [all...] |
/system/core/sdcard/ |
H A D | fuse.h | 120 __u64 end; member in struct:fuse_file_lock
|
/system/core/sh/ |
H A D | expand.c | 83 int endoff; /* offset of end of region */ 199 case CTLENDVAR: /* end of expanding yyy in ${xxx-yyy} */ 755 if (subtype != VSNORMAL) { /* skip to end of alternative */ 913 recordregion(int start, int end, int inquotes) argument 923 ifslastp->endoff = end; 932 ifslastp->endoff = end; 979 /* Only NULs (probably from "$@") end args */ 1171 if (metaflag == 0) { /* we've reached the end of the file name */
|
/system/core/toolbox/ |
H A D | insmod.c | 72 char *end = opts + sizeof(opts) - 1; local 75 for (i = 2; (i < argc) && (ptr < end); i++) { 76 len = min(strlen(argv[i]), end - ptr);
|
H A D | mount.c | 30 char *end; member in struct:extra_opts 81 extra->end = extra->str + extra->used_size; 86 *extra->end = ','; 87 extra->end++; 89 strcpy(extra->end, s);
|
H A D | nandread.c | 33 loff_t pos, opos, end, bpos; local 188 end = len ? (start + len) : mtdinfo.size; 189 for (pos = start, opos = 0; pos < end; pos += mtdinfo.writesize) {
|
H A D | r.c | 19 char *end; local 36 end = strchr(argv[1], '-'); 37 if (end) 38 endaddr = strtoul(end + 1, 0, 16); 44 fprintf(stderr, "invalid end address\n");
|
/system/extras/fatblock/ |
H A D | fs.c | 49 offset_t end; local 54 end = start + len; 65 if (end <= e_start) 71 if (end <= e_end) 78 if (e_end <= end) 81 rel_len = end - e_start;
|
/system/extras/libpagemap/include/pagemap/ |
H A D | pagemap.h | 71 unsigned long end; member in struct:pm_map 150 /* Get the name, flags, start/end address, or offset of a map. */ 157 #define pm_map_end(map) ((map)->end)
|
/system/extras/showmap/ |
H A D | showmap.c | 17 unsigned end; member in struct:mapinfo 42 unsigned long end; 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)) { 78 info->end = end; 117 || (a->start == b->start && a->end < b->end); 216 printf(" start end "); 280 printf("%08x %08x ", mi->start, mi->end); [all...] |
/system/extras/tests/bionic/libc/other/ |
H A D | test_jpeg.c | 53 char* end; member in struct:__anon503 62 src->jpeg_mgr.bytes_in_buffer = src->end - src->base; 79 if (src->jpeg_mgr.next_input_byte + num_bytes > (unsigned char*)src->end ) { 93 src->jpeg_mgr.bytes_in_buffer = src->end - src->base; 108 src->end = base + size;
|
/system/extras/tests/ext4/ |
H A D | rand_emmc_perf.c | 46 struct timeval start, end, res; local 117 gettimeofday(&end, 0); 118 timersub(&end, &start, &res); 124 gettimeofday(&end, 0); 125 timersub(&end, &start, &res);
|
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 57 const char *kNormalizedSleepers = "NORMALIZED_SLEEPER"; // no 's' at the end 76 // to end the string) or -1 if there was an error. 83 char *end = start; local 105 s = read(fd, end, size); 121 end += s; 135 *end = '\0'; 140 return end - start; 531 char *end = reinterpret_cast<char *>(&pid); local 541 s = read(readfd, end, size); 557 end [all...] |
/system/media/camera/src/ |
H A D | camera_metadata.c | 451 uint8_t *end = start + data_bytes; local 453 memmove(start, end, length); 502 uint8_t *end = start + entry_bytes; local 504 memmove(start, end, length);
|
/system/netd/ |
H A D | List.h | 169 insert(begin(), src.begin(), src.end()); 186 return size_t(distance(begin(), end())); 200 inline iterator end() { function in class:android::netd::List 203 inline const_iterator end() const { function in class:android::netd::List 209 void push_back(const T& val) { insert(end(), val); } 319 iterator lastDst = end(); 321 const_iterator lastSrc = right.end();
|
H A D | TetherController.cpp | 47 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { 153 char *end = strdup(inet_ntoa(addrs[addrIndex++])); local 154 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", start, end); 319 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) {
|