Home
last modified time | relevance | path

Searched refs:typeClass (Results 1 – 23 of 23) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessageBuilderContext.java85 IRubyObject typeClass = runtime.getNil(); in optional() local
86 if (args.length > 3) typeClass = args[3]; in optional()
87 msgdefAddField(context, "optional", args[0], args[1], args[2], typeClass); in optional()
106 IRubyObject typeClass = context.runtime.getNil(); in required() local
107 if (args.length > 3) typeClass = args[3]; in required()
108 msgdefAddField(context, "required", args[0], args[1], args[2], typeClass); in required()
123 IRubyObject typeClass = context.runtime.getNil(); in repeated() local
124 if (args.length > 3) typeClass = args[3]; in repeated()
125 msgdefAddField(context, "repeated", args[0], args[1], args[2], typeClass); in repeated()
148 IRubyObject typeClass = args.length > 4 ? args[4] : context.runtime.getNil(); in map() local
[all …]
DRubyRepeatedField.java64 …Ruby runtime, RubyClass klazz, Descriptors.FieldDescriptor.Type fieldType, IRubyObject typeClass) { in RubyRepeatedField() argument
68 this.typeClass = typeClass; in RubyRepeatedField()
84 typeClass = args[1]; in initialize()
87 Utils.validateTypeClass(context, fieldType, typeClass); in initialize()
113 value = Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in indexSet()
169 value = Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in push()
238 if (! fieldType.equals(repeatedField.fieldType) || (typeClass != null && ! in plus()
239 typeClass.equals(repeatedField.typeClass))) in plus()
259 if (! fieldType.equals(repeatedField.fieldType) || (typeClass != null && ! in concat()
260 typeClass.equals(repeatedField.typeClass))) in concat()
[all …]
DUtils.java50 public static Descriptors.FieldDescriptor.Type rubyToFieldType(IRubyObject typeClass) { in rubyToFieldType() argument
51 return Descriptors.FieldDescriptor.Type.valueOf(typeClass.asJavaString().toUpperCase()); in rubyToFieldType()
68 IRubyObject value, RubyModule typeClass) { in checkType() argument
112 if (value.getMetaClass() != typeClass) { in checkType()
113 throw runtime.newTypeError(value, typeClass); in checkType()
119 … ((RubyEnumDescriptor) typeClass.getInstanceVariable(DESCRIPTOR_INSTANCE_VAR)).getDescriptor(); in checkType()
237 … IRubyObject type, IRubyObject number, IRubyObject typeClass, RubyClass cFieldDescriptor) { in msgdefCreateField() argument
245 if (!typeClass.isNil()) { in msgdefCreateField()
246 if (!(typeClass instanceof RubyString)) { in msgdefCreateField()
249 fieldDef.setSubmsgName(context, typeClass); in msgdefCreateField()
DRubyMessage.java111 RubyClass typeClass = (RubyClass) descriptor.msgclass(context); in initialize()
112 … value = (IRubyObject) typeClass.newInstance(context, value, Block.NULL_BLOCK); in initialize()
549 …RubyClass typeClass = (RubyClass) ((RubyDescriptor) getDescriptorForField(context, fieldDescriptor… in convert() local
550 if (!value.getMetaClass().equals(typeClass)) in convert()
591 …RubyClass typeClass = (RubyClass) ((RubyDescriptor) getDescriptorForField(context, fieldDescriptor… in wrapField() local
592 RubyMessage msg = (RubyMessage) typeClass.newInstance(context, Block.NULL_BLOCK); in wrapField()
607 IRubyObject typeClass = context.runtime.getNilClass(); in repeatedFieldForFieldDescriptor() local
612 typeClass = ((RubyDescriptor) descriptor).msgclass(context); in repeatedFieldForFieldDescriptor()
615 typeClass = ((RubyEnumDescriptor) descriptor).enummodule(context); in repeatedFieldForFieldDescriptor()
617 return new RubyRepeatedField(context.runtime, cRepeatedField, type, typeClass); in repeatedFieldForFieldDescriptor()
[all …]
DRubyOneofBuilderContext.java75 IRubyObject typeClass = args.length > 3 ? args[3] : context.runtime.getNil(); in optional() local
77 name, type, number, typeClass, cFieldDescriptor); in optional()
/external/llvm-project/lldb/test/API/python_api/sbtype_typeclass/
Dmain.m12 //% typeClass = s_type.GetTypeClass()
13typeClass == lldb.eTypeClassClass) or (typeClass ==lldb.eTypeClassObjCObject) or (typeClass == lld…
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java83 …default FieldDeclaration addField(Class<?> typeClass, String name, Modifier.Keyword... modifiers) { in addField() argument
84 tryAddImportToParentCompilationUnit(typeClass); in addField()
85 return addField(typeClass.getSimpleName(), name, modifiers); in addField()
126 …default FieldDeclaration addFieldWithInitializer(Class<?> typeClass, String name, Expression initi… in addFieldWithInitializer() argument
127 tryAddImportToParentCompilationUnit(typeClass); in addFieldWithInitializer()
128 return addFieldWithInitializer(typeClass.getSimpleName(), name, initializer, modifiers); in addFieldWithInitializer()
166 default FieldDeclaration addPrivateField(Class<?> typeClass, String name) { in addPrivateField() argument
167 return addField(typeClass, name, PRIVATE); in addPrivateField()
200 default FieldDeclaration addPublicField(Class<?> typeClass, String name) { in addPublicField() argument
201 return addField(typeClass, name, PUBLIC); in addPublicField()
[all …]
DNodeWithType.java64 default N setType(Class<?> typeClass) { in setType() argument
65 tryAddImportToParentCompilationUnit(typeClass); in setType()
66 return setType((T) parseType(typeClass.getSimpleName())); in setType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java48 default FieldDeclaration addField(Class<?> typeClass, String name, Modifier... modifiers) { in addField() argument
49 ((Node) this).tryAddImportToParentCompilationUnit(typeClass); in addField()
50 return addField(typeClass.getSimpleName(), name, modifiers); in addField()
93 default FieldDeclaration addPrivateField(Class<?> typeClass, String name) { in addPrivateField() argument
94 return addField(typeClass, name, Modifier.PRIVATE); in addPrivateField()
116 default FieldDeclaration addPublicField(Class<?> typeClass, String name) { in addPublicField() argument
117 return addField(typeClass, name, Modifier.PUBLIC); in addPublicField()
139 default FieldDeclaration addProtectedField(Class<?> typeClass, String name) { in addProtectedField() argument
140 return addField(typeClass, name, Modifier.PROTECTED); in addProtectedField()
DNodeWithType.java59 default T setType(Class<?> typeClass) { in setType() argument
60 ((Node) this).tryAddImportToParentCompilationUnit(typeClass); in setType()
61 return setType(new ClassOrInterfaceType(typeClass.getSimpleName())); in setType()
DNodeWithElementType.java64 default T setElementType(Class<?> typeClass) { in setElementType() argument
65 ((Node) this).tryAddImportToParentCompilationUnit(typeClass); in setElementType()
66 return setElementType(new ClassOrInterfaceType(typeClass.getSimpleName())); in setElementType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_nodeTypes_NodeWithElementType.txt1 …Line 65) ((Node) this).tryAddImportToParentCompilationUnit(typeClass) ==> com.github.javaparser.as…
2 …Line 66) setElementType(new ClassOrInterfaceType(typeClass.getSimpleName())) ==> com.github.javapa…
3 Line 66) typeClass.getSimpleName() ==> java.lang.Class.getSimpleName()
Dcom_github_javaparser_ast_nodeTypes_NodeWithType.txt1 …Line 60) ((Node) this).tryAddImportToParentCompilationUnit(typeClass) ==> com.github.javaparser.as…
2 …Line 61) setType(new ClassOrInterfaceType(typeClass.getSimpleName())) ==> com.github.javaparser.as…
3 Line 61) typeClass.getSimpleName() ==> java.lang.Class.getSimpleName()
Dcom_github_javaparser_ast_nodeTypes_NodeWithMembers.txt1 …Line 49) ((Node) this).tryAddImportToParentCompilationUnit(typeClass) ==> com.github.javaparser.as…
2 …Line 50) addField(typeClass.getSimpleName(), name, modifiers) ==> com.github.javaparser.ast.nodeTy…
3 Line 50) typeClass.getSimpleName() ==> java.lang.Class.getSimpleName()
17 …Line 94) addField(typeClass, name, Modifier.PRIVATE) ==> com.github.javaparser.ast.nodeTypes.NodeW…
19 …Line 117) addField(typeClass, name, Modifier.PUBLIC) ==> com.github.javaparser.ast.nodeTypes.NodeW…
21 …Line 140) addField(typeClass, name, Modifier.PROTECTED) ==> com.github.javaparser.ast.nodeTypes.No…
/external/javassist/src/main/javassist/tools/web/
DWebserver.java58 private final static int typeClass = 2; field in Webserver
263 fileType = typeClass; in doReply()
274 if (fileType == typeClass in doReply()
304 if (fileType == typeClass) { in doReply()
318 sendHeader(out, classfile.length, typeClass); in doReply()
364 sendHeader(out, classfile.length, typeClass); in letUsersSendClassfile()
377 if (filetype == typeClass) in sendHeader()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DSharedSteps.java133 … getMemberByTypeAndPosition(TypeDeclaration<?> typeDeclaration, int position, Class<T> typeClass) { in getMemberByTypeAndPosition() argument
136 if (declaration.getClass().equals(typeClass)) { in getMemberByTypeAndPosition()
143 throw new IllegalArgumentException("No member " + typeClass + " at position: " + position); in getMemberByTypeAndPosition()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DArrayCreationExpr.java177 public ArrayCreationExpr setElementType(Class<?> typeClass) { in setElementType() argument
178 tryAddImportToParentCompilationUnit(typeClass); in setElementType()
179 return setElementType(parseType(typeClass.getSimpleName())); in setElementType()
/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.cpp649 Op typeClass = instr->getOpCode(); in getMostBasicTypeClass() local
650 switch (typeClass) in getMostBasicTypeClass()
660 return typeClass; in getMostBasicTypeClass()
701 Op typeClass = instr->getOpCode(); in getScalarTypeId() local
702 switch (typeClass) in getScalarTypeId()
727 Op typeClass = instr->getOpCode(); in getContainedTypeId() local
728 switch (typeClass) in getContainedTypeId()
759 Op typeClass = instr.getOpCode(); in containsType() local
760 switch (typeClass) in containsType()
764 return typeClass == typeOp && instr.getImmediateOperand(0) == width; in containsType()
[all …]
DSpvBuilder.h784 Id findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned value);
785 Id findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned v1, unsigned v2);
786 Id findCompositeConstant(Op typeClass, Id typeId, const std::vector<Id>& comps);
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DSpvBuilder.cpp649 Op typeClass = instr->getOpCode(); in getMostBasicTypeClass() local
650 switch (typeClass) in getMostBasicTypeClass()
660 return typeClass; in getMostBasicTypeClass()
701 Op typeClass = instr->getOpCode(); in getScalarTypeId() local
702 switch (typeClass) in getScalarTypeId()
727 Op typeClass = instr->getOpCode(); in getContainedTypeId() local
728 switch (typeClass) in getContainedTypeId()
759 Op typeClass = instr.getOpCode(); in containsType() local
760 switch (typeClass) in containsType()
764 return typeClass == typeOp && instr.getImmediateOperand(0) == width; in containsType()
[all …]
DSpvBuilder.h784 Id findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned value);
785 Id findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned v1, unsigned v2);
786 Id findCompositeConstant(Op typeClass, Id typeId, const std::vector<Id>& comps);
/external/deqp/external/vulkancts/scripts/
Dgen_framework.py327 def __init__ (self, typeClass, name, members, apiVersion = None): argument
328 self.typeClass = typeClass
337 return names[self.typeClass]
1498 return type.typeClass == CompositeType.CLASS_STRUCT and \
/external/llvm-project/clang/include/clang/AST/
DType.h3455 ConstantMatrixType(TypeClass typeClass, QualType MatrixType, unsigned NRows,