Searched refs:end (Results 26 - 50 of 60) sorted by relevance

123

/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/core/debuggerd/
H A Dbacktrace.c62 _LOG(log, false, "\n----- end %d -----\n", pid);
136 char* end; local
137 pid_t new_tid = strtoul(de->d_name, &end, 10);
138 if (*end || new_tid == tid) {
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/libcutils/
H A Dstrdup8to16.c192 const char *end = utf8Str + length; /* This line */ local
193 while (utf8Str < end) { /* and this line changed. */
H A Dsched_policy.c98 char *end = text + sizeof(text) - 1; local
99 char *ptr = end;
106 if (write(fd, ptr, end - ptr) < 0) {
/system/extras/libpagemap/include/pagemap/
H A Dpagemap.h71 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/core/libsparse/
H A Dbacked_block.h62 struct backed_block *end);
/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 DBandwidthController.cpp72 * - the qtaguid counting is done at the end of the bw_INPUT/bw_OUTPUT user chains.
348 for (it = naughtyAppUids.begin(); it != naughtyAppUids.end(); it++) {
352 bool found = (it != naughtyAppUids.end());
527 for (it = sharedQuotaIfaces.begin(); it != sharedQuotaIfaces.end(); it++) {
532 if (it == sharedQuotaIfaces.end()) {
582 for (it = sharedQuotaIfaces.begin(); it != sharedQuotaIfaces.end(); it++) {
586 if (it == sharedQuotaIfaces.end()) {
632 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); it++) {
637 if (it == quotaIfaces.end()) {
706 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); i
[all...]
H A DNetdConstants.cpp57 for (it = argsList.begin(); it != argsList.end(); it++, i++) {
/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/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/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/libsysutils/src/
H A DSocketClient.cpp114 const char *end = arg + len; local
117 while (arg < end) {
H A DFrameworkListener.cpp173 for (i = mCommands->begin(); i != mCommands->end(); ++i) {
/system/core/include/diskconfig/
H A Ddiskconfig.h68 struct chs end; /* bytes 5-7 */ member in struct:pc_partition
/system/core/toolbox/
H A Dnandread.c33 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) {
/system/extras/libpagemap/
H A Dpm_map.c26 return pm_process_pagemap_range(map->proc, map->start, map->end,
/system/vold/
H A DVolumeManager.cpp114 for (it = mVolumes->begin(); it != mVolumes->end(); ++it) {
138 for (it = mVolumes->begin(); it != mVolumes->end(); ++it) {
158 for (i = mVolumes->begin(); i != mVolumes->end(); ++i) {
303 // Add +1 for our superblock which is at the end
343 * Drop down the superblock at the end of the file
760 for (it = mActiveContainers->begin(); it != mActiveContainers->end(); ++it) {
768 if (it == mActiveContainers->end()) {
991 for (i = mVolumes->begin(); i != mVolumes->end(); ++i) {
1322 for (i = mVolumes->begin(); i != mVolumes->end(); ++i) {
1340 for (i = mVolumes->begin(); i != mVolumes->end();
[all...]
H A DDirectVolume.cpp55 for (it = mPaths->begin(); it != mPaths->end(); ++it)
93 for (it = mPaths->begin(); it != mPaths->end(); ++it) {
/system/core/libdiskconfig/
H A Dconfig_mbr.c38 memset(&pentry->end, 0xff, sizeof(struct chs));
42 memset(&pentry->end, 0, sizeof(struct chs));
/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");
/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')))

Completed in 245 milliseconds

123