Searched defs:addr (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DSymbolResolverProxy.cpp24 void *addr = mChain[i]->getAddress(pName); local
25 if (addr != NULL) {
26 return addr;
/frameworks/av/media/common_time/
H A Dutils.cpp24 bool canSerializeSockaddr(const struct sockaddr_storage* addr) { argument
25 switch (addr->ss_family) {
34 void serializeSockaddr(Parcel* p, const struct sockaddr_storage* addr) { argument
35 switch (addr->ss_family) {
38 reinterpret_cast<const struct sockaddr_in*>(addr);
46 reinterpret_cast<const struct sockaddr_in6*>(addr);
61 void deserializeSockaddr(const Parcel* p, struct sockaddr_storage* addr) { argument
62 memset(addr, 0, sizeof(addr));
64 addr
[all...]
/frameworks/compile/libbcc/runtime/lib/
H A Denable_execute_stack.c33 void __enable_execute_stack(void* addr) argument
46 uintptr_t p = (uintptr_t)addr;
/frameworks/compile/linkloader/lib/
H A DGOT.cpp29 int search_got(int symbol_index, void *addr, uint8_t bind_type) argument
36 addr = (void *)(((intptr_t)addr + 0x8000) & 0xFFFF0000);
44 if (got_symbol_addresses[i] == addr) {
50 rsl_assert (got_symbol_addresses[i] == addr
60 got_symbol_addresses[got_symbol_count] = addr;
H A DStubLayout.cpp35 void *StubLayout::allocateStub(void *addr) { argument
37 std::map<void *, void *>::iterator index_iter = stub_index.find(addr);
51 setStubAddress(stub, addr);
52 stub_index.insert(std::make_pair(addr, stub));
69 void StubLayoutARM::setStubAddress(void *stub_, void *addr) { argument
77 *target = addr;
84 void StubLayoutMIPS::setStubAddress(void *stub_, void *addr) { argument
85 uint32_t addr32 = (uint32_t)(uintptr_t)addr;
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp69 void* addr = bm->getPixels(); local
70 if (NULL == addr) {
76 *addrPtr = addr;
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.cpp40 struct sockaddr_in addr; local
41 memset(addr.sin_zero, 0, sizeof(addr.sin_zero));
42 addr.sin_family = AF_INET;
43 addr.sin_addr.s_addr = INADDR_ANY;
44 addr.sin_port = 0;
46 CHECK_EQ(0, bind(mSocket, (const struct sockaddr *)&addr, sizeof(addr)));
H A DARTPSession.cpp104 struct sockaddr_in addr; local
105 memset(addr.sin_zero, 0, sizeof(addr.sin_zero));
106 addr.sin_family = AF_INET;
107 addr.sin_addr.s_addr = INADDR_ANY;
108 addr.sin_port = htons(port);
110 CHECK_EQ(0, bind(s, (const struct sockaddr *)&addr, sizeof(addr)));
/frameworks/base/core/java/android/net/
H A DDhcpInfo.java68 private static void putAddress(StringBuffer buf, int addr) { argument
69 buf.append(NetworkUtils.intToInetAddress(addr).getHostAddress());
H A DDhcpInfoInternal.java63 private int convertToInt(String addr) { argument
64 if (addr != null) {
66 InetAddress inetAddress = NetworkUtils.numericToInetAddress(addr);
160 return "addr: " + ipAddress + "/" + prefixLength +
H A DInterfaceConfiguration.java87 public void setLinkAddress(LinkAddress addr) { argument
88 mAddr = addr;
H A DNetworkUtils.java129 byte [] addr = inetAddr.getAddress();
130 if (addr.length != 4) {
133 return ((addr[3] & 0xff) << 24) | ((addr[2] & 0xff) << 16) |
134 ((addr[1] & 0xff) << 8) | (addr[0] & 0xff);
223 * @param addrHexString a 32 character hex string representing an IPv6 addr
224 * @return addr an InetAddress representation for the string
248 for (InetAddress addr : addrs) {
249 result[i++] = addr
263 trimV4AddrZeros(String addr) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewFactoryProvider.java37 String findAddress(String addr); argument
/frameworks/compile/libbcc/lib/AndroidBitcode/ARM/
H A DARMABCExpandVAArg.cpp53 llvm::Value *addr = builder.CreateLoad(va_list_addr_bpp, "ap.cur"); local
61 builder.CreatePtrToInt(addr, llvm::Type::getInt32Ty(*mContext));
66 addr = builder.CreateIntToPtr(addr_as_int, bp);
68 llvm::Value *addr_typed = builder.CreateBitCast(addr, pty);
71 llvm::Value *next_addr = builder.CreateGEP(addr,
/frameworks/compile/libbcc/lib/AndroidBitcode/X86/
H A DX86ABCExpandVAArg.cpp52 llvm::Value *addr = builder.CreateLoad(va_list_addr_bpp, "ap.cur"); local
54 llvm::Value *addr_typed = builder.CreateBitCast(addr, pty);
58 llvm::Value *next_addr = builder.CreateGEP(addr,
/frameworks/compile/linkloader/android/
H A Dtest-librsloader.c34 void *addr; member in struct:func_entry_t
60 return tab[i].addr;
H A Dlibrsloader.cpp93 const unsigned char* addr = bits->getBuffer(); local
94 shtab[i].sh_addr = reinterpret_cast<llvm::ELF::Elf32_Addr>(addr);
/frameworks/base/core/java/android/os/
H A DCommonTimeUtils.java193 int addr = reply.readInt();
195 addrStr = String.format("%d.%d.%d.%d", (addr >> 24) & 0xFF,
196 (addr >> 16) & 0xFF,
197 (addr >> 8) & 0xFF,
198 addr & 0xFF);
230 public int transactSetSockaddr(int method_code, InetSocketAddress addr) { argument
238 if (null == addr) {
242 final InetAddress a = addr.getAddress();
244 final int p = addr.getPort();
/frameworks/compile/libbcc/lib/AndroidBitcode/Mips/
H A DMipsABCExpandVAArg.cpp52 llvm::Value *addr = builder.CreateLoad(va_list_addr_bpp, "ap.cur"); local
58 llvm::Value *addr_as_int = builder.CreatePtrToInt(addr, int_ty);
66 addr_typed = builder.CreateBitCast(addr, pty);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSExecutable.cpp70 void *addr = result->getSymbolAddress(name); local
71 if (addr == NULL) {
75 result->mExportVarAddrs.push_back(addr);
87 void *addr = result->getSymbolAddress(name); local
88 if (addr == NULL) {
92 result->mExportFuncAddrs.push_back(addr);
106 void *addr = result->getSymbolAddress(expanded_func_name.string()); local
107 if (addr == NULL) {
111 result->mExportForeachFuncAddrs.push_back(addr);
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp56 static void android_os_MemoryFile_munmap(JNIEnv* env, jobject clazz, jint addr, jint length) argument
58 int result = munmap((void *)addr, length);
/frameworks/base/services/common_time/
H A Dcommon_clock_service.cpp90 status_t CommonClockService::getMasterAddr(struct sockaddr_storage* addr) { argument
91 return mTimeServer.getMasterAddr(addr);
H A Dcommon_time_config_service.cpp47 struct sockaddr_storage *addr) {
48 return mTimeServer.getMasterElectionEndpoint(addr);
52 const struct sockaddr_storage *addr) {
53 return mTimeServer.setMasterElectionEndpoint(addr);
46 getMasterElectionEndpoint( struct sockaddr_storage *addr) argument
51 setMasterElectionEndpoint( const struct sockaddr_storage *addr) argument
H A Ddiag_thread.cpp106 struct sockaddr_in addr; local
107 memset(&addr, 0, sizeof(addr));
108 addr.sin_family = AF_INET;
109 addr.sin_addr.s_addr = INADDR_ANY;
110 addr.sin_port = htons(kListenPort);
112 if (bind(listen_fd_, (struct sockaddr*)&addr, sizeof(addr)) < 0) {
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java221 private static InetAddress parse(String addr) { argument
222 return InetAddress.parseNumericAddress(addr);

Completed in 226 milliseconds

123