Home
last modified time | relevance | path

Searched refs:sh (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/compile/linkloader/include/impl/
DELFReloc.hxx35 llvm::OwningPtr<ELFRelocTy> sh(new ELFRelocTy()); in readRela() local
37 if (!sh->serializeRela(AR)) { in readRela()
42 if (!sh->isValid()) { in readRela()
48 sh->index = index; in readRela()
50 return sh.take(); in readRela()
63 llvm::OwningPtr<ELFRelocTy> sh(new ELFRelocTy()); in readRel() local
65 sh->r_addend = 0; in readRel()
66 if (!sh->serializeRel(AR)) { in readRel()
70 if (!sh->isValid()) { in readRel()
76 sh->index = index; in readRel()
[all …]
DELFSection.hxx36 ELFSectionHeaderTy const *sh) { in read() argument
39 switch (sh->getType()) { in read()
46 return ELFSectionStrTabTy::read(AR, sh); in read()
49 return ELFSectionSymTabTy::read(AR, owner, sh); in read()
52 return ELFSectionProgBitsTy::read(AR, owner, sh); in read()
55 return ELFSectionNoBitsTy::read(AR, sh); in read()
59 return ELFSectionRelTableTy::read(AR, sh); in read()
DELFSectionHeaderTable.hxx56 llvm::OwningPtr<ELFSectionHeaderTy> sh( in read() local
59 if (!sh) { in read()
64 tab->table.push_back(sh.take()); in read()
89 ELFSectionHeaderTy *sh = table[i]; in buildNameMap() local
90 if ( sh ) { in buildNameMap()
91 name_map[sh->getName()] = sh; in buildNameMap()
99 typename llvm::StringMap<ELFSectionHeaderTy *>::const_iterator sh = in getByName() local
101 if (sh == name_map.end()) { in getByName()
105 return sh->getValue(); in getByName()
DELFSectionStrTab.hxx31 ELFSectionHeaderTy const *sh) { in read() argument
34 st->buf.resize(sh->getSize()); in read()
37 st->section_header = sh; in read()
39 AR.seek(sh->getOffset(), true); in read()
40 AR.prologue(sh->getSize()); in read()
41 AR.readBytes(&*st->buf.begin(), sh->getSize()); in read()
42 AR.epilogue(sh->getSize()); in read()
DELFSectionRelTable.hxx56 ELFSectionHeaderTy const *sh) { in read() argument
58 rsl_assert(sh->getType() == SHT_REL || sh->getType() == SHT_RELA); in read()
63 AR.seek(sh->getOffset(), true); in read()
66 size_t size = sh->getSize() / sh->getEntrySize(); in read()
69 if (sh->getType() == SHT_REL) { in read()
70 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelTy>::size); in read()
76 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelaTy>::size); in read()
DELFSectionHeader.hxx44 llvm::OwningPtr<ELFSectionHeaderTy> sh(new ELFSectionHeaderTy()); in read() local
46 if (!sh->serialize(AR)) { in read()
51 if (!sh->isValid()) { in read()
57 sh->index = index; in read()
60 sh->owner = owner; in read()
62 return sh.take(); in read()
DELFSectionBits.hxx32 (sh->getType() == SHT_NOBITS) ? "NOBITS" : "PROGBITS"; in print()
36 out() << "ELF " << section_type_str << ": " << sh->getName() << '\n'; in print()
40 out() << " Size : " << sh->getSize() << '\n'; in print()
53 if (sh->getFlags() & SHF_WRITE) { in protect()
57 if (sh->getFlags() & SHF_EXECINSTR) { in protect()
DELFSectionNoBits.hxx32 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { in read() argument
35 if (!result->chunk.allocate(sh->getSize())) { in read()
39 result->sh = sh; in read()
DELFSectionProgBits.hxx35 ELFSectionHeaderTy const *sh) { in read() argument
41 size_t section_size = (sh->getSize() + 3) / 4 * 4; in read()
46 std::string reltab_name(".rel" + std::string(sh->getName())); in read()
75 result->sh = sh; in read()
DELFSectionSymTab.hxx90 ELFSectionHeaderTy const *sh) { in read() argument
95 rsl_assert(sh->getEntrySize() == TypeTraits<ELFSymbolTy>::size); in read()
98 AR.seek(sh->getOffset(), true); in read()
101 size_t size = sh->getSize() / sh->getEntrySize(); in read()
DELFSymbol.hxx54 llvm::OwningPtr<ELFSymbolTy> sh(new ELFSymbolTy()); in read() local
56 if (!sh->serialize(AR)) { in read()
61 if (!sh->isValid()) { in read()
67 sh->index = index; in read()
70 sh->owner = owner; in read()
72 return sh.take(); in read()
DELFObject.hxx666 ELFSectionHeaderTy *sh = (*shtab)[i]; in relocate() local
667 if (sh->getType() != SHT_REL && sh->getType() != SHT_RELA) { in relocate()
674 const char *reltab_name = sh->getName(); in relocate()
676 if (sh->getType() == SHT_REL) { in relocate()
709 ELFSectionHeaderTy *sh = (*shtab)[i]; in relocate() local
710 if (sh->getType() == SHT_PROGBITS || sh->getType() == SHT_NOBITS) { in relocate()
/frameworks/compile/linkloader/include/
DELFSectionProgBits.h38 ELFSectionHeaderTy const *sh);
67 ELFSectionHeaderTy const *sh = this->sh; in serialize() local
70 AR.seek(sh->getOffset(), true); in serialize()
71 AR.prologue(sh->getSize()); in serialize()
72 AR.readBytes(chunk.getBuffer(), sh->getSize()); in serialize()
73 AR.epilogue(sh->getSize()); in serialize()
DELFSectionBits.h29 ELFSectionHeader<Bitwidth> const *sh;
33 ELFSectionBits() : sh(NULL) { } in ELFSectionBits()
DELFSectionNoBits.h32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
/frameworks/compile/mclinker/scripts/bin/
Dadd_class63 1 ) source ${MCLINKERTOP}/scripts/normal_files.sh;
66 2 ) source ${MCLINKERTOP}/scripts/test_files.sh;
113 source ${MCLINKERTOP}/scripts/target_files.sh;
116 source ${MCLINKERTOP}/scripts/target_files.sh;
119 source ${MCLINKERTOP}/scripts/target_files.sh;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java297 SurfaceHolder sh = getSurfaceHolder(); in drawFrameLocked()
298 final Rect frame = sh.getSurfaceFrame(); in drawFrameLocked()
320 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) { in drawFrameLocked()
321 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels); in drawFrameLocked()
324 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels); in drawFrameLocked()
365 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int x, int y) {
366 Canvas c = sh.lockCanvas();
384 sh.unlockCanvasAndPost(c);
389 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) {
390 if (!initGL(sh)) return false;
[all …]
/frameworks/compile/mclinker/
D.gitignore11 install-sh
12 ltmain.sh
DREADME41 2. source ./scripts/envsetup.sh
44 `./autogen.sh' to generate `configure' script.
/frameworks/base/tests/backup/
Dbackup_stress_test.sh36 ./test_backup.sh "$@" 2>&1
42 ./test_restore.sh "$@" 2>&1 || failed=1
Dtest_backup.sh19 source test_backup_common.sh
/frameworks/base/native/
Dcopy-to-ndk.sh51 sh $ANDROID_BUILD_TOP/ndk/build/tools/build-platforms.sh
/frameworks/rs/
DrsScriptC_LibGL.cpp202 float sh = rsc->getHeight(); in rsrDrawSpriteScreenspace() local
205 x, sh - y, z, in rsrDrawSpriteScreenspace()
206 x+w, sh - y, z, in rsrDrawSpriteScreenspace()
207 x+w, sh - (y+h), z, in rsrDrawSpriteScreenspace()
208 x, sh - (y+h), z); in rsrDrawSpriteScreenspace()
/frameworks/compile/slang/lit-tests/
DREADME11 set (i.e. source build/envsetup.sh; lunch). You must also have on your path:
26 and the helper shell-script rs-filecheck-wrapper.sh, it should be possible to
/frameworks/compile/libbcc/tests/debuginfo/
Dlit.site.cfg72 config.sh = inferTool(lit, 'bash', 'BASH', config.environment['PATH'])
82 config.build_test_apk = inferTool(lit, 'build_test_apk.sh',
98 lit.note('using bash: %r' % config.sh)

12