Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 83) 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/lge/bullhead/camera/QCamera2/stack/common/
Dcam_list.h45 struct cam_list *next, *prev; member
51 ptr->prev = ptr; in cam_list_init()
57 struct cam_list *prev = head->prev; in cam_list_add_tail_node() local
59 head->prev = item; in cam_list_add_tail_node()
61 item->prev = prev; in cam_list_add_tail_node()
62 prev->next = item; in cam_list_add_tail_node()
69 item->prev = node->prev; in cam_list_insert_before_node()
70 item->prev->next = item; in cam_list_insert_before_node()
71 node->prev = item; in cam_list_insert_before_node()
76 struct cam_list *prev = ptr->prev; in cam_list_del_node() local
[all …]
/device/huawei/angler/camera/QCamera2/stack/common/
Dcam_list.h45 struct cam_list *next, *prev; member
51 ptr->prev = ptr; in cam_list_init()
57 struct cam_list *prev = head->prev; in cam_list_add_tail_node() local
59 head->prev = item; in cam_list_add_tail_node()
61 item->prev = prev; in cam_list_add_tail_node()
62 prev->next = item; in cam_list_add_tail_node()
69 item->prev = node->prev; in cam_list_insert_before_node()
70 item->prev->next = item; in cam_list_insert_before_node()
71 node->prev = item; in cam_list_insert_before_node()
76 struct cam_list *prev = ptr->prev; in cam_list_del_node() local
[all …]
/device/google/dragon/audio/hal/
Dutlist.h147 (add)->prev = (head)->prev; \
148 (head)->prev = (add); \
150 (add)->prev = (add); \
157 (add)->prev = (head)->prev; \
158 (head)->prev->next = (add); \
159 (head)->prev = (add); \
163 (head)->prev = (head); \
173 _tmp = (head2)->prev; \
174 (head2)->prev = (head1)->prev; \
175 (head1)->prev->next = (head2); \
[all …]
Dcras_expr.c195 struct cras_expr_value *value, *prev; in function_equal_real() local
202 prev = ARRAY_ELEMENT(operands, i - 1); in function_equal_real()
204 if (prev->type != value->type) in function_equal_real()
207 switch (prev->type) { in function_equal_real()
211 if (prev->u.boolean != value->u.boolean) in function_equal_real()
215 if (prev->u.integer != value->u.integer) in function_equal_real()
219 if (strcmp(prev->u.string, value->u.string) != 0) in function_equal_real()
223 if (prev->u.function != value->u.function) in function_equal_real()
/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/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/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/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_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()
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()
/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.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.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/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/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()

1234