/external/valgrind/none/tests/ |
fdleak_ipv4.c | 17 struct sockaddr_in addr; local 24 memset(&addr, 0, sizeof(addr)); 25 addr.sin_family = AF_INET; 26 addr.sin_addr.s_addr = inet_addr("127.0.0.1"); 27 addr.sin_port = htons(12321); 29 (void) DO( bind(s, (struct sockaddr *)&addr, sizeof(addr)) ); 42 struct sockaddr_in addr; local 45 addr.sin_family = AF_INET [all...] |
/frameworks/base/location/tests/locationtests/src/android/location/ |
GeocoderTest.java | 42 Address addr = addresses1.get(0); local 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.getAddressLine(1)) [all...] |
/system/core/libunwindstack/tests/ |
MemoryFake.h | 33 bool Read(uint64_t addr, void* buffer, size_t size) override; 35 void SetMemory(uint64_t addr, const void* memory, size_t length); 37 void SetData8(uint64_t addr, uint8_t value) { 38 SetMemory(addr, &value, sizeof(value)); 41 void SetData16(uint64_t addr, uint16_t value) { 42 SetMemory(addr, &value, sizeof(value)); 45 void SetData32(uint64_t addr, uint32_t value) { 46 SetMemory(addr, &value, sizeof(value)); 49 void SetData64(uint64_t addr, uint64_t value) { 50 SetMemory(addr, &value, sizeof(value)) [all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/ |
platform.c | 49 uint32_t addr)
58 SimMmio32Read( 1, addr, &data);
60 data = *PTR32(addr);
68 // Handle case addr bigger than 8bit
69 pciwrite32(0, 0, 0, SB_HADR_REG, addr & 0xFFF00);
70 addr &= 0x00FF;
73 SB_COMMAND(SB_REG_READ_OPCODE, unit, addr));
78 // Handle case addr bigger than 8bit
79 pciwrite32(0, 0, 0, SB_HADR_REG, addr & 0xFFF00);
80 addr &= 0x00FF; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
structmember.c | 32 PyMember_Get(const char *addr, struct memberlist *mlist, const char *name)
46 return PyMember_GetOne(addr, ©);
54 PyMember_GetOne(const char *addr, PyMemberDef *l)
62 addr += l->offset;
65 v = PyBool_FromLong(*(char*)addr);
68 v = PyInt_FromLong(*(char*)addr);
71 v = PyLong_FromUnsignedLong(*(unsigned char*)addr);
74 v = PyInt_FromLong(*(short*)addr);
77 v = PyLong_FromUnsignedLong(*(unsigned short*)addr);
80 v = PyInt_FromLong(*(int*)addr);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
structmember.c | 32 PyMember_Get(const char *addr, struct memberlist *mlist, const char *name)
46 return PyMember_GetOne(addr, ©);
54 PyMember_GetOne(const char *addr, PyMemberDef *l)
62 addr += l->offset;
65 v = PyBool_FromLong(*(char*)addr);
68 v = PyInt_FromLong(*(char*)addr);
71 v = PyLong_FromUnsignedLong(*(unsigned char*)addr);
74 v = PyInt_FromLong(*(short*)addr);
77 v = PyLong_FromUnsignedLong(*(unsigned short*)addr);
80 v = PyInt_FromLong(*(int*)addr);
[all...] |
/external/linux-kselftest/tools/testing/selftests/vm/ |
hugepage-mmap.c | 31 #define ADDR (void *)(0x8000000000000000UL) 34 #define ADDR (void *)(0x0UL) 38 static void check_bytes(char *addr) 40 printf("First hex is %x\n", *((unsigned int *)addr)); 43 static void write_bytes(char *addr) 48 *(addr + i) = (char)i; 51 static int read_bytes(char *addr) 55 check_bytes(addr); 57 if (*(addr + i) != (char)i) { 66 void *addr; local [all...] |
/kernel/tests/net/test/ |
csocket_test.py | 31 def _BuildSocket(self, family, addr): 33 s.bind((addr, 0)) 36 def CheckRecvfrom(self, family, addr): 37 s = self._BuildSocket(family, addr) 38 addr = s.getsockname() 39 sockaddr = csocket.Sockaddr(addr) 40 s.sendto("foo", addr) 41 data, addr = csocket.Recvfrom(s, 4096, 0) 43 self.assertEqual(sockaddr, addr) 51 def CheckRecvmsg(self, family, addr) [all...] |
/external/libnetfilter_conntrack/include/internal/ |
bitops.h | 7 static inline void set_bit(int nr, uint32_t *addr) 9 addr[nr >> 5] |= (1UL << (nr & 31)); 12 static inline void unset_bit(int nr, uint32_t *addr) 14 addr[nr >> 5] &= ~(1UL << (nr & 31)); 17 static inline void set_bit_u16(int nr, uint16_t *addr) 19 addr[nr >> 4] |= (1UL << (nr & 15)); 22 static inline void unset_bit_u16(int nr, uint16_t *addr) 24 addr[nr >> 4] &= ~(1UL << (nr & 15)); 45 static inline int test_bit(int nr, const uint32_t *addr) 47 return ((1UL << (nr & 31)) & (addr[nr >> 5])) != 0 [all...] |
/external/llvm/test/CodeGen/Hexagon/ |
double.ll | 7 %acc.addr = alloca double*, align 4 8 %num.addr = alloca double, align 8 9 %num2.addr = alloca double, align 8 10 store double* %acc, double** %acc.addr, align 4 11 store double %num, double* %num.addr, align 8 12 store double %num2, double* %num2.addr, align 8 13 %0 = load double*, double** %acc.addr, align 4 15 %2 = load double, double* %num.addr, align 8 17 %3 = load double, double* %num2.addr, align 8 19 %4 = load double*, double** %acc.addr, align [all...] |
float.ll | 7 %acc.addr = alloca float*, align 4 8 %num.addr = alloca float, align 4 9 %num2.addr = alloca float, align 4 10 store float* %acc, float** %acc.addr, align 4 11 store float %num, float* %num.addr, align 4 12 store float %num2, float* %num2.addr, align 4 13 %0 = load float*, float** %acc.addr, align 4 15 %2 = load float, float* %num.addr, align 4 17 %3 = load float, float* %num2.addr, align 4 19 %4 = load float*, float** %acc.addr, align [all...] |
floatconvert-ieee-rnd-near.ll | 7 %acc.addr = alloca float*, align 4 8 %num.addr = alloca float, align 4 9 %num2.addr = alloca float, align 4 10 store float* %acc, float** %acc.addr, align 4 11 store float %num, float* %num.addr, align 4 12 store float %num2, float* %num2.addr, align 4 13 %0 = load float*, float** %acc.addr, align 4 15 %2 = load float, float* %num.addr, align 4 17 %3 = load float, float* %num2.addr, align 4 19 %4 = load float*, float** %acc.addr, align [all...] |
mpy.ll | 6 %acc.addr = alloca i32, align 4 7 %num.addr = alloca i32, align 4 8 %num2.addr = alloca i32, align 4 9 store i32 %acc, i32* %acc.addr, align 4 10 store i32 %num, i32* %num.addr, align 4 11 store i32 %num2, i32* %num2.addr, align 4 12 %0 = load i32, i32* %num.addr, align 4 13 %1 = load i32, i32* %acc.addr, align 4 15 %2 = load i32, i32* %num2.addr, align 4 17 store i32 %add, i32* %num.addr, align [all...] |
clr_set_toggle.ll | 7 %x.addr = alloca i32, align 4 8 store i32 %x, i32* %x.addr, align 4 9 %0 = load i32, i32* %x.addr, align 4 17 %x.addr = alloca i64, align 8 18 store i64 %x, i64* %x.addr, align 8 19 %0 = load i64, i64* %x.addr, align 8 27 %x.addr = alloca i64, align 8 28 store i64 %x, i64* %x.addr, align 8 29 %0 = load i64, i64* %x.addr, align 8 37 %x.addr = alloca i32, align [all...] |
/external/valgrind/drd/ |
drd_cond.h | 30 #include "pub_tool_basics.h" /* Addr */ 40 extern Addr DRD_(pthread_cond_initializer); 48 struct cond_info* DRD_(cond_get)(const Addr cond); 49 void DRD_(cond_pre_init)(const Addr cond); 50 void DRD_(cond_post_destroy)(const Addr cond, const Bool destroy_succeeded); 51 void DRD_(cond_pre_wait)(const Addr cond, const Addr mutex); 52 void DRD_(cond_post_wait)(const Addr cond); 53 void DRD_(cond_pre_signal)(const Addr cond); 54 void DRD_(cond_pre_broadcast)(const Addr cond) [all...] |
drd_clientreq.h | 87 /* args: Addr, MutexT */ 90 /* args: Addr */ 93 /* args: Addr */ 96 /* args: Addr, MutexT */ 99 /* args: Addr, MutexT, Bool */ 102 /* args: Addr, Bool */ 105 /* args: Addr */ 108 /* args: Addr */ 111 /* args: Addr */ 114 /* args: Addr */ [all...] |
/external/wpa_supplicant_8/src/utils/ |
trace.h | 23 const void *addr; member in struct:wpa_trace_ref 34 #define wpa_trace_add_ref(ptr, name, addr) \ 35 wpa_trace_add_ref_func(&(ptr)->wpa_trace_ref_##name, (addr)) 36 void wpa_trace_add_ref_func(struct wpa_trace_ref *ref, const void *addr); 37 #define wpa_trace_remove_ref(ptr, name, addr) \ 39 if ((addr)) \ 42 void wpa_trace_check_ref(const void *addr); 52 #define wpa_trace_add_ref(ptr, name, addr) do { } while (0) 53 #define wpa_trace_remove_ref(ptr, name, addr) do { } while (0) 54 #define wpa_trace_check_ref(addr) do { } while (0 [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
msan.go | 15 func MSanRead(addr unsafe.Pointer, len int) { 16 msanread(addr, uintptr(len)) 19 func MSanWrite(addr unsafe.Pointer, len int) { 20 msanwrite(addr, uintptr(len)) 33 func msanread(addr unsafe.Pointer, sz uintptr) { 38 domsanread(addr, sz) 42 func domsanread(addr unsafe.Pointer, sz uintptr) 45 func msanwrite(addr unsafe.Pointer, sz uintptr) 48 func msanmalloc(addr unsafe.Pointer, sz uintptr) 51 func msanfree(addr unsafe.Pointer, sz uintptr [all...] |
race0.go | 19 func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } 20 func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } 25 func racemapshadow(addr unsafe.Pointer, size uintptr) { throw("race") } 26 func racewritepc(addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } 27 func racereadpc(addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } 28 func racereadrangepc(addr unsafe.Pointer, sz, callerpc, pc uintptr) { throw("race") } 29 func racewriterangepc(addr unsafe.Pointer, sz, callerpc, pc uintptr) { throw("race") } 30 func raceacquire(addr unsafe.Pointer) { throw("race") } 31 func raceacquireg(gp *g, addr unsafe.Pointer) { throw("race") } 32 func racerelease(addr unsafe.Pointer) { throw("race") [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
msan.go | 15 func MSanRead(addr unsafe.Pointer, len int) { 16 msanread(addr, uintptr(len)) 19 func MSanWrite(addr unsafe.Pointer, len int) { 20 msanwrite(addr, uintptr(len)) 33 func msanread(addr unsafe.Pointer, sz uintptr) { 38 domsanread(addr, sz) 42 func domsanread(addr unsafe.Pointer, sz uintptr) 45 func msanwrite(addr unsafe.Pointer, sz uintptr) 48 func msanmalloc(addr unsafe.Pointer, sz uintptr) 51 func msanfree(addr unsafe.Pointer, sz uintptr [all...] |
race0.go | 19 func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } 20 func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } 25 func racemapshadow(addr unsafe.Pointer, size uintptr) { throw("race") } 26 func racewritepc(addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } 27 func racereadpc(addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") } 28 func racereadrangepc(addr unsafe.Pointer, sz, callerpc, pc uintptr) { throw("race") } 29 func racewriterangepc(addr unsafe.Pointer, sz, callerpc, pc uintptr) { throw("race") } 30 func raceacquire(addr unsafe.Pointer) { throw("race") } 31 func raceacquireg(gp *g, addr unsafe.Pointer) { throw("race") } 32 func racerelease(addr unsafe.Pointer) { throw("race") [all...] |
/external/llvm/test/CodeGen/ARM/ |
fast-isel-pred.ll | 18 %__a.addr.i = alloca <4 x i32>, align 16 19 %v.addr = alloca <4 x i32>, align 16 20 %p.addr = alloca i8*, align 4 21 %offset.addr = alloca i32, align 4 22 %constants.addr = alloca <4 x float>*, align 4 23 store <4 x i32> %v, <4 x i32>* %v.addr, align 16 24 store i8* %p, i8** %p.addr, align 4 25 store i32 %offset, i32* %offset.addr, align 4 26 store <4 x float>* %constants, <4 x float>** %constants.addr, align 4 27 %tmp = load <4 x i32>, <4 x i32>* %v.addr, align 1 [all...] |
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
fast-isel-pred.ll | 17 %__a.addr.i = alloca <4 x i32>, align 16 18 %v.addr = alloca <4 x i32>, align 16 19 %p.addr = alloca i8*, align 4 20 %offset.addr = alloca i32, align 4 21 %constants.addr = alloca <4 x float>*, align 4 22 store <4 x i32> %v, <4 x i32>* %v.addr, align 16 23 store i8* %p, i8** %p.addr, align 4 24 store i32 %offset, i32* %offset.addr, align 4 25 store <4 x float>* %constants, <4 x float>** %constants.addr, align 4 26 %tmp = load <4 x i32>* %v.addr, align 1 [all...] |
/art/runtime/interpreter/mterp/arm/ |
fbinop2addr.S | 2 * Generic 32-bit floating point "/2addr" binary operation. Provide 6 * For: add-float/2addr, sub-float/2addr, mul-float/2addr, div-float/2addr 8 /* binop/2addr vA, vB */
|
fbinopWide2addr.S | 2 * Generic 64-bit floating point "/2addr" binary operation. Provide 6 * For: add-double/2addr, sub-double/2addr, mul-double/2addr, 7 * div-double/2addr 9 /* binop/2addr vA, vB */
|