Home
last modified time | relevance | path

Searched refs:lst (Results 1 – 5 of 5) sorted by relevance

/system/core/libdiskconfig/
Dwrite_lst.c51 wlist_add(struct write_list **lst, struct write_list *item) in wlist_add() argument
53 item->next = (*lst); in wlist_add()
54 *lst = item; in wlist_add()
59 wlist_free(struct write_list *lst) in wlist_free() argument
62 while (lst) { in wlist_free()
63 temp_wr = lst->next; in wlist_free()
64 free_wl(lst); in wlist_free()
65 lst = temp_wr; in wlist_free()
70 wlist_commit(int fd, struct write_list *lst, int test) in wlist_commit() argument
72 for(; lst; lst = lst->next) { in wlist_commit()
[all …]
Ddiskconfig.c386 validate_and_config(struct disk_info *dinfo, int *fd, struct write_list **lst) in validate_and_config() argument
388 *lst = NULL; in validate_and_config()
396 *lst = config_mbr(dinfo); in validate_and_config()
397 return *lst == NULL; in validate_and_config()
406 *lst = NULL; in validate_and_config()
420 struct write_list *lst; in process_disk_config() local
423 if (validate_and_config(dinfo, &fd, &lst) != 0) in process_disk_config()
427 wlist_free(lst); in process_disk_config()
/system/core/libdiskconfig/include/diskconfig/
Ddiskconfig.h109 struct write_list *wlist_add(struct write_list **lst, struct write_list *item);
110 void wlist_free(struct write_list *lst);
111 int wlist_commit(int fd, struct write_list *lst, int test);
/system/update_engine/update_manager/
Dboxed_value_unittest.cc90 list<BoxedValue> lst; in TEST() local
92 lst.emplace_back(new const int{42}); in TEST()
93 lst.emplace_back(new const string("Hello world!")); in TEST()
95 lst.emplace_back(new const DeleterMarker(&marker)); in TEST()
97 lst.clear(); in TEST()
/system/media/camera/docs/
Dmetadata_helpers_test.py119 lst = list(enumerate_with_last(multiple_values))
120 self.assertListEqual([(4, False), (5, False), (6, True)], lst)