/frameworks/compile/linkloader/include/impl/ |
H A D | ELFSectionNoBits.hxx | 32 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { argument 35 if (!result->chunk.allocate(sh->getSize())) { 39 result->sh = sh;
|
H A D | ELFSection.hxx | 36 ELFSectionHeaderTy const *sh) { 39 switch (sh->getType()) { 46 return ELFSectionStrTabTy::read(AR, sh); 49 return ELFSectionSymTabTy::read(AR, owner, sh); 52 return ELFSectionProgBitsTy::read(AR, owner, sh); 55 return ELFSectionNoBitsTy::read(AR, sh); 59 return ELFSectionRelTableTy::read(AR, sh); 34 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh) argument
|
H A D | ELFSectionStrTab.hxx | 31 ELFSectionHeaderTy const *sh) { 34 st->buf.resize(sh->getSize()); 37 st->section_header = sh; 39 AR.seek(sh->getOffset(), true); 40 AR.prologue(sh->getSize()); 41 AR.readBytes(&*st->buf.begin(), sh->getSize()); 42 AR.epilogue(sh->getSize()); 30 read(Archiver &AR, ELFSectionHeaderTy const *sh) argument
|
H A D | ELFSectionHeaderTable.hxx | 56 llvm::OwningPtr<ELFSectionHeaderTy> sh( 59 if (!sh) { 64 tab->table.push_back(sh.take()); 89 ELFSectionHeaderTy *sh = table[i]; local 90 if ( sh ) { 91 name_map[sh->getName()] = sh; 99 typename llvm::StringMap<ELFSectionHeaderTy *>::const_iterator sh = local 101 if (sh == name_map.end()) { 105 return sh [all...] |
H A D | ELFSectionProgBits.hxx | 35 ELFSectionHeaderTy const *sh) { 41 size_t section_size = (sh->getSize() + 3) / 4 * 4; 46 std::string reltab_name(".rel" + std::string(sh->getName())); 75 result->sh = sh; 33 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh) argument
|
H A D | ELFSectionRelTable.hxx | 56 ELFSectionHeaderTy const *sh) { 58 rsl_assert(sh->getType() == SHT_REL || sh->getType() == SHT_RELA); 63 AR.seek(sh->getOffset(), true); 66 size_t size = sh->getSize() / sh->getEntrySize(); 69 if (sh->getType() == SHT_REL) { 70 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelTy>::size); 76 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelaTy>::size); 55 read(Archiver &AR, ELFSectionHeaderTy const *sh) argument
|
H A D | ELFSectionSymTab.hxx | 90 ELFSectionHeaderTy const *sh) { 95 rsl_assert(sh->getEntrySize() == TypeTraits<ELFSymbolTy>::size); 98 AR.seek(sh->getOffset(), true); 101 size_t size = sh->getSize() / sh->getEntrySize(); 88 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh) argument
|
H A D | ELFObject.hxx | 666 ELFSectionHeaderTy *sh = (*shtab)[i]; local 667 if (sh->getType() != SHT_REL && sh->getType() != SHT_RELA) { 674 const char *reltab_name = sh->getName(); 676 if (sh->getType() == SHT_REL) { 709 ELFSectionHeaderTy *sh = (*shtab)[i]; local 710 if (sh->getType() == SHT_PROGBITS || sh->getType() == SHT_NOBITS) {
|
/frameworks/compile/linkloader/include/ |
H A D | ELFSectionBits.h | 29 ELFSectionHeader<Bitwidth> const *sh; member in class:ELFSectionBits 33 ELFSectionBits() : sh(NULL) { }
|
H A D | ELFSectionProgBits.h | 38 ELFSectionHeaderTy const *sh); 67 ELFSectionHeaderTy const *sh = this->sh; local 70 AR.seek(sh->getOffset(), true); 71 AR.prologue(sh->getSize()); 72 AR.readBytes(chunk.getBuffer(), sh->getSize()); 73 AR.epilogue(sh->getSize());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 314 SurfaceHolder sh = getSurfaceHolder(); 315 final Rect frame = sh.getSurfaceFrame(); 382 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) { 383 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels); 386 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels); 427 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int x, int y) { argument 428 Canvas c = sh.lockCanvas(); 447 sh.unlockCanvasAndPost(c); 452 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 453 if (!initGL(sh)) retur [all...] |
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 285 float sh = rsc->getHeight(); local 287 SC_DrawQuad(x, sh - y, z, 288 x+w, sh - y, z, 289 x+w, sh - (y+h), z, 290 x, sh - (y+h), z);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 658 * @param sh the SurfaceHolder to use for video display 660 public void setDisplay(SurfaceHolder sh) { argument 661 mSurfaceHolder = sh; 663 if (sh != null) { 664 surface = sh.getSurface();
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 2607 uint32_t sw, uint32_t sh, 2629 if ((sw > hw_w) || (sh > hw_h)) { 2630 ALOGE("size mismatch (%d, %d) > (%d, %d)", sw, sh, hw_w, hw_h); 2635 sh = (!sh) ? hw_h : sh; 2636 const size_t size = sw * sh * 4; 2637 const bool filtering = sw != hw_w || sh != hw_h; 2639 // ALOGD("screenshot: sw=%d, sh=%d, minZ=%d, maxZ=%d", 2640 // sw, sh, minLayer 2604 captureScreenImplLocked(const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* w, uint32_t* h, PixelFormat* f, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument 2732 captureScreen(const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument 2752 uint32_t sh; member in class:android::MessageCaptureScreen 2757 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* w, uint32_t* h, PixelFormat* f, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument [all...] |