Lines Matching refs:d_name
515 if (strcasecmp(de->d_name, file_name) == 0) { in test_fatfs_can_opendir()
562 printf("found '%s'\n", de->d_name); in test_fatfs_opendir_readdir_rewinddir()
563 if (strcasecmp(de->d_name, "1.txt") == 0) { in test_fatfs_opendir_readdir_rewinddir()
567 } else if (strcasecmp(de->d_name, "2.txt") == 0) { in test_fatfs_opendir_readdir_rewinddir()
571 } else if (strcasecmp(de->d_name, "inner") == 0) { in test_fatfs_opendir_readdir_rewinddir()
575 } else if (strcasecmp(de->d_name, "boo.bin") == 0) { in test_fatfs_opendir_readdir_rewinddir()
588 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[0])); in test_fatfs_opendir_readdir_rewinddir()
592 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[3])); in test_fatfs_opendir_readdir_rewinddir()
596 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[1])); in test_fatfs_opendir_readdir_rewinddir()
600 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[2])); in test_fatfs_opendir_readdir_rewinddir()
642 printf("found '%s'\n", de->d_name); in test_fatfs_opendir_readdir_rewinddir_utf_8()
643 if (strcasecmp(de->d_name, "文件一.txt") == 0) { in test_fatfs_opendir_readdir_rewinddir_utf_8()
647 } else if (strcasecmp(de->d_name, "文件二.txt") == 0) { in test_fatfs_opendir_readdir_rewinddir_utf_8()
651 } else if (strcasecmp(de->d_name, "内部目录") == 0) { in test_fatfs_opendir_readdir_rewinddir_utf_8()
655 } else if (strcasecmp(de->d_name, "文件三.bin") == 0) { in test_fatfs_opendir_readdir_rewinddir_utf_8()
668 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[0])); in test_fatfs_opendir_readdir_rewinddir_utf_8()
672 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[3])); in test_fatfs_opendir_readdir_rewinddir_utf_8()
676 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[1])); in test_fatfs_opendir_readdir_rewinddir_utf_8()
680 TEST_ASSERT_EQUAL(0, strcasecmp(de->d_name, names[2])); in test_fatfs_opendir_readdir_rewinddir_utf_8()