Searched refs:end (Results 1 - 25 of 56) sorted by relevance

123

/system/core/libcutils/
H A Dcpu_info.c32 char* chp, *end; local
56 end = chp;
57 while (*end && *end != ' ' && *end != '\t' && *end != '\n' && *end != '\r')
58 ++end;
59 *end = 0;
H A Dsched_policy.c74 char *end = text + sizeof(text) - 1; local
75 char *ptr = end;
82 if (write(fd, ptr, end - ptr) < 0) {
H A Dstrdup8to16.c192 const char *end = utf8Str + length; /* This line */ local
193 while (utf8Str < end) { /* and this line changed. */
/system/core/run-as/
H A Dpackage.c223 /* Skip any space or tab character from 'p' until 'end' is reached.
227 skip_spaces(const char* p, const char* end) argument
229 while (p < end && is_space(*p))
235 /* Skip any non-space and non-tab character from 'p' until 'end'.
239 skip_non_spaces(const char* p, const char* end) argument
241 while (p < end && !is_space(*p))
247 /* Find the first occurence of 'ch' between 'p' and 'end'
248 * Return its position, or 'end' if none is found.
251 find_first(const char* p, const char* end, char ch) argument
253 while (p < end
266 compare_name(const char* p, const char* end, const char* name) argument
303 parse_spaces(const char** pp, const char* end) argument
327 parse_positive_decimal(const char** pp, const char* end) argument
406 const char* end = find_first(p, buffer_end, '\\n'); local
[all...]
/system/wlan/ti/wilink_6_1/CUDK/os/linux/inc/
H A DParsEvent.h38 char * end; /* End of the stream */ member in struct:stream_descr
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp61 char *end; local
66 end = s + size;
67 while (s < end) {
H A DSocketListener.cpp57 for (it = mClients->begin(); it != mClients->end(); ++it) {
121 for (it = mClients->begin(); it != mClients->end(); ++it) {
156 for (it = mClients->begin(); it != mClients->end(); ++it) {
189 for (it = mClients->begin(); it != mClients->end(); ++it) {
214 for (i = mClients->begin(); i != mClients->end(); ++i) {
226 for (i = mClients->begin(); i != mClients->end(); ++i) {
/system/core/toolbox/
H A Dinsmod.c72 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 Dmount.c30 char *end; member in struct:extra_opts
76 extra->end = extra->str + extra->used_size;
81 *extra->end = ',';
82 extra->end++;
84 strcpy(extra->end, s);
/system/bluetooth/brfpatch/
H A Dbrfpatch.c64 // advance beyond next whitespace. Return -1 if end of string reached
112 char *end = buf; local
113 while (isalnum(*end))
114 end++;
117 switch ((unsigned int)end - (unsigned int)buf) {
/system/core/debuggerd/
H A Dutility.h33 unsigned end; member in struct:mapinfo
H A Dutility.c61 if((pc >= mi->start) && (pc < mi->end)){
73 if((pc >= mi->start) && (pc < mi->end)){
H A Ddebuggerd.c108 mi->end = strtoul(line + 9, 0, 16);
133 unsigned int sp, pc, p, end, data; local
145 end = p = pc & ~3;
147 end += 32;
154 while (p <= end) {
169 end = p = r.ARM_lr & ~3;
171 end += 32;
178 while (p <= end) {
195 end = sp_list[unwind_depth-1];
198 end
[all...]
/system/netd/
H A DPppController.cpp46 for (it = mTtys->begin(); it != mTtys->end(); ++it) {
64 for (it = mTtys->begin(); it != mTtys->end(); ++it) {
69 if (it == mTtys->end()) {
129 for (it = mTtys->begin(); it != mTtys->end(); ++it) {
H A DTetherController.cpp45 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) {
139 char *end = strdup(inet_ntoa(addrs[addrIndex++])); local
140 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", start, end);
236 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) {
/system/core/nexus/
H A DPropertyManager.cpp36 for (it = mNamespaces->begin(); it != mNamespaces->end();) {
46 for (ns_it = mNamespaces->begin(); ns_it != mNamespaces->end(); ++ns_it) {
58 it != ns->getProperties()->end(); ++it) {
104 it != ns->getProperties()->end(); ++it) {
199 for (ns_it = mNamespaces->begin(); ns_it != mNamespaces->end(); ++ns_it) {
202 p_it != (*ns_it)->getProperties()->end(); ++p_it) {
227 for (ns_it = mNamespaces->begin(); ns_it != mNamespaces->end(); ++ns_it) {
230 p_it != (*ns_it)->getProperties()->end(); ++p_it) {
260 for (ns_it = mNamespaces->begin(); ns_it != mNamespaces->end(); ++ns_it) {
263 p_it != (*ns_it)->getProperties()->end();
[all...]
H A DNetworkManager.cpp67 for (it = mControllerBindings->begin(); it != mControllerBindings->end(); ++it) {
79 for (it = mControllerBindings->begin(); it != mControllerBindings->end(); ++it) {
90 for (it = mControllerBindings->begin(); it != mControllerBindings->end(); ++it) {
101 for (it = mControllerBindings->begin(); it != mControllerBindings->end(); ++it) {
/system/core/include/cutils/
H A Dmspace.h114 mspace. The memory between start and end are guaranteed not to
122 void(*handler)(void *start, void *end, void *arg), void *harg);
125 }; /* end of extern "C" */
/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/liblog/
H A Devent_tag_map.c67 off_t end; local
81 end = lseek(fd, 0L, SEEK_END);
83 if (end < 0) {
88 newTagMap->mapAddr = mmap(NULL, end, PROT_READ | PROT_WRITE, MAP_PRIVATE,
95 newTagMap->mapLen = end;
251 /* we've made up our mind; just scan to end of line */
287 /* comment; just scan to end */
/system/extras/showmap/
H A Dshowmap.c17 unsigned end; member in struct:mapinfo
52 mi->end = strtoul(line + 9, 0, 16);
122 milist->end = mi->end;
159 printf("start end shared private object\n");
178 printf("%08x %08x %8d %8d %s\n", mi->start, mi->end,
/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c53 char* end; member in struct:__anon173
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/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/media/opensles/libopensles/
H A DOpenSLESUT.c106 const Pair *end = &pairs[sizeof(pairs)/sizeof(pairs[0])]; local
107 for (p = pairs; p != end; ++p) {
/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) {

Completed in 254 milliseconds

123