Lines Matching refs:NULL

45 	globals->process = NULL;  in tsrm_win32_ctor()
46 globals->shm = NULL; in tsrm_win32_ctor()
59 globals->impersonation_token_sid = NULL; in tsrm_win32_ctor()
110 TCHAR *ptcSid = NULL; in tsrm_win32_get_path_sid_key()
111 char *bucket_key = NULL; in tsrm_win32_get_path_sid_key()
116 return NULL; in tsrm_win32_get_path_sid_key()
123 return NULL; in tsrm_win32_get_path_sid_key()
129 return NULL; in tsrm_win32_get_path_sid_key()
144 PTOKEN_USER pTokenUser = NULL; in tsrm_win32_get_token_sid()
148 PSID pResultSid = NULL; in tsrm_win32_get_token_sid()
158 if (pTokenUser == NULL) { in tsrm_win32_get_token_sid()
187 if (pTokenUser != NULL) { in tsrm_win32_get_token_sid()
190 return NULL; in tsrm_win32_get_token_sid()
196 HANDLE thread_token = NULL; in tsrm_win32_access()
204 BYTE * psec_desc = NULL; in tsrm_win32_access()
208 realpath_cache_bucket * bucket = NULL; in tsrm_win32_access()
209 char * real_path = NULL; in tsrm_win32_access()
219 if(tsrm_realpath(pathname, real_path TSRMLS_CC) == NULL) { in tsrm_win32_access()
250 TWG(impersonation_token) = NULL; in tsrm_win32_access()
262 TWG(impersonation_token_sid) = NULL; in tsrm_win32_access()
285 if(bucket == NULL && real_path == NULL) { in tsrm_win32_access()
289 if(tsrm_realpath(pathname, real_path TSRMLS_CC) != NULL) { in tsrm_win32_access()
298 if(bucket != NULL && bucket->is_rvalid) { in tsrm_win32_access()
304 if(bucket != NULL && bucket->is_wvalid) { in tsrm_win32_access()
310 if(bucket != NULL && bucket->is_rvalid) { in tsrm_win32_access()
316 if(bucket != NULL && bucket->is_rvalid && bucket->is_wvalid) { in tsrm_win32_access()
323 if(TWG(impersonation_token) == NULL) { in tsrm_win32_access()
328 if(GetFileSecurity(pathname, sec_info, NULL, 0, &sec_desc_length)) { in tsrm_win32_access()
333 if(psec_desc == NULL || in tsrm_win32_access()
345 if(bucket != NULL) { in tsrm_win32_access()
362 if(psec_desc != NULL) { in tsrm_win32_access()
364 psec_desc = NULL; in tsrm_win32_access()
368 if(thread_token != NULL) { in tsrm_win32_access()
371 if(real_path != NULL) { in tsrm_win32_access()
373 real_path = NULL; in tsrm_win32_access()
402 if (newptr == NULL) { in process_get()
403 return NULL; in process_get()
434 if (newptr == NULL) { in shm_get()
435 return NULL; in shm_get()
447 return NULL; in dupHandle()
454 return popen_ex(command, type, NULL, NULL); in popen()
459 FILE *stream = NULL; in popen_ex()
471 HANDLE thread_token = NULL; in popen_ex()
472 HANDLE token_user = NULL; in popen_ex()
478 return NULL; in popen_ex()
484 return NULL; in popen_ex()
489 return NULL; in popen_ex()
496 security.lpSecurityDescriptor = NULL; in popen_ex()
499 return NULL; in popen_ex()
539 return NULL; in popen_ex()
544 …res = CreateProcessAsUser(token_user, NULL, cmd, &security, &security, security.bInheritHandle, dw… in popen_ex()
547 …res = CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, … in popen_ex()
552 return NULL; in popen_ex()
556 proc = process_get(NULL TSRMLS_CC); in popen_ex()
578 if ((process = process_get(stream TSRMLS_CC)) == NULL) { in pclose()
587 process->stream = NULL; in pclose()
612 shm_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, size, shm_segment); in shmget()
613 …info_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, sizeof(shm->descrip… in shmget()
625 shm = shm_get(key, NULL); in shmget()
628 shm->descriptor = MapViewOfFileEx(shm->info, FILE_MAP_ALL_ACCESS, 0, 0, 0, NULL); in shmget()
633 shm->descriptor->shm_ctime = time(NULL); in shmget()
656 shm_pair *shm = shm_get(key, NULL); in shmat()
662 shm->descriptor->shm_atime = time(NULL); in shmat()
666 shm->addr = MapViewOfFileEx(shm->segment, FILE_MAP_ALL_ACCESS, 0, 0, 0, NULL); in shmat()
679 shm->descriptor->shm_dtime = time(NULL); in shmdt()
687 shm_pair *shm = shm_get(key, NULL); in shmctl()
699 shm->descriptor->shm_ctime = time(NULL); in shmctl()
718 int ret = GetFullPathName(orig_path, _MAX_PATH, buffer, NULL); in realpath()
720 return NULL; in realpath()