Lines Matching refs:ptr
166 dirent *ptr = readdir(topNode);
167 if (ptr == nullptr) {
177 string name = ptr->d_name;
181 if (ptr->d_type == DT_DIR) {
258 struct dirent *ptr = readdir(currentDir);
259 if (ptr == nullptr) {
262 const char *name = ptr->d_name;
268 if (ptr->d_type == DT_DIR) {
383 struct dirent *ptr = readdir(dir);
384 if (ptr == nullptr) {
389 if (strcmp(ptr->d_name, ".") == 0 || strcmp(ptr->d_name, "..") == 0) {
392 subPath = IncludeTrailingPathDelimiter(path) + string(ptr->d_name);
393 if (ptr->d_type == DT_DIR) {