Searched defs:sh (Results 1 - 14 of 14) sorted by relevance

/frameworks/compile/linkloader/include/impl/
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 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 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 DELFSectionProgBits.hxx35 ELFSectionHeaderTy const *sh) {
55 if (!result->chunk.allocate(sh->getSize() + stub_size)) {
59 stubs->initStubTable(result->chunk.getBuffer()+sh->getSize(), func_count);
62 if (!result->chunk.allocate(sh->getSize())) {
67 result->sh = sh;
33 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh) argument
H A DELFSectionRelTable.hxx50 ELFSectionHeaderTy const *sh) {
52 rsl_assert(sh->getType() == SHT_REL || sh->getType() == SHT_RELA);
57 AR.seek(sh->getOffset(), true);
60 size_t size = sh->getSize() / sh->getEntrySize();
63 if (sh->getType() == SHT_REL) {
64 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelTy>::size);
70 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelaTy>::size);
49 read(Archiver &AR, ELFSectionHeaderTy const *sh) argument
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 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 DELFObject.hxx456 ELFSectionHeaderTy *sh = (*shtab)[i]; local
457 if (sh->getType() != SHT_REL && sh->getType() != SHT_RELA) {
464 const char *reltab_name = sh->getName();
466 if (sh->getType() == SHT_REL) {
499 ELFSectionHeaderTy *sh = (*shtab)[i]; local
500 if (sh->getType() == SHT_PROGBITS || sh->getType() == SHT_NOBITS) {
/frameworks/compile/linkloader/include/
H A DELFSectionBits.h29 ELFSectionHeader<Bitwidth> const *sh; member in class:ELFSectionBits
33 ELFSectionBits() : sh(NULL) { }
H A DELFSectionProgBits.h40 ELFSectionHeaderTy const *sh);
51 ELFSectionHeaderTy const *sh = this->sh; local
54 AR.seek(sh->getOffset(), true);
55 AR.prologue(sh->getSize());
56 AR.readBytes(chunk.getBuffer(), sh->getSize());
57 AR.epilogue(sh->getSize());
/frameworks/base/libs/rs/
H A DrsScriptC_LibGL.cpp183 float sh = rsc->getHeight(); local
186 x, sh - y, z,
187 x+w, sh - y, z,
188 x+w, sh - (y+h), z,
189 x, sh - (y+h), z);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java285 SurfaceHolder sh = getSurfaceHolder();
286 final Rect frame = sh.getSurfaceFrame();
314 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) {
315 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels);
318 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels);
359 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int x, int y) { argument
360 Canvas c = sh.lockCanvas();
378 sh.unlockCanvasAndPost(c);
383 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument
384 if (!initGL(sh)) retur
[all...]
/frameworks/base/services/camera/libcameraservice/
H A DFakeCamera.cpp372 uint16_t *sh = &dst[(y+(size/4))*mWidth]; local
375 sh[i] &= shadow;
377 sh += mWidth;
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java623 * @param sh the SurfaceHolder to use for video display
625 public void setDisplay(SurfaceHolder sh) { argument
626 mSurfaceHolder = sh;
628 if (sh != null) {
629 surface = sh.getSurface();

Completed in 191 milliseconds