HomeSort by relevance Sort by last modified time
    Searched refs:mem (Results 26 - 50 of 1397) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/syslinux/core/lwip/src/core/
mem.c 61 #include "lwip/mem.h"
155 struct mem { struct
172 #define SIZEOF_STRUCT_MEM LWIP_MEM_ALIGN_SIZE(sizeof(struct mem))
180 /** the heap. we need one struct mem at the end and some room for alignment */
188 static struct mem *ram_end;
190 static struct mem *lfree;
224 * one empty struct mem pointing to another empty struct mem.
226 * @param mem this points to a struct mem which just has been free
273 struct mem *mem; local
310 struct mem *mem; local
370 struct mem *mem, *mem2; local
494 struct mem *mem, *mem2; local
    [all...]
  /external/valgrind/gdbserver_tests/
clean_after_fork.c 8 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/curl/lib/
memdebug.c 94 } mem[1]; member in struct:memdebug
167 struct memdebug *mem; local
178 mem = (Curl_cmalloc)(size);
179 if(mem) {
181 mt_malloc_fill(mem->mem, wantedsize);
182 mem->size = wantedsize;
186 curl_memlog("MEM %s:%d malloc(%zu) = %p\n",
188 mem ? (void *)mem->mem : (void *)0)
196 struct memdebug *mem; local
223 char *mem; local
247 wchar_t *mem; local
275 struct memdebug *mem=NULL; local
313 struct memdebug *mem; local
    [all...]
  /external/autotest/client/tests/memory_api/
mremaps.c 16 char *mem; local
36 mem = mmap(0, memsize, PROT_READ | PROT_WRITE,
40 if (mem == (void*) -1) {
46 mem = mremap(mem , memsize * (i >> 1),
50 if (mem == MAP_FAILED) {
56 memsize * i, mem);
59 if (munmap(mem, memsize * 16)) {
64 mem = mmap(0, memsize, PROT_READ | PROT_WRITE,
68 if (mem == (void*) -1)
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_posix_test.cc 64 uptr mem = (uptr)mmap(0, 3 * page_size, PROT_READ | PROT_WRITE, local
67 mprotect((void *)(mem + page_size), page_size, PROT_NONE);
68 EXPECT_TRUE(IsAccessibleMemoryRange(mem, page_size - 1));
69 EXPECT_TRUE(IsAccessibleMemoryRange(mem, page_size));
70 EXPECT_FALSE(IsAccessibleMemoryRange(mem, page_size + 1));
71 EXPECT_TRUE(IsAccessibleMemoryRange(mem + page_size - 1, 1));
72 EXPECT_FALSE(IsAccessibleMemoryRange(mem + page_size - 1, 2));
73 EXPECT_FALSE(IsAccessibleMemoryRange(mem + 2 * page_size - 1, 1));
74 EXPECT_TRUE(IsAccessibleMemoryRange(mem + 2 * page_size, page_size));
75 EXPECT_FALSE(IsAccessibleMemoryRange(mem, 3 * page_size))
    [all...]
  /external/curl/docs/examples/
getinmemory.c 43 struct MemoryStruct *mem = (struct MemoryStruct *)userp; local
45 mem->memory = realloc(mem->memory, mem->size + realsize + 1);
46 if(mem->memory == NULL) {
52 memcpy(&(mem->memory[mem->size]), contents, realsize);
53 mem->size += realsize;
54 mem->memory[mem->size] = 0
    [all...]
postinmemory.c 40 struct MemoryStruct *mem = (struct MemoryStruct *)userp; local
42 mem->memory = realloc(mem->memory, mem->size + realsize + 1);
43 if(mem->memory == NULL) {
49 memcpy(&(mem->memory[mem->size]), contents, realsize);
50 mem->size += realsize;
51 mem->memory[mem->size] = 0
    [all...]
  /external/valgrind/none/tests/mips64/
macro_load_store.h 3 #define TEST1(instruction, offset, mem) \
14 : "r" (mem), "r" (offset) \
47 #define TEST3(instruction, offset, mem) \
58 : "r" (mem) , "r" (offset) \
65 #define TEST3w(instruction, offset, mem) \
76 : "r" (mem) , "r" (offset) \
104 #define TEST5(instruction, offset, mem) \
114 : "r" (mem) , "r" (offset) \
121 #define TEST5w(instruction, offset, mem) \
131 : "r" (mem) , "r" (offset)
    [all...]
  /external/compiler-rt/test/asan/TestCases/
debug_stacks.cc 12 char *mem; variable
14 mem = (char *)malloc(10);
18 free(mem);
31 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id);
44 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id);
56 mem[0] = 'A'; // BOOM
  /external/libopus/celt/x86/
celt_lpc_sse.h 44 opus_val16 *mem,
48 #define celt_fir(x, num, y, N, ord, mem, arch) \
49 ((void)arch, celt_fir_sse4_1(x, num, y, N, ord, mem, arch))
59 opus_val16 *mem,
62 # define celt_fir(x, num, y, N, ord, mem, arch) \
63 ((*CELT_FIR_IMPL[(arch) & OPUS_ARCHMASK])(x, num, y, N, ord, mem, arch))
  /external/syslinux/core/lwip/src/include/lwip/
mem.h 64 #define mem_trim(mem, size) (mem)
84 #define mem_trim(mem, size) (mem)
88 void *mem_trim(void *mem, mem_size_t size);
92 void mem_free(void *mem);
  /external/compiler-rt/test/tsan/
free_race.c 7 int *mem; variable
12 free(mem);
21 mem[0] = 42;
28 mem = (int*)malloc(100);
  /external/syslinux/gnu-efi/gnu-efi-3.0/apps/
t.c 7 static CHAR16 mem[2048]; local
11 mem[i] = (CHAR16) str[i];
12 mem[i] = 0;
13 return mem;
  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
get_cd_vec.h 24 int16_t *mem, /* (i) Codebook buffer */
decode_residual.c 48 int16_t *mem = &memVec[CB_HALFFILTERLEN]; /* Memory for codebook */ local
69 WebRtcSpl_MemSetW16(mem, 0, 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,
87 WebRtcSpl_MemCpyReversedOrder(mem+CB_MEML-1,
89 WebRtcSpl_MemSetW16(mem, 0, CB_MEML - meml_gotten);
96 mem+CB_MEML-ST_MEM_L_TBL,
115 WebRtcSpl_MemSetW16(mem, 0, CB_MEML-STATE_LEN);
116 WEBRTC_SPL_MEMCPY_W16(mem+CB_MEML-STATE_LEN,
129 mem, MEM_LF_TBL, SUB
    [all...]
get_cd_vec.c 29 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,
  /prebuilts/ndk/r10/sources/cxx-stl/stlport/stlport/
mem.h 27 # include_next <mem.h>
29 # include _STLP_NATIVE_C_HEADER(mem.h)
38 # include_next <mem.h>
40 # include _STLP_NATIVE_C_HEADER(mem.h)
  /prebuilts/ndk/r11/sources/cxx-stl/stlport/stlport/
mem.h 27 # include_next <mem.h>
29 # include _STLP_NATIVE_C_HEADER(mem.h)
38 # include_next <mem.h>
40 # include _STLP_NATIVE_C_HEADER(mem.h)
  /prebuilts/ndk/r13/sources/cxx-stl/stlport/stlport/
mem.h 27 # include_next <mem.h>
29 # include _STLP_NATIVE_C_HEADER(mem.h)
38 # include_next <mem.h>
40 # include _STLP_NATIVE_C_HEADER(mem.h)
  /external/clang/test/CodeGenCXX/
constructors.cpp 18 Member mem; member in struct:A
21 A::A(struct Undeclared &ref) : mem(0) {}
30 A::A(ValueClass v) : mem(v.y - v.x) {}
41 Member mem; member in struct:B
44 B::B(struct Undeclared &ref) : A(ref), mem(1) {}
61 Member mem; member in struct:C
63 C::C(int x) : A(ValueClass(x, x+1)), mem(x * x) {}
78 Member mem; member in struct:D
81 D::D(int x, ...) : A(ValueClass(x, x+1)), mem(x*x) {}
  /external/llvm/lib/Target/PowerPC/
PPCInstrBuilder.h 34 bool mem = true) {
35 if (mem)
  /external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
SPUInstrBuilder.h 34 bool mem = true) {
35 if (mem)
  /external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
PPCInstrBuilder.h 34 bool mem = true) {
35 if (mem)
  /frameworks/av/media/libstagefright/
BufferImpl.cpp 32 SharedMemoryBuffer::SharedMemoryBuffer(const sp<AMessage> &format, const sp<IMemory> &mem)
33 : MediaCodecBuffer(format, new ABuffer(mem->pointer(), mem->size())),
34 mMemory(mem) {
37 SharedMemoryBuffer::SharedMemoryBuffer(const sp<AMessage> &format, const sp<TMemory> &mem)
38 : MediaCodecBuffer(format, new ABuffer(mem->getPointer(), mem->getSize())),
39 mTMemory(mem) {
  /system/extras/tests/pftest/
pftest.c 47 char *mem = malloc((N_PAGES+1) * 4096); local
53 mem = (char *) ((intptr_t) (mem + 4096) & ~0xfff);
76 *(intptr_t *) (mem + 4096 * pageIdx + entryOffset) =
77 (intptr_t) (mem + 4096 * nextPageIdx + nextEntryOffset);
80 *(intptr_t *) (mem + 4096 * pageIdx + entryOffset) =
81 (intptr_t) &mem[0];
89 p = (intptr_t *) &mem[0];

Completed in 1446 milliseconds

12 3 4 5 6 7 8 91011>>