Lines Matching refs:dataPtr
196 static bool get_the_file(HANDLE handle, SkString* name, WIN32_FIND_DATAW* dataPtr, bool getDir) { in get_the_file() argument
199 if (nullptr == dataPtr) { in get_the_file()
201 dataPtr = &data; in get_the_file()
208 if ((dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) && in get_the_file()
209 !is_magic_dir((uint16_t*)dataPtr->cFileName)) in get_the_file()
214 if (!(dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { in get_the_file()
218 if (!::FindNextFileW(handle, dataPtr)) { in get_the_file()
224 name->setUTF16((uint16_t*)dataPtr->cFileName); in get_the_file()
232 WIN32_FIND_DATAW* dataPtr = nullptr; in next() local
241 dataPtr = &data; in next()
244 return self.fHandle != (HANDLE)~0 && get_the_file(self.fHandle, name, dataPtr, getDir); in next()