Searched refs:addr (Results 1 - 25 of 110) sorted by relevance

12345

/frameworks/base/location/tests/locationtests/src/android/location/
H A DGeocoderTest.java42 Address addr = addresses1.get(0);
43 assertEquals("94305", addr.getFeatureName());
44 assertEquals("Palo Alto, CA 94305", addr.getAddressLine(0));
45 assertEquals("USA", addr.getAddressLine(1));
46 assertEquals("94305", addr.getPostalCode());
47 assertFalse(Math.abs(addr.getLatitude() - 37.4240385) > 0.1);
53 addr = addresses2.get(0);
54 assertEquals("San Francisco", addr.getFeatureName());
55 assertEquals("San Francisco, CA", addr.getAddressLine(0));
56 assertEquals("United States", addr
[all...]
/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/av/media/common_time/
H A Dutils.h27 extern bool canSerializeSockaddr(const struct sockaddr_storage* addr);
28 extern void serializeSockaddr(Parcel* p, const struct sockaddr_storage* addr);
30 struct sockaddr_storage* addr);
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/lib/ExecutionEngine/
H A DSymbolResolverProxy.cpp24 void *addr = mChain[i]->getAddress(pName); local
25 if (addr != NULL) {
26 return addr;
/frameworks/rs/scriptc/
H A Drs_atomic.rsh29 * Atomic add one to the value at addr.
30 * Equal to rsAtomicAdd(addr, 1)
32 * @param addr Address of value to increment
37 rsAtomicInc(volatile int32_t* addr);
39 * Atomic add one to the value at addr.
40 * Equal to rsAtomicAdd(addr, 1)
42 * @param addr Address of value to increment
47 rsAtomicInc(volatile uint32_t* addr);
50 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr,
[all...]
/frameworks/support/renderscript/v8/rs_support/scriptc/
H A Drs_atomic.rsh29 * Atomic add one to the value at addr.
30 * Equal to rsAtomicAdd(addr, 1)
32 * @param addr Address of value to increment
37 rsAtomicInc(volatile int32_t* addr);
39 * Atomic add one to the value at addr.
40 * Equal to rsAtomicAdd(addr, 1)
42 * @param addr Address of value to increment
47 rsAtomicInc(volatile uint32_t* addr);
50 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr,
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataCallState.java87 for (String addr : addresses) {
88 sb.append(addr);
93 for (String addr : dnses) {
94 sb.append(addr);
99 for (String addr : gateways) {
100 sb.append(addr);
128 for (String addr : addresses) {
129 addr = addr.trim();
130 if (addr
[all...]
/frameworks/compile/linkloader/include/
H A DGOT.h29 int search_got(int symbol_index, void *addr, uint8_t bind_type);
H A DStubLayout.h35 void *allocateStub(void *addr = 0);
41 virtual void setStubAddress(void *stub, void *addr) = 0;
51 virtual void setStubAddress(void *stub, void *addr);
60 virtual void setStubAddress(void *stub, void *addr);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
H A DForwardService.java41 int addr = getForwardHostAddr();
42 if (addr != -1) {
43 fs8000 = new ForwardServer(8000, addr, 8000);
44 fs8080 = new ForwardServer(8080, addr, 8080);
45 fs8443 = new ForwardServer(8443, addr, 8443);
87 int addr = -1;
111 addr = AdbUtils.resolve(host);
115 return addr;
/frameworks/base/core/java/android/net/
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/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsAddress.java197 CdmaSmsAddress addr = new CdmaSmsAddress();
198 addr.address = address;
199 addr.ton = CdmaSmsAddress.TON_UNKNOWN;
206 addr.digitMode = DIGIT_MODE_4BIT_DTMF;
207 addr.numberMode = NUMBER_MODE_NOT_DATA_NETWORK;
209 addr.ton = TON_INTERNATIONAL_OR_IP;
217 addr.digitMode = DIGIT_MODE_8BIT_CHAR;
218 addr.numberMode = NUMBER_MODE_DATA_NETWORK;
220 addr.ton = TON_NATIONAL_OR_EMAIL;
223 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/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/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/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)));
/frameworks/base/core/java/android/webkit/
H A DWebViewFactoryProvider.java37 String findAddress(String addr); argument
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMELFDynamic.cpp35 applyOne(llvm::ELF::DT_PLTGOT, pFormat.getGOT().addr());
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86ELFDynamic.cpp35 applyOne(llvm::ELF::DT_PLTGOT, pFormat.getGOTPLT().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/base/native/graphics/jni/
H A Dbitmap.cpp69 void* addr = bm->getPixels(); local
70 if (NULL == addr) {
76 *addrPtr = addr;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java126 CdmaSmsAddress addr = new CdmaSmsAddress();
151 addr.digitMode = (byte) (0xFF & addressDigitMode); //p_cur->sAddress.digit_mode
152 addr.numberMode = (byte) (0xFF & p.readInt()); //p_cur->sAddress.number_mode
153 addr.ton = p.readInt(); //p_cur->sAddress.number_type
154 addr.numberPlan = (byte) (0xFF & p.readInt()); //p_cur->sAddress.number_plan
156 addr.numberOfDigits = count;
168 addr.origBytes = data;
209 env.origAddress = addr;
211 msg.originatingAddress = addr;
493 CdmaSmsAddress addr
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java45 CdmaSmsAddress addr = CdmaSmsAddress.parse("6502531000");
46 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN);
47 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF);
48 assertEquals(addr.numberMode, CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK);
49 assertEquals(addr.numberOfDigits, 10);
50 assertEquals(addr.origBytes.length, 10);
53 assertEquals(addr.origBytes[i], data[i]);
55 addr = CdmaSmsAddress.parse("(650) 253-1000");
56 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN);
57 assertEquals(addr
[all...]

Completed in 1121 milliseconds

12345