Searched defs:end (Results 26 - 45 of 45) sorted by relevance

12

/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c53 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/netd/
H A DTetherController.cpp47 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) {
H A DList.h169 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();
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp151 const uint8_t *const end = keyBlob + keyBlobLength; local
186 if (p + publicLen > end) {
187 ALOGE("public key length encoding error: size=%ld, end=%d", publicLen, end - p);
193 if (end - p < 2) {
200 if (p + privateLen > end) {
201 ALOGE("private key length encoding error: size=%ld, end=%d", privateLen, end - p);
/system/core/adb/
H A Djdwp_service.c124 char* end = buffer + bufferlen; local
135 len = snprintf(p, end-p, "%d\n", proc->pid);
136 if (p + len >= end)
258 if (len == 0) { /* end of stream ? */
259 D("weird end-of-stream from unknown JDWP process\n");
H A Dtransport.c949 char* end = buf + bufsize; local
956 len = format_transport(t, p, end - p, long_listing);
957 if (p + len >= end) {
/system/core/include/sysutils/
H A DList.h169 insert(begin(), src.begin(), src.end());
186 return size_t(distance(begin(), end()));
200 inline iterator end() { function in class:android::sysutils::List
203 inline const_iterator end() const { function in class:android::sysutils::List
209 void push_back(const T& val) { insert(end(), val); }
319 iterator lastDst = end();
321 const_iterator lastSrc = right.end();
/system/core/init/
H A Dbootchart.c251 char* end; local
252 int pid = strtol( entry->d_name, &end, 10);
253 if (end != NULL && end > entry->d_name && *end == 0) {
/system/extras/tests/sdcard/
H A Dsysutil.cpp57 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/core/debuggerd/
H A Dtombstone.c358 if (addr >= map->start && addr < map->end) {
361 } else if (addr >= map->end) {
377 _LOG(log, false, " %08x-%08x %s\n", next->start, next->end, next->name);
382 _LOG(log, false, " %08x-%08x %s\n", map->start, map->end, map->name);
387 _LOG(log, false, " %08x-%08x %s\n", prev->start, prev->end, prev->name);
428 char* end; local
429 pid_t new_tid = strtoul(de->d_name, &end, 10);
430 if (*end || new_tid == tid) {
518 tailOnly ? "tail end of " : "", filename);
/system/core/liblog/
H A Dfake_log_device.c324 struct iovec* end = iov + iovcnt; local
325 for (; iov < end; iov++) {
434 const char* end = msg + strlen(msg); local
437 while (p < end) {
472 while (numLines > 0 && p < end) {
480 while (p < end && *p != '\n') p++;
579 break; /* reached end of configured values */
H A Dlogprint.c336 char *end = str + strlen(str) - 1; local
338 while (end >= str && isspace(*end))
339 *end-- = '\0';
823 // The line-end finding here must match the line-end finding
828 // plus one line for anything not newline-terminated at the end
864 // Find the next end-of-line in message
/system/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp101 int end = scratches.obtain(); local
102 MOV(AL, 0, end, reg_imm(parts.count.reg, LSR, 16));
103 MLA(AL, 1, end, dvdx, end, c);
104 SUB(MI, 0, c, c, end);
106 scratches.recycle(end);
/system/media/camera/src/
H A Dcamera_metadata.c451 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/core/charger/
H A Dcharger.c277 char *end; local
283 tmp = strtol(buf, &end, 0);
284 if (end == buf ||
285 ((end < buf+sizeof(buf)) && (*end != '\n' && *end != '\0')))
/system/core/sh/
H A Dexpand.c83 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/libcutils/
H A Dtztime.c499 sp->chars[i] = '\0'; /* ensure '\0' at end */
546 ** Ignore the end (easy).
997 struct rule end; local
1008 if ((name = getrule(name, &end)) == NULL)
1032 endtime = transtime(janfirst, year, &end,
1387 ** Return the number of leap years through the end of the given year
/system/core/libpixelflinger/
H A Dscanline.cpp619 const int32_t end = dvdx * (len-1) + v; local
620 if (end < 0)
621 v -= end;
/system/core/sdcard/
H A Dfuse.h120 __u64 end; member in struct:fuse_file_lock
/system/security/keystore/
H A Dkeystore.cpp766 char* end = NULL; local
767 *uid = strtol(uidString.c_str(), &end, 10);
768 return *end == '\0';
849 * code [length_1 message_1 ... length_n message_n] end-of-file

Completed in 121 milliseconds

12