Searched refs:sh (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/compile/linkloader/include/impl/
H A DELFSection.hxx36 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 DELFSectionNoBits.hxx32 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { argument
35 if (!result->chunk.allocate(sh->getSize())) {
39 result->sh = sh;
H A DELFReloc.hxx35 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 DELFSectionBits.hxx32 (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 DELFSectionHeaderTable.hxx56 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 DELFSectionStrTab.hxx31 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 DELFSectionHeader.hxx44 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 DELFSectionRelTable.hxx56 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 DELFSectionProgBits.hxx35 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 DELFSectionSymTab.hxx90 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 DELFSymbol.hxx54 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 DELFObject.hxx669 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 DELFSectionProgBits.h38 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 DELFSectionBits.h29 ELFSectionHeader<Bitwidth> const *sh; member in class:ELFSectionBits
33 ELFSectionBits() : sh(NULL) { }
H A DELFSectionNoBits.h32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
H A DELFSectionStrTab.h39 static ELFSectionStrTab *read(Archiver &AR, ELFSectionHeaderTy const *sh);
H A DELFSectionRelTable.h43 static ELFSectionRelTable *read(Archiver &AR, ELFSectionHeaderTy const *sh);
H A DELFSectionSymTab.h44 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh);
/frameworks/base/tests/backup/
H A Dbackup_stress_test.sh36 ./test_backup.sh "$@" 2>&1
42 ./test_restore.sh "$@" 2>&1 || failed=1
H A Dtest_backup.sh19 source test_backup_common.sh
H A Dtest_restore.sh19 source test_backup_common.sh
/frameworks/base/native/
H A Dcopy-to-ndk.sh51 sh $ANDROID_BUILD_TOP/ndk/build/tools/build-platforms.sh
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java314 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 DScaleDrawable.java96 float sh = getPercent(a, com.android.internal.R.styleable.ScaleDrawable_scaleHeight);
119 mScaleState.mScaleHeight = sh;
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2650 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...]

Completed in 3421 milliseconds

12