Home
last modified time | relevance | path

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

12

/external/curl/tests/unit/
Dunit1300.c26 static struct curl_llist *llist; variable
39 llist = Curl_llist_alloc(test_curl_llist_dtor); in unit_setup()
40 if(!llist) in unit_setup()
44 Curl_llist_destroy(llist, NULL); in unit_setup()
53 Curl_llist_destroy(llist, NULL); in unit_stop()
65 size_t llist_size = Curl_llist_count(llist);
79 fail_unless(llist->size == 0, "list initial size should be zero");
80 fail_unless(llist->head == NULL, "list head should initiate to NULL");
81 fail_unless(llist->tail == NULL, "list tail should intiate to NULL");
82 fail_unless(llist->dtor == test_curl_llist_dtor,
[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()
123 if (!dbase_llist_is_modified(&dbase->llist)) in dbase_file_flush()
143 for (ptr = dbase->llist.cache_tail; ptr != NULL; ptr = ptr->prev) { in dbase_file_flush()
148 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/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/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/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/toybox/toys/pending/
Ddiff.c518 struct arg_list *llist = TT.L_list; in do_diff() local
568 xprintf("--- %s\n", (toys.optflags & FLAG_L) ? llist->arg : files[0]); in do_diff()
569 if (((toys.optflags & FLAG_L) && !llist->next) || !(toys.optflags & FLAG_L)) in do_diff()
572 while (llist->next) llist = llist->next; in do_diff()
573 xprintf("+++ %s\n", llist->arg); in do_diff()
Dtar.c460 static void add_to_list(struct arg_list **llist, char *name) in add_to_list() argument
462 struct arg_list **list = llist; in add_to_list()
471 static void add_from_file(struct arg_list **llist, struct arg_list *flist) in add_from_file() argument
482 add_to_list(llist, line); in add_from_file()
/external/curl/lib/
DMakefile.inc45 strtok.c connect.c llist.c hash.c multi.c content_encoding.c share.c \
62 wildcard.h fileinfo.h ftplistparser.h strtok.h connect.h llist.h \
Dftplistparser.c283 struct curl_llist *llist = wc->filelist; in ftp_pl_insert_finfo() local
319 if(!Curl_llist_insert_next(llist, llist->tail, finfo)) { in ftp_pl_insert_finfo()
DMakefile.vc6586 $(DIROBJ)\llist.obj \
/external/curl/packages/Symbian/group/
Dlibcurl.mmp29 memdebug.c http_chunks.c strtok.c connect.c llist.c hash.c multi.c \
/external/toybox/scripts/
Dmake.sh256 do_loudly $HOSTCC scripts/config2help.c -I . lib/xwrap.c lib/llist.c \
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py453 llist, lre = _form_master_re(relist[:m],reflags,ldict)
455 return llist+rlist, lre+rre
/external/curl/
DAndroid.bp81 "lib/llist.c",
/external/toybox/
DAndroid.mk55 lib/llist.c \
/external/libmojo/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/ply/ply/ply/
Dlex.py521 llist, lre, lnames = _form_master_re(relist[:m], reflags, ldict, toknames)
523 return (llist+rlist), (lre+rre), (lnames+rnames)

12