Lines Matching defs:dirent
738 struct dirent *dirent = NULL;
757 dirent = readdir(d);
758 if (dirent == NULL) {
761 if (strcmp(dirent->d_name, "..") && strcmp(dirent->d_name, ".")) {
762 size_t fullpath_buf_size = strlen(pathname) + strlen(dirent->d_name) + SEPARATOR_EOF_LEN;
769 ret = snprintf_s(fullpath, fullpath_buf_size, fullpath_buf_size - 1, "%s/%s", pathname, dirent->d_name);
911 struct dirent *dirent = NULL;
943 dirent = readdir(d);
944 if (dirent == NULL) {
953 ret = os_wildcard_match(dirent->d_name, s);
959 ret = strcat_s(src, sizeof(src), dirent->d_name);