Lines Matching refs:list_fp
36 os_file_t *list_fp; in mlist_source_show() local
61 list_fp = os_fopen(listpath, "r"); in mlist_source_show()
62 if (!list_fp) { in mlist_source_show()
69 while (!os_feof(list_fp)) { in mlist_source_show()
71 os_fgets(file_name, sizeof(file_name), list_fp); in mlist_source_show()
91 os_fclose(list_fp); in mlist_source_show()
102 os_file_t *list_fp; in mlist_source_scan() local
141 list_fp = os_fopen(listpath, "w+"); in mlist_source_scan()
142 if (!list_fp) { in mlist_source_scan()
152 os_fclose(list_fp); in mlist_source_scan()
181 if (os_fprintf(list_fp, "/%d/%s\n", index, content->d_name) < 0) { in mlist_source_scan()
223 os_fclose(list_fp); in mlist_source_scan()
247 os_file_t *list_fp; in mlist_source_get() local
288 list_fp = os_fopen(listpath, "r"); in mlist_source_get()
289 if (!list_fp) { in mlist_source_get()
296 while (!os_feof(list_fp)) { in mlist_source_get()
298 os_fgets(file_name, sizeof(file_name), list_fp); in mlist_source_get()
341 os_fclose(list_fp); in mlist_source_get()