/system/libhidl/transport/memory/1.0/ |
IMapper.hal | 24 * @param mem Reference to shared memory. 28 mapMemory(memory mem) generates (IMemory mappedMemory);
|
/external/libchrome/base/memory/ |
ref_counted_memory_unittest.cc | 14 scoped_refptr<RefCountedMemory> mem = new RefCountedStaticMemory( local 17 EXPECT_EQ(10U, mem->size()); 18 EXPECT_EQ("static mem", std::string(mem->front_as<char>(), mem->size())); 25 scoped_refptr<RefCountedMemory> mem = RefCountedBytes::TakeVector(&data); local 29 EXPECT_EQ(2U, mem->size()); 30 EXPECT_EQ(45U, mem->front()[0]); 31 EXPECT_EQ(99U, mem->front()[1]); 46 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s) local 77 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); local [all...] |
/external/compiler-rt/test/asan/TestCases/Darwin/ |
malloc_set_zone_name-mprotect.cc | 17 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/syslinux/com32/lib/sys/ |
argv.c | 48 char *mem = __mem_end; local 50 char *q = mem; 84 if (mem < q) 85 *arg++ = mem; /* argv[1] */ 87 for (r = mem; r < q; r++) {
|
/external/webp/src/demux/ |
demux.c | 109 static int RemapMemBuffer(MemBuffer* const mem, 111 if (size < mem->buf_size_) return 0; // can't remap to a shorter buffer! 113 mem->buf_ = data; 114 mem->end_ = mem->buf_size_ = size; 118 static int InitMemBuffer(MemBuffer* const mem, 120 memset(mem, 0, sizeof(*mem)); 121 return RemapMemBuffer(mem, data, size); 124 // Return the remaining data size available in 'mem' 311 MemBuffer* const mem = &dmux->mem_; local 392 MemBuffer* const mem = &dmux->mem_; local 438 MemBuffer* const mem = &dmux->mem_; local 528 MemBuffer* const mem = &dmux->mem_; local 700 MemBuffer mem; local [all...] |
/external/libexif/libexif/ |
exif-log.c | 35 ExifMem *mem; member in struct:_ExifLog 71 exif_log_new_mem (ExifMem *mem) 75 log = exif_mem_alloc (mem, sizeof (ExifLog)); 79 log->mem = mem; 80 exif_mem_ref (mem); 88 ExifMem *mem = exif_mem_new_default (); local 89 ExifLog *log = exif_log_new_mem (mem); 91 exif_mem_unref (mem); 114 ExifMem *mem = log ? log->mem : NULL local [all...] |
/external/libjpeg-turbo/ |
jcomapi.c | 37 if (cinfo->mem == NULL) 44 (*cinfo->mem->free_pool) (cinfo, pool); 75 /* NB: mem pointer is NULL if memory mgr failed to initialize. */ 76 if (cinfo->mem != NULL) 77 (*cinfo->mem->self_destruct) (cinfo); 78 cinfo->mem = NULL; /* be safe if jpeg_destroy is called twice */ 94 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, sizeof(JQUANT_TBL)); 106 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, sizeof(JHUFF_TBL));
|
/external/pdfium/third_party/libjpeg/ |
fpdfapi_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));
|
/frameworks/av/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 i = L_mult(*mem, mu); 78 *mem = x[L - 1]; 89 Word16 * mem /* (i/o) : memory (y[-1]) */ 100 L_tmp += ((*mem) * fac)<<1; 114 *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]) */ 84 L_tmp -= ((*mem) * mu)<<1; 94 *mem = temp;
|
/external/fio/os/ |
os-aix.h | 44 long mem = sysconf(_SC_AIX_REALMEM); local 46 if (mem == -1) 49 return (unsigned long long) mem * 1024;
|
os-dragonfly.h | 45 uint64_t mem; local 46 size_t len = sizeof(mem); 48 sysctl(mib, 2, &mem, &len, NULL, 0); 49 return mem;
|
os-netbsd.h | 46 uint64_t mem; local 47 size_t len = sizeof(mem); 49 sysctl(mib, 2, &mem, &len, NULL, 0); 50 return mem;
|
os-openbsd.h | 44 uint64_t mem; local 45 size_t len = sizeof(mem); 47 sysctl(mib, 2, &mem, &len, NULL, 0); 48 return mem;
|
/external/compiler-rt/test/tsan/ |
signal_longjmp.cc | 10 // "((volatile int *volatile)mem)[1] = 1". 62 void *mem = mmap(0, 4096, PROT_NONE, MAP_PRIVATE | MAP_ANON, local 65 MUST_FAULT(((volatile int *volatile)mem)[0] = 0); 66 MUST_FAULT(((volatile int *volatile)mem)[1] = 1); 67 MUST_FAULT(((volatile int *volatile)mem)[3] = 1);
|
/external/libopus/celt/ |
celt_lpc.h | 48 opus_val16 *mem, 52 #define celt_fir(x, num, y, N, ord, mem, arch) \ 53 (celt_fir_c(x, num, y, N, ord, mem, arch)) 61 opus_val16 *mem,
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
cb_construct.h | 32 int16_t *mem, /* (i) Buffer for codevector construction */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
syn_filt.h | 75 Word16 mem[], /* (i/o): memory associated with this filtering. */
|
/external/compiler-rt/lib/asan/tests/ |
asan_mac_test.h | 6 void CallFreeOnWorkqueue(void *mem);
|
/external/libxml2/ |
testOOMlib.c | 135 void *mem; local 136 mem = xmlMemMalloc (bytes); 138 if (mem) 141 return mem; 162 void *mem; local 163 mem = xmlMemRealloc (memory, bytes); 165 if (memory == NULL && mem != NULL) 168 return mem;
|
/external/clang/test/SemaTemplate/ |
template-id-printing.cpp | 41 void mem(); 46 // CHECK: s.mem<int>(); 47 s.mem<int>(); 48 // CHECK: s.template mem<int>(); 49 s.template mem<int>(); 77 void mem(); 83 // CHECK: s.mem<U>(); 84 s.mem<U>(); 85 // CHECK: s.template mem<U>(); 86 s.template mem<U>() [all...] |
/external/valgrind/gdbserver_tests/ |
mcclean_after_fork.stdoutB.exp | 7 Hardware read watchpoint 4: mem 9 Hardware read watchpoint 4: mem 12 34 if (mem == 0)
|
/frameworks/av/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/curl/docs/examples/ |
xmlstream.c | 70 struct MemoryStruct *mem = &state->characters; local 72 mem->memory = realloc(mem->memory, mem->size + len + 1); 73 if(mem->memory == NULL) { 80 memcpy(&(mem->memory[mem->size]), s, len); 81 mem->size += len; 82 mem->memory[mem->size] = 0 [all...] |
/external/webp/src/enc/ |
picture_enc.c | 100 uint8_t* mem; local 126 mem = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*mem)); 127 if (mem == NULL) { 132 picture->memory_ = (void*)mem; 138 picture->y = mem; 139 mem += y_size; 141 picture->u = mem; 142 mem += uv_size; 143 picture->v = mem; [all...] |