Home
last modified time | relevance | path

Searched refs:addMember (Results 1 – 25 of 111) sorted by relevance

12345

/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutTests.cpp208 block.addMember(BufferVar(name.c_str(), type, flags)); in generateBufferVar()
245 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx]); in generateType()
319 block.addMember(BufferVar("var", type, ACCESS_READ|ACCESS_WRITE)); in BlockBasicTypeCase()
337 …block.addMember(BufferVar("var", VarType(elementType, VarType::UNSIZED_ARRAY), ACCESS_READ|ACCESS_… in BlockBasicUnsizedArrayCase()
368 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, glu::PRECISION_HIGHP)); // \todo [pyry] First mem… in init()
369 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in init()
370 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP)); in init()
373 block.addMember(BufferVar("s", VarType(&typeS), ACCESS_READ|ACCESS_WRITE)); in init()
401 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, glu::PRECISION_HIGHP)); // \todo [pyry] UNUSED in init()
402 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in init()
[all …]
Des31fUniformLocationTests.cpp896 structProto->addMember("a", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
897 structProto->addMember("b", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
898 structProto->addMember("c", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
899 structProto->addMember("d", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
900 structProto->addMember("e", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
976 testTypes[0]->addMember("a", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
977 testTypes[0]->addMember("b", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
978 testTypes[0]->addMember("c", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
979 testTypes[0]->addMember("d", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
980 testTypes[0]->addMember("e", createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)])); in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp243 block.addMember(BufferVar(name.c_str(), type, flags)); in generateBufferVar()
278 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx]); in generateType()
406 …block.addMember(BufferVar("padding", VarType(getDataTypeScalarType(tempType.getBasicType()), glu::… in BlockBasicTypeCase()
408 block.addMember(BufferVar("var", type, ACCESS_READ|(readonly ? 0 : ACCESS_WRITE))); in BlockBasicTypeCase()
429 …block.addMember(BufferVar("var", VarType(elementType, VarType::UNSIZED_ARRAY), ACCESS_READ|(readon… in BlockBasicUnsizedArrayCase()
481 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, glu::PRECISION_HIGHP)); // \todo [pyry] First mem… in BlockSingleStructCase()
482 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleStructCase()
483 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP)); in BlockSingleStructCase()
486 block.addMember(BufferVar("s", VarType(&typeS), ACCESS_READ|(readonly ? 0 : ACCESS_WRITE))); in BlockSingleStructCase()
512 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, glu::PRECISION_HIGHP)); // \todo [pyry] UNUSED in BlockSingleStructArrayCase()
[all …]
/external/javapoet/src/test/java/com/squareup/javapoet/
DAnnotationSpecTest.java114 a = AnnotationSpec.builder(AnnotationC.class).addMember("value", "$S", "123").build(); in equalsAndHashCode()
115 b = AnnotationSpec.builder(AnnotationC.class).addMember("value", "$S", "123").build(); in equalsAndHashCode()
195 builder.addMember("n", "$L", "{}"); in emptyArray()
198 builder.addMember("m", "$L", "{}"); in emptyArray()
208 builder.addMember("n", "$T.$L", Breakfast.class, Breakfast.PANCAKES.name()); in dynamicArrayOfEnumConstants()
215 builder.addMember("n", "$T.$L", Breakfast.class, Breakfast.WAFFLES.name()); in dynamicArrayOfEnumConstants()
216 builder.addMember("n", "$T.$L", Breakfast.class, Breakfast.PANCAKES.name()); in dynamicArrayOfEnumConstants()
234 builder.addMember("n", "$T.$L", Breakfast.class, Breakfast.WAFFLES.name()); in dynamicArrayOfEnumConstants()
250 builder.addMember("m", "$L", 123); in defaultAnnotationToBuilder()
359 AnnotationSpec.Builder $L = builder.addMember(null, "$L", ""); in disallowsNullMemberName()
[all …]
DTypeSpecTest.java185 .addMember("value", "$S", "pong") in annotatedParameters()
246 .addMember("value", "$S", "Accept: application/json") in retrofitStyleInterface()
247 .addMember("value", "$S", "User-Agent: foobar") in retrofitStyleInterface()
250 .addMember("value", "$S", "/foo/bar") in retrofitStyleInterface()
259 .addMember("encodeValues", "false") in retrofitStyleInterface()
264 .addMember("value", "$S", "Authorization") in retrofitStyleInterface()
292 .addMember("value", "$T.class", ClassName.get(tacosPackage, "Foo")) in annotatedField()
311 .addMember("hi", "$T.$N", someType, "FIELD") in annotatedClass()
312 .addMember("hey", "$L", 12) in annotatedClass()
313 .addMember("hello", "$S", "goodbye") in annotatedClass()
[all …]
/external/dagger2/java/dagger/hilt/android/plugin/src/main/kotlin/dagger/hilt/android/plugin/root/
DComponentTreeDepsGenerator.kt37 addMember("rootDeps", "\$T.class", it) in <lambda>()
40 addMember("defineComponentDeps", "\$T.class", it) in <lambda>()
43 addMember("aliasOfDeps", "\$T.class", it) in <lambda>()
46 addMember("aggregatedDeps", "\$T.class", it) in <lambda>()
49 addMember("uninstallModulesDeps", "\$T.class", it) in <lambda>()
52 addMember("earlyEntryPointDeps", "\$T.class", it) in <lambda>()
/external/javapoet/src/main/java/com/squareup/javapoet/
DAnnotationSpec.java131 builder.addMember(method.getName(), "$L", get((Annotation) value)); in get()
202 public Builder addMember(String name, String format, Object... args) { in addMember() method in AnnotationSpec.Builder
203 return addMember(name, CodeBlock.of(format, args)); in addMember()
206 public Builder addMember(String name, CodeBlock codeBlock) { in addMember() method in AnnotationSpec.Builder
222 return addMember(memberName, "$T.class", value); in addMemberForValue()
225 return addMember(memberName, "$T.$L", value.getClass(), ((Enum<?>) value).name()); in addMemberForValue()
228 return addMember(memberName, "$S", value); in addMemberForValue()
231 return addMember(memberName, "$Lf", value); in addMemberForValue()
234 return addMember(memberName, "'$L'", characterLiteralWithoutSingleQuotes((char) value)); in addMemberForValue()
236 return addMember(memberName, "$L", value); in addMemberForValue()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutTests.cpp96 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), FIELD_UNASSIGNED); // First memb… in BlockSingleStructCase()
97 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_VEC3, PRECISION_HIGH), 2)); in BlockSingleStructCase()
98 typeS.addMember("c", VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM)); in BlockSingleStructCase()
125 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), FIELD_UNASSIGNED); in BlockSingleStructArrayCase()
126 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2, PRECISION_MEDIUM), 2)); in BlockSingleStructArrayCase()
127 typeS.addMember("c", VarType(glu::TYPE_FLOAT, PRECISION_HIGH)); in BlockSingleStructArrayCase()
156 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH)); in BlockSingleNestedStructCase()
157 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2, PRECISION_MEDIUM), 2)); in BlockSingleNestedStructCase()
158 typeS.addMember("c", VarType(glu::TYPE_FLOAT, PRECISION_HIGH), FIELD_UNASSIGNED); in BlockSingleNestedStructCase()
161 typeT.addMember("a", VarType(glu::TYPE_FLOAT_VEC3, PRECISION_MEDIUM)); in BlockSingleNestedStructCase()
[all …]
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/
DAnnotationSpecTest.kt90 a = AnnotationSpec.builder(AnnotationC::class.java).addMember("value", "%S", "123").build() in equalsAndHashCode()
91 b = AnnotationSpec.builder(AnnotationC::class.java).addMember("value", "%S", "123").build() in equalsAndHashCode()
159 builder.addMember("%L = %L", "n", "[]") in emptyArray()
166 builder.addMember("%L = %L", "m", "[]") in emptyArray()
268 .addMember("%S", "Nope") in deprecatedTest()
269 .addMember("%T(%S)", ReplaceWith::class, "Yep") in deprecatedTest()
280 .addMember("%S", "Nope") in modifyMembers()
281 .addMember("%T(%S)", ReplaceWith::class, "Yep") in modifyMembers()
295 .addMember("%S", text) in annotationStringsAreConstant()
305 .addMember("%S", "Things") in literalAnnotation()
[all …]
DTypeAliasSpecTest.kt135 .addMember("value = %S", "words!") in annotations()
213 .addMember("value = %S", "value1") in modifyAnnotations()
218 .addMember("value = %S", "value2") in modifyAnnotations()
/external/deqp/modules/gles3/functional/
Des3fUniformBlockTests.cpp97 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in init()
98 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
99 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init()
130 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in init()
131 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
132 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init()
165 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH)); in init()
166 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
167 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH), UNUSED_BOTH); in init()
170 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM)); in init()
[all …]
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DAggregatedDepsGenerator.java66 components.forEach(component -> annotationBuilder.addMember("components", "$S", component)); in aggregatedDepsAnnotation()
67 replacedDependencies.forEach(dep -> annotationBuilder.addMember("replaces", "$S", dep)); in aggregatedDepsAnnotation()
68 testName.ifPresent(test -> annotationBuilder.addMember("test", "$S", test)); in aggregatedDepsAnnotation()
69 annotationBuilder.addMember(dependencyType, "$S", dependency.getQualifiedName()); in aggregatedDepsAnnotation()
/external/auto/common/src/main/java/com/google/auto/common/
DGeneratedAnnotationSpecs.java54 .map(annotation -> annotation.addMember("comments", "$S", comments).build()); in generatedAnnotationSpec()
81 .map(annotation -> annotation.addMember("comments", "$S", comments).build()); in generatedAnnotationSpec()
90 .addMember("value", "$S", processorClass.getCanonicalName())); in generatedAnnotationSpecBuilder()
99 .addMember("value", "$S", processorClass.getCanonicalName())); in generatedAnnotationSpecBuilder()
/external/kotlinpoet/kotlinpoet/src/main/java/com/squareup/kotlinpoet/
DAnnotationSpec.kt123 public fun addMember(format: String, vararg args: Any): Builder = in <lambda>() method in com.squareup.kotlinpoet.<lambda>.Builder
124 addMember(CodeBlock.of(format, *args)) in <lambda>()
126 public fun addMember(codeBlock: CodeBlock): Builder = apply { in <lambda>() method in com.squareup.kotlinpoet.<lambda>.Builder
217 builder.addMember(member.build()) in <lambda>()
222 builder.addMember(member.build()) in <lambda>()
226 builder.addMember(member.build()) in <lambda>()
249 builder.addMember(member.build()) in <lambda>()
/external/dagger2/java/dagger/hilt/processor/internal/root/
DAggregatedRootGenerator.java48 .addMember("root", "$S", rootElement.getQualifiedName()) in generate()
49 .addMember("originatingRoot", "$S", originatingRootElement.getQualifiedName()) in generate()
50 .addMember("rootAnnotation", "$T.class", rootAnnotation) in generate()
DComponentTreeDepsGenerator.java74 builder.addMember(name, "$T.class", maybeWrapInPublicProxy(dep)); in addDeps()
110 .addMember("value", "$T.class", dep) in generateProxy()
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockTests.cpp232 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx], flags); in generateType()
343 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in init()
344 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
345 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init()
378 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in init()
379 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
380 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init()
415 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH)); in init()
416 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
417 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH), UNUSED_BOTH); in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockTests.cpp104 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in BlockSingleStructCase()
105 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in BlockSingleStructCase()
106 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in BlockSingleStructCase()
127 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in BlockSingleStructArrayCase()
128 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in BlockSingleStructArrayCase()
129 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in BlockSingleStructArrayCase()
152 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH)); in BlockSingleNestedStructCase()
153 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in BlockSingleNestedStructCase()
154 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH), UNUSED_BOTH); in BlockSingleNestedStructCase()
157 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM)); in BlockSingleNestedStructCase()
[all …]
/external/kotlinpoet/kotlinpoet/src/main/java/com/squareup/kotlinpoet/jvm/
DJvmAnnotations.kt36 .addMember("%S", name) in jvmName()
51 .apply { if (!suppress) addMember("suppress = false") } in jvmName()
74 .addMember("%S", name) in <lambda>()
91 .apply { exceptionClasses.forEach { addMember("%T::class", it) } } in throws()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp446 static void addMember(std::vector<NewArchiveMember> &Members, in addMember() function
457 static void addMember(std::vector<NewArchiveMember> &Members, in addMember() function
555 addMember(Ret, Child); in computeNewArchiveMembers()
558 addMember(Ret, *MemberI); in computeNewArchiveMembers()
563 addMember(Moved, Child); in computeNewArchiveMembers()
566 addMember(Moved, *MemberI); in computeNewArchiveMembers()
595 addMember(Ret, Member, Pos); in computeNewArchiveMembers()
772 addMember(NewMembers, Member); in runMRIScript()
778 addMember(NewMembers, Rest); in runMRIScript()
/external/dagger2/java/dagger/android/processor/
DContributesAndroidInjectorGenerator.java111 .addMember("subcomponents", "$T.class", subcomponentName) in generate()
147 .addMember("value", "$S", descriptor.injectedType().toString()) in androidInjectorMapKey()
151 .addMember("value", "$T.class", descriptor.injectedType()) in androidInjectorMapKey()
161 subcomponentAnnotation.addMember("modules", "$T.class", module); in subcomponent()
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/
DViewModelModuleGenerator.kt70 .addMember( in <lambda>()
110 .addMember("value", S, injectedViewModel.className.reflectionName()) in <lambda>()
148 .addMember("value", "$T.class", component) in <lambda>()
/external/dagger2/java/dagger/hilt/processor/internal/aliasof/
DAliasOfPropagatedDataGenerator.java55 builder.addMember("defineComponentScopes", "$T.class", defineComponentScope); in propagatedDataAnnotation()
57 builder.addMember("alias", "$T.class", aliasScope); in propagatedDataAnnotation()
/external/dagger2/java/dagger/hilt/processor/internal/uninstallmodules/
DAggregatedUninstallModulesGenerator.java58 builder.addMember("test", "$S", testElement.getQualifiedName()); in aggregatedUninstallModulesAnnotation()
61 .forEach(uninstallModule -> builder.addMember("uninstallModules", "$S", uninstallModule)); in aggregatedUninstallModulesAnnotation()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DBundlerGenerator.java132 .addMember("value", "{\"unchecked\", \"ReflectedParcelable\"}") in addWriteToParcelMethod()
188 .addMember("value", "\"unchecked\"") in addReadFromParcelMethod()
287 .addMember("value", "{\"unchecked\", \"ReflectedParcelable\"}") in addWriteToBundleMethod()
348 .addMember("value", "\"unchecked\"") in addReadFromBundleMethod()

12345