Home
last modified time | relevance | path

Searched refs:toAddress (Results 1 – 10 of 10) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java152 InetAddress toAddress; in acceptCommand() local
155 toAddress = InetAddress.getByAddress(fromSource.readByteArray(4L)); in acceptCommand()
162 toAddress = domainName.equalsIgnoreCase(HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS) in acceptCommand()
175 Socket toSocket = new Socket(toAddress, port); in acceptCommand()
190 logger.log(Level.INFO, "SocksProxy connected " + fromAddress + " to " + toAddress); in acceptCommand()
195 transfer(fromAddress, toAddress, fromSource, toSink); in acceptCommand()
196 transfer(fromAddress, toAddress, toSource, fromSink); in acceptCommand()
204 private void transfer(final InetAddress fromAddress, final InetAddress toAddress, in transfer() argument
206 executor.execute(new NamedRunnable("SocksProxy %s to %s", fromAddress, toAddress) { in transfer()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h261 inline Optional<uint64_t> toAddress(const Optional<DWARFFormValue> &V) { in toAddress() function
280 inline uint64_t toAddress(const Optional<DWARFFormValue> &V, uint64_t Default) { in toAddress() function
281 return toAddress(V).getValueOr(Default); in toAddress()
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h266 inline Optional<uint64_t> toAddress(const Optional<DWARFFormValue> &V) { in toAddress() function
285 inline uint64_t toAddress(const Optional<DWARFFormValue> &V, uint64_t Default) { in toAddress() function
286 return toAddress(V).getValueOr(Default); in toAddress()
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp241 EXPECT_EQ(AddrValue, toAddress(DieDG.find(Attr_DW_FORM_addr), 0)); in TestAllForms()
382 EXPECT_EQ(AddrValue, toAddress(DieDG.find(Attr_Last), 0)); in TestAllForms()
900 OptU64 = toAddress(SubprogramDieNoPC.find(DW_AT_low_pc)); in TestAddresses()
902 OptU64 = toAddress(SubprogramDieNoPC.find(DW_AT_high_pc)); in TestAddresses()
905 OptU64 = toAddress(SubprogramDieNoPC.find(DW_AT_high_pc)); in TestAddresses()
919 OptU64 = toAddress(SubprogramDieLowPC.find(DW_AT_low_pc)); in TestAddresses()
922 OptU64 = toAddress(SubprogramDieLowPC.find(DW_AT_high_pc)); in TestAddresses()
936 OptU64 = toAddress(SubprogramDieLowHighPC.find(DW_AT_low_pc)); in TestAddresses()
941 OptU64 = toAddress(SubprogramDieLowHighPC.find(DW_AT_high_pc)); in TestAddresses()
1563 EXPECT_FALSE(toAddress(FormValOpt1).hasValue()); in TEST()
[all …]
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DArchHandler_x86.cpp362 uint32_t toAddress; in getPairReferenceInfo() local
372 toAddress = reloc1.value; in getPairReferenceInfo()
375 if (auto ec = atomFromAddr(0, toAddress, target, &offsetInTo)) in getPairReferenceInfo()
384 *addend = toAddress - value - fromAddress; in getPairReferenceInfo()
395 uint32_t ta = fromAddress + value - toAddress; in getPairReferenceInfo()
399 *addend = fromAddress + value - toAddress; in getPairReferenceInfo()
DArchHandler_arm.cpp794 uint32_t toAddress; in getPairReferenceInfo() local
801 toAddress = reloc1.value; in getPairReferenceInfo()
803 if (auto ec = atomFromAddr(0, toAddress, target, &offsetInTo)) in getPairReferenceInfo()
812 *addend = (int32_t)(value - (toAddress - fixupAddress)); in getPairReferenceInfo()
814 toAddress = reloc1.value; in getPairReferenceInfo()
816 if (auto ec = atomFromAddr(0, toAddress, target, &offsetInTo)) in getPairReferenceInfo()
851 int64_t ta = (int64_t) value - (toAddress - fromAddress); in getPairReferenceInfo()
889 toAddress = reloc1.value; in getPairReferenceInfo()
892 toAddress = value; in getPairReferenceInfo()
895 if (auto ec = atomFromAddr(sectIndex, toAddress, target, &offsetInTo)) in getPairReferenceInfo()
[all …]
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java179 .setLocal(toAddress(socketStats.local)); in toSocket()
185 builder.setRemote(toAddress(socketStats.remote)); in toSocket()
191 static Address toAddress(SocketAddress address) { in toAddress() method in ChannelzProtoUtil
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java500 ChannelzProtoUtil.toAddress(inet4)); in toAddress_inet()
513 ChannelzProtoUtil.toAddress(uds)); in toAddress_uds()
531 ChannelzProtoUtil.toAddress(other)); in toAddress_other()
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFLinker.cpp513 auto LowPc = dwarf::toAddress(DIE.find(dwarf::DW_AT_low_pc)); in shouldKeepSubprogramDIE()
534 if (dwarf::toAddress(OrigUnit.getUnitDIE().find(dwarf::DW_AT_high_pc)) in shouldKeepSubprogramDIE()
1407 dwarf::toAddress(InputDIE.find(dwarf::DW_AT_high_pc), 0); in cloneDIE()
1411 AttrInfo.OrigLowPc = dwarf::toAddress(InputDIE.find(dwarf::DW_AT_low_pc), in cloneDIE()
1414 dwarf::toAddress(InputDIE.find(dwarf::DW_AT_call_return_pc), 0); in cloneDIE()
1416 dwarf::toAddress(InputDIE.find(dwarf::DW_AT_call_pc), 0); in cloneDIE()
1564 dwarf::toAddress(OrigUnitDie.find(dwarf::DW_AT_low_pc), -1ULL); in patchRangesForUnit()
DDWARFStreamer.cpp421 if (auto OrigLowPc = dwarf::toAddress(OrigUnitDie.find(dwarf::DW_AT_low_pc))) in emitLocationsForUnit()