/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::__anon26737 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::__anon62455 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::__anon62480 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/windows/sdl/include/SDL/ |
SDL_rwops.h | 87 } mem; member in union:SDL_RWops::__anon62505 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);
|
/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...] |
/device/lge/mako/camera/QCamera/HAL/wrapper/ |
QualcommCamera.cpp | 123 camera_memory_t mem; member in struct:android::__anon2045 195 LOGE("%s: end in no mem", __func__);
|
/device/lge/mako/camera/ |
QualcommCamera2.cpp | 123 camera_memory_t mem; member in struct:android::__anon2293 205 ALOGE("%s: end in no mem", __func__);
|
/external/chromium_org/chrome/installer/setup/ |
setup_util.cc | 217 void* mem = ::VirtualAllocEx(pi.hProcess, NULL, size, MEM_COMMIT, local 219 if (mem) { 222 pi.hProcess, mem, path.value().c_str(), 237 reinterpret_cast<ULONG_PTR>(mem));
|
/external/chromium_org/courgette/ |
memory_allocator.h | 127 // Returns a pointer to the TempMapping instance that allocated the |mem| 130 static TempMapping* GetMappingFromPtr(void* mem); 194 uint8* mem = reinterpret_cast<uint8*>(ptr); local 195 mem -= sizeof(T); 196 if (mem[0] == HEAP_ALLOCATION) { 197 delete [] mem; 199 DCHECK_EQ(static_cast<uint8>(FILE_ALLOCATION), mem[0]); local 200 TempMapping* mapping = TempMapping::GetMappingFromPtr(mem); 216 uint8* mem = NULL; local 220 mem = new(std::nothrow) uint8[bytes] [all...] |
/external/chromium_org/media/audio/ |
cross_process_notification_unittest.cc | 394 base::SharedMemory mem( 398 base::SharedMemory mem; 399 CHECK(mem.CreateNamed(kSharedMemName, true, kSharedMemSize)); 402 CHECK(mem.Map(kSharedMemSize)); 403 CrudeIpc* ipc = reinterpret_cast<CrudeIpc*>(mem.memory()); 424 base::SharedMemory mem; local 427 ASSERT_TRUE(mem.CreateAndMapAnonymous(kSharedMemSize)); 429 mem.Delete(kSharedMemName); // In case a previous run was unsuccessful. 430 ASSERT_TRUE(mem.CreateNamed(kSharedMemName, false, kSharedMemSize)); 431 ASSERT_TRUE(mem.Map(kSharedMemSize)) [all...] |