/external/dropbear/libtomcrypt/src/misc/ |
zeromem.c | 25 unsigned char *mem = out; local 28 *mem++ = 0;
|
/external/collada/src/dae/ |
daeMemorySystem.cpp | 16 void *mem = malloc(n); local 17 // memset(mem,0,n); 18 // printf("alloc[%s] - %d = 0x%x\n",pool,n,mem); 19 return (daeRawRef)mem; 23 daeMemorySystem::dealloc(daeString pool, daeRawRef mem) 26 // printf("free[%s] - 0x%x\n",pool,mem); 27 free(mem);
|
daeMetaGroup.cpp | 47 daeMemoryRef mem = _elementContainer->get(parent, x ); local 48 if ( mem != NULL ) { 49 el = *(daeElementRef*)mem; 104 daeMemoryRef mem = _elementContainer->get(parent, x ); local 105 if ( mem != NULL ) { 106 el = *(daeElementRef*)mem;
|
/external/elfutils/libelf/ |
elf_readall.c | 70 char *mem; local 77 mem = (char *) malloc (elf->maximum_size); 78 if (mem != NULL) 81 if ((size_t) pread (elf->fildes, mem, elf->maximum_size, 86 free (mem); 91 elf->map_address = mem;
|
nlist.c | 130 struct hashentry mem; local 134 sym = INTUSE(gelf_getsym) (data, cnt, &mem.sym); 139 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name); 140 if (mem.str == NULL) 144 if (mem.str[0] == '\0') 154 (void) nlist_fshash_overwrite (table, mem.str, 0, &mem);
|
/external/libvpx/vpx_mem/memory_manager/ |
hmm_resize.c | 18 int U(resize)(U(descriptor) *desc, void *mem, U(size_aau) n) variable 22 head_record *head_ptr = PTR_REC_TO_HEAD(mem);
|
/frameworks/base/media/libmediaplayerservice/nuplayer/ |
NuPlayerStreamListener.cpp | 41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); local 42 CHECK(mem != NULL); 44 mBuffers.push(mem);
|
/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) {} 42 Member mem; member in struct:B 45 B::B(struct Undeclared &ref) : A(ref), mem(1) {} 63 Member mem; member in struct:C 65 C::C(int x) : A(ValueClass(x, x+1)), mem(x * x) {} 81 Member mem; member in struct:D 84 D::D(int x, ...) : A(ValueClass(x, x+1)), mem(x*x) {}
|
/external/clang/test/SemaCXX/ |
warn-unreachable.cpp | 54 int mem; member in struct:S 58 .mem; 63 int mem; member in struct:S 67 .mem; // expected-warning {{will never be executed}}
|
/external/elfutils/libdw/ |
dwarf_getpubnames.c | 32 struct pubnames_s *mem = NULL; local 45 = (struct pubnames_s *) realloc (mem, allocated * entsize); 50 free (mem); 54 mem = newmem; 67 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; 68 mem[cnt].address_len = len_bytes; 69 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size) 84 mem[cnt].cu_offset = read_4ubyte_unaligned (dbg, readp + 2); 86 mem[cnt].cu_offset = read_8ubyte_unaligned (dbg, readp + 2); 91 assert (mem[cnt].cu_offset + [all...] |
/external/elfutils/tests/ |
showptable.c | 78 GElf_Phdr mem; local 79 GElf_Phdr *phdr = gelf_getphdr (elf, cnt, &mem);
|
/external/expat/amiga/ |
stdlib.c | 33 uint32 *mem = AllocMem(size, MEMF_SHARED); local 34 if ( mem != 0 ) { 35 *mem = size; 36 ++mem; 39 return mem; 43 void * realloc (void * mem, size_t len2) 45 if ( mem == 0 ) { 50 free(mem); 59 uint32 mem_size = *(((uint32*)mem) - 1); 60 CopyMem(mem, new_mem, mem_size) [all...] |
/external/libvpx/vpx_mem/memory_manager/include/ |
heapmm.h | 124 HMM_UNIQUE(descriptor) *desc, void *mem, variable 129 HMM_UNIQUE(descriptor) *desc, void *mem, variable 133 void HMM_UNIQUE(free)(HMM_UNIQUE(descriptor) *desc, void *mem); variable 135 HMM_UNIQUE(size_aau) HMM_UNIQUE(true_size)(void *mem);
|
/external/oprofile/module/ |
op_util.c | 59 void * mem; local 62 mem = VMALLOC_32(size); 63 if (!mem) 66 memset(mem, 0, size); 68 adr=(unsigned long) mem; 75 return mem; 78 void rvfree(void * mem, signed long size) 82 if (!mem) 85 adr=(unsigned long) mem; 93 vfree(mem); [all...] |
/external/valgrind/main/none/tests/amd64/ |
bug127521-64.c | 16 UInt mem[2]; local 18 mem[0] = (UInt)memLoIn; 19 mem[1] = (UInt)memHiIn; 24 block[4] = (ULong)&mem[0]; 45 *memLoOut = (ULong)mem[0]; 46 *memHiOut = (ULong)mem[1]; 55 printf(" Q d:a=%llx:%llx mem=%llx:%llx c:b=%llx:%llx " 56 "-> z=%lld d:a=%llx:%llx mem=%llx:%llx\n", 69 ULong mem[2]; local 71 mem[0] = memLoIn [all...] |
/external/valgrind/main/none/tests/arm/ |
neon128.c | 44 const unsigned int mem[] = { variable 76 : "r" (out), "r" (addr), "r" (mem) \ 110 : "r" (out), "r" (QMval), "r" (addr), "r" (mem) \ 156 : "r" (out), "r" (QMval), "r" (addr), "r" (mem) \ 194 : "r" (out), "r" (QMval), "r" (QNval), "r" (mem) \ 232 : "r" (out), "r" (QMval), "r" (QNval), "r"(0x3f800000), "r" (addr), "r" (mem) \ 280 : "r" (out), "r" (QMval), "r" (QNval), "r" (addr), "r" (mem) \ 324 : "r" (out1), "r" (out2), "r" (QMval), "r" (QNval), "r" (addr), "r" (mem) \ [all...] |
/frameworks/base/libs/camera/ |
ICameraRecordingProxy.cpp | 61 void releaseRecordingFrame(const sp<IMemory>& mem) 66 data.writeStrongBinder(mem->asBinder()); 96 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local 97 releaseRecordingFrame(mem);
|
/sdk/emulator/qtools/tests/gtrace/ |
test.c | 141 static char mem[1000 * kStride]; local 147 a += mem[jj * kStride];
|
/external/bluetooth/glib/tests/ |
slice-concurrent.c | 53 char *mem = g_slice_alloc (bytes); local 56 mem[f] = rand(); 61 tdata[t].to_free[tdata[t].n_to_free] = mem;
|
slice-color.c | 28 fill_memory (guint **mem, 34 mem[j][o] = val; 150 gchar *mem = g_strdup (cstring); local 151 gchar *string = g_strstrip (mem); 169 g_free (mem);
|
slice-threadinit.c | 119 void *mem = g_slice_alloc (magazine_probes[j]); local 120 if (mem == mps[j]) 122 trash = g_slist_prepend (trash, mem); 145 void *mem = g_slice_alloc (magazine_probes[j]); local 146 if (mem == mps[j]) 148 trash = g_slist_prepend (trash, mem);
|
/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...] |
/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];
|
/external/chromium/chrome/browser/extensions/ |
extension_processes_api.cc | 125 size_t mem; local 126 int64 pr_mem = model_->GetPrivateMemory(i, &mem) ? 127 static_cast<int64>(mem) : -1; 128 int64 sh_mem = model_->GetSharedMemory(i, &mem) ? 129 static_cast<int64>(mem) : -1;
|
/external/jpeg/ |
jmemmac.c | 122 long limit = cinfo->mem->max_memory_to_use - already_allocated; 123 long slop, mem; local 135 mem = CompactMem(max_bytes_needed + slop) - slop; 136 if (mem < 0) 137 mem = 0; /* sigh, couldn't even get the slop */ 139 if (mem > limit && limit > 0) 140 mem = limit; 141 return mem;
|