/external/qemu/ui/ |
D | keymaps.c | 41 struct key_range *kr; in add_to_key_range() local 42 for (kr = *krp; kr; kr = kr->next) { in add_to_key_range() 43 if (code >= kr->start && code <= kr->end) in add_to_key_range() 45 if (code == kr->start - 1) { in add_to_key_range() 46 kr->start--; in add_to_key_range() 49 if (code == kr->end + 1) { in add_to_key_range() 50 kr->end++; in add_to_key_range() 54 if (kr == NULL) { in add_to_key_range() 55 kr = g_malloc0(sizeof(*kr)); in add_to_key_range() 56 kr->start = kr->end = code; in add_to_key_range() [all …]
|
/external/chromium_org/sandbox/mac/ |
D | mach_message_server.cc | 36 kern_return_t kr; in Initialize() local 42 if ((kr = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &port)) != in Initialize() 44 MACH_LOG(ERROR, kr) << "Failed to allocate new server port."; in Initialize() 55 kr = vm_allocate(task, &buffer, buffer_size_, kMachMsgMemoryFlags); in Initialize() 56 if (kr != KERN_SUCCESS) { in Initialize() 57 MACH_LOG(ERROR, kr) << "Failed to allocate request buffer."; in Initialize() 62 kr = vm_allocate(task, &buffer, buffer_size_, kMachMsgMemoryFlags); in Initialize() 63 if (kr != KERN_SUCCESS) { in Initialize() 64 MACH_LOG(ERROR, kr) << "Failed to allocate reply buffer."; in Initialize() 113 kern_return_t kr = mach_msg(reply.mach, MACH_SEND_MSG, in SendReply() local [all …]
|
D | bootstrap_sandbox_unittest.mm | 190 kern_return_t kr = bootstrap_look_up(bootstrap_port, kTestServer, 192 CHECK_EQ(BOOTSTRAP_UNKNOWN_SERVICE, kr); 195 kr = bootstrap_look_up(bootstrap_port, "org.chromium.some_other_server", 197 CHECK_EQ(BOOTSTRAP_UNKNOWN_SERVICE, kr); 213 kern_return_t kr = bootstrap_look_up(bootstrap_port, kTestServer, 215 CHECK_EQ(KERN_SUCCESS, kr); 263 kern_return_t kr = mach_msg(&msg.header, MACH_RCV_MSG, 0, 266 EXPECT_EQ(KERN_SUCCESS, kr); 278 kern_return_t kr = bootstrap_look_up(bootstrap_port, kTestServer, &port); 279 CHECK_EQ(KERN_SUCCESS, kr); [all …]
|
D | bootstrap_sandbox.cc | 29 kern_return_t kr = bootstrap_check_in(bootstrap_port, in Create() local 31 if (kr != KERN_SUCCESS) { in Create() 32 BOOTSTRAP_LOG(ERROR, kr) in Create() 127 kern_return_t kr = task_get_special_port( in BootstrapSandbox() local 129 MACH_CHECK(kr == KERN_SUCCESS, kr); in BootstrapSandbox()
|
D | launchd_interception_server.cc | 33 kern_return_t kr; in Initialize() local 37 if ((kr = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &port)) != in Initialize() 39 MACH_LOG(ERROR, kr) << "Failed to allocate dummy sandbox port."; in Initialize() 43 if ((kr = mach_port_insert_right(task, sandbox_port_, sandbox_port_, in Initialize() 45 MACH_LOG(ERROR, kr) << "Failed to allocate dummy sandbox port send right."; in Initialize()
|
D | xpc_message_server.cc | 33 kern_return_t kr; in Initialize() local 34 if ((kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, in Initialize() 36 MACH_LOG(ERROR, kr) << "Failed to allocate new server port."; in Initialize()
|
/external/chromium_org/base/mac/ |
D | scoped_mach_port.cc | 15 kern_return_t kr = mach_port_deallocate(mach_task_self(), port); in Free() local 16 MACH_LOG_IF(ERROR, kr != KERN_SUCCESS, kr) in Free() 22 kern_return_t kr = in Free() local 24 MACH_LOG_IF(ERROR, kr != KERN_SUCCESS, kr) in Free()
|
/external/chromium_org/content/browser/gamepad/ |
D | xbox_data_fetcher_mac.cc | 262 kern_return_t kr = in OpenDevice() local 268 if (kr != KERN_SUCCESS) in OpenDevice() 280 kr = (*device_)->GetDeviceVendor(device_, &vendor_id); in OpenDevice() 281 if (kr != KERN_SUCCESS || vendor_id != kVendorMicrosoft) in OpenDevice() 285 kr = (*device_)->GetDeviceProduct(device_, &product_id); in OpenDevice() 286 if (kr != KERN_SUCCESS) in OpenDevice() 314 kr = (*device_)->USBDeviceOpen(device_); in OpenDevice() 315 if (kr != KERN_SUCCESS) in OpenDevice() 322 kr = (*device_)->GetConfigurationDescriptorPtr(device_, 0, &config_desc); in OpenDevice() 323 if (kr != KERN_SUCCESS) in OpenDevice() [all …]
|
/external/lldb/tools/darwin-threads/ |
D | examine-threads.c | 121 kern_return_t kr; in get_thread_basic_info() local 124 kr = thread_info (thread, THREAD_BASIC_INFO, in get_thread_basic_info() 126 if (kr != KERN_SUCCESS) in get_thread_basic_info() 142 kern_return_t kr; in get_thread_identifier_info() local 145 kr = thread_info (thread, THREAD_IDENTIFIER_INFO, in get_thread_identifier_info() 147 if (kr != KERN_SUCCESS) in get_thread_identifier_info() 207 kern_return_t kr; in get_current_pc() local 212 kr = thread_get_state (thread, x86_THREAD_STATE, in get_current_pc() 214 if (kr != KERN_SUCCESS) in get_current_pc() 235 kr = thread_get_state (thread, ARM_THREAD_STATE, in get_current_pc() [all …]
|
/external/chromium_org/base/process/ |
D | process_metrics_mac.cc | 43 kern_return_t kr = task_info(task, in GetTaskInfo() local 48 return kr == KERN_SUCCESS; in GetTaskInfo() 156 kern_return_t kr = mach_vm_region(task, in GetMemoryBytes() local 163 if (kr == KERN_INVALID_ADDRESS) { in GetMemoryBytes() 166 } else if (kr != KERN_SUCCESS) { in GetMemoryBytes() 167 MACH_DLOG(ERROR, kr) << "mach_vm_region"; in GetMemoryBytes() 238 kern_return_t kr = task_info(task, in GetCPUUsage() local 242 if (kr != KERN_SUCCESS) { in GetCPUUsage() 293 kern_return_t kr = task_info(task, in GetIdleWakeupsPerSecond() local 297 if (kr != KERN_SUCCESS) { in GetIdleWakeupsPerSecond() [all …]
|
D | launch_mac.cc | 36 kern_return_t kr = bootstrap_look_up(bootstrap_port, in ReplaceBootstrapPort() local 38 if (kr != KERN_SUCCESS) { in ReplaceBootstrapPort() 42 kr = task_set_bootstrap_port(mach_task_self(), port); in ReplaceBootstrapPort() 43 if (kr != KERN_SUCCESS) { in ReplaceBootstrapPort()
|
D | process_metrics_ios.cc | 15 kern_return_t kr = task_info(mach_task_self(), in GetTaskInfo() local 19 return kr == KERN_SUCCESS; in GetTaskInfo()
|
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/ |
D | device_id_mac.cc | 172 kern_return_t kr = IOMasterPort(MACH_PORT_NULL, &master_port); in GetMacAddress() local 173 if (kr != KERN_SUCCESS) { in GetMacAddress() 174 LOG(ERROR) << "IOMasterPort failed: " << kr; in GetMacAddress() 186 kr = IOServiceGetMatchingServices(master_port, in GetMacAddress() 189 if (kr != KERN_SUCCESS) { in GetMacAddress() 190 LOG(ERROR) << "IOServiceGetMatchingServices failed: " << kr; in GetMacAddress() 203 kr = IORegistryEntryGetParentEntry(interface_service, in GetMacAddress() 206 if (kr != KERN_SUCCESS) { in GetMacAddress() 207 LOG(ERROR) << "IORegistryEntryGetParentEntry failed: " << kr; in GetMacAddress()
|
/external/chromium_org/content/browser/ |
D | mach_broker_mac.mm | 59 kern_return_t kr = mach_port_allocate(mach_task_self(), 62 if (kr != KERN_SUCCESS) { 63 MACH_LOG(ERROR, kr) << "mach_port_allocate"; 69 kr = mach_port_insert_right( 71 if (kr != KERN_SUCCESS) { 72 MACH_LOG(ERROR, kr) << "mach_port_insert_right"; 98 kern_return_t kr; 99 while ((kr = mach_msg(&msg.header, 122 MACH_LOG(ERROR, kr) << "mach_msg"; 139 kern_return_t kr = bootstrap_look_up(bootstrap_port, [all …]
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachVMMemory.cpp | 40 kern_return_t kr; in PageSize() local 43 kr = task_info (task, TASK_VM_INFO, (task_info_t) &vm_info, &info_count); in PageSize() 44 if (kr == KERN_SUCCESS) in PageSize() 52 …ze, TASK_VM_INFO %d, TASK_VM_INFO_COUNT %d, kern return %d", TASK_VM_INFO, TASK_VM_INFO_COUNT, kr); in PageSize() 242 kern_return_t kr; in GetRegionSizes() local 246 kr = task_info(task, TASK_VM_INFO_PURGEABLE, (task_info_t)&vm_info, &info_count); in GetRegionSizes() 248 kr = task_info(task, TASK_VM_INFO, (task_info_t)&vm_info, &info_count); in GetRegionSizes() 250 if (kr == KERN_SUCCESS) in GetRegionSizes() 356 …kern_return_t kr = mach_vm_region(task, &addr, &size, VM_REGION_TOP_INFO, (vm_region_info_t)&info,… in GetMemorySizes() local 357 if (kr != KERN_SUCCESS) break; in GetMemorySizes() [all …]
|
D | MachTask.cpp | 238 kern_return_t kr; in get_threads_profile_data() local 242 kr = task_threads(task, &threads, &tcnt); in get_threads_profile_data() 243 if (kr != KERN_SUCCESS) in get_threads_profile_data() 250 … kr = ::thread_info(threads[i], THREAD_IDENTIFIER_INFO, (thread_info_t)&identifier_info, &count); in get_threads_profile_data() 251 if (kr != KERN_SUCCESS) continue; in get_threads_profile_data() 255 kr = ::thread_info(threads[i], THREAD_BASIC_INFO, (thread_info_t)&basic_info, &count); in get_threads_profile_data() 256 if (kr != KERN_SUCCESS) continue; in get_threads_profile_data() 289 kr = mach_port_deallocate(mach_task_self(), threads[i]); in get_threads_profile_data() 291 …kr = mach_vm_deallocate(mach_task_self(), (mach_vm_address_t)(uintptr_t)threads, tcnt * sizeof(*th… in get_threads_profile_data() 315 …kern_return_t kr = host_statistics(localHost, HOST_CPU_LOAD_INFO, (host_info_t)&host_info, &count); in GetProfileData() local [all …]
|
/external/chromium_org/base/time/ |
D | time_mac.cc | 33 int kr = sysctl(mib, arraysize(mib), &boottime, &size, NULL, 0); in ComputeCurrentTicks() local 34 DCHECK_EQ(KERN_SUCCESS, kr); in ComputeCurrentTicks() 49 kern_return_t kr = mach_timebase_info(&timebase_info); in ComputeCurrentTicks() 50 MACH_DCHECK(kr == KERN_SUCCESS, kr) << "mach_timebase_info"; in ComputeCurrentTicks() 84 kern_return_t kr = thread_info( in ComputeThreadTicks() 89 MACH_DCHECK(kr == KERN_SUCCESS, kr) << "thread_info"; in ComputeThreadTicks()
|
/external/chromium_org/chrome/browser/mac/ |
D | bluetooth_utility.mm | 25 int kr = IOServiceGetMatchingServices( 27 if (kr != KERN_SUCCESS) 37 kr = IORegistryEntryCreateCFProperties( 39 if (kr != KERN_SUCCESS)
|
/external/chromium_org/chrome/test/perf/ |
D | mach_ports_performancetest.cc | 60 kern_return_t kr = mach_port_names(self, in RecordPortCount() local 63 ASSERT_EQ(KERN_SUCCESS, kr) << "Failed to get mach_port_names(): " in RecordPortCount() 64 << mach_error_string(kr); in RecordPortCount()
|
/external/llvm/lib/Support/Unix/ |
D | Memory.inc | 224 kern_return_t kr = vm_protect(mach_task_self(), (vm_address_t)pa, 227 if (KERN_SUCCESS != kr) { 232 kr = vm_protect(mach_task_self(), (vm_address_t)pa, 235 if (KERN_SUCCESS != kr) { 259 kern_return_t kr = vm_protect(mach_task_self(), (vm_address_t)M.Address, 261 return KERN_SUCCESS == kr; 271 kern_return_t kr = vm_protect(mach_task_self(), (vm_address_t)M.Address, 273 return KERN_SUCCESS == kr; 284 kern_return_t kr = vm_protect(mach_task_self(), (vm_address_t)Addr, 287 return KERN_SUCCESS == kr; [all …]
|
/external/chromium_org/tools/python/google/httpd_config/ |
D | httpd2_mac.conf | 145 AddLanguage kr .kr 146 AddCharset ISO-2022-KR .iso-kr 176 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
|
D | httpd2.conf | 196 AddLanguage kr .kr 197 AddCharset ISO-2022-KR .iso-kr 227 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
|
D | httpd.conf | 550 AddLanguage kr .kr 551 AddCharset ISO-2022-KR .iso-kr 581 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
|
/external/icu/icu4c/source/data/curr/ |
D | is.txt | 184 "Tékknesk króna, eldri", 204 "Tékknesk króna", 220 "Dönsk króna", 236 "Eistnesk króna", 363 "kr", 364 "Íslensk króna", 568 "Norsk króna", 672 "Sænsk króna", 688 "Slóvakísk króna", 1041 one{"tékknesk króna"} [all …]
|
/external/chromium_org/third_party/icu/source/data/curr/ |
D | is.txt | 180 "Tékknesk króna, eldri", 200 "Tékknesk króna", 216 "Dönsk króna", 232 "Eistnesk króna", 359 "kr", 360 "Íslensk króna", 560 "Norsk króna", 644 "Sænsk króna", 660 "Slóvakísk króna", 989 one{"tékknesk króna"} [all …]
|