| /llvm-project-15.0.7/compiler-rt/test/msan/ |
| H A D | scandir.cpp | 22 printf("%s\n", a->d_name); in my_filter() 25 printf("%s\n", a->d_name); in my_filter() 26 return strlen(a->d_name) == 3 && a->d_name[2] == 'b'; in my_filter() 34 if ((*a)->d_name[1] == (*b)->d_name[1]) in my_compar() 36 return ((*a)->d_name[1] < (*b)->d_name[1]) ? 1 : -1; in my_compar() 53 assert(strcmp(d[0]->d_name, "bbb") == 0); in main() 54 assert(strcmp(d[1]->d_name, "aab") == 0); in main()
|
| H A D | readdir64.cpp | 21 if (d->d_name[0]) { in main()
|
| /llvm-project-15.0.7/libc/test/src/dirent/ |
| H A D | dirent_test.cpp | 36 if (StringView(&d->d_name[0]).equals("file1.txt")) in TEST() 38 if (StringView(&d->d_name[0]).equals("file2.txt")) in TEST() 40 if (StringView(&d->d_name[0]).equals("dir1")) in TEST() 42 if (StringView(&d->d_name[0]).equals("dir2")) in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIOPosix.cpp | 67 std::string Path = DirPlusFile(Dir, E->d_name); in ListFilesInDirRecursive() 73 *E->d_name != '.') in ListFilesInDirRecursive() 89 std::string Path = DirPlusFile(Dir, E->d_name); in IterateDirRecursive() 95 *E->d_name != '.') in IterateDirRecursive()
|
| /llvm-project-15.0.7/lldb/source/Host/linux/ |
| H A D | Host.cpp | 243 if (direntry->d_type != DT_DIR || !IsDirNumeric(direntry->d_name)) in FindProcessesImpl() 246 lldb::pid_t pid = atoi(direntry->d_name); in FindProcessesImpl() 292 if (direntry->d_type != DT_DIR || !IsDirNumeric(direntry->d_name)) in FindProcessThreads() 295 lldb::tid_t tid = atoi(direntry->d_name); in FindProcessThreads()
|
| /llvm-project-15.0.7/libc/include/llvm-libc-types/ |
| H A D | struct_dirent.h | 25 char d_name[1]; member
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cpp | 80 char d_name[]; member 810 (u8 *)&entry->d_name[3] >= &buffer[bytes_read]) in GetNumberOfCPUs() 813 if (entry->d_name[0] == 'c' && entry->d_name[1] == 'p' && in GetNumberOfCPUs() 814 entry->d_name[2] == 'u' && in GetNumberOfCPUs() 815 entry->d_name[3] >= '0' && entry->d_name[3] <= '9') in GetNumberOfCPUs()
|
| H A D | sanitizer_linux.cpp | 763 char d_name[256]; member 1021 if (entry->d_ino && *entry->d_name >= '0' && *entry->d_name <= '9') in ListThreads() 1022 threads->push_back(internal_atoll(entry->d_name)); in ListThreads()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/OProfileJIT/ |
| H A D | OProfileWrapper.cpp | 130 raw_svector_ostream(CmdLineFName) << "/proc/" << Entry->d_name in checkForOProfileProcEntry()
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | z_Linux_util.cpp | 2298 if (proc_entry->d_type == DT_DIR && isdigit(proc_entry->d_name[0])) { in __kmp_get_load_balance() 2307 strcmp(proc_entry->d_name, "1") == 0); in __kmp_get_load_balance() 2311 __kmp_str_buf_cat(&task_path, proc_entry->d_name, in __kmp_get_load_balance() 2312 KMP_STRLEN(proc_entry->d_name)); in __kmp_get_load_balance() 2325 if (strcmp(proc_entry->d_name, "1") == 0) { in __kmp_get_load_balance() 2340 if (proc_entry->d_type == DT_DIR && isdigit(task_entry->d_name[0])) { in __kmp_get_load_balance() 2349 __kmp_str_buf_cat(&stat_path, task_entry->d_name, in __kmp_get_load_balance() 2350 KMP_STRLEN(task_entry->d_name)); in __kmp_get_load_balance()
|
| /llvm-project-15.0.7/bolt/runtime/ |
| H A D | common.h | 335 char d_name[]; /* Filename (null-terminated) */ member
|
| H A D | instr.cpp | 640 if (!parseAddressRange(d->d_name, StartAddress, EndAddress)) in getBinaryPath() 646 C = strCopy(C, d->d_name, NameMax - (C - FindBuf)); in getBinaryPath()
|
| /llvm-project-15.0.7/libcxx/src/filesystem/ |
| H A D | filesystem_common.h | 579 return {dir_entry_ptr->d_name, get_file_type(dir_entry_ptr, 0)};
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/tests/ |
| H A D | msan_test.cpp | 1397 EXPECT_NOT_POISONED(d->d_name[0]); in TEST() 1408 EXPECT_NOT_POISONED(d.d_name[0]); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 935 StringRef Name(CurDir->d_name);
|