/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessageBuilderContext.java | 85 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 …]
|
D | RubyRepeatedField.java | 64 …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 …]
|
D | Utils.java | 50 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()
|
D | RubyMessage.java | 111 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 …]
|
D | RubyOneofBuilderContext.java | 75 IRubyObject typeClass = args.length > 3 ? args[3] : context.runtime.getNil(); in optional() local 77 name, type, number, typeClass, cFieldDescriptor); in optional()
|
/third_party/glslang/SPIRV/ |
D | SpvBuilder.cpp | 649 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 …]
|
D | SpvBuilder.h | 777 Id findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned value); 778 Id findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned v1, unsigned v2); 779 Id findCompositeConstant(Op typeClass, Id typeId, const std::vector<Id>& comps);
|
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
D | ohos_gen_framework.py | 321 def __init__ (self, typeClass, name, members, apiVersion = None): argument 322 self.typeClass = typeClass 331 return names[self.typeClass] 1503 return type.typeClass == CompositeType.CLASS_STRUCT and \
|
D | gen_framework.py | 320 def __init__ (self, typeClass, name, members, apiVersion = None): argument 321 self.typeClass = typeClass 330 return names[self.typeClass] 1502 return type.typeClass == CompositeType.CLASS_STRUCT and \
|
/third_party/typescript/src/compiler/ |
D | checker.ts | 26353 const typeClass = getContainingClass(typeValueDecl); 26354 Debug.assert(!!typeClass); 26363 if (findAncestor(lexicalClass, n => typeClass === n)) { 26391 diagnosticName(typeClass.name || anon)
|