Home | History | Annotate | Download | only in ports

Lines Matching defs:dataPtr

195 static bool get_the_file(HANDLE handle, SkString* name, WIN32_FIND_DATAW* dataPtr, bool getDir) {
198 if (NULL == dataPtr) {
200 dataPtr = &data;
207 if ((dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) &&
208 !is_magic_dir((uint16_t*)dataPtr->cFileName))
213 if (!(dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
217 if (!::FindNextFileW(handle, dataPtr)) {
223 name->setUTF16((uint16_t*)dataPtr->cFileName);
231 WIN32_FIND_DATAW* dataPtr = NULL;
240 dataPtr = &data;
243 return self.fHandle != (HANDLE)~0 && get_the_file(self.fHandle, name, dataPtr, getDir);