Home
last modified time | relevance | path

Searched refs:AttributeSet (Results 1 – 25 of 172) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h203 class AttributeSet {
224 static AttributeSet get(LLVMContext &C,
226 static AttributeSet get(LLVMContext &C,
230 static AttributeSet getImpl(LLVMContext &C,
234 explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {} in AttributeSet() function
237 AttributeSet() : pImpl(nullptr) {} in AttributeSet() function
244 static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs);
245 static AttributeSet get(LLVMContext &C, unsigned Index,
247 static AttributeSet get(LLVMContext &C, unsigned Index,
249 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B);
[all …]
DFunction.h66 AttributeSet AttributeSets; ///< Parameter attributes
172 AttributeSet getAttributes() const { return AttributeSets; } in getAttributes()
175 void setAttributes(AttributeSet Attrs) { AttributeSets = Attrs; } in setAttributes()
179 addAttribute(AttributeSet::FunctionIndex, Kind); in addFnAttr()
184 addAttribute(AttributeSet::FunctionIndex,
189 addAttribute(AttributeSet::FunctionIndex, Attr); in addFnAttr()
194 removeAttribute(AttributeSet::FunctionIndex, Kind); in removeFnAttr()
200 getContext(), AttributeSet::FunctionIndex, Kind)); in removeFnAttr()
231 return getAttribute(AttributeSet::FunctionIndex, Kind); in getFnAttribute()
234 return getAttribute(AttributeSet::FunctionIndex, Kind); in getFnAttribute()
[all …]
DArgument.h127 void addAttr(AttributeSet AS);
130 addAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in addAttr()
134 void removeAttr(AttributeSet AS);
137 removeAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in removeAttr()
/external/llvm/include/llvm/IR/
DAttributes.h203 class AttributeSet {
223 static AttributeSet get(LLVMContext &C,
225 static AttributeSet get(LLVMContext &C,
229 static AttributeSet getImpl(LLVMContext &C,
233 explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {} in AttributeSet() function
236 AttributeSet() : pImpl(nullptr) {} in AttributeSet() function
243 static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs);
244 static AttributeSet get(LLVMContext &C, unsigned Index,
246 static AttributeSet get(LLVMContext &C, unsigned Index,
248 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B);
[all …]
DFunction.h58 AttributeSet AttributeSets; ///< Parameter attributes
163 AttributeSet getAttributes() const { return AttributeSets; }
166 void setAttributes(AttributeSet Attrs) { AttributeSets = Attrs; }
171 AttributeSet::FunctionIndex, N));
177 getContext(), AttributeSet::FunctionIndex, Kind));
184 AttributeSet::FunctionIndex, Kind));
189 AttributeSet::FunctionIndex, Kind, Value));
203 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
208 return getAttribute(AttributeSet::FunctionIndex, Kind);
211 return getAttribute(AttributeSet::FunctionIndex, Kind);
[all …]
DArgument.h127 void addAttr(AttributeSet AS);
130 addAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in addAttr()
134 void removeAttr(AttributeSet AS);
137 removeAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in removeAttr()
/external/llvm/lib/IR/
DAttributes.cpp682 AttributeSet(const_cast<AttributeSetImpl *>(this)).dump(); in dump()
689 AttributeSet
690 AttributeSet::getImpl(LLVMContext &C, in getImpl()
710 return AttributeSet(PA); in getImpl()
713 AttributeSet AttributeSet::get(LLVMContext &C, in get()
717 return AttributeSet(); in get()
748 AttributeSet AttributeSet::get(LLVMContext &C, in get()
753 return AttributeSet(); in get()
758 AttributeSet AttributeSet::get(LLVMContext &C, unsigned Index, in get()
761 return AttributeSet(); in get()
[all …]
/external/llvm/unittests/IR/
DAttributesTest.cpp24 AttributeSet ASs[] = { in TEST()
25 AttributeSet::get(C, 1, Attribute::ZExt), in TEST()
26 AttributeSet::get(C, 2, Attribute::SExt) in TEST()
29 AttributeSet SetA = AttributeSet::get(C, ASs); in TEST()
30 AttributeSet SetB = AttributeSet::get(C, ASs); in TEST()
46 AttributeSet ASs[] = { in TEST()
47 AttributeSet::get(C, 2, Attribute::ZExt), in TEST()
48 AttributeSet::get(C, 1, Attribute::SExt) in TEST()
51 AttributeSet SetA = AttributeSet::get(C, ASs); in TEST()
52 AttributeSet SetB = SetA.removeAttributes(C, 1, ASs[1]); in TEST()
/external/llvm/bindings/go/llvm/
DIRBindings.cpp26 const AttributeSet PAL = Func->getAttributes(); in LLVMAddFunctionAttr2()
28 const AttributeSet PALnew = in LLVMAddFunctionAttr2()
29 PAL.addAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMAddFunctionAttr2()
30 AttributeSet::get(Func->getContext(), in LLVMAddFunctionAttr2()
31 AttributeSet::FunctionIndex, B)); in LLVMAddFunctionAttr2()
37 const AttributeSet PAL = Func->getAttributes(); in LLVMGetFunctionAttr2()
38 return PAL.Raw(AttributeSet::FunctionIndex); in LLVMGetFunctionAttr2()
43 const AttributeSet PAL = Func->getAttributes(); in LLVMRemoveFunctionAttr2()
45 const AttributeSet PALnew = in LLVMRemoveFunctionAttr2()
46 PAL.removeAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMRemoveFunctionAttr2()
[all …]
/external/emma/core/java12/com/vladium/emma/report/html/doc/
DAttributeSet.java22 abstract class AttributeSet implements IContent class
26 public static AttributeSet create () in create()
37 public abstract AttributeSet set (Attribute attr, String value); in set()
38 public abstract AttributeSet set (Attribute attr, int value); in set()
45 AttributeSet () {} in AttributeSet() method in AttributeSet
50 private static final class AttributeSetImpl extends AttributeSet
88 public AttributeSet set (final Attribute attr, final String value) // null removes? in set()
95 public AttributeSet set (final Attribute attr, final int value) in set()
DISimpleElement.java24 AttributeSet getAttributes (); in getAttributes()
30 return new SimpleElementImpl (tag, AttributeSet.create ()); in create()
33 public static ISimpleElement create (final Tag tag, final AttributeSet attrs) in create()
60 public AttributeSet getAttributes () in getAttributes()
79 SimpleElementImpl (final Tag tag, final AttributeSet attrs) in SimpleElementImpl()
90 protected final AttributeSet m_attrs;
DHTMLTable.java34 super (Tag.TABLE, AttributeSet.create ()); in HTMLTable()
36 final AttributeSet attrs = getAttributes (); in HTMLTable()
99 super (tag, AttributeSet.create ()); in Cell()
118 super (Tag.TR, AttributeSet.create ()); in Row()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DEditTextTest.java16 import android.util.AttributeSet;
33 AttributeSet attrs = attributeSetWithMaxLength(maxLength); in givenInitializingWithAttributeSet_whenMaxLengthDefined_thenRestrictTextLengthToMaxLength()
44 AttributeSet attrs = attributeSetWithoutMaxLength(); in givenInitializingWithAttributeSet_whenMaxLengthNotDefined_thenTextLengthShouldHaveNoRestrictions()
80 private AttributeSet attributeSetWithMaxLength(int maxLength) { in attributeSetWithMaxLength()
81 AttributeSet attrs = mock(AttributeSet.class); in attributeSetWithMaxLength()
86 private AttributeSet attributeSetWithoutMaxLength() { in attributeSetWithoutMaxLength()
87 AttributeSet attrs = mock(AttributeSet.class); in attributeSetWithoutMaxLength()
DDialogPreferenceTest.java6 import android.util.AttributeSet;
48 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
65 public TestDialogPreference(Context context, AttributeSet attrs, int defStyle) { in TestDialogPreference()
69 public TestDialogPreference(Context context, AttributeSet attrs) { in TestDialogPreference()
/external/llvm/docs/
DHowToUseAttributes.rst41 ``AttributeSet``
44 The ``AttributeSet`` class replaces the old ``AttributeList`` class. The
45 ``AttributeSet`` stores a collection of Attribute objects for each kind of
48 are at index ``AttributeSet::FunctionIndex``; the return type's attributes are
49 at index ``AttributeSet::ReturnIndex``; and the function's parameters'
51 Most methods on the ``AttributeSet`` class take an index parameter.
53 An ``AttributeSet`` is also a uniqued and immutable object. You create an
54 ``AttributeSet`` through the ``AttributeSet::get`` methods. You can add and
55 remove attributes, which result in the creation of a new ``AttributeSet``.
57 An ``AttributeSet`` object is designed to be passed around by value.
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h131 AttributeSet Attr = in getVoidRetI8XEntryPoint()
132 AttributeSet().addAttribute(C, AttributeSet::FunctionIndex, in getVoidRetI8XEntryPoint()
149 AttributeSet Attr = AttributeSet();
152 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex,
168 AttributeSet Attr = in getI8XRetI8XXI8XEntryPoint()
169 AttributeSet().addAttribute(C, AttributeSet::FunctionIndex, in getI8XRetI8XXI8XEntryPoint()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.h39 class AttributeSet; variable
105 typedef DenseMap<AttributeSet, unsigned> AttributeGroupMapType;
107 std::vector<AttributeSet> AttributeGroups;
109 typedef DenseMap<AttributeSet, unsigned> AttributeMapType;
111 std::vector<AttributeSet> Attribute;
169 unsigned getAttributeID(AttributeSet PAL) const { in getAttributeID()
176 unsigned getAttributeGroupID(AttributeSet PAL) const { in getAttributeGroupID()
209 const std::vector<AttributeSet> &getAttributes() const { in getAttributes()
212 const std::vector<AttributeSet> &getAttributeGroups() const { in getAttributeGroups()
286 void EnumerateAttributes(AttributeSet PAL);
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp169 AttributeSet PAL = CS.getAttributes(); in DeleteDeadVarargs()
171 SmallVector<AttributeSet, 8> AttributesVec; in DeleteDeadVarargs()
174 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in DeleteDeadVarargs()
175 AttributesVec.push_back(AttributeSet::get(Fn.getContext(), in DeleteDeadVarargs()
177 PAL = AttributeSet::get(Fn.getContext(), AttributesVec); in DeleteDeadVarargs()
684 SmallVector<AttributeSet, 8> AttributesVec; in RemoveDeadStuffFromFunction()
685 const AttributeSet &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
707 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); in RemoveDeadStuffFromFunction()
782 AttributeSet RAttrs = PAL.getRetAttributes(); in RemoveDeadStuffFromFunction()
790 AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction()
[all …]
DArgumentPromotion.cpp663 SmallVector<AttributeSet, 8> AttributesVec; in DoPromotion()
664 const AttributeSet &PAL = F->getAttributes(); in DoPromotion()
667 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion()
668 AttributesVec.push_back(AttributeSet::get(F->getContext(), in DoPromotion()
684 AttributeSet attrs = PAL.getParamAttributes(ArgIndex); in DoPromotion()
688 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); in DoPromotion()
745 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in DoPromotion()
746 AttributesVec.push_back(AttributeSet::get(FTy->getContext(), in DoPromotion()
767 NF->setAttributes(AttributeSet::get(F->getContext(), AttributesVec)); in DoPromotion()
784 const AttributeSet &CallPAL = CS.getAttributes(); in DoPromotion()
[all …]
/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp23 SmallVector<AttributeSet, 4> Attrs; in TEST()
25 AttributeSet::get(MB.getModule()->getContext(), 1U, in TEST()
28 AttributeSet::get(MB.getModule()->getContext(), 2U, in TEST()
31 AttributeSet::get(MB.getModule()->getContext(), ~0U, in TEST()
33 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs)); in TEST()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DVolumePreference.java22 import android.util.AttributeSet;
35 public VolumePreference(Context context, AttributeSet attrs) { in VolumePreference()
41 public VolumePreference(Context context, AttributeSet attrs, int defStyle) { in VolumePreference()
47 private void setupLayout(Context context, AttributeSet attrs) { in setupLayout()
DHelpTopicView.java21 import android.util.AttributeSet;
31 public HelpTopicView(Context context, AttributeSet attrs, int defStyle) { in HelpTopicView()
36 public HelpTopicView(Context context, AttributeSet attrs) { in HelpTopicView()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreference.java6 import android.util.AttributeSet;
18 protected AttributeSet attrs;
39 public void __constructor__(Context context, AttributeSet attributeSet) { in __constructor__()
43 public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) { in __constructor__()
58 public AttributeSet getAttrs() { in getAttrs()
/external/replicaisland/src/com/replica/replicaisland/
DYesNoDialogPreference.java21 import android.util.AttributeSet;
30 public YesNoDialogPreference(Context context, AttributeSet attrs) { in YesNoDialogPreference()
35 public YesNoDialogPreference(Context context, AttributeSet attrs, in YesNoDialogPreference()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DCatchEventsEditText.java20 import android.util.AttributeSet;
42 public CatchEventsEditText(Context context, AttributeSet attrs) { in CatchEventsEditText()
47 public CatchEventsEditText(Context context, AttributeSet attrs, int defStyleAttr) { in CatchEventsEditText()

1234567