Home
last modified time | relevance | path

Searched refs:valueField (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessageBuilderContext.java175 …RubyFieldDescriptor valueField = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block… in map() local
176 valueField.setName(context, runtime.newString("value")); in map()
177 valueField.setLabel(context, RubySymbol.newSymbol(runtime, "optional")); in map()
178 valueField.setNumber(context, runtime.newFixnum(2)); in map()
179 valueField.setType(context, valueType); in map()
180 if (! typeClass.isNil()) valueField.setSubmsgName(context, typeClass); in map()
181 mapentryDesc.addField(context, valueField); in map()
DRubyMessage.java618 … Descriptors.FieldDescriptor valueField = fieldDescriptor.getMessageType().findFieldByNumber(2); in getField() local
625 ….indexSet(context, kvMessage.getField(context, keyField), kvMessage.getField(context, valueField)); in getField()
738 … Descriptors.FieldDescriptor valueField = fieldDescriptor.getMessageType().findFieldByNumber(2); in newMapForField() local
740 IRubyObject valueType = RubySymbol.newSymbol(context.runtime, valueField.getType().name()); in newMapForField()
741 if (valueField.getType() == Descriptors.FieldDescriptor.Type.MESSAGE) { in newMapForField()
DRubyMap.java368 Descriptors.FieldDescriptor valueField = descriptor.lookup("value").getFieldDef(); in build() local
372 mapMessage.setField(context, valueField, table.get(key)); in build()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java634 FieldDescriptor valueField = descriptor.findFieldByName("value"); in printAny() local
638 || valueField == null in printAny()
640 || valueField.getType() != FieldDescriptor.Type.BYTES) { in printAny()
649 ByteString content = (ByteString) message.getField(valueField); in printAny()
673 FieldDescriptor valueField = descriptor.findFieldByName("value"); in printWrapper() local
674 if (valueField == null) { in printWrapper()
679 printSingleFieldValue(valueField, message.getField(valueField)); in printWrapper()
826 FieldDescriptor valueField = type.findFieldByName("value"); in printMapFieldValue() local
827 if (keyField == null || valueField == null) { in printMapFieldValue()
836 Object entryValue = entry.getField(valueField); in printMapFieldValue()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java109 private void testRowNameContentUri(Uri table, String nameField, String valueField, in testRowNameContentUri() argument
115 v.put(valueField, testValue); in testRowNameContentUri()
125 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
144 assertEquals(testValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
153 v.put(valueField, secondTestValue); in testRowNameContentUri()
160 assertEquals(secondTestValue, c.getString(c.getColumnIndex(valueField))); in testRowNameContentUri()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonParser.cs282 var valueField = type.FindFieldByNumber(2); in MergeMapField()
283 if (keyField == null || valueField == null) in MergeMapField()
297 object value = ParseSingleValue(valueField, tokenizer); in MergeMapField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DMapForProto2Test.java661 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry() local
663 entryBuilder.setField(valueField, value); in newMapEntry()
DMapTest.java772 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry() local
774 entryBuilder.setField(valueField, value); in newMapEntry()