Home
last modified time | relevance | path

Searched refs:Layout (Results 1 – 25 of 179) sorted by relevance

12345678

/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DValue.java20 import com.badlogic.gdx.scenes.scene2d.utils.Layout;
49 if (context instanceof Layout) return ((Layout)context).getMinWidth();
57 if (context instanceof Layout) return ((Layout)context).getMinHeight();
65 if (context instanceof Layout) return ((Layout)context).getPrefWidth();
74 if (context instanceof Layout) return ((Layout)context).getPrefHeight();
82 if (context instanceof Layout) return ((Layout)context).getMaxWidth();
90 if (context instanceof Layout) return ((Layout)context).getMaxHeight();
DSplitPane.java28 import com.badlogic.gdx.scenes.scene2d.utils.Layout;
154 if (firstWidget instanceof Layout) ((Layout)firstWidget).validate(); in layout()
160 if (secondWidget instanceof Layout) ((Layout)secondWidget).validate(); in layout()
166 …float first = firstWidget == null ? 0 : (firstWidget instanceof Layout ? ((Layout)firstWidget).get… in getPrefWidth()
168 …float second = secondWidget == null ? 0 : (secondWidget instanceof Layout ? ((Layout)secondWidget)… in getPrefWidth()
176 …float first = firstWidget == null ? 0 : (firstWidget instanceof Layout ? ((Layout)firstWidget).get… in getPrefHeight()
178 …float second = secondWidget == null ? 0 : (secondWidget instanceof Layout ? ((Layout)secondWidget)… in getPrefHeight()
DWidgetGroup.java24 import com.badlogic.gdx.scenes.scene2d.utils.Layout;
37 public class WidgetGroup extends Group implements Layout {
85 if (actor instanceof Layout) in setLayoutEnabled()
86 ((Layout)actor).setLayoutEnabled(enabled); in setLayoutEnabled()
130 if (parent instanceof Layout) ((Layout)parent).invalidateHierarchy(); in invalidateHierarchy()
DStack.java32 import com.badlogic.gdx.scenes.scene2d.utils.Layout;
75 if (child instanceof Layout) { in computeSize()
76 Layout layout = (Layout)child; in computeSize()
107 if (child instanceof Layout) ((Layout)child).validate(); in layout()
DVerticalGroup.java21 import com.badlogic.gdx.scenes.scene2d.utils.Layout;
57 if (child instanceof Layout) { in computeSize()
58 Layout layout = (Layout)child; in computeSize()
84 Layout layout = null; in layout()
85 if (child instanceof Layout) { in layout()
86 layout = (Layout)child; in layout()
DHorizontalGroup.java21 import com.badlogic.gdx.scenes.scene2d.utils.Layout;
61 if (child instanceof Layout) { in computeSize()
62 Layout layout = (Layout)child; in computeSize()
88 Layout layout = null; in layout()
89 if (child instanceof Layout) { in layout()
90 layout = (Layout)child; in layout()
/external/llvm/lib/MC/
DMCAssembler.cpp121 static bool getLabelOffset(const MCAsmLayout &Layout, const MCSymbol &S, in getLabelOffset() argument
129 Val = Layout.getFragmentOffset(S.getFragment()) + S.getOffset(); in getLabelOffset()
133 static bool getSymbolOffsetImpl(const MCAsmLayout &Layout, const MCSymbol &S, in getSymbolOffsetImpl() argument
136 return getLabelOffset(Layout, S, ReportError, Val); in getSymbolOffsetImpl()
140 if (!S.getVariableValue()->evaluateAsValue(Target, Layout)) in getSymbolOffsetImpl()
149 if (!getLabelOffset(Layout, A->getSymbol(), ReportError, ValA)) in getSymbolOffsetImpl()
157 if (!getLabelOffset(Layout, B->getSymbol(), ReportError, ValB)) in getSymbolOffsetImpl()
437 bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout, in evaluateFixup() argument
446 if (!Expr->evaluateAsRelocatable(Target, &Layout, &Fixup)) { in evaluateFixup()
482 Value += Layout.getSymbolOffset(Sym); in evaluateFixup()
[all …]
DMCExpr.cpp422 const MCAsmLayout &Layout) const { in evaluateAsAbsolute()
423 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr); in evaluateAsAbsolute()
427 const MCAsmLayout &Layout, in evaluateAsAbsolute() argument
429 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in evaluateAsAbsolute()
437 const MCAsmLayout &Layout) const { in evaluateKnownAbsolute()
438 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, in evaluateKnownAbsolute()
443 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument
448 return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs); in evaluateAsAbsolute()
452 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument
463 evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet); in evaluateAsAbsolute()
[all …]
DMachObjectWriter.cpp68 const MCAsmLayout &Layout) const { in getFragmentAddress()
70 Layout.getFragmentOffset(Fragment); in getFragmentAddress()
74 const MCAsmLayout &Layout) const { in getSymbolAddress()
82 if (!S.getVariableValue()->evaluateAsRelocatable(Target, &Layout, nullptr)) in getSymbolAddress()
96 Address += getSymbolAddress(Target.getSymA()->getSymbol(), Layout); in getSymbolAddress()
98 Address += getSymbolAddress(Target.getSymB()->getSymbol(), Layout); in getSymbolAddress()
103 Layout.getSymbolOffset(S); in getSymbolAddress()
107 const MCAsmLayout &Layout) const { in getPaddingSize()
108 uint64_t EndAddr = getSectionAddress(Sec) + Layout.getSectionAddressSize(Sec); in getPaddingSize()
110 if (Next >= Layout.getSectionOrder().size()) in getPaddingSize()
[all …]
DELFObjectWriter.cpp74 static uint64_t SymbolValue(const MCSymbol &Sym, const MCAsmLayout &Layout);
75 static bool isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol,
171 ELFSymbolData &MSD, const MCAsmLayout &Layout);
182 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
195 void computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout,
206 const MCAsmLayout &Layout) override;
208 void writeSectionHeader(const MCAsmLayout &Layout,
213 const MCAsmLayout &Layout);
230 void writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
362 const MCAsmLayout &Layout) { in SymbolValue() argument
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp30 const MCAsmLayout &Layout,
38 const MCAsmLayout &Layout,
46 const MCAsmLayout &Layout,
52 const MCAsmLayout &Layout,
61 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation() argument
65 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
68 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
98 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
107 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordX86_64Relocation()
109 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in RecordX86_64Relocation()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp37 const MCAsmLayout &Layout, const MCFragment *Fragment,
145 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation() argument
151 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment); in recordRelocation()
224 Layout.getSymbolOffset(*B) == in recordRelocation()
225 Layout.getFragmentOffset(Fragment) + Fixup.getOffset()) { in recordRelocation()
277 Value += (!A->getFragment() ? 0 : Writer->getSymbolAddress(*A, Layout)) - in recordRelocation()
279 *A_Base, Layout)); in recordRelocation()
280 Value -= (!B->getFragment() ? 0 : Writer->getSymbolAddress(*B, Layout)) - in recordRelocation()
282 *B_Base, Layout)); in recordRelocation()
316 Res, Layout, Writer->getSectionAddressMap())) { in recordRelocation()
[all …]
/external/llvm/include/llvm/MC/
DMCMachObjectWriter.h66 const MCAsmLayout &Layout,
140 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
143 const MCAsmLayout &Layout) const;
145 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
175 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
189 void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
222 const MCAsmLayout &Layout,
227 void recordTLVPRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
231 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
245 const MCAsmLayout &Layout);
[all …]
DMCLinkerOptimizationHint.h110 const MCAsmLayout &Layout) const;
126 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const { in emit() argument
128 emit_impl(OutStream, ObjWriter, Layout); in emit()
134 const MCAsmLayout &Layout) const { in getEmitSize() argument
148 emit_impl(OutStream, ObjWriter, Layout); in getEmitSize()
178 const MCAsmLayout &Layout) const { in getEmitSize() argument
181 EmitSize += D.getEmitSize(ObjWriter, Layout); in getEmitSize()
188 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const { in emit() argument
190 D.emit(ObjWriter, Layout); in emit()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp29 const MCAsmLayout &Layout,
35 const MCAsmLayout &Layout,
44 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation() argument
50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
176 static uint32_t getFixupOffset(const MCAsmLayout &Layout, in getFixupOffset() argument
179 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in getFixupOffset()
192 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in recordScatteredRelocation() argument
196 const uint32_t FixupOffset = getFixupOffset(Layout, Fragment, Fixup); in recordScatteredRelocation()
213 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
226 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in recordScatteredRelocation()
[all …]
/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp53 ASanStackFrameLayout *Layout) { in ComputeASanStackFrameLayout() argument
67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
68 SmallVector<uint8_t, 64> &SB(Layout->ShadowBytes); in ComputeASanStackFrameLayout()
81 assert(Layout->FrameAlignment >= Alignment); in ComputeASanStackFrameLayout()
104 Layout->DescriptionString = StackDescription.str(); in ComputeASanStackFrameLayout()
105 Layout->FrameSize = Offset; in ComputeASanStackFrameLayout()
106 assert((Layout->FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout()
107 assert(Layout->FrameSize / Granularity == Layout->ShadowBytes.size()); in ComputeASanStackFrameLayout()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp31 const MCAsmLayout &Layout,
40 const MCAsmLayout &Layout,
55 const MCAsmLayout &Layout, const MCFragment *Fragment,
141 const MCAsmLayout &Layout, in RecordARMScatteredHalfRelocation() argument
146 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredHalfRelocation()
160 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredHalfRelocation()
177 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in RecordARMScatteredHalfRelocation()
245 const MCAsmLayout &Layout, in RecordARMScatteredRelocation() argument
252 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredRelocation()
265 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredRelocation()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
DAMDGPUAsmBackend.cpp26 const MCAsmLayout &Layout) { in ExecutePostLayoutBinding() argument
30 const MCAsmLayout &Layout, in RecordRelocation() argument
37 virtual void WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout);
52 const MCAsmLayout &Layout) const { in fixupNeedsRelaxation()
67 const MCAsmLayout &Layout) { in WriteObject() argument
69 Asm.writeSectionData(I, Layout); in WriteObject()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp142 getFieldOffset(const ASTRecordLayout &Layout, unsigned FieldNo) const { in getFieldOffset() argument
143 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); in getFieldOffset()
192 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl); in ComputeEmptySubobjectSizes() local
195 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
198 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes()
216 const ASTRecordLayout &Layout = Context.getASTRecordLayout(MemberDecl); in ComputeEmptySubobjectSizes() local
219 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
222 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes()
280 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Info->Class); in CanPlaceBaseSubobjectAtOffset() local
285 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in CanPlaceBaseSubobjectAtOffset()
[all …]
DVTTBuilder.cpp67 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); in LayoutSecondaryVTTs() local
69 Layout.getBaseClassOffset(BaseDecl); in LayoutSecondaryVTTs()
114 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); in LayoutSecondaryVirtualPointers() local
117 Layout.getBaseClassOffset(BaseDecl); in LayoutSecondaryVirtualPointers()
119 if (!Layout.isPrimaryBaseVirtual() && in LayoutSecondaryVirtualPointers()
120 Layout.getPrimaryBase() == BaseDecl) in LayoutSecondaryVirtualPointers()
/external/skia/src/views/
DSkViewPriv.cpp57 void SkView::Layout::layoutChildren(SkView* parent) in layoutChildren()
64 void SkView::Layout::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate()
70 void SkView::Layout::onInflate(const SkDOM&, const SkDOM::Node*) in onInflate()
75 SkView::Layout* SkView::getLayout() const in getLayout()
83 SkView::Layout* SkView::setLayout(Layout* obj, bool invokeLayoutNow) in setLayout()
/external/llvm/lib/CodeGen/
DStackProtector.cpp61 return AI ? Layout.lookup(AI) : SSPLK_None; in getSSPLayout()
69 SSPLayoutMap::iterator I = Layout.find(From); in adjustForColoring()
70 if (I != Layout.end()) { in adjustForColoring()
72 Layout.erase(I); in adjustForColoring()
77 I = Layout.find(To); in adjustForColoring()
78 if (I == Layout.end()) in adjustForColoring()
79 Layout.insert(std::make_pair(To, Kind)); in adjustForColoring()
224 Layout.insert(std::make_pair(AI, SSPLK_LargeArray)); in RequiresStackProtector()
228 Layout.insert(std::make_pair(AI, SSPLK_SmallArray)); in RequiresStackProtector()
233 Layout.insert(std::make_pair(AI, SSPLK_LargeArray)); in RequiresStackProtector()
[all …]
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUAsmBackend.cpp29 const MCAsmLayout &Layout) override { in executePostLayoutBinding() argument
32 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation() argument
39 void writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
53 const MCAsmLayout &Layout) const override { in fixupNeedsRelaxation()
68 const MCAsmLayout &Layout) { in writeObject() argument
70 Asm.writeSectionData(&*I, Layout); in writeObject()
/external/deqp/framework/opengl/
DgluVarType.hpp242 struct Layout struct
244Layout (int location_ = -1, int binding_ = -1, int offset_ = -1, FormatLayout format_ = FORMATLA…
246 bool operator== (const Layout& other) const;
247 bool operator!= (const Layout& other) const;
258 …_LAST, Interpolation interpolation_ = INTERPOLATION_LAST, const Layout& layout_ = Layout(), deUint…
263 Layout layout;
275 glu::Layout layout; argument
331 std::ostream& operator<< (std::ostream& str, const Layout& decl);
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp166 return Layout.getFieldOffset(FD->getFieldIndex()); in getFieldBitOffset()
198 const ASTRecordLayout &Layout; member
220 Layout(Types.getContext().getASTRecordLayout(D)), in CGRecordLowering()
263 CharUnits Size = NVBaseType ? Layout.getNonVirtualSize() : Layout.getSize(); in lower()
287 CharUnits LayoutSize = Layout.getSize(); in lowerUnion()
443 if (Layout.isPrimaryBaseVirtual()) { in accumulateBases()
444 const CXXRecordDecl *BaseDecl = Layout.getPrimaryBase(); in accumulateBases()
458 Members.push_back(MemberInfo(Layout.getBaseClassOffset(BaseDecl), in accumulateBases()
464 if (Layout.hasOwnVFPtr()) in accumulateVPtrs()
468 if (Layout.hasOwnVBPtr()) in accumulateVPtrs()
[all …]

12345678