/external/chromium/net/test/ |
test_server_win.cc | 49 // If the caller wants the process handle, we won't close it. 79 // Writes |size| bytes to |handle| and sets |*unblocked| to true. 81 void UnblockPipe(HANDLE handle, DWORD size, bool* unblocked) { 88 CHECK(WriteFile(handle, unblock_data.data(), size, &bytes_written, 94 // Given a file handle, reads into |buffer| until |bytes_max| bytes 97 bool ReadData(HANDLE read_fd, HANDLE write_fd, 153 HANDLE child_read = NULL; 154 HANDLE child_write = NULL [all...] |
/external/chromium_org/base/win/ |
sampling_profiler.cc | 49 HANDLE process, 58 typedef NTSTATUS (NTAPI *ZwStartProfileFunc)(HANDLE); 59 typedef NTSTATUS (NTAPI *ZwStopProfileFunc)(HANDLE); 125 bool SamplingProfiler::Initialize(HANDLE process, 154 HANDLE profile = NULL;
|
/external/chromium_org/content/browser/ |
power_save_blocker_win.cc | 20 HANDLE CreatePowerRequest(POWER_REQUEST_TYPE type, const std::string& reason) { 21 typedef HANDLE (WINAPI* PowerCreateRequestPtr)(PREASON_CONTEXT); 22 typedef BOOL (WINAPI* PowerSetRequestPtr)(HANDLE, POWER_REQUEST_TYPE); 48 base::win::ScopedHandle handle(PowerCreateRequestFn(&context)); 49 if (!handle.IsValid()) 52 if (PowerSetRequestFn(handle, type)) 53 return handle.Take(); 59 // Takes ownership of the |handle|. 60 void DeletePowerRequest(POWER_REQUEST_TYPE type, HANDLE handle) { [all...] |
/external/chromium_org/sandbox/win/src/ |
registry_dispatcher.cc | 23 bool GetCompletePath(HANDLE root, const std::wstring& name, 75 IPCInfo* ipc, std::wstring* name, DWORD attributes, HANDLE root, 80 // If there is a root directory, we need to duplicate the handle to make 102 HANDLE handle; local 107 title_index, create_options, &handle, 116 ipc->return_info.handle = handle; 121 DWORD attributes, HANDLE root, 126 // If there is a root directory, we need to duplicate the handle to mak 146 HANDLE handle; local [all...] |
handle_closer_test.cc | 18 // Returns a handle to a unique marker file that can be retrieved between runs. 19 HANDLE GetMarkerFile(const wchar_t *extension) { 46 HANDLE finish_event; 73 // Brute force the handle table to find what we're looking for. 76 const size_t kHandleOffset = sizeof(HANDLE); 77 HANDLE handle = NULL; local 85 reinterpret_cast<size_t&>(handle) += kHandleOffset; 86 if (GetHandleName(handle, &handle_name)) { 159 HANDLE wait_list[20] [all...] |
target_process.cc | 42 SANDBOX_INTERCEPT HANDLE g_shared_section; 67 TargetProcess::TargetProcess(HANDLE initial_token, HANDLE lockdown_token, 68 HANDLE job, ThreadProvider* thread_pool) 70 // the job_ handle. The Job handle is closed by BrokerServices and results 104 // ipc_server_ references our process handle, so make sure the former is shut 166 HANDLE temp_thread = process_info.thread_handle(); 249 // the handle to the shared section. The target on the first IPC must do 263 HANDLE target_shared_section [all...] |
crosscall_server.h | 76 virtual bool RegisterWait(const void* client, HANDLE waitable_object, 142 // process handle and the job object handle that contains the client process. 144 HANDLE process; 145 HANDLE job_object; 167 // one that could handle it. When an IPC arrives the IPC implementation will: 169 // returns NULL it means that it cannot handle this IPC but if it returns 170 // non-null, it must be the pointer to a dispatcher that can handle it. 176 // Called from the IPC implementation to handle a specific IPC message. 200 // on a derived class to handle a set of IPC messages. Return NULL if you [all...] |
sandbox_nt_util.h | 91 wchar_t** out_name, uint32* attributes, HANDLE* root); 96 // Returns true if the provided handle refers to the current process. 97 bool IsSameProcess(HANDLE process); 134 bool IsValidImageSection(HANDLE section, PVOID *base, PLARGE_INTEGER offset,
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_debug_symbol.c | 81 typedef BOOL (WINAPI *PFNSYMINITIALIZE)(HANDLE, LPSTR, BOOL); 85 BOOL WINAPI j_SymInitialize(HANDLE hProcess, PSTR UserSearchPath, BOOL fInvadeProcess) 109 typedef BOOL (WINAPI *PFNSYMGETSYMFROMADDR)(HANDLE, DWORD64, PDWORD64, PSYMBOL_INFO); 113 BOOL WINAPI j_SymFromAddr(HANDLE hProcess, DWORD64 Address, PDWORD64 Displacement, PSYMBOL_INFO Symbol) 127 HANDLE hProcess;
|
/external/lzma/CPP/Windows/ |
FileFind.h | 84 HANDLE _handle;
137 HANDLE _handle;
139 operator HANDLE () { return _handle; }
144 HANDLE FindFirst(LPCTSTR pathName, bool watchSubtree, DWORD notifyFilter);
146 HANDLE FindFirst(LPCWSTR pathName, bool watchSubtree, DWORD notifyFilter);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_symbol.c | 81 typedef BOOL (WINAPI *PFNSYMINITIALIZE)(HANDLE, LPSTR, BOOL); 85 BOOL WINAPI j_SymInitialize(HANDLE hProcess, PSTR UserSearchPath, BOOL fInvadeProcess) 109 typedef BOOL (WINAPI *PFNSYMGETSYMFROMADDR)(HANDLE, DWORD64, PDWORD64, PSYMBOL_INFO); 113 BOOL WINAPI j_SymFromAddr(HANDLE hProcess, DWORD64 Address, PDWORD64 Displacement, PSYMBOL_INFO Symbol) 127 HANDLE hProcess;
|
/external/qemu/target-i386/ |
hax-windows.c | 23 HANDLE hDevice; 66 HANDLE hDeviceVM; 100 HANDLE hDeviceVM; 139 HANDLE hDevice = hax->fd; //handle to hax module 169 HANDLE hDevice = hax->fd; //handle to hax module 384 HANDLE hDeviceVCPU = vcpu->fd; 403 HANDLE hDeviceVCPU; 436 HANDLE hDeviceVCPU [all...] |
/external/chromium_org/content/browser/geolocation/ |
wifi_data_provider_win.cc | 63 HANDLE hClientHandle, 69 HANDLE hClientHandle, 82 typedef DWORD (WINAPI* WlanCloseHandleFunction)(HANDLE hClientHandle, 97 // Takes ownership of the library handle. 102 int GetInterfaceDataWLAN(HANDLE wlan_handle, 109 // Handle to the wlanapi.dll library. 135 bool GetInterfaceDataNDIS(HANDLE adapter_handle, 149 HANDLE GetFileHandle(const string16& device_name); 151 int PerformQuery(HANDLE adapter_handle, 254 // Get the handle to the WLAN API [all...] |
/external/chromium_org/third_party/zlib/contrib/minizip/ |
iowin32.c | 38 HANDLE hf; 69 static voidpf win32_build_iowin(HANDLE hFile) 92 HANDLE hFile = NULL; 107 HANDLE hFile = NULL; 122 HANDLE hFile = NULL; 137 HANDLE hFile = NULL; 151 HANDLE hFile = NULL; 173 HANDLE hFile = NULL; 194 HANDLE hFile = NULL; 215 HANDLE hFile = NULL [all...] |
/external/chromium_org/sandbox/win/tools/finder/ |
ntundoc.h | 28 HANDLE RootDirectory; 168 USHORT Handle; 181 HANDLE, 190 HANDLE *, 240 HANDLE *, 248 HANDLE, 261 HANDLE Handle, 267 typedef NTSTATUS (WINAPI* NTCLOSE) (HANDLE);
|
/external/chromium_org/third_party/lcov/bin/ |
genpng | 127 # genpng_print_usage(handle) 134 local *HANDLE = $_[0]; 136 print(HANDLE <<END_OF_USAGE) 179 local *HANDLE; 182 open(HANDLE, "<$filename") 189 while (<HANDLE>) 211 while (<HANDLE>) { push(@source, ":$_"); } 213 close(HANDLE); 259 local *PNG_HANDLE; # Handle for output PNG file
|
/external/chromium_org/third_party/lcov-1.9/bin/ |
genpng | 130 # genpng_print_usage(handle) 137 local *HANDLE = $_[0]; 139 print(HANDLE <<END_OF_USAGE) 182 local *HANDLE; 185 open(HANDLE, "<$filename") 192 while (<HANDLE>) 214 while (<HANDLE>) { push(@source, ":$_"); } 216 close(HANDLE); 262 local *PNG_HANDLE; # Handle for output PNG file
|
geninfo | 454 # print_usage(handle) 461 local *HANDLE = $_[0]; 463 print(HANDLE <<END_OF_USAGE); [all...] |
/external/chromium/base/ |
shared_memory.h | 27 // the underlying OS handle to a shared memory segment. 29 typedef HANDLE SharedMemoryHandle; 30 typedef HANDLE SharedMemoryLock; 56 SharedMemory(SharedMemoryHandle handle, bool read_only); 61 SharedMemory(SharedMemoryHandle handle, bool read_only, 67 // Return true iff the given handle is valid (i.e. not the distingished 68 // invalid value; NULL for a HANDLE and -1 for a file descriptor) 69 static bool IsHandleValid(const SharedMemoryHandle& handle); 71 // Returns invalid handle (see comment above for exact definition). 74 // Closes a shared memory handle [all...] |
/external/chromium_org/base/memory/ |
shared_memory.h | 31 // the underlying OS handle to a shared memory segment. 33 typedef HANDLE SharedMemoryHandle; 34 typedef HANDLE SharedMemoryLock; 83 SharedMemory(SharedMemoryHandle handle, bool read_only); 88 SharedMemory(SharedMemoryHandle handle, bool read_only, 94 // Return true iff the given handle is valid (i.e. not the distingished 95 // invalid value; NULL for a HANDLE and -1 for a file descriptor) 96 static bool IsHandleValid(const SharedMemoryHandle& handle); 98 // Returns invalid handle (see comment above for exact definition). 101 // Closes a shared memory handle [all...] |
/external/chromium_org/third_party/libpng/ |
pngrio.c | 61 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) 73 can't handle far buffers in the medium and small models, we have to copy 95 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, 112 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) )
|
/external/chromium_org/ui/surface/ |
transport_dib.h | 32 // Two typedefs are defined. A Handle is the type which can be sent over 37 typedef HANDLE Handle; 40 // 1) Process A creates a transport DIB with HANDLE=1 and sends to B. 43 // is also assigned HANDLE=1. 44 // 4) Process A sends the Handle to B, but B incorrectly believes that it 48 : handle(NULL), 52 HandleAndSequenceNum(HANDLE h, uint32 seq_num) 53 : handle(h), 58 return other.handle == handle && other.sequence_num == sequence_num 68 HANDLE handle; member in struct:TransportDIB::HandleAndSequenceNum [all...] |
/external/libpng/ |
pngrio.c | 76 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) 88 can't handle far buffers in the medium and small models, we have to copy 110 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, 127 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) )
|
/external/qemu/distrib/libpng-1.2.19/ |
pngrio.c | 54 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) 66 can't handle far buffers in the medium and small models, we have to copy 87 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) 103 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) )
|
/system/core/libutils/ |
Threads.cpp | 218 HANDLE hThread; 226 hThread = (HANDLE) _beginthreadex(NULL, 0, threadIntermediary, pDetails, 0, 241 /* close the management handle */ 364 HANDLE hMutex; 375 HANDLE hMutex; 386 HANDLE hMutex; 396 CloseHandle((HANDLE) mState); 402 dwWaitResult = WaitForSingleObject((HANDLE) mState, INFINITE); 408 if (!ReleaseMutex((HANDLE) mState)) 416 dwWaitResult = WaitForSingleObject((HANDLE) mState, 0) [all...] |