Lines Matching refs:d_name
191 if (strcasecmp(de->d_name, file_name) == 0) { in test_spiffs_can_opendir()
236 printf("found '%s'\n", de->d_name); in test_spiffs_opendir_readdir_rewinddir()
237 if (strcasecmp(de->d_name, "1.txt") == 0) { in test_spiffs_opendir_readdir_rewinddir()
241 } else if (strcasecmp(de->d_name, "2.txt") == 0) { in test_spiffs_opendir_readdir_rewinddir()
245 } else if (strcasecmp(de->d_name, "inner/3.txt") == 0) { in test_spiffs_opendir_readdir_rewinddir()
249 } else if (strcasecmp(de->d_name, "boo.bin") == 0) { in test_spiffs_opendir_readdir_rewinddir()
262 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[0])); in test_spiffs_opendir_readdir_rewinddir()
266 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[3])); in test_spiffs_opendir_readdir_rewinddir()
270 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[1])); in test_spiffs_opendir_readdir_rewinddir()
274 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[2])); in test_spiffs_opendir_readdir_rewinddir()
295 int len = snprintf(file_name, sizeof(file_name), "%s/%s", dir_prefix, de->d_name); in test_spiffs_readdir_many_files()
322 TEST_ASSERT_EQUAL(1, sscanf(de->d_name, "%d.txt", &file_id)); in test_spiffs_readdir_many_files()