Lines Matching refs:dataPtr
225 static bool get_the_file(HANDLE handle, SkString* name, WIN32_FIND_DATAW* dataPtr, bool getDir) { in get_the_file() argument
228 if (nullptr == dataPtr) { in get_the_file()
230 dataPtr = &data; in get_the_file()
237 if ((dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) && in get_the_file()
238 !is_magic_dir((uint16_t*)dataPtr->cFileName)) in get_the_file()
243 if (!(dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { in get_the_file()
247 if (!::FindNextFileW(handle, dataPtr)) { in get_the_file()
253 name->setUTF16((uint16_t*)dataPtr->cFileName); in get_the_file()
261 WIN32_FIND_DATAW* dataPtr = nullptr; in next() local
270 dataPtr = &data; in next()
273 return self.fHandle != (HANDLE)~0 && get_the_file(self.fHandle, name, dataPtr, getDir); in next()