Lines Matching refs:HANDLE
139 typedef HANDLE pthread_mutex_t;
140 typedef struct {HANDLE signal, broadcast;} pthread_cond_t;
142 #define pid_t HANDLE // MINGW typedefs pid_t to int. Using #define here.
169 HANDLE handle;
857 HANDLE handles[2];
1062 dir->handle = FindFirstFileW(wpath, &dir->info);
1077 if (dir->handle != INVALID_HANDLE_VALUE)
1078 result = FindClose(dir->handle) ? 0 : -1;
1093 if (dir->handle != INVALID_HANDLE_VALUE) {
1099 if (!FindNextFileW(dir->handle, &dir->info)) {
1100 (void) FindClose(dir->handle);
1101 dir->handle = INVALID_HANDLE_VALUE;
1120 static HANDLE dlopen(const char *dll_name, int flags) {
1138 HANDLE me;
1155 (void) DuplicateHandle(me, (HANDLE) _get_osfhandle(fd_stdin), me,
1157 (void) DuplicateHandle(me, (HANDLE) _get_osfhandle(fd_stdout), me,
3087 // TODO(lsm): handle seek error
3947 // Request is valid, handle it
4120 // Wakeup workers that are waiting for connections to handle.