/external/compiler-rt/lib/asan/ |
asan_globals.cc | 104 void *mem = allocator_for_globals.Allocate(sizeof(VectorOfGlobals)); local 105 dynamic_init_globals = new(mem)
|
asan_malloc_mac.cc | 177 void *mem = (void*)&calloc_memory_for_dlsym[allocated]; local 180 return mem;
|
/external/compiler-rt/lib/asan/tests/ |
asan_mac_test.cc | 190 void *mem = malloc(10); local 191 pthread_setspecific(*(pthread_key_t*)test_key, mem);
|
/external/compiler-rt/lib/lsan/ |
lsan_thread.cc | 30 void *mem = MmapOrDie(sizeof(ThreadContext), "ThreadContext"); local 31 return new(mem) ThreadContext(tid);
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_sync.cc | 62 void *mem = internal_alloc(MBlockSync, sizeof(SyncVar)); local 64 SyncVar *res = new(mem) SyncVar(addr, uid);
|
/external/icu4c/common/ |
ubidi_props.c | 31 UDataMemory *mem; member in struct:UBiDiProps
|
/external/libexif/libexif/ |
exif-content.c | 38 ExifMem *mem; member in struct:_ExifContentPrivate 45 ExifMem *mem = exif_mem_new_default (); local 46 ExifContent *content = exif_content_new_mem (mem); 48 exif_mem_unref (mem); 54 exif_content_new_mem (ExifMem *mem) 58 if (!mem) return NULL; 60 content = exif_mem_alloc (mem, (ExifLong) sizeof (ExifContent)); 63 content->priv = exif_mem_alloc (mem, 66 exif_mem_free (mem, content); 72 content->priv->mem = mem 95 ExifMem *mem = (content && content->priv) ? content->priv->mem : NULL; local [all...] |
/external/libpcap/bpf/net/ |
bpf_filter.c | 210 int32 mem[BPF_MEMWORDS]; local 383 A = mem[pc->k]; 387 X = mem[pc->k]; 391 mem[pc->k] = A; 395 mem[pc->k] = X;
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_program.h | 58 struct nouveau_heap *mem; member in struct:nvc0_program
|
/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/qemu/distrib/sdl-1.2.15/include/ |
SDL_rwops.h | 87 } mem; member in union:SDL_RWops::__anon24948 105 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size); 106 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size);
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testsprite.c | 154 Uint8 *mem; local 229 mem = (Uint8 *)malloc(4*sizeof(SDL_Rect)*numsprites); 230 if ( mem == NULL ) { 235 sprite_rects = (SDL_Rect *)mem; 313 free(mem);
|
/external/valgrind/main/none/tests/amd64/ |
redundantRexW.c | 24 Mem; 50 void pp_Mem ( char* who, Mem* mem ) { 55 pp_UWord128( &mem->dqw[i] ); 72 void xor_Mem ( Mem* src, Mem* dst ) { 78 void setup_regs_mem ( XMMRegs* regs, Mem* mem ) { 87 mem->dqw[i].b[j] = 0x52 + (ctr++ % 13); 91 void before_test ( XMMRegs* regs, Mem* mem ) 170 Mem* mem; local [all...] |
/frameworks/av/media/libmedia/ |
IStreamSource.cpp | 108 sp<IMemory> mem = local 111 buffers.push(mem);
|
/frameworks/av/media/libstagefright/ |
StagefrightMediaScanner.cpp | 216 sp<IMemory> mem = mRetriever->extractAlbumArt(); local 218 if (mem != NULL) { 219 MediaAlbumArt *art = static_cast<MediaAlbumArt *>(mem->pointer());
|
/frameworks/compile/libbcc/bcinfo/tools/ |
main.cpp | 315 llvm::OwningPtr<llvm::MemoryBuffer> mem; local 317 mem.reset(llvm::MemoryBuffer::getMemBuffer( 323 module.reset(llvm::ParseBitcodeFile(mem.get(), ctx, &errmsg));
|
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectReader.cpp | 305 MemoryArea* mem = pInput.memArea(); local 313 MemoryRegion* region = mem->request(offset, size); 318 mem->release(region); 325 mem->release(region); 331 mem->release(region); 336 mem->release(region);
|
/frameworks/wilhelm/src/android/ |
android_StreamPlayer.cpp | 86 sp<IMemory> mem = mBuffers.itemAt(index); 87 SLAint64 length = (SLAint64) mem->size(); 94 // a new shared mem buffer is available: let's try to fill immediately 196 // we're going to change the shared mem buffer queue, so lock it 201 sp<IMemory> mem = mBuffers.itemAt(bufferId); local 202 bufferLoc = mem->pointer(); 203 buffSize = mem->size(); 212 // 3/ notify shared mem listener that new data is available
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayMdpRot.cpp | 150 OvMem mem; local 152 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 154 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 156 mem.close(); 160 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 161 OVASSERT(mem.getFD() != -1, "getFd is -1"); 163 mRotDataInfo.dst.memory_id = mem.getFD(); 165 mMem.curr().m = mem; 183 ALOGE("Mdp Rot error closing mem"); 229 remap(RotMem::Mem::ROT_NUM_BUFS) [all...] |
overlayMdssRot.cpp | 135 remap(RotMem::Mem::ROT_NUM_BUFS); 149 // if the prev mem is valid, we need to close 155 ALOGE("%s error in closing prev rot mem", __FUNCTION__); 165 OvMem mem; local 166 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 169 if(!mem.open(numbufs, bufsz, isSecure)){ 171 mem.close(); 175 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 176 OVASSERT(mem.getFD() != -1, "getFd is -1"); 178 mRotData.dst_data.memory_id = mem.getFD() [all...] |
/hardware/qcom/display/msm8974/liboverlay/ |
overlayMdpRot.cpp | 144 OvMem mem; local 146 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 148 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 150 mem.close(); 154 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 155 OVASSERT(mem.getFD() != -1, "getFd is -1"); 157 mRotDataInfo.dst.memory_id = mem.getFD(); 159 mMem.curr().m = mem; 177 ALOGE("Mdp Rot error closing mem"); 223 remap(RotMem::Mem::ROT_NUM_BUFS) [all...] |
/hardware/qcom/display/msm8x26/liboverlay/ |
overlayMdpRot.cpp | 142 OvMem mem; local 144 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 146 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 148 mem.close(); 152 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 153 OVASSERT(mem.getFD() != -1, "getFd is -1"); 155 mRotDataInfo.dst.memory_id = mem.getFD(); 157 mMem.curr().m = mem; 175 ALOGE("Mdp Rot error closing mem"); 221 remap(RotMem::Mem::ROT_NUM_BUFS) [all...] |
overlayMdssRot.cpp | 130 remap(RotMem::Mem::ROT_NUM_BUFS); 144 // if the prev mem is valid, we need to close 150 ALOGE("%s error in closing prev rot mem", __FUNCTION__); 160 OvMem mem; local 161 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 164 if(!mem.open(numbufs, bufsz, isSecure)){ 166 mem.close(); 170 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 171 OVASSERT(mem.getFD() != -1, "getFd is -1"); 173 mRotData.dst_data.memory_id = mem.getFD() [all...] |
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_rwops.h | 87 } mem; member in union:SDL_RWops::__anon60627 105 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size); 106 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size);
|
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_rwops.h | 87 } mem; member in union:SDL_RWops::__anon60652 105 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size); 106 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size);
|