/external/webkit/Source/WebKit2/UIProcess/Launcher/mac/ |
ThreadLauncherMac.mm | 60 mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &listeningPort); 63 mach_port_insert_right(mach_task_self(), listeningPort, listeningPort, MACH_MSG_TYPE_MAKE_SEND); 66 mach_port_destroy(mach_task_self(), listeningPort);
|
ProcessLauncherMac.mm | 194 mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &listeningPort); 197 mach_port_insert_right(mach_task_self(), listeningPort, listeningPort, MACH_MSG_TYPE_MAKE_SEND); 286 mach_port_deallocate(mach_task_self(), listeningPort); 289 mach_port_mod_refs(mach_task_self(), listeningPort, MACH_PORT_RIGHT_RECEIVE, -1);
|
/external/webkit/Source/WebKit2/Platform/mac/ |
MachUtilities.cpp | 36 mach_port_set_attributes(mach_task_self(), receivePort, MACH_PORT_LIMITS_INFO, reinterpret_cast<mach_port_info_t>(&portLimits), MACH_PORT_LIMITS_INFO_COUNT); 47 kern_return_t kr = task_get_exception_ports(mach_task_self(), EXC_MASK_CRASH, exceptionMasks, &numExceptionMasks, exceptionHandlers, exceptionBehaviors, exceptionFlavors); 66 if (task_set_exception_ports(mach_task_self(), EXC_MASK_CRASH, exceptionPort, EXCEPTION_STATE_IDENTITY | MACH_EXCEPTION_CODES, MACHINE_THREAD_STATE) != KERN_SUCCESS)
|
SharedMemoryMac.cpp | 49 mach_port_deallocate(mach_task_self(), m_port); 97 kern_return_t kr = mach_vm_allocate(mach_task_self(), &address, round_page(size), VM_FLAGS_ANYWHERE); 104 kr = mach_make_memory_entry_64(mach_task_self(), &memoryObjectSize, address, VM_PROT_DEFAULT, &port, MACH_PORT_NULL); 107 mach_vm_deallocate(mach_task_self(), address, round_page(size)); 142 kern_return_t kr = mach_vm_map(mach_task_self(), &mappedAddress, handle.m_size, 0, VM_FLAGS_ANYWHERE, handle.m_port, 0, false, vmProtection, vmProtection, VM_INHERIT_NONE); 157 kern_return_t kr = mach_vm_deallocate(mach_task_self(), toVMAddress(m_data), round_page(m_size)); 162 kern_return_t kr = mach_port_deallocate(mach_task_self(), m_port); 180 if (mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_SEND, 1) != KERN_SUCCESS) 184 kern_return_t kr = mach_make_memory_entry_64(mach_task_self(), &size, address, machProtection(protection), &port, MACH_PORT_NULL);
|
WorkQueueMac.cpp | 87 mach_port_mod_refs(mach_task_self(), machPort, MACH_PORT_RIGHT_RECEIVE, -1); 91 mach_port_deallocate(mach_task_self(), machPort);
|
/external/webkit/Source/WebCore/platform/mac/ |
PurgeableBufferMac.cpp | 52 vm_deallocate(mach_task_self(), reinterpret_cast<vm_address_t>(m_data), m_size); 61 kern_return_t ret = vm_allocate(mach_task_self(), &buffer, size, VM_FLAGS_PURGABLE | VM_FLAGS_ANYWHERE | VM_TAG_FOR_WEBCORE_PURGEABLE_MEMORY); 67 ret = vm_copy(mach_task_self(), reinterpret_cast<vm_address_t>(data), size, buffer); 71 vm_deallocate(mach_task_self(), buffer, size); 94 kern_return_t ret = vm_purgable_control(mach_task_self(), reinterpret_cast<vm_address_t>(m_data), VM_PURGABLE_SET_STATE, &state); 112 kern_return_t ret = vm_purgable_control(mach_task_self(), reinterpret_cast<vm_address_t>(m_data), VM_PURGABLE_SET_STATE, &state); 132 kern_return_t ret = vm_purgable_control(mach_task_self(), reinterpret_cast<vm_address_t>(m_data), VM_PURGABLE_GET_STATE, &state);
|
/external/webkit/Tools/DumpRenderTree/mac/ |
CheckedMalloc.cpp | 63 if (mach_vm_region(mach_task_self(), &address, ®ionSize, VM_REGION_BASIC_INFO_64, (vm_region_info_t)®ionInfo, ®ionInfoCount, &objectName)) 78 if (mach_vm_protect(mach_task_self(), pageStart, len, 0, initialProtection | VM_PROT_WRITE)) 88 if (mach_vm_protect(mach_task_self(), pageStart, len, 0, initialProtection))
|
/external/webkit/Source/WebKit2/Shared/mac/ |
UpdateChunk.cpp | 51 vm_allocate(mach_task_self(), reinterpret_cast<vm_address_t*>(&m_data), m_size, VM_FLAGS_ANYWHERE); 57 vm_deallocate(mach_task_self(), reinterpret_cast<vm_address_t>(m_data), m_size);
|
WebMemorySampler.mac.mm | 71 malloc_get_all_zones(mach_task_self(), 0, &zones, &count); 94 task_info(mach_task_self(), TASK_BASIC_INFO_64, reinterpret_cast<task_info_t>(&taskInfo), &count);
|
ShareableSurface.cpp | 58 mach_port_deallocate(mach_task_self(), m_port);
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebKitSystemBits.m | 52 mach_port_deallocate(mach_task_self(), host);
|
/external/webrtc/src/system_wrappers/source/ |
cpu_mac.cc | 58 vm_deallocate(mach_task_self(), (vm_address_t)infoArray, infoCount); 139 vm_deallocate(mach_task_self(), (vm_address_t)infoArray, infoCount);
|
/external/skia/bench/ |
BenchSysTimer_mach.cpp | 15 mach_port_t task = mach_task_self();
|
/external/webkit/Source/JavaScriptCore/runtime/ |
TimeoutChecker.cpp | 68 mach_port_deallocate(mach_task_self(), threadPort);
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
NetscapePluginHostManager.mm | 79 if (mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &clientPort) != KERN_SUCCESS) { 87 mach_port_destroy(mach_task_self(), clientPort); 170 mach_port_deallocate(mach_task_self(), pluginHostPort);
|
NetscapePluginHostProxy.mm | 112 mach_port_request_notification(mach_task_self(), pluginHostPort, MACH_NOTIFY_DEAD_NAME, 0, 131 mach_port_extract_member(mach_task_self(), m_clientPort, m_portSet); 132 mach_port_extract_member(mach_task_self(), CFMachPortGetPort(m_deadNameNotificationPort.get()), m_portSet); 133 mach_port_destroy(mach_task_self(), m_portSet); 294 mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_PORT_SET, &m_portSet); 295 mach_port_insert_member(mach_task_self(), m_clientPort, m_portSet); 296 mach_port_insert_member(mach_task_self(), CFMachPortGetPort(m_deadNameNotificationPort.get()), m_portSet); 359 vm_deallocate(mach_task_self(), m_data, m_dataLength); [all...] |
/external/webkit/Source/WebKit2/Platform/CoreIPC/mac/ |
ConnectionMac.cpp | 92 mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &m_receivePort); 290 vm_deallocate(mach_task_self(), reinterpret_cast<vm_address_t>(messageBodyAttachment.address()), messageBodyAttachment.size()); 418 if (mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &m_exceptionPort) != KERN_SUCCESS) 421 if (mach_port_insert_right(mach_task_self(), m_exceptionPort, m_exceptionPort, MACH_MSG_TYPE_MAKE_SEND) != KERN_SUCCESS)
|
/external/libvpx/libvpx/vp8/common/ |
threading.h | 164 #define sem_init(X,Y,Z) semaphore_create(mach_task_self(), X, SYNC_POLICY_FIFO, Z) 167 #define sem_destroy(sem) semaphore_destroy(mach_task_self(),*sem)
|
/external/webkit/Source/WebKit2/PluginProcess/ |
PluginProcess.cpp | 147 mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &listeningPort);
|
/external/v8/src/ |
platform-macos.cc | 695 semaphore_create(mach_task_self(), &semaphore_, SYNC_POLICY_FIFO, count); 699 semaphore_destroy(mach_task_self(), semaphore_); 735 mach_port_deallocate(mach_task_self(), profiled_thread_);
|
/external/webkit/Source/WebKit2/WebProcess/mac/ |
WebProcessMac.mm | 65 mach_port_deallocate(mach_task_self(), host);
|
/external/chromium/chrome/browser/ |
mach_broker_mac.cc | 180 kern_return_t kr = mach_port_deallocate(mach_task_self(),
|
/external/chromium/testing/gtest/src/ |
gtest-port.cc | 85 const task_t task = mach_task_self();
|
/external/gtest/src/ |
gtest-port.cc | 85 const task_t task = mach_task_self();
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-port.cc | 85 const task_t task = mach_task_self();
|