Home
last modified time | relevance | path

Searched refs:addAttribute (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/antlr/tool/src/main/java/org/antlr/tool/
DRuleLabelScope.java38 addAttribute("text", null);
39 addAttribute("start", null);
40 addAttribute("stop", null);
41 addAttribute("tree", null);
42 addAttribute("st", null);
48 addAttribute("text", null);
49 addAttribute("start", null); // note: no stop; not meaningful
50 addAttribute("tree", null);
51 addAttribute("st", null);
57 addAttribute("text", null);
[all …]
DAttributeScope.java51 tokenScope.addAttribute("text", null);
52 tokenScope.addAttribute("type", null);
53 tokenScope.addAttribute("line", null);
54 tokenScope.addAttribute("index", null);
55 tokenScope.addAttribute("pos", null);
56 tokenScope.addAttribute("channel", null);
57 tokenScope.addAttribute("tree", null);
58 tokenScope.addAttribute("int", null);
138 public void addAttribute(String name, String decl) { in addAttribute() method in AttributeScope
/external/skia/src/svg/
DSkSVGDevice.cpp207 fClipGroup->addAttribute("clip-path",res.fClip); in AutoElement()
215 this->addAttribute("transform", svg_transform(*mc.fMatrix)); in AutoElement()
223 void addAttribute(const char name[], const char val[]) { in addAttribute() function in SkSVGDevice::AutoElement
224 fWriter->addAttribute(name, val); in addAttribute()
227 void addAttribute(const char name[], const SkString& val) { in addAttribute() function in SkSVGDevice::AutoElement
228 fWriter->addAttribute(name, val.c_str()); in addAttribute()
231 void addAttribute(const char name[], int32_t val) { in addAttribute() function in SkSVGDevice::AutoElement
235 void addAttribute(const char name[], SkScalar val) { in addAttribute() function in SkSVGDevice::AutoElement
272 this->addAttribute("fill", resources.fPaintServer); in addPaint()
275 this->addAttribute("fill-opacity", svg_opacity(paint.getColor())); in addPaint()
[all …]
/external/skqp/src/svg/
DSkSVGDevice.cpp204 fClipGroup->addAttribute("clip-path",res.fClip); in AutoElement()
212 this->addAttribute("transform", svg_transform(*mc.fMatrix)); in AutoElement()
220 void addAttribute(const char name[], const char val[]) { in addAttribute() function in SkSVGDevice::AutoElement
221 fWriter->addAttribute(name, val); in addAttribute()
224 void addAttribute(const char name[], const SkString& val) { in addAttribute() function in SkSVGDevice::AutoElement
225 fWriter->addAttribute(name, val.c_str()); in addAttribute()
228 void addAttribute(const char name[], int32_t val) { in addAttribute() function in SkSVGDevice::AutoElement
232 void addAttribute(const char name[], SkScalar val) { in addAttribute() function in SkSVGDevice::AutoElement
269 this->addAttribute("fill", resources.fPaintServer); in addPaint()
272 this->addAttribute("fill-opacity", svg_opacity(paint.getColor())); in addPaint()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DAttributeSetBuilderTest.java30 .addAttribute(android.R.attr.text, "@android:string/ok") in getAttributeResourceValue_shouldReturnTheResourceValue()
40 .addAttribute(android.R.attr.text, " @android:string/ok") in getAttributeResourceValueWithLeadingWhitespace_shouldReturnTheResourceValue()
50 .addAttribute(android.R.attr.text, AttributeResource.NULL_VALUE) in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId()
60 .addAttribute(android.R.attr.id, "@+id/text1") in getSystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId()
70 .addAttribute(android.R.attr.id, "@+id/text1") in shouldCopeWithDefiningLocalIds()
80 .addAttribute(R.attr.message, "@string/howdy") in getAttributeResourceValue_withNamespace_shouldReturnTheResourceValue()
90 .addAttribute(android.R.attr.text, AttributeResource.NULL_VALUE) in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull()
109 .addAttribute(R.attr.isSugary, "true") in getAttributeBooleanValue_shouldGetBooleanValuesFromAttributes()
120 .addAttribute(R.attr.isSugary, "true") in getAttributeBooleanValue_withNamespace_shouldGetBooleanValuesFromAttributes()
138 .addAttribute(R.attr.isSugary, "oh heck yeah") in getAttributeValue_byName_shouldReturnValueFromAttribute()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp91 CUDie.addAttribute(Attr_DW_FORM_addr, DW_FORM_addr, AddrValue); in TestAllForms()
97 CUDie.addAttribute(Attr_DW_FORM_block, DW_FORM_block, BlockData, BlockSize); in TestAllForms()
100 CUDie.addAttribute(Attr_DW_FORM_block1, DW_FORM_block1, BlockData, BlockSize); in TestAllForms()
103 CUDie.addAttribute(Attr_DW_FORM_block2, DW_FORM_block2, BlockData, BlockSize); in TestAllForms()
106 CUDie.addAttribute(Attr_DW_FORM_block4, DW_FORM_block4, BlockData, BlockSize); in TestAllForms()
111 CUDie.addAttribute(Attr_DW_FORM_data16, DW_FORM_data16, Data16, 16); in TestAllForms()
117 CUDie.addAttribute(Attr_DW_FORM_data1, DW_FORM_data1, Data1); in TestAllForms()
120 CUDie.addAttribute(Attr_DW_FORM_data2, DW_FORM_data2, Data2); in TestAllForms()
123 CUDie.addAttribute(Attr_DW_FORM_data4, DW_FORM_data4, Data4); in TestAllForms()
126 CUDie.addAttribute(Attr_DW_FORM_data8, DW_FORM_data8, Data8); in TestAllForms()
[all …]
DDwarfGenerator.h82 void addAttribute(uint16_t Attr, dwarf::Form Form);
90 void addAttribute(uint16_t Attr, dwarf::Form Form, uint64_t U);
98 void addAttribute(uint16_t Attr, dwarf::Form Form, const MCExpr &Expr);
107 void addAttribute(uint16_t Attr, dwarf::Form Form, StringRef String);
119 void addAttribute(uint16_t Attr, dwarf::Form Form, dwarfgen::DIE &RefDie);
132 void addAttribute(uint16_t Attr, dwarf::Form Form, const void *P, size_t S);
/external/proguard/src/proguard/classfile/editor/
DAttributeAdder.java115 attributesEditor.addAttribute(newUnknownAttribute); in visitUnknownAttribute()
127 attributesEditor.addAttribute(newSourceFileAttribute); in visitSourceFileAttribute()
139 attributesEditor.addAttribute(newSourceDirAttribute); in visitSourceDirAttribute()
152 attributesEditor.addAttribute(newInnerClassesAttribute); in visitInnerClassesAttribute()
169 attributesEditor.addAttribute(newEnclosingMethodAttribute); in visitEnclosingMethodAttribute()
180 attributesEditor.addAttribute(newDeprecatedAttribute); in visitDeprecatedAttribute()
191 attributesEditor.addAttribute(newSyntheticAttribute); in visitSyntheticAttribute()
205 attributesEditor.addAttribute(newSignatureAttribute); in visitSignatureAttribute()
217 attributesEditor.addAttribute(newConstantValueAttribute); in visitConstantValueAttribute()
235 attributesEditor.addAttribute(newMethodParametersAttribute); in visitMethodParametersAttribute()
[all …]
DAttributesEditor.java105 public void addAttribute(Attribute attribute) in addAttribute() method in AttributesEditor
118 addAttribute(targetAttribute.u2attributesCount, in addAttribute()
135 addAttribute(targetMember.u2attributesCount, in addAttribute()
152 addAttribute(targetClass.u2attributesCount, in addAttribute()
221 private Attribute[] addAttribute(int attributesCount, in addAttribute() method in AttributesEditor
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypedArrayTest.java46 .addAttribute(android.R.attr.gravity, "top|left") in getInt_withFlags_shouldReturnValue()
61 .addAttribute(android.R.attr.id, "@+id/snippet_text") in getResourceId_shouldReturnActualValue()
77 .addAttribute(android.R.attr.width, "50%") in getFraction_shouldReturnGivenValue()
93 .addAttribute(android.R.attr.width, "50dp") in getDimension_shouldReturnGivenValue()
103 .addAttribute(android.R.attr.background, "#ff777777") in getDrawable_withExplicitColorValue_shouldReturnColorDrawable()
114 .addAttribute(android.R.attr.keycode, "@array/greetings") in getTextArray_whenNoSuchAttribute_shouldReturnNull()
128 .addAttribute(R.attr.responses, "@array/greetings") in getTextArray_shouldReturnValues()
137 .addAttribute(R.attr.responses, "@array/greetings") in hasValue_withValue()
153 .addAttribute(R.attr.responses, AttributeResource.NULL_VALUE) in hasValue_withNullValue()
162 .addAttribute(R.attr.responses, "@array/greetings") in shouldEnumeratePresentValues()
[all …]
DShadowResourcesTest.java113 .addAttribute(android.R.attr.id, "@android:id/mask").build(); in obtainAttributes_shouldUseReferencedIdFromAttributeSet()
122 .addAttribute(R.attr.styleReference, "@xml/shortcuts") in obtainAttributes()
132 .addAttribute(android.R.attr.title, "A title!") in obtainAttributes_shouldReturnValuesFromAttributeSet()
133 .addAttribute(android.R.attr.width, "12px") in obtainAttributes_shouldReturnValuesFromAttributeSet()
134 .addAttribute(android.R.attr.height, "1in") in obtainAttributes_shouldReturnValuesFromAttributeSet()
171 .addAttribute(android.R.attr.viewportWidth, "12.0") in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder()
172 .addAttribute(android.R.attr.viewportHeight, "24.0") in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder()
200 .addAttribute(android.R.attr.viewportWidth, "@dimen/dimen20px") in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
201 .addAttribute(android.R.attr.viewportHeight, "@dimen/dimen30px") in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
DXmlPullParserTest.java101 .addAttribute(android.R.attr.width, "1234px") in buildAttrSet()
102 .addAttribute(android.R.attr.height, "@android:dimen/app_icon_size") in buildAttrSet()
103 .addAttribute(android.R.attr.scrollbarFadeDuration, "1111") in buildAttrSet()
104 .addAttribute(android.R.attr.title, "Android Title") in buildAttrSet()
105 .addAttribute(R.attr.title, "App Title") in buildAttrSet()
106 .addAttribute(android.R.attr.id, "@android:id/text1") in buildAttrSet()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DAttributesTest.cpp56 B.addAttribute(Attribute::NoReturn); in TEST()
60 B.addAttribute(Attribute::SExt); in TEST()
72 B_align_readonly.addAttribute(AlignAttr); in TEST()
73 B_align_readonly.addAttribute(Attribute::ReadOnly); in TEST()
75 B_align.addAttribute(AlignAttr); in TEST()
77 B_stackalign_optnone.addAttribute(StackAlignAttr); in TEST()
78 B_stackalign_optnone.addAttribute(Attribute::OptimizeNone); in TEST()
80 B_stackalign.addAttribute(StackAlignAttr); in TEST()
139 AL = AL.addAttribute(C, AttributeList::FirstArgIndex, in TEST()
141 AL = AL.addAttribute(C, AttributeList::FirstArgIndex + 1, in TEST()
[all …]
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DAttributeContainer.java241 public void addAttribute(String name, Object value) { in addAttribute() method in AttributeContainer
242 addAttribute(null,name,value); in addAttribute()
253 public void addAttribute(String namespace,String name, Object value) { in addAttribute() method in AttributeContainer
259 addAttribute(attributeInfo); in addAttribute()
268 addAttribute(name, value); in addAttributeIfValue()
280 addAttribute(namespace,name, value); in addAttributeIfValue()
291 public void addAttribute(AttributeInfo attributeInfo) { in addAttribute() method in AttributeContainer
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp519 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() function in AttributeSet
523 B.addAttribute(Kind); in addAttribute()
527 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute() function in AttributeSet
530 B.addAttribute(Kind, Value); in addAttribute()
544 B.addAttribute(I); in addAttributes()
1031 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index, in addAttribute() function in AttributeList
1035 B.addAttribute(Kind); in addAttribute()
1039 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index, in addAttribute() function in AttributeList
1043 B.addAttribute(Kind, Value); in addAttribute()
1047 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index, in addAttribute() function in AttributeList
[all …]
/external/llvm/include/llvm/IR/
DFunction.h170 setAttributes(AttributeSets.addAttribute(getContext(),
183 AttributeSets.addAttribute(getContext(),
188 AttributeSets.addAttribute(getContext(),
231 void addAttribute(unsigned i, Attribute::AttrKind Kind);
234 void addAttribute(unsigned i, Attribute Attr);
406 addAttribute(n, Attribute::NoAlias);
415 addAttribute(n, Attribute::NoCapture);
422 addAttribute(n, Attribute::ReadNone);
430 addAttribute(n, Attribute::ReadOnly);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h179 addAttribute(AttributeSet::FunctionIndex, Kind); in addFnAttr()
184 addAttribute(AttributeSet::FunctionIndex,
189 addAttribute(AttributeSet::FunctionIndex, Attr); in addFnAttr()
254 void addAttribute(unsigned i, Attribute::AttrKind Kind);
257 void addAttribute(unsigned i, Attribute Attr);
429 addAttribute(n, Attribute::NoAlias); in setDoesNotAlias()
438 addAttribute(n, Attribute::NoCapture); in setDoesNotCapture()
445 addAttribute(n, Attribute::ReadNone); in setDoesNotAccessMemory()
453 addAttribute(n, Attribute::ReadOnly); in setOnlyReadsMemory()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DAttributeTable.java33 addAttribute(a.getAttrType(), a); in AttributeTable()
44 addAttribute(a.getAttrType(), a); in AttributeTable()
51 addAttribute(attr.getAttrType(), attr); in AttributeTable()
60 private void addAttribute( in addAttribute() method in AttributeTable
227 newTable.addAttribute(attrType, new Attribute(attrType, new DERSet(attrValue))); in add()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DAttributeTable.java35 addAttribute(a.getAttrType(), a); in AttributeTable()
46 addAttribute(a.getAttrType(), a); in AttributeTable()
53 addAttribute(attr.getAttrType(), attr); in AttributeTable()
62 private void addAttribute( in addAttribute() method in AttributeTable
229 newTable.addAttribute(attrType, new Attribute(attrType, new DERSet(attrValue))); in add()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1639 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(3), 4, 7); in TestFormatToCharacterIterator()
1640 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(0), 16, 19); in TestFormatToCharacterIterator()
1641 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(2), 30, 32); in TestFormatToCharacterIterator()
1642 …expectedAttributedStrings[0].addAttribute(NumberFormat.Field.INTEGER, NumberFormat.Field.INTEGER, … in TestFormatToCharacterIterator()
1643 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(1), 53, 63); in TestFormatToCharacterIterator()
1644 … expectedAttributedStrings[0].addAttribute(DateFormat.Field.HOUR1, DateFormat.Field.HOUR1, 53, 54); in TestFormatToCharacterIterator()
1646 …expectedAttributedStrings[0].addAttribute(DateFormat.Field.MINUTE, DateFormat.Field.MINUTE, 55, 57… in TestFormatToCharacterIterator()
1648 …expectedAttributedStrings[0].addAttribute(DateFormat.Field.SECOND, DateFormat.Field.SECOND, 58, 60… in TestFormatToCharacterIterator()
1649 … expectedAttributedStrings[0].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
1650 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(1), 67, 79); in TestFormatToCharacterIterator()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java1642 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(3), 4, 7); in TestFormatToCharacterIterator()
1643 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(0), 16, 19); in TestFormatToCharacterIterator()
1644 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(2), 30, 32); in TestFormatToCharacterIterator()
1645 …expectedAttributedStrings[0].addAttribute(NumberFormat.Field.INTEGER, NumberFormat.Field.INTEGER, … in TestFormatToCharacterIterator()
1646 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(1), 53, 63); in TestFormatToCharacterIterator()
1647 … expectedAttributedStrings[0].addAttribute(DateFormat.Field.HOUR1, DateFormat.Field.HOUR1, 53, 54); in TestFormatToCharacterIterator()
1649 …expectedAttributedStrings[0].addAttribute(DateFormat.Field.MINUTE, DateFormat.Field.MINUTE, 55, 57… in TestFormatToCharacterIterator()
1651 …expectedAttributedStrings[0].addAttribute(DateFormat.Field.SECOND, DateFormat.Field.SECOND, 58, 60… in TestFormatToCharacterIterator()
1652 … expectedAttributedStrings[0].addAttribute(DateFormat.Field.AM_PM, DateFormat.Field.AM_PM, 61, 63); in TestFormatToCharacterIterator()
1653 … expectedAttributedStrings[0].addAttribute(MessageFormat.Field.ARGUMENT, new Integer(1), 67, 79); in TestFormatToCharacterIterator()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DAttributes.h233 AttributeSet addAttribute(LLVMContext &C, Attribute::AttrKind Kind) const;
237 AttributeSet addAttribute(LLVMContext &C, StringRef Kind,
378 AttributeList addAttribute(LLVMContext &C, unsigned Index,
383 AttributeList addAttribute(LLVMContext &C, unsigned Index, StringRef Kind,
388 AttributeList addAttribute(LLVMContext &C, unsigned Index, Attribute A) const;
399 return addAttribute(C, ArgNo + FirstArgIndex, Kind);
407 return addAttribute(C, ArgNo + FirstArgIndex, Kind, Value);
695 addAttribute(A);
704 AttrBuilder &addAttribute(Attribute::AttrKind Val);
707 AttrBuilder &addAttribute(Attribute A);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp24 Context, AttrBuilder().addAttribute(Attribute::NoUnwind)); in TEST()
28 AttrBuilder().addAttribute(Attribute::StructRet)), in TEST()
29 AttributeSet::get(Context, AttrBuilder().addAttribute(Attribute::ByVal)), in TEST()
/external/llvm/lib/IR/
DAttributes.cpp851 AttributeSet AttributeSet::addAttribute(LLVMContext &C, unsigned Index, in addAttribute() function in AttributeSet
857 AttributeSet AttributeSet::addAttribute(LLVMContext &C, unsigned Index, in addAttribute() function in AttributeSet
860 B.addAttribute(Kind, Value); in addAttribute()
864 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() function in AttributeSet
878 B.addAttribute(A); in addAttribute()
930 B.addAttribute(*II); in addAttributes()
1248 addAttribute(*II); in AttrBuilder()
1261 AttrBuilder &AttrBuilder::addAttribute(Attribute::AttrKind Val) { in addAttribute() function in AttrBuilder
1270 AttrBuilder &AttrBuilder::addAttribute(Attribute Attr) { in addAttribute() function in AttrBuilder
1272 addAttribute(Attr.getKindAsString(), Attr.getValueAsString()); in addAttribute()
[all …]
/external/icu/icu4c/source/i18n/
Dfphdlimp.h31 virtual void addAttribute(int32_t id, int32_t start, int32_t limit) = 0;
48 void addAttribute(int32_t id, int32_t start, int32_t limit) U_OVERRIDE;
72 void addAttribute(int32_t id, int32_t start, int32_t limit) U_OVERRIDE;

12345678910