Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/test/msan/
H A Dscandir.cpp22 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 Dreaddir64.cpp21 if (d->d_name[0]) { in main()
/llvm-project-15.0.7/libc/test/src/dirent/
H A Ddirent_test.cpp36 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 DFuzzerIOPosix.cpp67 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 DHost.cpp243 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 Dstruct_dirent.h25 char d_name[1]; member
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp80 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 Dsanitizer_linux.cpp763 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 DOProfileWrapper.cpp130 raw_svector_ostream(CmdLineFName) << "/proc/" << Entry->d_name in checkForOProfileProcEntry()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dz_Linux_util.cpp2298 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 Dcommon.h335 char d_name[]; /* Filename (null-terminated) */ member
H A Dinstr.cpp640 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 Dfilesystem_common.h579 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 Dmsan_test.cpp1397 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 DPath.inc935 StringRef Name(CurDir->d_name);