Searched defs:mem (Results 1 - 25 of 345) sorted by relevance

1234567891011>>

/external/valgrind/main/memcheck/tests/
H A Derr_disable_arange1.c13 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/compiler-rt/test/tsan/
H A Dfree_race2.c4 void __attribute__((noinline)) foo(int *mem) { argument
5 free(mem);
8 void __attribute__((noinline)) bar(int *mem) { argument
9 mem[0] = 42;
13 int *mem = (int*)malloc(100); local
14 foo(mem);
15 bar(mem);
H A Dfree_race.c11 int *mem; variable
16 free(mem);
24 mem[0] = 42;
30 mem = (int*)malloc(100);
H A Dignore_lib_lib.h7 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);
H A Dbench_shadow_flush.cc31 volatile char *mem = (volatile char *)a; local
35 mem[off] = 42;
/external/valgrind/main/none/tests/mips32/
H A Dunaligned_load_store.c2 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[
[all...]
/external/valgrind/main/none/tests/mips64/
H A Dunaligned_load_store.c2 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[
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/memory_manager/
H A Dhmm_resize.c18 int U(resize)(U(descriptor) *desc, void *mem, U(size_aau) n) { variable
21 head_record *head_ptr = PTR_REC_TO_HEAD(mem);
/external/compiler-rt/test/asan/TestCases/Darwin/
H A Dmalloc_set_zone_name-mprotect.cc17 char *mem[kNumIter * 2]; local
21 mem[i] = (char*)malloc(8 * i);
43 mem[i + kNumIter] = (char*)malloc(8 * i);
47 memset(mem[i], 'a', 8 * (i % kNumIter));
48 free(mem[i]);
/external/elfutils/0.153/libelf/
H A Delf_readall.c106 char *mem = NULL; local
131 mem = (char *) malloc (elf->maximum_size);
132 if (mem != NULL)
135 if (unlikely ((size_t) pread_retry (elf->fildes, mem,
143 free (mem);
148 elf->map_address = mem;
/external/libvpx/libvpx/vpx_mem/memory_manager/
H A Dhmm_resize.c18 int U(resize)(U(descriptor) *desc, void *mem, U(size_aau) n) { variable
21 head_record *head_ptr = PTR_REC_TO_HEAD(mem);
/external/valgrind/main/gdbserver_tests/
H A Dclean_after_fork.c8 int mem = 0, pid; local
11 mem = 1;
19 if (mem == 0)
32 mem = status;
34 if (mem == 0)
35 printf("mem is zero\n");
/external/chromium_org/base/memory/
H A Dref_counted_memory_unittest.cc12 scoped_refptr<RefCountedMemory> mem = new RefCountedStaticMemory( local
15 EXPECT_EQ(10U, mem->size());
16 EXPECT_EQ("static mem", std::string(mem->front_as<char>(), mem->size()));
23 scoped_refptr<RefCountedMemory> mem = RefCountedBytes::TakeVector(&data); local
27 EXPECT_EQ(2U, mem->size());
28 EXPECT_EQ(45U, mem->front()[0]);
29 EXPECT_EQ(99U, mem->front()[1]);
44 scoped_refptr<RefCountedMemory> mem local
57 scoped_refptr<RefCountedMemory> mem = new RefCountedMallocedMemory(data, 6); local
85 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); local
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dget_cd_vec.c29 int16_t *mem, /* (i) Codebook buffer */
55 WEBRTC_SPL_MEMCPY_W16(cbvec, mem+lMem-k, cbveclen);
65 WebRtcIlbcfix_CreateAugmentedVec(lag, mem+lMem, cbvec);
83 WebRtcSpl_MemSetW16(mem-CB_HALFFILTERLEN, 0, CB_HALFFILTERLEN);
84 WebRtcSpl_MemSetW16(mem+lMem, 0, CB_HALFFILTERLEN);
89 &mem[memIndTest+4], cbvec, (int16_t*)WebRtcIlbcfix_kCbFiltersRev,
98 WebRtcSpl_MemSetW16(mem+lMem, 0, CB_HALFFILTERLEN);
102 &mem[memIndTest+7], tempbuff2, (int16_t*)WebRtcIlbcfix_kCbFiltersRev,
27 WebRtcIlbcfix_GetCbVec( int16_t *cbvec, int16_t *mem, int16_t index, int16_t lMem, int16_t cbveclen ) argument
H A Dcb_construct.c31 int16_t *mem, /* (i) Buffer for codevector construction */
53 WebRtcIlbcfix_GetCbVec(cbvec0, mem, index[0], lMem, veclen);
54 WebRtcIlbcfix_GetCbVec(cbvec1, mem, index[1], lMem, veclen);
55 WebRtcIlbcfix_GetCbVec(cbvec2, mem, index[2], lMem, veclen);
27 WebRtcIlbcfix_CbConstruct( int16_t *decvector, int16_t *index, int16_t *gain_index, int16_t *mem, int16_t lMem, int16_t veclen ) argument
H A Ddecode_residual.c48 int16_t *mem = &memVec[CB_HALFFILTERLEN]; /* Memory for codebook */ local
69 WebRtcSpl_MemSetW16(mem, 0, (int16_t)(CB_MEML-iLBCdec_inst->state_short_len));
70 WEBRTC_SPL_MEMCPY_W16(mem+CB_MEML-iLBCdec_inst->state_short_len, decresidual+start_pos,
78 mem+CB_MEML-ST_MEM_L_TBL,
88 WebRtcSpl_MemCpyReversedOrder(mem+CB_MEML-1,
90 WebRtcSpl_MemSetW16(mem, 0, (int16_t)(CB_MEML-meml_gotten));
97 mem+CB_MEML-ST_MEM_L_TBL,
118 WebRtcSpl_MemSetW16(mem, 0, CB_MEML-STATE_LEN);
119 WEBRTC_SPL_MEMCPY_W16(mem+CB_MEML-STATE_LEN,
131 mem, MEM_LF_TB
[all...]
/external/chromium_org/third_party/icu/source/test/perf/ucnvavailperf/
H A Ducnvavailperf.cpp64 my_free(const void *context, void *mem) { argument
65 if (mem != NULL) {
66 const size_t *p = (const size_t *)mem - 1;
74 my_realloc(const void *context, void *mem, size_t size) { argument
75 my_free(context, mem);
/external/chromium_org/third_party/opus/src/silk/
H A DLPC_analysis_filter.c52 opus_int16 mem[SILK_MAX_ORDER_LPC]; local
70 mem[ j ] = in[ d - j - 1 ];
72 celt_fir( in + d, num, out + d, len - d, d, mem );
/external/chromium_org/third_party/webrtc/modules/audio_device/android/
H A Dsingle_rw_fifo.cc64 void SingleRwFifo::Push(int8_t* mem) { argument
65 assert(mem);
77 queue_[write_pos_] = mem;
/external/clang/test/Analysis/
H A Dregion-store.c33 int mem; member in struct:X
39 return l.mem; // no-warning
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_persistent_allocator.h58 uptr mem = (uptr)MmapOrDie(allocsz, "stack depot"); local
59 atomic_store(&region_end, mem + allocsz, memory_order_release);
60 atomic_store(&region_pos, mem, memory_order_release);
/external/elfutils/0.153/libdw/
H A Ddwarf_getpubnames.c69 struct pubnames_s *mem = NULL; local
82 = (struct pubnames_s *) realloc (mem, allocated * entsize);
87 free (mem);
91 mem = newmem;
110 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp;
111 mem[cnt].address_len = len_bytes;
112 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size)
127 &mem[cnt].cu_offset, IDX_debug_info, 3))
134 + mem[cnt].cu_offset);
136 mem[cn
[all...]
/external/fio/os/
H A Dos-aix.h44 long mem = sysconf(_SC_AIX_REALMEM); local
46 if (mem == -1)
49 return (unsigned long long) mem * 1024;
/external/icu/icu4c/source/test/perf/ucnvavailperf/
H A Ducnvavailperf.cpp64 my_free(const void *context, void *mem) { argument
65 if (mem != NULL) {
66 const size_t *p = (const size_t *)mem - 1;
74 my_realloc(const void *context, void *mem, size_t size) { argument
75 my_free(context, mem);
/external/libopus/silk/
H A DLPC_analysis_filter.c52 opus_int16 mem[SILK_MAX_ORDER_LPC]; local
70 mem[ j ] = in[ d - j - 1 ];
72 celt_fir( in + d, num, out + d, len - d, d, mem );

Completed in 605 milliseconds

1234567891011>>