/external/compiler-rt/test/tsan/ |
free_race2.c | 4 void __attribute__((noinline)) foo(int *mem) { 5 free(mem); 8 void __attribute__((noinline)) bar(int *mem) { 9 mem[0] = 42; 13 int *mem = (int*)malloc(100); local 14 foo(mem); 15 bar(mem);
|
ignore_lib_lib.h | 7 void *volatile mem; variable 11 while ((p = __atomic_load_n(&mem, __ATOMIC_ACQUIRE)) == 0) 21 __atomic_store_n(&mem, malloc(len), __ATOMIC_RELEASE); 23 free(mem);
|
/external/valgrind/memcheck/tests/ |
err_disable_arange1.c | 13 volatile int* volatile mem local 15 free((void*)mem); 19 mem[123] = 0; 23 VALGRIND_DISABLE_ADDR_ERROR_REPORTING_IN_RANGE(mem, 1000 * sizeof(int)); 27 mem[456] = 0; 31 VALGRIND_ENABLE_ADDR_ERROR_REPORTING_IN_RANGE(&mem[789], 1); 35 mem[789] = 0;
|
/external/valgrind/none/tests/mips32/ |
unaligned_load_store.c | 2 unsigned int mem[] = { variable 12 printf("mem[%d]: 0x%x\n", i, mem[i]); 32 : "r" (mem) 37 mem[0] = 0xaabbccdd; 38 mem[1] = 0x11223344; 39 mem[2] = 0x01823194; 40 mem[3] = 0x01823a08; 41 mem[4] = 0x00000000; 42 mem[5] = 0x77ff528c [all...] |
/external/valgrind/none/tests/mips64/ |
unaligned_load_store.c | 2 unsigned int mem[] = { variable 12 printf("mem[%d]: 0x%x\n", i, mem[i]); 32 : "r" (mem) 37 mem[0] = 0xaabbccdd; 38 mem[1] = 0x11223344; 39 mem[2] = 0x01823194; 40 mem[3] = 0x01823a08; 41 mem[4] = 0x00000000; 42 mem[5] = 0x77ff528c [all...] |
/external/libexif/libexif/ |
exif-mem.c | 1 #include <libexif/exif-mem.h> 37 ExifMem *mem; local 41 mem = alloc_func ? alloc_func (sizeof (ExifMem)) : 43 if (!mem) return NULL; 44 mem->ref_count = 1; 46 mem->alloc_func = alloc_func; 47 mem->realloc_func = realloc_func; 48 mem->free_func = free_func; 50 return mem; 54 exif_mem_ref (ExifMem *mem) [all...] |
/external/speex/libspeex/ |
filters_sse.h | 39 __m128 num[3], den[3], mem[3]; local 46 mem[i] = _mm_loadu_ps(_mem+4*i); 50 mem[2] = _mm_setr_ps(_mem[8], _mem[9], 0, 0); 60 yy = _mm_add_ss(xx, mem[0]); 65 mem[0] = _mm_move_ss(mem[0], mem[1]); 66 mem[0] = _mm_shuffle_ps(mem[0], mem[0], 0x39) 92 __m128 num[2], den[2], mem[2]; local 146 __m128 den[3], mem[3]; local 195 __m128 den[2], mem[2]; local 244 __m128 num[3], mem[3]; local 292 __m128 num[2], mem[2]; local [all...] |
/external/valgrind/none/tests/amd64/ |
redundantRexW.c | 24 Mem; 50 void pp_Mem ( char* who, Mem* mem ) { 55 pp_UWord128( &mem->dqw[i] ); 72 void xor_Mem ( Mem* src, Mem* dst ) { 78 void setup_regs_mem ( XMMRegs* regs, Mem* mem ) { 87 mem->dqw[i].b[j] = 0x52 + (ctr++ % 13); 91 void before_test ( XMMRegs* regs, Mem* mem ) 170 Mem* mem; local [all...] |
crc32.stdout.exp | 5 mem b misalign 0 = f502c278 6 mem w misalign 0 = f502c278 7 mem w misalign 1 = 0a72a365 8 mem l misalign 0 = f502c278 9 mem l misalign 1 = 246088f7 10 mem l misalign 2 = bcf12db3 11 mem l misalign 3 = 00d2a6af 12 mem q misalign 0 = f502c278 13 mem q misalign 1 = 5be5d059 14 mem q misalign 2 = ebc9f7d [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
highpass_400hz_at_12k8.cpp | 49 int16 mem[] filter memory [6] 134 void highpass_400Hz_at_12k8_init(int16 mem[]) 136 pv_memset((void *)mem, 0, 6*sizeof(*mem)); 146 int16 mem[] /* filter memory [6] */ 154 y2_hi = mem[0]; 155 y2_lo = mem[1]; 156 y1_hi = mem[2]; 157 y1_lo = mem[3]; 158 x0 = mem[4] [all...] |
highpass_50hz_at_12k8.cpp | 49 int16 mem[] filter memory [6] 136 void highpass_50Hz_at_12k8_init(int16 mem[]) 138 pv_memset((void *)mem, 0, 6*sizeof(*mem)); 148 int16 mem[] /* filter memory [6] */ 157 y2_hi = mem[0]; 158 y2_lo = mem[1]; 159 y1_hi = mem[2]; 160 y1_lo = mem[3]; 161 x0 = mem[4] [all...] |
/hardware/interfaces/tests/memory/1.0/ |
IMemoryTest.hal | 20 haveSomeMemory(memory mem) generates(memory mem);
|
/external/llvm/test/MC/X86/ |
shuffle-comments.s | 6 # CHECK: xmm1 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7] 16 # CHECK: xmm1 = mem[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15] 21 # CHECK: xmm2 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7] 31 # CHECK: xmm2 = mem[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15] 36 # CHECK: ymm2 = mem[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23] 46 # CHECK: ymm2 = mem[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] 51 # CHECK: xmm1 = mem[3,2,1,0] 56 # CHECK: xmm1 = mem[3,2,1,0] 61 # CHECK: ymm1 = mem[3,2,1,0,7,6,5,4 [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
hp_wsp.c | 49 void Init_Hp_wsp(Word16 mem[]) 51 Set_zero(mem, 9); 56 void scale_mem_Hp_wsp(Word16 mem[], Word16 exp) 63 L_tmp = ((mem[i] << 16) + (mem[i + 1]<<1)); 65 mem[i] = L_tmp >> 16; 66 mem[i + 1] = (L_tmp & 0xffff)>>1; 71 L_tmp = L_deposit_h(mem[i]); /* x[i] */ 73 mem[i] = vo_round(L_tmp); 84 Word16 mem[] /* i/o : filter memory [9] * [all...] |
hp400.c | 51 void Init_HP400_12k8(Word16 mem[]) 53 Set_zero(mem, 6); 60 Word16 mem[] /* filter memory [6] */ 67 y2_hi = *mem++; 68 y2_lo = *mem++; 69 y1_hi = *mem++; 70 y1_lo = *mem++; 71 x0 = *mem++; 72 x1 = *mem; 96 *mem-- = x1 [all...] |
hp50.c | 52 void Init_HP50_12k8(Word16 mem[]) 54 Set_zero(mem, 6); 61 Word16 mem[] /* filter memory [6] */ 69 y2_hi = *mem++; 70 y2_lo = *mem++; 71 y1_hi = *mem++; 72 y1_lo = *mem++; 73 x0 = *mem++; 74 x1 = *mem; 96 *mem-- = x1 [all...] |
gpclip.c | 38 Word16 mem[] /* (o) : memory of gain of pitch clipping algorithm */ 41 mem[0] = DIST_ISF_MAX; 42 mem[1] = GAIN_PIT_MIN; 47 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ 51 if ((mem[0] < DIST_ISF_THRES) && (mem[1] > GAIN_PIT_THRES)) 60 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ 77 dist = extract_h(L_mac(vo_L_mult(26214, mem[0]), 6554, dist_min)); 83 mem[0] = dist; 91 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm * [all...] |
/system/libhidl/transport/memory/1.0/default/ |
AshmemMapper.cpp | 30 Return<sp<IMemory>> AshmemMapper::mapMemory(const hidl_memory& mem) { 31 if (mem.handle()->numFds == 0) { 35 int fd = mem.handle()->data[0]; 36 void* data = mmap(0, mem.size(), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); 43 return new AshmemMemory(mem, data);
|
/external/icu/icu4c/source/tools/toolutil/ |
toolutil.cpp | 251 UToolMemory *mem; local 257 mem=(UToolMemory *)uprv_malloc(sizeof(UToolMemory)+initialCapacity*size); 258 if(mem==NULL) { 262 mem->array=mem->staticArray; 264 uprv_strcpy(mem->name, name); 265 mem->capacity=initialCapacity; 266 mem->maxCapacity=maxCapacity; 267 mem->size=size; 268 mem->idx=0 [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
thread_info_base.hpp | 46 unsigned char* const mem = static_cast<unsigned char*>(pointer); local 47 if (static_cast<std::size_t>(mem[0]) >= size) 49 mem[size] = mem[0]; 57 unsigned char* const mem = static_cast<unsigned char*>(pointer); local 58 mem[size] = (size <= UCHAR_MAX) ? static_cast<unsigned char>(size) : 0; 69 unsigned char* const mem = static_cast<unsigned char*>(pointer); local 70 mem[0] = mem[size];
|
/external/selinux/libsepol/cil/src/ |
cil_mem.c | 52 void *mem = malloc(size); local 53 if (mem == NULL){ 60 return mem; 65 void *mem = calloc(num_elements, element_size); local 66 if (mem == NULL){ 70 return mem; 75 void *mem = realloc(ptr, size); local 76 if (mem == NULL){ 83 return mem; 89 char *mem = NULL local [all...] |
/external/libvpx/libvpx/vpx_ports/ |
mem_ops.h | 67 const MAU_T *mem = (const MAU_T *)vmem; local 69 val = mem[0] << 8; 70 val |= mem[1]; 78 const MAU_T *mem = (const MAU_T *)vmem; local 80 val = mem[0] << 16; 81 val |= mem[1] << 8; 82 val |= mem[2]; 90 const MAU_T *mem = (const MAU_T *)vmem; local 92 val = ((unsigned MEM_VALUE_T)mem[0]) << 24; 93 val |= mem[1] << 16 103 const MAU_T *mem = (const MAU_T *)vmem; local 114 const MAU_T *mem = (const MAU_T *)vmem; local 126 const MAU_T *mem = (const MAU_T *)vmem; local 170 MAU_T *mem = (MAU_T *)vmem; local 179 MAU_T *mem = (MAU_T *)vmem; local 189 MAU_T *mem = (MAU_T *)vmem; local 200 MAU_T *mem = (MAU_T *)vmem; local 209 MAU_T *mem = (MAU_T *)vmem; local 219 MAU_T *mem = (MAU_T *)vmem; local [all...] |
/external/ltp/testcases/kernel/io/disktest/ |
defs.h | 72 #define RESIZE(mem, size) HeapReAlloc(GetProcessHeap(), 0, mem, size) 73 #define FREE(mem) HeapFree(GetProcessHeap(), 0, mem) 84 #define RESIZE(mem, size) realloc(mem, size) 85 #define FREE(mem) free(mem)
|
/external/autotest/client/tests/memory_api/ |
memory_api.c | 27 char *mem; local 50 mem = sbrk(memsize); 52 if (mem == (void*) -1) { 58 memsize, mem); 64 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, 68 if (mem == (void*) -1) { 74 memsize, mem); 78 if (-1 == mprotect(mem, HALF_MEM(memsize), PROT_READ)) { 84 HALF_MEM(memsize), mem); 88 if (-1 == mprotect(mem, HALF_MEM(memsize) [all...] |
/external/linux-kselftest/tools/testing/selftests/memory-hotplug/ |
Makefile | 5 TEST_PROGS := mem-on-off-test.sh 6 override RUN_TESTS := ./mem-on-off-test.sh -r 2 || echo "selftests: memory-hotplug [FAIL]" 10 @/bin/bash ./mem-on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
|