Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dblockimg.c445 static void EnumerateStash(const char* dirname, StashCallback callback, void* data) { in EnumerateStash() argument
452 if (dirname == NULL || callback == NULL) { in EnumerateStash()
456 directory = opendir(dirname); in EnumerateStash()
460 fprintf(stderr, "opendir \"%s\" failed: %s\n", dirname, strerror(errno)); in EnumerateStash()
470 len = strlen(dirname) + 1 + strlen(item->d_name) + 1; in EnumerateStash()
478 res = snprintf(fn, len, "%s/%s", dirname, item->d_name); in EnumerateStash()
491 fprintf(stderr, "closedir \"%s\" failed: %s\n", dirname, strerror(errno)); in EnumerateStash()
532 char* dirname; in DeleteStash() local
538 dirname = GetStashFileName(base, NULL, NULL); in DeleteStash()
540 if (dirname == NULL) { in DeleteStash()
[all …]