Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 82) sorted by relevance

1234

/device/google/marlin/camera/QCamera2/stack/common/
Dcam_list.h44 struct cam_list *next, *prev; member
50 ptr->prev = ptr; in cam_list_init()
56 struct cam_list *prev = head->prev; in cam_list_add_tail_node() local
58 head->prev = item; in cam_list_add_tail_node()
60 item->prev = prev; in cam_list_add_tail_node()
61 prev->next = item; in cam_list_add_tail_node()
68 item->prev = node->prev; in cam_list_insert_before_node()
69 item->prev->next = item; in cam_list_insert_before_node()
70 node->prev = item; in cam_list_insert_before_node()
75 struct cam_list *prev = ptr->prev; in cam_list_del_node() local
[all …]
/device/google/contexthub/firmware/os/inc/
Dlist.h24 struct link_t *prev, *next; member
34 link_t list = { .prev = &list, .next = &list }
38 list->prev = list->next = list; in list_init()
46 item->prev = list->prev; in list_add_tail()
48 list->prev->next = item; in list_add_tail()
49 list->prev = item; in list_add_tail()
54 item->prev->next = item->next; in list_delete()
55 item->next->prev = item->prev; in list_delete()
56 item->next = item->prev = item; in list_delete()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dcache.c44 node->prev = NULL; in pysqlite_new_node()
133 if (node->prev && node->count > node->prev->count) { in pysqlite_cache_get()
134 ptr = node->prev; in pysqlite_cache_get()
136 while (ptr->prev && node->count > ptr->prev->count) { in pysqlite_cache_get()
137 ptr = ptr->prev; in pysqlite_cache_get()
141 node->next->prev = node->prev; in pysqlite_cache_get()
143 self->last = node->prev; in pysqlite_cache_get()
145 if (node->prev) { in pysqlite_cache_get()
146 node->prev->next = node->next; in pysqlite_cache_get()
148 if (ptr->prev) { in pysqlite_cache_get()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dfcache.c39 CacheEntry *dumpFcache1(char *prev) in dumpFcache1() argument
41 CacheEntry *dumpFcache1(prev) in dumpFcache1()
42 char *prev; in dumpFcache1()
60 if (strcmp(q->str,prev) > 0) {
109 char *prev=""; in DumpFcache() local
116 next=dumpFcache1(prev); in DumpFcache()
120 prev=next->str; in DumpFcache()
/device/google/contexthub/firmware/os/core/
DeventQ.c35 struct EvtList *prev; member
51 static inline void __evtListDel(struct EvtList *prev, struct EvtList *next) in __evtListDel() argument
53 next->prev = prev; in __evtListDel()
54 prev->next = next; in __evtListDel()
59 __evtListDel(entry->prev, entry->next); in evtListDel()
60 entry->next = entry->prev = NULL; in evtListDel()
73 q->head.prev = &q->head; in evtQueueAlloc()
132 item->prev = item->next = NULL; in evtQueueEnqueue()
142 a = b->prev; in evtQueueEnqueue()
144 a = q->head.prev; in evtQueueEnqueue()
[all …]
Dheap.c37 struct HeapNode* prev; member
85 node->prev = NULL; in heapInit()
105 next->prev = node; in heapMergeFreeChunks()
149 node->prev = best; in heapAlloc()
152 heapPrvGetNext(node)->prev = node; in heapAlloc()
187 while (node->prev && !node->prev->used) in heapFree()
188 node = node->prev; in heapFree()
197 t->prev = node; in heapFree()
DsimpleQ.c120 uint32_t idx, prev = SIMPLE_QUEUE_IDX_NONE; in simpleQueueAllocWithDiscard() local
122 for (idx = sq->head; idx != SIMPLE_QUEUE_IDX_NONE; prev=idx, idx = cur->nextIdx) { in simpleQueueAllocWithDiscard()
132 if (prev == SIMPLE_QUEUE_IDX_NONE) in simpleQueueAllocWithDiscard()
135 simpleQueueGetNth(sq, prev)->nextIdx = cur->nextIdx; in simpleQueueAllocWithDiscard()
137 sq->tail = prev; in simpleQueueAllocWithDiscard()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dquoprimime.py217 prev = None
223 prev = c
230 prev = c
238 if prev and prev in ' \t':
241 prev = quote(prev)
242 if len(encoded_line) + len(prev) > maxlinelen:
243 encoded_body += encoded_line + '=' + eol + prev
245 encoded_body += encoded_line + prev
248 encoded_body += encoded_line + prev + '=' + eol
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dmkstringprep.py19 prev = None
22 if prev is None:
23 prev = e
26 if prev+span+1 != e:
28 tuple.append((prev,prev+span+1))
30 for i in range(prev, prev+span+1):
32 prev = e
37 tuple.append((prev,prev+span+1))
39 single.append(prev)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/
Dborrowed_ref_1.py26 prev = None variable
29 prev = (prev,) variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlfunc.c66 uv->u.l.prev = &g->uvhead; /* double link it in `uvhead' list */ in luaF_findupval()
68 uv->u.l.next->u.l.prev = uv; in luaF_findupval()
70 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv); in luaF_findupval()
76 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv); in unlinkupval()
77 uv->u.l.next->u.l.prev = uv->u.l.prev; /* remove from `uvhead' list */ in unlinkupval()
78 uv->u.l.prev->u.l.next = uv->u.l.next; in unlinkupval()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dthread_beos.h53 int32 prev = atomic_add( &(ben->_atom), 1 ); in benaphore_lock() local
55 if( prev > 0 ) { in benaphore_lock()
64 int32 prev = atomic_add( &(ben->_atom), 1 ); in benaphore_timedlock() local
66 if( prev > 0 ) { in benaphore_timedlock()
88 int32 prev = atomic_add( &(ben->_atom), -1 ); in benaphore_unlock() local
90 if( prev > 1 ) { in benaphore_unlock()
Dthread_atheos.h53 atomic_t prev = atomic_add(&mutex->count, 1); in fastmutex_lock() local
54 if (prev > 0) in fastmutex_lock()
62 atomic_t prev = atomic_add(&mutex->count, 1); in fastmutex_timedlock() local
63 if (prev > 0) in fastmutex_timedlock()
71 atomic_t prev = atomic_add(&mutex->count, -1); in fastmutex_unlock() local
72 if (prev > 1) in fastmutex_unlock()
/device/google/cuttlefish_common/guest/hals/ril/libril/
Dril_event.cpp83 dlog(" prev = %x", (unsigned int)ev->prev); in dump_event()
108 list->prev = list; in init_list()
115 ev->prev = list->prev; in addToList()
116 ev->prev->next = ev; in addToList()
117 list->prev = ev; in addToList()
126 ev->next->prev = ev->prev; in removeFromList()
127 ev->prev->next = ev->next; in removeFromList()
129 ev->prev = NULL; in removeFromList()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/sym/
Dsym.c180 rec->prev = NULL;
181 if ( rec->next != NULL ) (rec->next)->prev = rec;
224 if ( p->prev == NULL ) /* Head of list */
230 if ( (*t) != NULL ) (*t)->prev = NULL;
234 (p->prev)->next = p->next;
235 if ( p->next != NULL ) (p->next)->prev = p->prev;
237 p->next = p->prev = NULL; /* not part of symbol table anymore */
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dweakrefobject.c246 insert_after(PyWeakReference *newref, PyWeakReference *prev) in insert_after() argument
248 newref->wr_prev = prev; in insert_after()
249 newref->wr_next = prev->wr_next; in insert_after()
250 if (prev->wr_next != NULL) in insert_after()
251 prev->wr_next->wr_prev = newref; in insert_after()
252 prev->wr_next = newref; in insert_after()
318 PyWeakReference *prev; in weakref___new__() local
321 prev = (proxy == NULL) ? ref : proxy; in weakref___new__()
322 if (prev == NULL) in weakref___new__()
325 insert_after(self, prev); in weakref___new__()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dweakrefobject.c235 insert_after(PyWeakReference *newref, PyWeakReference *prev) in insert_after() argument
237 newref->wr_prev = prev; in insert_after()
238 newref->wr_next = prev->wr_next; in insert_after()
239 if (prev->wr_next != NULL) in insert_after()
240 prev->wr_next->wr_prev = newref; in insert_after()
241 prev->wr_next = newref; in insert_after()
307 PyWeakReference *prev; in weakref___new__() local
310 prev = (proxy == NULL) ? ref : proxy; in weakref___new__()
311 if (prev == NULL) in weakref___new__()
314 insert_after(self, prev); in weakref___new__()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dlogmerge.py167 prev = []
171 if prev:
173 for (p_date, p_working_file, p_rev, p_author) in prev:
176 prev = []
177 prev.append((date, working_file, rev, author))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dhashlib.py209 prev = prf(salt + struct.pack(b'>I', loop))
210 rkey = int(binascii.hexlify(prev), 16)
212 prev = prf(prev)
213 rkey ^= int(binascii.hexlify(prev), 16)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DcProfile.py122 prev = callers[func]
123 nc += prev[0]
124 cc += prev[1]
125 tt += prev[2]
126 ct += prev[3]
/device/google/crosshatch/json-c/
Dlinkhash.c515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
578 t->head->next->prev = NULL; in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
584 t->table[n].prev->next = t->table[n].next; in lh_table_delete_entry()
585 t->table[n].next->prev = t->table[n].prev; in lh_table_delete_entry()
587 t->table[n].next = t->table[n].prev = NULL; in lh_table_delete_entry()
/device/google/bonito/json-c/
Dlinkhash.c515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
578 t->head->next->prev = NULL; in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
584 t->table[n].prev->next = t->table[n].next; in lh_table_delete_entry()
585 t->table[n].next->prev = t->table[n].prev; in lh_table_delete_entry()
587 t->table[n].next = t->table[n].prev = NULL; in lh_table_delete_entry()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Ddeflate.c188 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
294 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
305 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
370 s->prev[str & s->w_mask] = s->head[s->ins_h];
1000 TRY_FREE(strm, strm->state->prev);
1041 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1046 if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL ||
1053 zmemcpy((voidpf)ds->prev, (voidpf)ss->prev, ds->w_size * sizeof(Pos));
1163 Posf *prev = s->prev; local
1284 } while ((cur_match = prev[cur_match & wmask]) > limit
[all …]
/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c264 const char *prev = NULL; in main() local
274 prev = argv[i]; in main()
305 prev = 0; in main()
308 if (prev) in main()
309 fatalUsage(appName, "missing argument after", prev); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dpyassem.py24 print " prev", self.current.prev
124 assert b is b.next[0].prev[0], (b, b.next)
135 if c.prev and c.prev[0] is not b:
136 c = c.prev[0]
174 self.prev = []
201 block.prev.append(self)
202 assert len(block.prev) == 1, map(str, block.prev)

1234