Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
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); \
/third_party/jerryscript/jerry-core/api/
Dgenerate-bytecode.c388 struct dirent* direntp = NULL; in visit_directory() local
396 while ((direntp = (struct dirent*)readdir(dir)) != NULL) { in visit_directory()
397 filename = direntp->d_name; in visit_directory()
518 struct dirent* direntp; in walk_del_bytecode() local
564 while ((direntp = (struct dirent*)readdir(dir)) != NULL) { in walk_del_bytecode()
565 filename = direntp->d_name; in walk_del_bytecode()
/third_party/python/Modules/
Dposixmodule.c14100 struct dirent *direntp; in ScandirIterator_iternext() local
14112 direntp = readdir(iterator->dirp); in ScandirIterator_iternext() local
14115 if (!direntp) { in ScandirIterator_iternext()
14123 name_len = NAMLEN(direntp); in ScandirIterator_iternext()
14124 is_dot = direntp->d_name[0] == '.' && in ScandirIterator_iternext()
14125 (name_len == 1 || (direntp->d_name[1] == '.' && name_len == 2)); in ScandirIterator_iternext()
14129 &iterator->path, direntp->d_name, in ScandirIterator_iternext()
14130 name_len, direntp->d_ino in ScandirIterator_iternext()
14132 , direntp->d_type in ScandirIterator_iternext()