Home
last modified time | relevance | path

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

12345678910>>...14

/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/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/skia/src/svg/
DSkSVGDevice.cpp272 this->addAttribute("transform", svg_transform(*mc.fMatrix)); in AutoElement()
280 void addAttribute(const char name[], const char val[]) { in addAttribute() function in SkSVGDevice::AutoElement
281 fWriter->addAttribute(name, val); in addAttribute()
284 void addAttribute(const char name[], const SkString& val) { in addAttribute() function in SkSVGDevice::AutoElement
285 fWriter->addAttribute(name, val.c_str()); in addAttribute()
288 void addAttribute(const char name[], int32_t val) { in addAttribute() function in SkSVGDevice::AutoElement
292 void addAttribute(const char name[], SkScalar val) { in addAttribute() function in SkSVGDevice::AutoElement
336 this->addAttribute("fill", resources.fPaintServer); in addPaint()
339 this->addAttribute("fill-opacity", svg_opacity(paint.getColor())); in addPaint()
344 this->addAttribute("fill", "none"); 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/llvm-project/mlir/lib/Dialect/Tosa/IR/
DTosaOps.cpp155 result.addAttribute("pad", pad); in buildConvOpWithQuantInfo()
156 result.addAttribute("stride", stride); in buildConvOpWithQuantInfo()
157 result.addAttribute("dilation", dilation); in buildConvOpWithQuantInfo()
161 result.addAttribute("quantization_info", quantAttr); in buildConvOpWithQuantInfo()
176 result.addAttribute("out_pad", outpad); in buildTransConvOpWithQuantInfo()
177 result.addAttribute("stride", stride); in buildTransConvOpWithQuantInfo()
178 result.addAttribute("dilation", dilation); in buildTransConvOpWithQuantInfo()
179 result.addAttribute("out_shape", outputShape); in buildTransConvOpWithQuantInfo()
183 result.addAttribute("quantization_info", quantAttr); in buildTransConvOpWithQuantInfo()
200 result.addAttribute("quantization_info", quantAttr); in buildFCOpWithQuantInfo()
[all …]
/external/dagger2/java/dagger/example/spi/
DBindingGraphVisualizer.java164 S addAttribute(String name, Object value) { in addAttribute() method in BindingGraphVisualizer.DotStatement
171 return addAttribute(name, String.format(format, args)); in addAttributeFormat()
213 .addAttribute("rankdir", "LR")
214 .addAttribute("labeljust", "l")
215 .addAttribute("compound", true));
234 .addAttribute("style", "filled") in graph()
235 .addAttribute("shape", "box") in graph()
236 .addAttribute("fillcolor", colors.next())); in graph()
237 subgraph.add(new DotStatement<>("graph").addAttribute("label", component)); in graph()
267 dotEdge.addAttribute("style", "dashed"); in dotEdge()
[all …]
/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/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp90 CUDie.addAttribute(Attr_DW_FORM_addr, DW_FORM_addr, AddrValue); in TestAllForms()
96 CUDie.addAttribute(Attr_DW_FORM_block, DW_FORM_block, BlockData, BlockSize); in TestAllForms()
99 CUDie.addAttribute(Attr_DW_FORM_block1, DW_FORM_block1, BlockData, BlockSize); in TestAllForms()
102 CUDie.addAttribute(Attr_DW_FORM_block2, DW_FORM_block2, BlockData, BlockSize); in TestAllForms()
105 CUDie.addAttribute(Attr_DW_FORM_block4, DW_FORM_block4, BlockData, BlockSize); in TestAllForms()
110 CUDie.addAttribute(Attr_DW_FORM_data16, DW_FORM_data16, Data16, 16); in TestAllForms()
116 CUDie.addAttribute(Attr_DW_FORM_data1, DW_FORM_data1, Data1); in TestAllForms()
119 CUDie.addAttribute(Attr_DW_FORM_data2, DW_FORM_data2, Data2); in TestAllForms()
122 CUDie.addAttribute(Attr_DW_FORM_data4, DW_FORM_data4, Data4); in TestAllForms()
125 CUDie.addAttribute(Attr_DW_FORM_data8, DW_FORM_data8, Data8); in TestAllForms()
[all …]
DDwarfGenerator.h81 void addAttribute(uint16_t Attr, dwarf::Form Form);
89 void addAttribute(uint16_t Attr, dwarf::Form Form, uint64_t U);
97 void addAttribute(uint16_t Attr, dwarf::Form Form, const MCExpr &Expr);
106 void addAttribute(uint16_t Attr, dwarf::Form Form, StringRef String);
118 void addAttribute(uint16_t Attr, dwarf::Form Form, dwarfgen::DIE &RefDie);
131 void addAttribute(uint16_t Attr, dwarf::Form Form, const void *P, size_t S);
/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/llvm-project/llvm/unittests/IR/
DAttributesTest.cpp61 B.addAttribute(Attribute::NoReturn); in TEST()
65 B.addAttribute(Attribute::SExt); in TEST()
77 B_align_readonly.addAttribute(AlignAttr); in TEST()
78 B_align_readonly.addAttribute(Attribute::ReadOnly); in TEST()
80 B_align.addAttribute(AlignAttr); in TEST()
82 B_stackalign_optnone.addAttribute(StackAlignAttr); in TEST()
83 B_stackalign_optnone.addAttribute(Attribute::OptimizeNone); in TEST()
85 B_stackalign.addAttribute(StackAlignAttr); in TEST()
144 AL = AL.addAttribute(C, AttributeList::FirstArgIndex, in TEST()
146 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-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/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp597 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() function in AttributeSet
601 B.addAttribute(Kind); in addAttribute()
605 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute() function in AttributeSet
608 B.addAttribute(Kind, Value); in addAttribute()
622 B.addAttribute(I); in addAttributes()
1132 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index, in addAttribute() function in AttributeList
1136 B.addAttribute(Kind); in addAttribute()
1140 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index, in addAttribute() function in AttributeList
1144 B.addAttribute(Kind, Value); in addAttribute()
1148 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index, in addAttribute() function in AttributeList
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/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/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/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp26 Context, AttrBuilder().addAttribute(Attribute::NoUnwind)); in TEST()
30 AttrBuilder().addAttribute(Attribute::StructRet)), in TEST()
31 AttributeSet::get(Context, AttrBuilder().addAttribute(Attribute::ByVal)), in TEST()
/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp26 AttrBuilder().addAttribute(Attribute::StructRet))); in TEST()
29 AttrBuilder().addAttribute(Attribute::ByVal))); in TEST()
32 AttrBuilder().addAttribute(Attribute::NoUnwind))); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h242 LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C,
247 LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C, StringRef Kind,
392 LLVM_NODISCARD AttributeList addAttribute(LLVMContext &C, unsigned Index,
398 addAttribute(LLVMContext &C, unsigned Index, StringRef Kind,
403 LLVM_NODISCARD AttributeList addAttribute(LLVMContext &C, unsigned Index,
415 return addAttribute(C, ArgNo + FirstArgIndex, Kind);
423 return addAttribute(C, ArgNo + FirstArgIndex, Kind, Value);
720 addAttribute(A);
729 AttrBuilder &addAttribute(Attribute::AttrKind Val);
732 AttrBuilder &addAttribute(Attribute A);
[all …]

12345678910>>...14