Home
last modified time | relevance | path

Searched refs:fHandle (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/utils/
DSkThreadUtils_win.cpp14 : fHandle(NULL) in SkThread_WinData()
51 winData->fHandle = CreateThread( in SkThread()
64 if (winData->fHandle != NULL && !winData->fStarted) { in ~SkThread()
71 TerminateThread(winData->fHandle, -1); in ~SkThread()
80 if (NULL == winData->fHandle) { in start()
87 winData->fStarted = -1 != ResumeThread(winData->fHandle); in start()
93 if (NULL == winData->fHandle || !winData->fStarted) { in join()
97 WaitForSingleObject(winData->fHandle, INFINITE); in join()
122 if (NULL == winData->fHandle) { in setProcessorAffinity()
135 return 0 != SetThreadAffinityMask(winData->fHandle, threadAffinityMask); in setProcessorAffinity()
DSkOSFile.cpp70 SkOSFile::Iter::Iter() : fHandle(0), fPath16(NULL) in Iter()
74 SkOSFile::Iter::Iter(const char path[], const char suffix[]) : fHandle(0), fPath16(NULL) in Iter()
82 if (fHandle) in ~Iter()
83 ::FindClose(fHandle); in ~Iter()
88 if (fHandle) in reset()
90 ::FindClose(fHandle); in reset()
91 fHandle = 0; in reset()
144 if (fHandle == 0) // our first time in next()
149 fHandle = ::FindFirstFileW((LPCWSTR)fPath16, &data); in next()
150 if (fHandle != 0 && fHandle != (HANDLE)~0) in next()
[all …]
DSkThreadUtils_win.h19 HANDLE fHandle; variable
/external/chromium_org/third_party/skia/src/utils/
DSkThreadUtils_win.cpp14 : fHandle(NULL) in SkThread_WinData()
51 winData->fHandle = CreateThread( in SkThread()
64 if (winData->fHandle != NULL && !winData->fStarted) { in ~SkThread()
71 TerminateThread(winData->fHandle, -1); in ~SkThread()
80 if (NULL == winData->fHandle) { in start()
87 winData->fStarted = -1 != ResumeThread(winData->fHandle); in start()
93 if (NULL == winData->fHandle || !winData->fStarted) { in join()
97 WaitForSingleObject(winData->fHandle, INFINITE); in join()
122 if (NULL == winData->fHandle) { in setProcessorAffinity()
135 return 0 != SetThreadAffinityMask(winData->fHandle, threadAffinityMask); in setProcessorAffinity()
DSkOSFile.cpp70 SkOSFile::Iter::Iter() : fHandle(0), fPath16(NULL) in Iter()
74 SkOSFile::Iter::Iter(const char path[], const char suffix[]) : fHandle(0), fPath16(NULL) in Iter()
82 if (fHandle) in ~Iter()
83 ::FindClose(fHandle); in ~Iter()
88 if (fHandle) in reset()
90 ::FindClose(fHandle); in reset()
91 fHandle = 0; in reset()
144 if (fHandle == 0) // our first time in next()
149 fHandle = ::FindFirstFileW((LPCWSTR)fPath16, &data); in next()
150 if (fHandle != 0 && fHandle != (HANDLE)~0) in next()
[all …]
DSkThreadUtils_win.h19 HANDLE fHandle; variable
/external/icu/icu4c/source/test/intltest/
Dsimplethread.cpp162 HANDLE fHandle; member
177 imp->fHandle = 0; in SimpleThread()
188 if (imp->fHandle != 0) { in ~SimpleThread()
189 CloseHandle(imp->fHandle); in ~SimpleThread()
190 imp->fHandle = 0; in ~SimpleThread()
199 if(imp->fHandle != NULL) { in start()
205 imp->fHandle = (HANDLE) _beginthreadex( in start()
214 if (imp->fHandle == 0) { in start()
245 if (imp->fHandle == 0) { in isRunning()
249 success = GetExitCodeThread(imp->fHandle, &threadExitCode) != 0; in isRunning()
/external/chromium_org/third_party/icu/source/test/intltest/
Dsimplethread.cpp152 HANDLE fHandle; member
167 imp->fHandle = 0; in SimpleThread()
178 if (imp->fHandle != 0) { in ~SimpleThread()
179 CloseHandle(imp->fHandle); in ~SimpleThread()
180 imp->fHandle = 0; in ~SimpleThread()
189 if(imp->fHandle != NULL) { in start()
195 imp->fHandle = (HANDLE) _beginthreadex( in start()
204 if (imp->fHandle == 0) { in start()
235 if (imp->fHandle == 0) { in isRunning()
239 success = GetExitCodeThread(imp->fHandle, &threadExitCode) != 0; in isRunning()
/external/skia/src/ports/
DSkOSFile_win.cpp55 SkAutoNullKernelHandle(const HANDLE handle) : fHandle(handle) { } in SkAutoNullKernelHandle()
56 ~SkAutoNullKernelHandle() { CloseHandle(fHandle); } in ~SkAutoNullKernelHandle()
57 operator HANDLE() const { return fHandle; } in operator HANDLE()
58 bool isValid() const { return NULL != fHandle; } in isValid()
60 HANDLE fHandle; member in SkAutoNullKernelHandle
/external/chromium_org/third_party/skia/src/ports/
DSkOSFile_win.cpp55 SkAutoNullKernelHandle(const HANDLE handle) : fHandle(handle) { } in SkAutoNullKernelHandle()
56 ~SkAutoNullKernelHandle() { CloseHandle(fHandle); } in ~SkAutoNullKernelHandle()
57 operator HANDLE() const { return fHandle; } in operator HANDLE()
58 bool isValid() const { return NULL != fHandle; } in isValid()
60 HANDLE fHandle; member in SkAutoNullKernelHandle
/external/chromium_org/third_party/skia/include/core/
DSkOSFile.h112 HANDLE fHandle;
/external/skia/include/core/
DSkOSFile.h112 HANDLE fHandle;
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLProgramEffects.cpp353 transforms[t].fHandle = builder->addUniform(GrGLShaderBuilder::kVertex_Visibility, in emitTransforms()
424 SkASSERT(transforms[t].fHandle.isValid() != (kVoid_GrSLType == transforms[t].fType)); in setTransformData()
434 uniformManager.set2f(transforms[t].fHandle, tx, ty); in setTransformData()
443 uniformManager.setSkMatrix(transforms[t].fHandle, matrix); in setTransformData()
DGrGLProgramEffects.h202 UniformHandle fHandle; member
/external/skia/src/gpu/gl/
DGrGLProgramEffects.cpp353 transforms[t].fHandle = builder->addUniform(GrGLShaderBuilder::kVertex_Visibility, in emitTransforms()
424 SkASSERT(transforms[t].fHandle.isValid() != (kVoid_GrSLType == transforms[t].fType)); in setTransformData()
434 uniformManager.set2f(transforms[t].fHandle, tx, ty); in setTransformData()
443 uniformManager.setSkMatrix(transforms[t].fHandle, matrix); in setTransformData()
DGrGLProgramEffects.h202 UniformHandle fHandle; member