/external/chromium_org/third_party/npapi/npspy/common/ |
utils.cpp | 93 CloseHandle((HANDLE)hFile); 104 WriteFile((HANDLE)hFile, pBuf, iSize, &dwRet, NULL); 114 FlushFileBuffers((HANDLE)hFile);
|
/external/lzma/CPP/Windows/ |
MemoryLock.cpp | 11 typedef BOOL (WINAPI * OpenProcessTokenP)(HANDLE ProcessHandle, DWORD DesiredAccess, PHANDLE TokenHandle);
13 typedef BOOL (WINAPI * AdjustTokenPrivilegesP)(HANDLE TokenHandle, BOOL DisableAllPrivileges,
34 HANDLE token;
|
/external/srec/portable/include/ |
pmutex.h | 47 typedef HANDLE MUTEX; 48 typedef HANDLE EVENT; 56 ESR_ReturnCode waitForHandle(HANDLE* handle, asr_uint32_t timeout);
|
/hardware/ti/omap3/dspbridge/inc/ |
sync.h | 84 HANDLE hUserEvent; /* Platform's User Mode synch. object. */ 85 HANDLE hKernelEvent; /* Platform's Kernel Mode sync. object. */ 93 * Close this event handle, freeing resources allocated in SYNC_OpenEvent 96 * hEvent: Handle to a synchronization event, created/opened in 100 * DSP_EFAIL: Failed to close event handle. 101 * DSP_EHANDLE: Invalid handle. 114 * hCSObj: critical section handle. 117 * DSP_EHANDLE: Invalid handle. 128 * hCSObj: critical section handle. 131 * DSP_EHANDLE: Invalid handle [all...] |
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
sync.h | 84 HANDLE hUserEvent; /* Platform's User Mode synch. object. */ 85 HANDLE hKernelEvent; /* Platform's Kernel Mode sync. object. */ 93 * Close this event handle, freeing resources allocated in SYNC_OpenEvent 96 * hEvent: Handle to a synchronization event, created/opened in 100 * DSP_EFAIL: Failed to close event handle. 101 * DSP_EHANDLE: Invalid handle. 114 * hCSObj: critical section handle. 117 * DSP_EHANDLE: Invalid handle. 128 * hCSObj: critical section handle. 131 * DSP_EHANDLE: Invalid handle [all...] |
/external/chromium_org/base/process/ |
launch.h | 88 HANDLE job_handle; 94 HANDLE stdin_handle; 95 HANDLE stdout_handle; 96 HANDLE stderr_handle; 145 // handle of the launched process. NOTE: In this case, the caller is 146 // responsible for closing the handle so that it doesn't leak! 147 // Otherwise, the process handle will be implicitly closed. 207 BASE_EXPORT bool SetJobObjectAsKillOnJobClose(HANDLE job_object); 250 // not handle the child's exceptions. Calling RestoreDefaultExceptionHandler
|
/external/chromium_org/net/test/spawned_test_server/ |
local_test_server_win.cc | 29 // Writes |size| bytes to |handle| and sets |*unblocked| to true. 31 void UnblockPipe(HANDLE handle, DWORD size, bool* unblocked) { 38 CHECK(WriteFile(handle, unblock_data.data(), size, &bytes_written, 44 // Given a file handle, reads into |buffer| until |bytes_max| bytes 47 bool ReadData(HANDLE read_fd, HANDLE write_fd, 97 HANDLE child_read = NULL; 98 HANDLE child_write = NULL; 113 // Pass the handle on the command-line. Although HANDLE is [all...] |
/external/chromium_org/sandbox/win/src/ |
process_thread_policy.cc | 37 BOOL CreateProcessExWHelper(HANDLE target_process, BOOL give_full_access, 106 HANDLE* handle) { 107 *handle = NULL; 120 HANDLE local_handle; 125 client_info.process, handle, 0, FALSE, 138 HANDLE* handle) { 139 *handle = NULL; 152 HANDLE local_handle [all...] |
registry_policy.cc | 38 HANDLE handle; local 39 NTSTATUS status = NtOpenKey(&handle, *access, obj_attributes); 44 status = NtQueryObject(handle, ObjectBasicInformation, &info, sizeof(info), 46 NtClose(handle); 54 NTSTATUS NtCreateKeyInTarget(HANDLE* target_key_handle, 61 HANDLE target_process) { 71 HANDLE local_handle = INVALID_HANDLE_VALUE; 86 NTSTATUS NtOpenKeyInTarget(HANDLE* target_key_handle, 89 HANDLE target_process) [all...] |
Wow64.cc | 22 HANDLE dll_load; // Event to signal the broker. 24 HANDLE continue_load; // Event to wait for the broker. 26 HANDLE section; // First argument of the call. 40 bool Restore64Code(HANDLE child, PatchInfo32* patch_info) { 70 typedef BOOL (WINAPI* IsWow64ProcessFunction)(HANDLE process, BOOL* wow64); 101 HANDLE current_process = ::GetCurrentProcess(); 102 HANDLE remote_load, remote_continue;
|
interceptors_64.cc | 24 HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, 35 NTSTATUS WINAPI TargetNtUnmapViewOfSection64(HANDLE process, PVOID base) { 44 HANDLE thread, NT_THREAD_INFORMATION_CLASS thread_info_class, 54 HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, 63 HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, 71 HANDLE WINAPI TargetCreateThread64( 133 HANDLE file, PIO_STATUS_BLOCK io_status, PVOID file_information, 143 SANDBOX_INTERCEPT HANDLE WINAPI TargetCreateNamedPipeW64( 175 HANDLE process, ACCESS_MASK desired_access, PHANDLE token) [all...] |
broker_services.cc | 25 bool AssociateCompletionPort(HANDLE job, HANDLE port, void* key) { 56 HANDLE job; 58 JobTracker(HANDLE cjob, sandbox::PolicyBase* cpolicy) 65 HANDLE wait_object; 68 HANDLE job_port; 69 PeerTracker(DWORD process_id, HANDLE broker_job_port) 172 // In OnJobEmpty() we don't actually use the job handle directly. 190 HANDLE port = broker->job_port_; 191 HANDLE no_targets = broker->no_targets_ [all...] |
target_interceptions.cc | 19 NtMapViewOfSectionFunction orig_MapViewOfSection, HANDLE section, 20 HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, 82 NtUnmapViewOfSectionFunction orig_UnmapViewOfSection, HANDLE process,
|
/external/chromium_org/base/win/ |
object_watcher_unittest.cc | 20 virtual void OnObjectSignaled(HANDLE object) { 29 virtual void OnObjectSignaled(HANDLE object) { 43 HANDLE event = CreateEvent(NULL, TRUE, FALSE, NULL); 64 HANDLE event = CreateEvent(NULL, TRUE, FALSE, NULL); 84 HANDLE event = CreateEvent(NULL, TRUE, FALSE, NULL); 110 HANDLE event = CreateEvent(NULL, TRUE, TRUE, NULL); 126 HANDLE event = CreateEvent(NULL, TRUE, FALSE, NULL); // not signaled
|
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
invasive.cc | 22 void POCDLL_API TestThreadBombing(HANDLE log) { 30 // Create the thread and leak the handle. 31 HANDLE thread = ::CreateThread(NULL, // Default security attributes 70 void POCDLL_API TestTakeAllCpu(HANDLE log) { 84 HANDLE thread = ::CreateThread(NULL, // Default security attributes. 111 void POCDLL_API TestUseAllMemory(HANDLE log) { 136 void POCDLL_API TestCreateObjects(HANDLE log) { 188 void POCDLL_API TestCloseHWND(HANDLE log) {
|
handles.cc | 16 void POCDLL_API TestGetHandle(HANDLE log) { 59 fprintf(output, "[ERROR] Failed to get the handle list. Error 0x%X\r\n", 66 USHORT h = system_handles->Information[i].Handle; 73 status = NtQueryObject(reinterpret_cast<HANDLE>(h), 83 // object referenced by the handle. 84 status = NtQueryObject(reinterpret_cast<HANDLE>(h), 95 status = NtQueryObject(reinterpret_cast<HANDLE>(h), 106 status = NtQueryObject(reinterpret_cast<HANDLE>(h), 135 status = NtQueryInformationFile(reinterpret_cast<HANDLE>(h), 155 fprintf(output, "[GRANTED] Handle 0x%4.4X Access: 0x%8.8X [all...] |
/external/bison/lib/ |
fcntl.c | 54 HANDLE curr_process = GetCurrentProcess (); 55 HANDLE old_handle = (HANDLE) _get_osfhandle (oldfd); 80 HANDLE new_handle; 273 HANDLE handle = (HANDLE) _get_osfhandle (fd); local 275 if (handle == INVALID_HANDLE_VALUE 276 || GetHandleInformation (handle, &flags) == 0) 292 changing the HANDLE_FLAG_INHERIT bit on the underlying handle [all...] |
/external/chromium/base/files/ |
file_path_watcher_win.cc | 37 virtual void OnObjectSignaled(HANDLE object); 42 // Setup a watch handle for directory |dir|. Returns true if no fatal error 43 // occurs. |handle| will receive the handle value if |dir| is watchable, 45 static bool SetupWatchHandle(const FilePath& dir, HANDLE* handle) 48 // (Re-)Initialize the watch handle. 51 // Destroy the watch handle. 63 // Handle for FindFirstChangeNotification. 64 HANDLE handle_ [all...] |
/external/chromium_org/base/files/ |
file_path_watcher_win.cc | 40 virtual void OnObjectSignaled(HANDLE object); 45 // Setup a watch handle for directory |dir|. Set |recursive| to true to watch 46 // the directory sub trees. Returns true if no fatal error occurs. |handle| 47 // will receive the handle value if |dir| is watchable, otherwise 51 HANDLE* handle) WARN_UNUSED_RESULT; 53 // (Re-)Initialize the watch handle. 56 // Destroy the watch handle. 68 // Handle for FindFirstChangeNotification. 69 HANDLE handle_ [all...] |
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/ |
port_monitor.cc | 70 HANDLE printer_handle; 136 bool GetJobTitle(HANDLE printer_handle, 173 bool GetUserToken(HANDLE* primary_token) { 174 HANDLE token = NULL; 200 HANDLE token = NULL; 240 HANDLE token = NULL; 261 HANDLE token = NULL; 318 BOOL WINAPI Monitor2EnumPorts(HANDLE, 386 BOOL WINAPI Monitor2OpenPort(HANDLE, wchar_t*, HANDLE* handle) [all...] |
/external/chromium_org/sandbox/win/tools/finder/ |
finder.h | 40 Impersonater(HANDLE token_handle) { 108 // Set func_to_call to the function pointer of the function used to handle 121 // and handle. func_to_call is a pointer to a function to open a kernel 126 HANDLE *handle); 134 // Handle to the restricted token. 135 HANDLE token_handle_;
|
/development/host/windows/usb/api/ |
adb_io_completion.h | 31 performed via WinUsb as well as legacy driver APIs. A handle to this object
33 like all other handles this handle must be closed after it's no longer
45 @param[in] event_hndl Event handle that should be signaled when I/O
46 completes. Can be NULL. If it's not NULL this handle will be
51 HANDLE event_hndl);
96 check GetLastError to validate that handle was OK.
111 /// Gets parent object handle
|
/development/host/windows/usb/winusb/ |
adb_winusb_endpoint_object.h | 21 encapsulates a handle opened to a WinUsb endpoint on our device.
27 /** Class AdbWinUsbEndpointObject encapsulates a handle opened to an endpoint on
86 @param[in] event_handle Event handle that should be signaled when async I/O
87 completes. Can be NULL. If it's not NULL this handle will be used to
92 @return A handle to IO completion object or NULL on failure. If NULL is
99 HANDLE event_handle,
149 /// Gets parent interface WinUsb handle
|
/external/chromium/base/allocator/ |
win_allocator.cc | 9 HANDLE win_heap;
|
/external/chromium/base/ |
sync_socket.h | 26 typedef HANDLE Handle; 28 typedef int Handle; 31 // Creates a SyncSocket from a Handle. Used in transport. 32 explicit SyncSocket(Handle handle) : handle_(handle) { } 44 // Note it is not safe to send messages from the same socket handle by 63 // Extracts the contained handle. Used for transferring between 65 Handle handle() const { return handle_; function in class:base::SyncSocket [all...] |