Home
last modified time | relevance | path

Searched refs:RubyModule (Results 1 – 16 of 16) sorted by relevance

/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyEnumDescriptor.java39 import org.jruby.RubyModule;
52 RubyModule mProtobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyEnumDescriptor()
167 private RubyModule buildModuleFromDescriptor(ThreadContext context) { in buildModuleFromDescriptor()
171 RubyModule enumModule = RubyModule.newModule(runtime); in buildModuleFromDescriptor()
182 private RubyModule klazz;
DRubyProtobuf.java36 import org.jruby.RubyModule;
46 RubyModule mGoogle = runtime.getModule("Google"); in createProtobuf()
47 RubyModule mProtobuf = mGoogle.defineModuleUnder("Protobuf"); in createProtobuf()
DRubyOneofBuilderContext.java37 import org.jruby.RubyModule;
48 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyOneofBuilderContext()
49 RubyModule internal = protobuf.defineModuleUnder("Internal"); in createRubyOneofBuilderContext()
DRubyDescriptor.java52 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyDescriptor()
236 private RubyModule buildClassFromDescriptor(ThreadContext context) { in buildClassFromDescriptor()
251 RubyModule messageExts = runtime.getClassFromPath("Google::Protobuf::MessageExts"); in buildClassFromDescriptor()
263 private RubyModule klazz;
DRubyEnumBuilderContext.java37 import org.jruby.RubyModule;
48 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyEnumBuilderContext()
DRubyEnum.java36 import org.jruby.RubyModule;
84 return ((RubyModule) recv).getInstanceVariable(Utils.DESCRIPTOR_INSTANCE_VAR); in getDescriptor()
DUtils.java68 IRubyObject value, RubyModule typeClass) { in checkType()
274 if (!(value instanceof RubyModule)) { in validateTypeClass()
277 RubyModule klass = (RubyModule) value; in validateTypeClass()
DRubyOneofDescriptor.java7 import org.jruby.RubyModule;
22 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyOneofDescriptor()
DRubyRepeatedField.java48 RubyModule mProtobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyRepeatedField()
113 value = Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in indexSet()
169 value = Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in push()
393 Utils.checkType(context, fieldType, arr.eltInternal(i), (RubyModule) typeClass); in checkArrayElementType()
DRubyMap.java58 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyMap()
151 key = Utils.checkType(context, keyType, key, (RubyModule) valueTypeClass); in indexSet()
152 value = Utils.checkType(context, valueType, value, (RubyModule) valueTypeClass); in indexSet()
DRubyBuilder.java44 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyBuilder()
DRubyDescriptorPool.java49 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyDescriptorPool()
DRubyFieldDescriptor.java47 RubyModule mProtobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyFileDescriptor()
DRubyMessageBuilderContext.java48 RubyModule protobuf = runtime.getClassFromPath("Google::Protobuf"); in createRubyMessageBuilderContext()
DRubyMessage.java363 RubyModule jsonModule = runtime.getClassFromPath("JSON"); in decodeJson()
726 value = Utils.checkType(context, fieldType, value, (RubyModule) typeClass); in setField()
/third_party/nghttp2/doc/_exts/sphinxcontrib/
Drubydomain.py380 class RubyModule(Directive): class
577 'module': RubyModule,