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

12 3 4 5 6 7 8 91011>>

  /external/bluetooth/glib/glib/
gmem.c 61 standard_realloc (gpointer mem,
64 if (!mem)
67 return realloc (mem, n_bytes);
88 standard_realloc (gpointer mem,
91 return realloc (mem, n_bytes);
95 standard_free (gpointer mem)
97 free (mem);
129 gpointer mem; local
131 mem = glib_mem_vtable.malloc (n_bytes);
132 if (mem)
149 gpointer mem; local
207 gpointer mem; local
237 gpointer mem = glib_mem_vtable.malloc (l); local
463 gpointer mem = profiler_try_malloc (n_bytes); local
    [all...]
gslice.h 61 #define g_slice_dup(type, mem) \
62 (1 ? (type*) g_slice_copy (sizeof (type), (mem)) \
63 : ((void) ((type*) 0 == (mem)), (type*) 0))
64 #define g_slice_free(type, mem) do { \
65 if (1) g_slice_free1 (sizeof (type), (mem)); \
66 else (void) ((type*) 0 == (mem)); \
gmem.h 53 gpointer g_realloc (gpointer mem,
55 void g_free (gpointer mem);
58 gpointer g_try_realloc (gpointer mem,
68 #define g_renew(struct_type, mem, n_structs) \
69 ((struct_type *) g_realloc ((mem), ((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
75 #define g_try_renew(struct_type, mem, n_structs) \
76 ((struct_type *) g_try_realloc ((mem), ((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))
86 gpointer (*realloc) (gpointer mem,
88 void (*free) (gpointer mem);
93 gpointer (*try_realloc) (gpointer mem,
    [all...]
  /external/jpeg/
jcomapi.c 34 if (cinfo->mem == NULL)
41 (*cinfo->mem->free_pool) (cinfo, pool);
72 /* NB: mem pointer is NULL if memory mgr failed to initialize. */
73 if (cinfo->mem != NULL)
74 (*cinfo->mem->self_destruct) (cinfo);
75 cinfo->mem = NULL; /* be safe if jpeg_destroy is called twice */
91 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL));
103 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JHUFF_TBL));
jmemmgr.c 188 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
197 pool_id, mem->total_space_allocated);
199 for (lhdr_ptr = mem->large_list[pool_id]; lhdr_ptr != NULL;
205 for (shdr_ptr = mem->small_list[pool_id]; shdr_ptr != NULL;
260 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
278 hdr_ptr = mem->small_list[pool_id];
306 mem->total_space_allocated += min_request + slop;
312 mem->small_list[pool_id] = hdr_ptr
345 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
399 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
447 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
528 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
558 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
586 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
932 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; local
1030 my_mem_ptr mem; local
    [all...]
  /frameworks/base/media/libstagefright/codecs/amrwbenc/src/
deemph.c 34 Word16 * mem /* (i/o) : memory (y[-1]) */
41 L_tmp = L_mac(L_tmp, *mem, mu);
51 *mem = x[L - 1];
61 Word16 * mem /* (i/o) : memory (y[-1]) */
67 L_tmp += ((*mem) * mu)<<1;
75 *mem = x[L - 1];
86 Word16 * mem /* (i/o) : memory (y[-1]) */
97 L_tmp += ((*mem) * fac)<<1;
111 *mem = y[L - 1];
preemph.c 32 Word16 * mem /* (i/o) : memory (x[-1]) */
48 L_tmp -= ((*mem) * mu)<<1;
51 *mem = temp;
61 Word16 * mem /* (i/o) : memory (x[-1]) */
78 L_tmp -= ((*mem) * mu)<<1;
82 *mem = temp;
lp_dec2.c 38 Word16 mem[] /* in/out: memory (size=3) */
48 *p_x++ = mem[i];
49 mem[i] = x[l - L_MEM + i];
  /external/webp/src/enc/
webpenc.c 163 uint8_t* mem; local
198 mem = (uint8_t*)malloc(size);
199 if (mem == NULL) {
203 enc = (VP8Encoder*)mem;
204 mem = (uint8_t*)DO_ALIGN(mem + sizeof(*enc));
210 enc->yuv_in_ = (uint8_t*)mem;
211 mem += YUV_SIZE;
212 enc->yuv_out_ = (uint8_t*)mem;
213 mem += YUV_SIZE
    [all...]
  /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}}
  /frameworks/base/media/libstagefright/codecs/amrnb/common/include/
syn_filt.h 75 Word16 mem[], /* (i/o): memory associated with this filtering. */
  /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;
  /frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
acelp.h 48 Word16 * mem /* output :static memory (18 words) */
56 Word16 * mem /* (i/o) :static memory (18 words) */
170 Word16 mem[] /* output: memory (2*NB_COEF_DOWN) set to zeros */
176 Word16 mem[] /* in/out: memory (2*NB_COEF_DOWN) */
179 void Init_HP50_12k8(Word16 mem[]);
183 Word16 mem[] /* filter memory [6] */
185 void Init_HP400_12k8(Word16 mem[]);
189 Word16 mem[] /* filter memory [6] */
192 void Init_Filt_6k_7k(Word16 mem[]);
196 Word16 mem[] /* in/out: memory (size=30) *
    [all...]
  /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...]
libdw_alloc.c 30 2 * minsize + offsetof (struct libdw_memblock, mem));
35 newp->size = newp->remaining = size - offsetof (struct libdw_memblock, mem);
40 return newp->mem;
  /frameworks/base/media/libstagefright/codecs/amrwb/src/
pvamrwbdecoder_acelp.h 86 void low_pass_filt_7k_init(int16 mem[]);
90 int16 mem[], /* in/out: memory (size=30) */
162 int16 mem[] /* output: memory (2*NB_COEF_UP) set to zeros */
168 int16 mem[], /* in/out: memory (2*NB_COEF_UP) */
172 void highpass_50Hz_at_12k8_init(int16 mem[]);
176 int16 mem[] /* filter memory [6] */
178 void highpass_400Hz_at_12k8_init(int16 mem[]);
182 int16 mem[] /* filter memory [6] */
185 void band_pass_6k_7k_init(int16 mem[]);
189 int16 mem[], /* in/out: memory (size=30) *
    [all...]
  /bionic/libc/bionic/
malloc_debug_leak.c 315 static void assert_valid_malloc_pointer(void* mem)
317 if (mem && !is_valid_malloc_pointer(mem)) {
321 "and malloc/free?)", mem);
331 static int chk_mem_check(void* mem,
341 buf = (char*)mem - CHK_SENTINEL_HEAD_SIZE;
347 func, mem, CHK_SENTINEL_HEAD_SIZE-i);
353 buffer = (char*)mem - CHK_SENTINEL_HEAD_SIZE;
357 buf = (char*)mem + bytes;
385 void chk_free(void* mem)
    [all...]
  /external/icu4c/test/perf/ucnvavailperf/
ucnvavailperf.cpp 64 my_free(const void *context, void *mem) {
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) {
75 my_free(context, mem);
  /external/icu4c/tools/toolutil/
toolutil.h 147 utm_close(UToolMemory *mem);
154 utm_getStart(UToolMemory *mem);
160 utm_countItems(UToolMemory *mem);
166 utm_alloc(UToolMemory *mem);
172 utm_allocN(UToolMemory *mem, int32_t n);
  /external/libvpx/examples/
decoder_tmpl.c 29 static unsigned int mem_get_le32(const unsigned char *mem) {
30 return (mem[3] << 24)|(mem[2] << 16)|(mem[1] << 8)|(mem[0]);
  /external/openssl/crypto/ocsp/
ocsp_ht.c 81 BIO *mem; /* Memory BIO response is built into */ member in struct:ocsp_req_ctx_st
114 if (rctx->mem)
115 BIO_free(rctx->mem);
126 if (BIO_printf(rctx->mem, req_hdr, i2d_OCSP_REQUEST(req, NULL)) <= 0)
128 if (i2d_OCSP_REQUEST_bio(rctx->mem, req) <= 0)
131 rctx->asn1_len = BIO_get_mem_data(rctx->mem, NULL);
140 if (BIO_puts(rctx->mem, name) <= 0)
144 if (BIO_write(rctx->mem, ": ", 2) != 2)
146 if (BIO_puts(rctx->mem, value) <= 0)
149 if (BIO_write(rctx->mem, "\r\n", 2) != 2
    [all...]
  /external/oprofile/module/ia64/
IA64minstate.h 194 .mem.offset 0, 0; st8.spill [r16]=r2, 16; \
195 .mem.offset 8, 0; st8.spill [r17]=r3, 16; \
198 .mem.offset 0, 0; st8.spill [r16]=r12, 16; \
199 .mem.offset 8, 0; st8.spill [r17]=r13, 16; \
203 .mem.offset 0, 0; st8.spill [r16]=r14, 16; \
204 .mem.offset 8, 0; st8.spill [r17]=r15, 16; \
207 .mem.offset 0, 0; st8.spill [r16]=r8, 16; \
208 .mem.offset 8, 0; st8.spill [r17]=r9, 16; \
212 .mem.offset 0, 0; st8.spill [r16]=r10, 16; \
213 .mem.offset 8, 0; st8.spill [r17]=r11, 16;
    [all...]
  /dalvik/vm/
LinearAlloc.cpp 100 static inline u4* getBlockHeader(void* mem)
102 return ((u4*) mem) -1;
401 void* mem = dvmLinearAlloc(classLoader, len+1); local
402 memcpy(mem, str, len+1);
404 dvmLinearSetReadOnly(classLoader, mem);
405 return (char*) mem;
417 void* dvmLinearRealloc(Object* classLoader, void* mem, size_t newSize)
420 return realloc(mem, newSize);
422 /* make sure we have the right region (and mem != NULL) */
423 assert(mem != NULL)
    [all...]
  /external/qemu/
kvm-all.c 93 KVMSlot *mem = &s->slots[i]; local
95 if (start_addr == mem->start_addr &&
96 end_addr == mem->start_addr + mem->memory_size) {
97 return mem;
115 KVMSlot *mem = &s->slots[i]; local
117 if (mem->memory_size == 0 ||
118 (found && found->start_addr < mem->start_addr)) {
122 if (end_addr > mem->start_addr &&
123 start_addr < mem->start_addr + mem->memory_size)
133 struct kvm_userspace_memory_region mem; local
226 KVMSlot *mem = kvm_lookup_matching_slot(s, phys_addr, phys_addr + size); local
269 KVMSlot *mem; local
304 KVMSlot *mem; local
673 KVMSlot *mem, old; local
    [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...]

Completed in 677 milliseconds

12 3 4 5 6 7 8 91011>>