Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 9 of 9) sorted by relevance

/device/google/contexthub/firmware/os/inc/
Disr.h63 struct link_t *cur, *tmp; in dispatchIsr() local
67 list_iterate(&interrupt->isrs, cur, tmp) { in dispatchIsr()
68 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in dispatchIsr()
82 struct link_t *cur, *tmp; in unchainIsrAll() local
84 list_iterate(&interrupt->isrs, cur, tmp) { in unchainIsrAll()
85 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in unchainIsrAll()
97 struct link_t *cur, *tmp; in maxLatencyIsr() local
100 list_iterate(&interrupt->isrs, cur, tmp) { in maxLatencyIsr()
101 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in maxLatencyIsr()
/device/google/contexthub/firmware/os/core/
DsimpleQ.c82 struct SimpleQueueEntry *cur; in simpleQueueDestroy() local
85 for (i = sq->head; i != SIMPLE_QUEUE_IDX_NONE; i = cur->nextIdx) { in simpleQueueDestroy()
86 cur = simpleQueueGetNth(sq, i); in simpleQueueDestroy()
87 discard(cur->data, true); in simpleQueueDestroy()
119 struct SimpleQueueEntry* cur = NULL; in simpleQueueAllocWithDiscard() local
122 for (idx = sq->head; idx != SIMPLE_QUEUE_IDX_NONE; prev=idx, idx = cur->nextIdx) { in simpleQueueAllocWithDiscard()
123 cur = simpleQueueGetNth(sq, idx); in simpleQueueAllocWithDiscard()
125 if (!cur->discardable) in simpleQueueAllocWithDiscard()
129 if (sq->discardCbk(cur->data, false)) { in simpleQueueAllocWithDiscard()
133 sq->head = cur->nextIdx; in simpleQueueAllocWithDiscard()
[all …]
Dseos.c224 struct TaskList *cur = &task->list; in osTaskListRemoveTask() local
225 TaskIndex left_idx = cur->prev; in osTaskListRemoveTask()
226 TaskIndex right_idx = cur->next; in osTaskListRemoveTask()
229 cur->prev = cur->next = NO_NODE; in osTaskListRemoveTask()
240 struct TaskList *cur = &task->list; in osTaskListAddTail() local
244 cur->prev = last_idx; in osTaskListAddTail()
245 cur->next = NO_NODE; in osTaskListAddTail()
/device/generic/goldfish/network/netmgr/
Dutils.cpp22 const char* cur = str; in explode() local
26 space = ::strchr(cur, divider); in explode()
28 result.emplace_back(cur, space); in explode()
29 cur = space + 1; in explode()
31 result.emplace_back(cur); in explode()
/device/generic/goldfish/radio/ril/
Datchannel.c302 static char * findNextEOL(char *cur) in findNextEOL() argument
304 if (cur[0] == '>' && cur[1] == ' ' && cur[2] == '\0') { in findNextEOL()
306 return cur+2; in findNextEOL()
310 while (*cur != '\0' && *cur != '\r' && *cur != '\n') cur++; in findNextEOL()
312 return *cur == '\0' ? NULL : cur; in findNextEOL()
480 size_t cur = 0; in writeline() local
493 while (cur < len) { in writeline()
495 written = write (s_fd, s + cur, len - cur); in writeline()
502 cur += written; in writeline()
519 size_t cur = 0; in writeCtrlZ() local
[all …]
Dif_monitor.cpp160 for (struct ifaddrs* cur = addresses; cur; cur = cur->ifa_next) { in requestAddresses() local
161 if (cur->ifa_name == nullptr || in requestAddresses()
162 cur->ifa_addr == nullptr || in requestAddresses()
163 cur->ifa_netmask == nullptr) { in requestAddresses()
169 if (cur->ifa_flags & IFF_LOOPBACK) { in requestAddresses()
174 unsigned int ifIndex = if_nametoindex(cur->ifa_name); in requestAddresses()
177 cur->ifa_name, strerror(errno)); in requestAddresses()
181 addr.family = cur->ifa_addr->sa_family; in requestAddresses()
182 addr.prefix = getPrefix(cur->ifa_netmask); in requestAddresses()
184 getSockAddrData(cur->ifa_addr), in requestAddresses()
[all …]
Dreference-ril.c2105 size_t cur = 0; local
2121 while (cur < len) {
2123 written = write (fd, cmd + cur, len - cur);
2132 cur += written;
2866 const char ** cur; local
2871 for (i = (datalen / sizeof (char *)), cur = (const char **)data ;
2872 i > 0 ; cur++, i --) {
2873 RLOGD("> '%s'", *cur);
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Datchannel.c301 static char * findNextEOL(char *cur) in findNextEOL() argument
303 if (cur[0] == '>' && cur[1] == ' ' && cur[2] == '\0') { in findNextEOL()
305 return cur+2; in findNextEOL()
309 while (*cur != '\0' && *cur != '\r' && *cur != '\n') cur++; in findNextEOL()
311 return *cur == '\0' ? NULL : cur; in findNextEOL()
479 size_t cur = 0; in writeline() local
492 while (cur < len) { in writeline()
494 written = write (s_fd, s + cur, len - cur); in writeline()
501 cur += written; in writeline()
518 size_t cur = 0; in writeCtrlZ() local
[all …]
Dreference-ril.c2252 size_t cur = 0; local
2268 while (cur < len) {
2270 written = write (fd, cmd + cur, len - cur);
2279 cur += written;
4070 const char ** cur; local
4075 for (i = (datalen / sizeof (char *)), cur = (const char **)data ;
4076 i > 0 ; cur++, i --) {
4077 RLOGD("> '%s'", *cur);