Home
last modified time | relevance | path

Searched refs:typeClass (Results 1 – 22 of 22) 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 Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in indexSet()
169 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()
234 … IRubyObject type, IRubyObject number, IRubyObject typeClass, RubyClass cFieldDescriptor) { in msgdefCreateField() argument
242 if (!typeClass.isNil()) { in msgdefCreateField()
243 if (!(typeClass instanceof RubyString)) { in msgdefCreateField()
246 fieldDef.setSubmsgName(context, typeClass); in msgdefCreateField()
DRubyMessage.java521 …RubyClass typeClass = (RubyClass) ((RubyDescriptor) getDescriptorForField(context, fieldDescriptor… in convert() local
522 if (!value.getMetaClass().equals(typeClass)) in convert()
563 …RubyClass typeClass = (RubyClass) ((RubyDescriptor) getDescriptorForField(context, fieldDescriptor… in wrapField() local
564 RubyMessage msg = (RubyMessage) typeClass.newInstance(context, Block.NULL_BLOCK); in wrapField()
579 IRubyObject typeClass = context.runtime.getNilClass(); in repeatedFieldForFieldDescriptor() local
584 typeClass = ((RubyDescriptor) descriptor).msgclass(context); in repeatedFieldForFieldDescriptor()
587 typeClass = ((RubyEnumDescriptor) descriptor).enummodule(context); in repeatedFieldForFieldDescriptor()
589 return new RubyRepeatedField(context.runtime, cRepeatedField, type, typeClass); in repeatedFieldForFieldDescriptor()
677 IRubyObject typeClass = context.runtime.getObject(); in setField() local
680typeClass = ((RubyDescriptor) getDescriptorForField(context, fieldDescriptor)).msgclass(context); in setField()
[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/javassist/src/main/javassist/tools/web/
DWebserver.java44 private final static int typeClass = 2; field in Webserver
249 fileType = typeClass; in doReply()
260 if (fileType == typeClass in doReply()
291 if (fileType == typeClass) { in doReply()
306 sendHeader(out, classfile.length, typeClass); in doReply()
352 sendHeader(out, classfile.length, typeClass); in letUsersSendClassfile()
365 if (filetype == typeClass) in sendHeader()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/27/1/.cp/lib/
Dantsupportlib.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/ ...
/external/deqp/external/vulkancts/scripts/
Dgen_framework.py222 def __init__ (self, typeClass, name, members): argument
223 self.typeClass = typeClass
229 return names[self.typeClass]
891 return type.typeClass == CompositeType.CLASS_STRUCT and \
/external/guice/extensions/struts2/lib/
Dognl-3.0.jarMETA-INF/ META-INF/MANIFEST.MF ognl/ ognl/enhance/ ognl/ ...
Dant-1.6.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/guice/extensions/persist/lib/
Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...
Dhibernate-annotations.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/robolectric/v1/lib/main/
Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/ ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...