Searched refs:direntp (Results 1 - 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dcommon.h42 struct dirent *direntp; \
60 while ((direntp = readdir(dp)) != NULL) { \
61 if (!strcmp(direntp->d_name, ".") \
62 || !strcmp(direntp->d_name, "..")) \
68 sprintf(fullpath + pathlen, "/%s", direntp->d_name); \
/external/libvncserver/libvncserver/
H A Drfbserver.c1326 struct dirent *direntp=NULL; local
1366 for (direntp=readdir(dirp); direntp!=NULL; direntp=readdir(dirp))
1373 snprintf(retfilename,sizeof(retfilename),"%s/%s", path, direntp->d_name);
1411 strcpy((char *)win32filename.cFileName, direntp->d_name);
/external/python/cpython3/Modules/
H A Dposixmodule.c11779 struct dirent *direntp;
11791 direntp = readdir(iterator->dirp);
11794 if (!direntp) {
11802 name_len = NAMLEN(direntp);
11803 is_dot = direntp->d_name[0] == '.' &&
11804 (name_len == 1 || (direntp->d_name[1] == '.' && name_len == 2));
11806 entry = DirEntry_from_posix_info(&iterator->path, direntp->d_name,
11807 name_len, direntp->d_ino
11809 , direntp->d_type

Completed in 119 milliseconds