Home
last modified time | relevance | path

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

1234567891011

/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 …]
/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DAttributeSetBuilderTest.java10 import android.util.AttributeSet;
29 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnTheResourceValue()
39 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValueWithLeadingWhitespace_shouldReturnTheResourceValue()
49 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId()
59 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getSystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId()
69 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in shouldCopeWithDefiningLocalIds()
79 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_withNamespace_shouldReturnTheResourceValue()
89 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull()
99 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet()
108 AttributeSet roboAttributeSet = Robolectric.buildAttributeSet() in getAttributeBooleanValue_shouldGetBooleanValuesFromAttributes()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DAttributes.h205 class AttributeSet {
217 explicit AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {} in AttributeSet() function
221 AttributeSet() = default;
222 AttributeSet(const AttributeSet &) = default;
223 ~AttributeSet() = default;
225 static AttributeSet get(LLVMContext &C, const AttrBuilder &B);
226 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs);
228 bool operator==(const AttributeSet &O) const { return SetNode == O.SetNode; }
229 bool operator!=(const AttributeSet &O) const { return !(*this == O); }
233 AttributeSet addAttribute(LLVMContext &C, Attribute::AttrKind Kind) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp511 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
512 return AttributeSet(AttributeSetNode::get(C, B)); in get()
515 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
516 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get()
519 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
524 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
527 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
531 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
534 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
535 const AttributeSet AS) const { in addAttributes()
[all …]
DAttributeImpl.h209 using IndexAttrPair = std::pair<unsigned, AttributeSet>;
217 private TrailingObjects<AttributeListImpl, AttributeSet> {
228 size_t numTrailingObjects(OverloadToken<AttributeSet>) { return NumAttrSets; } in numTrailingObjects() argument
231 AttributeListImpl(LLVMContext &C, ArrayRef<AttributeSet> Sets);
248 using iterator = const AttributeSet *;
250 iterator begin() const { return getTrailingObjects<AttributeSet>(); } in begin()
254 static void Profile(FoldingSetNodeID &ID, ArrayRef<AttributeSet> Nodes);
/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;
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp23 AttributeSet FnAttrs = AttributeSet::get( in TEST()
25 AttributeSet RetAttrs; // None in TEST()
26 AttributeSet ArgAttrs[2] = { in TEST()
27 AttributeSet::get(Context, in TEST()
29 AttributeSet::get(Context, AttrBuilder().addAttribute(Attribute::ByVal)), in TEST()
/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 …]
/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/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/setupdesign/main/src/com/google/android/setupdesign/items/
DSimpleInflater.java22 import android.util.AttributeSet;
86 final AttributeSet attrs = Xml.asAttributeSet(parser); in inflate()
121 protected abstract T onCreateItem(String tagName, AttributeSet attrs); in onCreateItem()
123 private T createItemFromTag(String name, AttributeSet attrs) { in createItemFromTag()
142 private void rInflate(XmlPullParser parser, T parent, final AttributeSet attrs) in rInflate()
184 protected boolean onInterceptCreateItem(XmlPullParser parser, T parent, AttributeSet attrs) in onInterceptCreateItem()
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieView.java11 import android.util.AttributeSet;
25 public SkottieView(Context context, AttributeSet attrs) { in SkottieView()
30 public SkottieView(Context context, AttributeSet attrs, int defStyleAttr) { in SkottieView()
35 public SkottieView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in SkottieView()
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieView.java11 import android.util.AttributeSet;
25 public SkottieView(Context context, AttributeSet attrs) { in SkottieView()
30 public SkottieView(Context context, AttributeSet attrs, int defStyleAttr) { in SkottieView()
35 public SkottieView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in SkottieView()
/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()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DCheckableLinearLayout.java23 import android.util.AttributeSet;
40 public CheckableLinearLayout(Context context, @Nullable AttributeSet attrs) { in CheckableLinearLayout()
45 public CheckableLinearLayout(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in CheckableLinearLayout()
51 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CheckableLinearLayout()

1234567891011