Home
last modified time | relevance | path

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

/hardware/msm7k/libgralloc/
Dallocator.cpp86 chunk_t* cur = mList.head(); in alloc() local
89 while (cur) { in alloc()
90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
93 if (cur->free && (cur->size >= (size+extra))) { in alloc()
94 if ((!free_chunk) || (cur->size < free_chunk->size)) { in alloc()
95 free_chunk = cur; in alloc()
97 if (cur->size == size) { in alloc()
101 cur = cur->next; in alloc()
134 chunk_t* cur = mList.head(); in dealloc() local
135 while (cur) { in dealloc()
[all …]
/hardware/libhardware/modules/gralloc/
Dallocator.cpp86 chunk_t* cur = mList.head(); in alloc() local
89 while (cur) { in alloc()
90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
93 if (cur->free && (cur->size >= (size+extra))) { in alloc()
94 if ((!free_chunk) || (cur->size < free_chunk->size)) { in alloc()
95 free_chunk = cur; in alloc()
97 if (cur->size == size) { in alloc()
101 cur = cur->next; in alloc()
134 chunk_t* cur = mList.head(); in dealloc() local
135 while (cur) { in dealloc()
[all …]
/hardware/msm7k/libgralloc-qsd8k/
Dallocator.cpp86 chunk_t* cur = mList.head(); in alloc() local
89 while (cur) { in alloc()
90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
93 if (cur->free && (cur->size >= (size+extra))) { in alloc()
94 if ((!free_chunk) || (cur->size < free_chunk->size)) { in alloc()
95 free_chunk = cur; in alloc()
97 if (cur->size == size) { in alloc()
101 cur = cur->next; in alloc()
134 chunk_t* cur = mList.head(); in dealloc() local
135 while (cur) { in dealloc()
[all …]
/hardware/ril/reference-ril/
Datchannel.c308 static char * findNextEOL(char *cur) in findNextEOL() argument
310 if (cur[0] == '>' && cur[1] == ' ' && cur[2] == '\0') { in findNextEOL()
312 return cur+2; in findNextEOL()
316 while (*cur != '\0' && *cur != '\r' && *cur != '\n') cur++; in findNextEOL()
318 return *cur == '\0' ? NULL : cur; in findNextEOL()
494 size_t cur = 0; in writeline() local
507 while (cur < len) { in writeline()
509 written = write (s_fd, s + cur, len - cur); in writeline()
516 cur += written; in writeline()
533 size_t cur = 0; in writeCtrlZ() local
[all …]
Dreference-ril.c974 size_t cur = 0; local
989 while (cur < len) {
991 written = write (fd, cmd + cur, len - cur);
1000 cur += written;
1444 const char ** cur; local
1449 for (i = (datalen / sizeof (char *)), cur = (const char **)data ;
1450 i > 0 ; cur++, i --) {
1451 LOGD("> '%s'", *cur);
/hardware/broadcom/wlan/bcm4329/src/wl/sys/
Dwl_iw.c1876 wl_iw_ss_cache_t *node, *cur; in wl_iw_free_ss_cache() local
1886 cur = node; in wl_iw_free_ss_cache()
1887 node = cur->next; in wl_iw_free_ss_cache()
1888 kfree(cur); in wl_iw_free_ss_cache()
1944 wl_iw_ss_cache_t *node, *prev, *cur; in wl_iw_reset_ss_cache() local
1954 cur = node; in wl_iw_reset_ss_cache()
1955 if (cur == *spec_scan_head) { in wl_iw_reset_ss_cache()
1956 *spec_scan_head = cur->next; in wl_iw_reset_ss_cache()
1960 prev->next = cur->next; in wl_iw_reset_ss_cache()
1962 node = cur->next; in wl_iw_reset_ss_cache()
[all …]