Home | History | Annotate | Download | only in ports

Lines Matching refs:dataPtr

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