Home
last modified time | relevance | path

Searched refs:llist (Results 1 – 25 of 33) sorted by relevance

12

/external/curl/tests/unit/
Dunit1300.c26 static struct Curl_llist llist; variable
39 Curl_llist_init(&llist, test_Curl_llist_dtor); in unit_setup()
61 size_t llist_size = Curl_llist_count(&llist);
74 fail_unless(llist.size == 0, "list initial size should be zero");
75 fail_unless(llist.head == NULL, "list head should initiate to NULL");
76 fail_unless(llist.tail == NULL, "list tail should intiate to NULL");
77 fail_unless(llist.dtor == test_Curl_llist_dtor,
90 Curl_llist_insert_next(&llist, llist.head, &unusedData_case1, &case1_list);
92 fail_unless(Curl_llist_count(&llist) == 1,
95 fail_unless(llist.head->ptr == &unusedData_case1,
[all …]
/external/selinux/libsemanage/src/
Ddatabase_activedb.c26 dbase_llist_t llist; member
36 record_table_t *rtable = dbase_llist_get_rtable(&dbase->llist); in dbase_activedb_cache()
44 if (!dbase_llist_needs_resync(handle, &dbase->llist)) in dbase_activedb_cache()
48 dbase_llist_cache_init(&dbase->llist); in dbase_activedb_cache()
49 if (dbase_llist_set_serial(handle, &dbase->llist) < 0) in dbase_activedb_cache()
58 if (dbase_llist_cache_prepend(handle, &dbase->llist, records[i]) in dbase_activedb_cache()
71 dbase_llist_drop_cache(&dbase->llist); in dbase_activedb_cache()
80 record_table_t *rtable = dbase_llist_get_rtable(&dbase->llist); in dbase_activedb_flush()
88 if (!dbase_llist_is_modified(&dbase->llist)) in dbase_activedb_flush()
92 if (dbase_llist_list(handle, &dbase->llist, &records, &rcount) < 0) in dbase_activedb_flush()
[all …]
Ddatabase_file.c31 dbase_llist_t llist; member
43 record_table_t *rtable = dbase_llist_get_rtable(&dbase->llist); in dbase_file_cache()
53 if (!dbase_llist_needs_resync(handle, &dbase->llist)) in dbase_file_cache()
57 dbase_llist_cache_init(&dbase->llist); in dbase_file_cache()
58 if (dbase_llist_set_serial(handle, &dbase->llist) < 0) in dbase_file_cache()
88 if (dbase_llist_cache_prepend(handle, &dbase->llist, in dbase_file_cache()
109 dbase_llist_drop_cache(&dbase->llist); in dbase_file_cache()
124 if (!dbase_llist_is_modified(&dbase->llist)) in dbase_file_flush()
146 for (ptr = dbase->llist.cache_tail; ptr != NULL; ptr = ptr->prev) { in dbase_file_flush()
151 dbase_llist_set_modified(&dbase->llist, 0); in dbase_file_flush()
[all …]
Ddatabase_join.c26 dbase_llist_t llist; member
45 record_table_t *rtable = dbase_llist_get_rtable(&dbase->llist); in dbase_join_cache()
57 if (!dbase_llist_needs_resync(handle, &dbase->llist)) in dbase_join_cache()
61 dbase_llist_cache_init(&dbase->llist); in dbase_join_cache()
62 if (dbase_llist_set_serial(handle, &dbase->llist) < 0) in dbase_join_cache()
134 if (dbase_llist_cache_prepend(handle, &dbase->llist, record) < in dbase_join_cache()
143 if (dbase_llist_set_serial(handle, &dbase->llist) < 0) in dbase_join_cache()
164 dbase_llist_drop_cache(&dbase->llist); in dbase_join_cache()
177 record_table_t *rtable = dbase_llist_get_rtable(&dbase->llist); in dbase_join_flush()
188 if (!dbase_llist_is_modified(&dbase->llist)) in dbase_join_flush()
[all …]
/external/skia/src/gpu/
DGrRenderTaskCluster.cpp44 const SkTInternalLList<GrRenderTask>& llist) { in validate() argument
47 for (GrRenderTask* t : llist) { in validate()
92 static bool task_cluster_visit(GrRenderTask* task, SkTInternalLList<GrRenderTask>* llist, in task_cluster_visit() argument
119 if (clusterTail == llist->tail()) { in task_cluster_visit()
152 llist->remove(moved); in task_cluster_visit()
153 llist->addBefore(moved, clusterHead); in task_cluster_visit()
160 SkTInternalLList<GrRenderTask>* llist) { in GrClusterRenderTasks() argument
161 SkASSERT(llist->isEmpty()); in GrClusterRenderTasks()
172 didReorder |= task_cluster_visit(t.get(), llist, &lastTaskMap); in GrClusterRenderTasks()
173 llist->addToTail(t.get()); in GrClusterRenderTasks()
[all …]
DGrRenderTaskCluster.h27 SkTInternalLList<GrRenderTask>* llist);
DGrDrawingManager.cpp382 static void reorder_array_by_llist(const SkTInternalLList<T>& llist, SkTArray<sk_sp<T>>* array) { in reorder_array_by_llist() argument
384 for (T* t : llist) { in reorder_array_by_llist()
394 SkTInternalLList<GrRenderTask> llist; in reorderTasks() local
395 bool clustered = GrClusterRenderTasks(SkMakeSpan(fDAG), &llist); in reorderTasks()
400 for (GrRenderTask* task : llist) { in reorderTasks()
412 reorder_array_by_llist(llist, &fDAG); in reorderTasks()
/external/libcap-ng/libcap-ng-0.7/utils/
Dproc-llist.h49 } llist; typedef
51 void list_create(llist *l);
52 static inline lnode *list_get_cur(llist *l) { return l->cur; } in list_get_cur()
53 void list_append(llist *l, lnode *node);
54 void list_clear(llist* l);
57 lnode *list_find_inode(llist *l, unsigned long i);
Dproc-llist.c29 void list_create(llist *l) in list_create()
36 void list_append(llist *l, lnode *node) in list_append()
68 void list_clear(llist* l) in list_clear()
87 lnode *list_find_inode(llist *l, unsigned long i) in list_find_inode()
DMakefile.am33 netcap_SOURCES = netcap.c proc-llist.c proc-llist.h
DMakefile.in82 am_netcap_OBJECTS = netcap.$(OBJEXT) proc-llist.$(OBJEXT)
273 netcap_SOURCES = netcap.c proc-llist.c proc-llist.h
Dnetcap.c38 static llist l;
/external/curl/tests/data/
Dtest13005 llist
19 llist unit tests
/external/skia/tests/
DGrRenderTaskClusterTest.cpp136 SkTInternalLList<GrRenderTask> llist; in DEF_TEST() local
141 bool actualResult = GrClusterRenderTasks(graphSpan, &llist); in DEF_TEST()
149 for ([[maybe_unused]] GrRenderTask* t : llist) { in DEF_TEST()
155 for (GrRenderTask* n : llist) { in DEF_TEST()
/external/toybox/lib/
Dllist.c47 void **llist = (void **)list; in llist_pop() local
48 void **next = (void **)*llist; in llist_pop()
49 *llist = *next; in llist_pop()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateStatistics.java185 LanguageList llist = (LanguageList) it.next(); in showSet() local
186 Set s = (Set) sb.get(llist.getEnglishName()); in showSet()
188 sb.put(llist.getEnglishName(), s = new TreeSet()); in showSet()
189 s.add(llist); in showSet()
207 LanguageList llist = it2.next(); in showSet() local
208 String localName = llist.getLocalName(); in showSet()
209 String locale = llist.getLocale(); in showSet()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DDefaultRouter.java337 LinkedList llist = new LinkedList(); in getNextHops() local
338 llist.add(this.getNextHop(request)); in getNextHops()
339 return llist.listIterator(); in getNextHops()
/external/python/cpython2/Lib/logging/
Dconfig.py187 llist = cp.get("loggers", "keys")
188 llist = llist.split(",")
189 llist = list(map(lambda x: x.strip(), llist))
190 llist.remove("root")
226 for log in llist:
/external/python/cpython3/Lib/logging/
Dconfig.py188 llist = cp["loggers"]["keys"]
189 llist = llist.split(",")
190 llist = list(_strip_spaces(llist))
191 llist.remove("root")
226 for log in llist:
/external/toybox/toys/pending/
Ddiff.c593 struct arg_list *llist = TT.L_list; in do_diff() local
643 if (toys.optflags & FLAG_L) printf("--- %s\n", llist->arg); in do_diff()
645 if (((toys.optflags & FLAG_L) && !llist->next) || !(toys.optflags & FLAG_L)) in do_diff()
648 while (llist->next) llist = llist->next; in do_diff()
649 printf("+++ %s\n", llist->arg); in do_diff()
/external/curl/lib/
DMakefile.inc57 krb5.c ldap.c llist.c md4.c md5.c memdebug.c mime.c mprintf.c mqtt.c \
76 http_proxy.h if2ip.h imap.h inet_ntop.h inet_pton.h llist.h memdebug.h \
Dftplistparser.c277 struct Curl_llist *llist = &wc->filelist; in ftp_pl_insert_finfo() local
316 Curl_llist_insert_next(llist, llist->tail, finfo, &infop->list); in ftp_pl_insert_finfo()
/external/tensorflow/third_party/
Dcurl.BUILD137 "lib/llist.c",
138 "lib/llist.h",
/external/libchrome/third_party/ply/
Dlex.py508 llist, lre, lnames = _form_master_re(relist[:m],reflags,ldict,toknames)
510 return llist+rlist, lre+rre, lnames+rnames
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py521 llist, lre, lnames = _form_master_re(relist[:m], reflags, ldict, toknames)
523 return (llist+rlist), (lre+rre), (lnames+rnames)

12