Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 178) sorted by relevance

12345678

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dcase.py473 def _getAssertEqualityFunc(self, first, second): argument
490 if type(first) is type(second):
497 def _baseAssertEqual(self, first, second, msg=None): argument
499 if not first == second:
500 standardMsg = '%s != %s' % (safe_repr(first), safe_repr(second))
504 def assertEqual(self, first, second, msg=None): argument
508 assertion_func = self._getAssertEqualityFunc(first, second)
509 assertion_func(first, second, msg=msg)
511 def assertNotEqual(self, first, second, msg=None): argument
515 if not first != second:
[all …]
/device/generic/goldfish/camera/
DEmulatedQemuCamera.cpp105 int area = res.first * res.second; in Initialize()
109 maxAreaHeight = res.second; in Initialize()
115 if (res->first > maxAreaWidth || res->second > maxAreaHeight) { in Initialize()
134 sizesStream << resolutions[i].first << 'x' << resolutions[i].second; in Initialize()
151 + "x" + std::to_string(resolutions[0].second); in Initialize()
160 int y = resolutions[0].second; in Initialize()
DEmulatedQemuCameraDevice.cpp161 mFrameBufferPairs[0].second = mPreviewFrames[0].data(); in startDevice()
164 mFrameBufferPairs[1].second = mPreviewFrames[1].data(); in startDevice()
264 uint32_t* previewFrame = frameBufferPair->second; in getCurrentPreviewFrame()
297 uint32_t* previewFrame = frameBufferPair->second; in produceFrame()
/device/generic/goldfish/network/netmgr/commands/
Dwifi_command.cpp157 fprintf(out.get(), "bss=%s\n", ap.second.ifName.c_str()); in writeConfig()
158 fprintf(out.get(), "ssid=%s\n", ap.second.ssid.c_str()); in writeConfig()
159 if (!ap.second.password.empty()) { in writeConfig()
163 fprintf(out.get(), "wpa_passphrase=%s\n", ap.second.password.c_str()); in writeConfig()
261 interface->second.blocked = true; in onBlock()
262 return setBlocked(interface->second.ifName.c_str(), true); in onBlock()
270 interface->second.blocked = false; in onUnblock()
271 return setBlocked(interface->second.ifName.c_str(), false); in onUnblock()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Ddynload_win.c33 int first, second; in strcasecmp() local
37 second = tolower(*string2); in strcasecmp()
40 } while (first && first == second); in strcasecmp()
42 return (first - second); in strcasecmp()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DKeyedVectorUtils.h24 delete it->second; in clearObjectMap()
37 return it->second;
DIndexRangeCache.cpp45 if (start_out) *start_out = it->second.start; in findRange()
46 if (end_out) *end_out = it->second.end; in findRange()
/device/google/cuttlefish_common/guest/hals/ril/
Dcuttlefish_ril.cpp248 responses[index].status = iter->second.fail_cause_; in request_or_send_data_calllist()
251 responses[index].active = iter->second.link_state_; in request_or_send_data_calllist()
253 switch (iter->second.connection_type_) { in request_or_send_data_calllist()
318 fail = gDataCalls.rbegin()->second.fail_cause_; in request_datacall_fail_cause()
554 p_calls->state = iter->second.state; in request_get_current_calls()
556 p_calls->toa = iter->second.isInternational ? 145 : 129; in request_get_current_calls()
557 p_calls->isMpty = iter->second.isMultiParty; in request_get_current_calls()
558 p_calls->isMT = iter->second.isMobileTerminated; in request_get_current_calls()
560 p_calls->isVoice = iter->second.isVoice; in request_get_current_calls()
562 p_calls->number = strdup(iter->second.number.c_str()); in request_get_current_calls()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp148 Resource const* res = it.second; in dump_global_state()
159 Context const* ctx = it.second; in dump_global_state()
167 Context const* ctx = it.second; in dump_global_state()
173 Resource const* res = it.second; in dump_global_state()
479 Resource* res = it->second; in virgl_renderer_get_cursor_data()
579 Context* ctx = it->second; in virgl_renderer_submit_cmd()
589 Resource* res = it->second; in virgl_renderer_submit_cmd()
850 Resource* res = it->second; in virgl_renderer_resource_unref()
853 Context const* ctx = it.second; in virgl_renderer_resource_unref()
871 Resource* res = it->second; in virgl_renderer_resource_attach_iov()
[all …]
DRenderControl.cpp402 EglContext const* share = context_it->second; in rcCreateContext()
428 EglContext* context = it->second; in rcDestroyContext()
459 EglSurface* surface = it->second; in rcDestroyWindowSurface()
492 EglSurface* surface = surface_it->second; in rcSetWindowColorBuffer()
507 Resource* res = resource_it->second; in rcSetWindowColorBuffer()
541 EglContext* context = context_it->second; in rcMakeCurrent()
548 EglSurface* draw_surface = surface_it->second; in rcMakeCurrent()
554 EglSurface* read_surface = surface_it->second; in rcMakeCurrent()
616 Resource* res = it->second; in rcBindTexture()
655 Resource* res = it->second; in rcBindRenderbuffer()
[all …]
/device/generic/goldfish-opengl/fuchsia/include/cutils/
Dlog.h26 #define __android_second(dummy, second, ...) second argument
/device/google/cuttlefish_common/common/libs/utils/
Dsubprocess.cpp44 auto dupped_fd = entry.second; in validate_redirects()
57 auto fd = entry.second; in do_redirects()
194 close(entry.second); in ~Command()
198 close(entry.second); in ~Command()
/device/generic/goldfish-opengl/system/vulkan_enc/
DResourceTracker.cpp314 auto info = it->second; in GOLDFISH_VK_LIST_TRIVIAL_HANDLE_TYPES()
324 auto info = it->second; in unregister_VkDevice()
335 auto& memInfo = it->second; in unregister_VkDeviceMemory()
366 auto& imageInfo = it->second; in unregister_VkImage()
386 auto& semInfo = it->second; in unregister_VkSemaphore()
478 const auto& info = it->second; in isMemoryTypeHostVisible()
488 const auto& info = it->second; in getMappedPointer()
497 const auto& info = it->second; in getMappedSize()
505 const auto& info = it->second; in getNonCoherentExtendedSize()
518 const auto& info = it->second; in isValidMemoryRange()
[all …]
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dregion_registry.cpp160 if (it->second.size()) { in recycle_mmap()
161 addr = it->second.front(); in recycle_mmap()
163 it->second.pop_front(); in recycle_mmap()
/device/google/cuttlefish_common/guest/hals/audio/legacy/
Dvsoc_audio.cpp56 delete it->second; in Close()
131 if (it->second == stream) { in CloseInputStream()
132 descriptor = it->second->GetStreamDescriptor( in CloseInputStream()
201 (*it).second->common.dump(&(*it).second->common, fd); in Dump()
/device/google/cuttlefish_common/host/commands/ivserver/
Dvsocsharedmem.cc88 *guest_to_host = region_data_[it->second].host_fd; in GetEventFdPairForRegion()
89 *host_to_guest = region_data_[it->second].guest_fd; in GetEventFdPairForRegion()
/device/linaro/hikey/bluetooth/
Dasync_fd_watcher.cc171 if (it.second) { in ThreadRoutine()
172 it.second(it.first); in ThreadRoutine()
/device/generic/goldfish/network/netmgr/
Dpoller.cpp129 if (!pollable->second->onReadAvailable(fd.fd, &status)) { in run()
137 if (!pollable->second->onClose(fd.fd, &status)) { in run()
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/usbip/
Ddevice_pool.cpp31 return iter->second.get(); in GetDevice()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_assertions.py47 second = first + datetime.timedelta(seconds=10)
48 self.assertAlmostEqual(first, second,
50 self.assertNotAlmostEqual(first, second,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dtokenize.py314 second = read_or_stop()
315 if not second:
318 encoding = find_cookie(second)
320 return encoding, [first, second]
322 return default, [first, second]
/device/google/cuttlefish_common/common/libs/net/
Dnetwork_interface_manager.h52 const NetworkInterface& second);
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/vadb/
Dvirtual_adb_client.cpp153 pair.second->OnResponse(false, fd_); in HandleHeartbeat()
170 auto command = std::move(iter->second); in HandleHeartbeatTimeout()
226 auto command = std::move(iter->second); in AfterSelect()
/device/google/cuttlefish_common/host/commands/kernel_log_monitor/
Dkernel_log_server.cc133 auto& prefix = info_kv.second; in HandleIncomingMessage()
141 auto event = stage_kv.second; in HandleIncomingMessage()
/device/google/marlin/usb/
DUsb.cpp390 if (getCurrentRoleHelper(port.first, port.second, in getPortStatusHelper()
400 if (getCurrentRoleHelper(port.first, port.second, PortRoleType::DATA_ROLE, in getPortStatusHelper()
409 if (getCurrentRoleHelper(port.first, port.second, PortRoleType::MODE, in getPortStatusHelper()
422 port.second ? canSwitchRoleHelper(port.first, PortRoleType::DATA_ROLE) in getPortStatusHelper()
425 port.second in getPortStatusHelper()
430 port.second, (*currentPortStatus_1_1)[i].status.canChangeMode, in getPortStatusHelper()

12345678