/frameworks/compile/linkloader/include/impl/ |
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 | 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 | ELFReloc.hxx | 35 llvm::OwningPtr<ELFRelocTy> sh(new ELFRelocTy()); 37 if (!sh->serializeRela(AR)) { 42 if (!sh->isValid()) { 48 sh->index = index; 50 return sh.take(); 63 llvm::OwningPtr<ELFRelocTy> sh(new ELFRelocTy()); 65 sh->r_addend = 0; 66 if (!sh->serializeRel(AR)) { 70 if (!sh->isValid()) { 76 sh [all...] |
H A D | ELFSectionBits.hxx | 32 (sh->getType() == SHT_NOBITS) ? "NOBITS" : "PROGBITS"; 36 out() << "ELF " << section_type_str << ": " << sh->getName() << '\n'; 40 out() << " Size : " << sh->getSize() << '\n'; 53 if (sh->getFlags() & SHF_WRITE) { 57 if (sh->getFlags() & SHF_EXECINSTR) {
|
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 | 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 | ELFSectionHeader.hxx | 44 llvm::OwningPtr<ELFSectionHeaderTy> sh(new ELFSectionHeaderTy()); 46 if (!sh->serialize(AR)) { 51 if (!sh->isValid()) { 57 sh->index = index; 60 sh->owner = owner; 62 return sh.take();
|
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 | 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 | 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 | ELFSymbol.hxx | 54 llvm::OwningPtr<ELFSymbolTy> sh(new ELFSymbolTy()); 56 if (!sh->serialize(AR)) { 61 if (!sh->isValid()) { 67 sh->index = index; 70 sh->owner = owner; 72 return sh.take();
|
H A D | ELFObject.hxx | 669 ELFSectionHeaderTy *sh = (*shtab)[i]; local 670 if (sh->getType() != SHT_REL && sh->getType() != SHT_RELA) { 677 const char *reltab_name = sh->getName(); 679 if (sh->getType() == SHT_REL) { 712 ELFSectionHeaderTy *sh = (*shtab)[i]; local 713 if (sh->getType() == SHT_PROGBITS || sh->getType() == SHT_NOBITS) {
|
/frameworks/compile/linkloader/include/ |
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());
|
H A D | ELFSectionBits.h | 29 ELFSectionHeader<Bitwidth> const *sh; member in class:ELFSectionBits 33 ELFSectionBits() : sh(NULL) { }
|
H A D | ELFSectionNoBits.h | 32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
H A D | ELFSectionStrTab.h | 39 static ELFSectionStrTab *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
H A D | ELFSectionRelTable.h | 43 static ELFSectionRelTable *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
H A D | ELFSectionSymTab.h | 44 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh);
|
/frameworks/base/tests/backup/ |
H A D | backup_stress_test.sh | 36 ./test_backup.sh "$@" 2>&1 42 ./test_restore.sh "$@" 2>&1 || failed=1
|
H A D | test_backup.sh | 19 source test_backup_common.sh
|
H A D | test_restore.sh | 19 source test_backup_common.sh
|
/frameworks/base/native/ |
H A D | copy-to-ndk.sh | 51 sh $ANDROID_BUILD_TOP/ndk/build/tools/build-platforms.sh
|
/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/base/graphics/java/android/graphics/drawable/ |
H A D | ScaleDrawable.java | 96 float sh = getPercent(a, com.android.internal.R.styleable.ScaleDrawable_scaleHeight); 119 mScaleState.mScaleHeight = sh;
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 2650 uint32_t sw, uint32_t sh, 2672 if ((sw > hw_w) || (sh > hw_h)) { 2673 ALOGE("size mismatch (%d, %d) > (%d, %d)", sw, sh, hw_w, hw_h); 2678 sh = (!sh) ? hw_h : sh; 2679 const size_t size = sw * sh * 4; 2680 const bool filtering = sw != hw_w || sh != hw_h; 2682 // ALOGD("screenshot: sw=%d, sh=%d, minZ=%d, maxZ=%d", 2683 // sw, sh, minLayer 2647 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 2775 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 2795 uint32_t sh; member in class:android::MessageCaptureScreen 2800 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...] |