Home
last modified time | relevance | path

Searched refs:lst (Results 1 – 8 of 8) 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/iorap/src/inode2filename/
Dinode.cc56 std::vector<std::string> lst = android::base::Split(str, ":"); in Parse() local
58 if (lst.size() != 3) { in Parse()
63 if (!ParseUint(lst[0], &out->device_major)) { in Parse()
68 if (!ParseUint(lst[1], &out->device_minor)) { in Parse()
73 if (!ParseUint(lst[2], &out->inode)) { in Parse()
/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.cc93 list<BoxedValue> lst; in TEST() local
95 lst.emplace_back(new const int{42}); in TEST()
96 lst.emplace_back(new const string("Hello world!")); in TEST()
98 lst.emplace_back(new const DeleterMarker(&marker)); in TEST()
100 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)
/system/update_engine/payload_consumer/
Dfile_descriptor_utils_unittest.cc42 const std::vector<std::pair<uint64_t, uint64_t>>& lst) { in CreateExtentList() argument
44 for (const auto& item : lst) { in CreateExtentList()
/system/tools/hidl/hidl2aidl/test/1.1/
DIFoo.hal41 shouldImportCorrectTypes() generates (vec<OnlyIn11> lst);