Lines Matching defs:info
205 struct dirent* info = nullptr;
206 while ((info = readdir(drip)) != nullptr && pictureCount_ < MAX_PICTURE_COUNT) {
207 uint16_t imageNameLen = static_cast<uint16_t>(strlen(info->d_name));
208 if (imageNameLen > MAX_PATH_LENGTH || (strcmp(info->d_name, ".") == 0) || (strcmp(info->d_name, "..") == 0)) {
213 memcpy_s(imageName, imageNameLen + 1, info->d_name, imageNameLen + 1);
223 if (sprintf_s(imagePath, pathLen + 1, "%s/%s", THUMBNAIL_DIRECTORY, info->d_name) < 0) {
239 delete info;
326 struct dirent* info = nullptr;
327 while ((info = readdir(drip)) != nullptr) {
328 uint16_t fileNameLen = static_cast<uint16_t>(strlen(info->d_name));
335 if (sprintf_s(filePath, pathLen + 1, "%s/%s", path, info->d_name) < 0) {
345 delete info;