Home
last modified time | relevance | path

Searched refs:setExtension (Results 1 – 25 of 82) sorted by relevance

1234

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTestUtilLite.java327 message.setExtension(optionalInt32ExtensionLite, 101); in setAllExtensions()
328 message.setExtension(optionalInt64ExtensionLite, 102L); in setAllExtensions()
329 message.setExtension(optionalUint32ExtensionLite, 103); in setAllExtensions()
330 message.setExtension(optionalUint64ExtensionLite, 104L); in setAllExtensions()
331 message.setExtension(optionalSint32ExtensionLite, 105); in setAllExtensions()
332 message.setExtension(optionalSint64ExtensionLite, 106L); in setAllExtensions()
333 message.setExtension(optionalFixed32ExtensionLite, 107); in setAllExtensions()
334 message.setExtension(optionalFixed64ExtensionLite, 108L); in setAllExtensions()
335 message.setExtension(optionalSfixed32ExtensionLite, 109); in setAllExtensions()
336 message.setExtension(optionalSfixed64ExtensionLite, 110L); in setAllExtensions()
[all …]
DTestUtil.java1215 message.setExtension(optionalInt32Extension, 101); in setAllExtensions()
1216 message.setExtension(optionalInt64Extension, 102L); in setAllExtensions()
1217 message.setExtension(optionalUint32Extension, 103); in setAllExtensions()
1218 message.setExtension(optionalUint64Extension, 104L); in setAllExtensions()
1219 message.setExtension(optionalSint32Extension, 105); in setAllExtensions()
1220 message.setExtension(optionalSint64Extension, 106L); in setAllExtensions()
1221 message.setExtension(optionalFixed32Extension, 107); in setAllExtensions()
1222 message.setExtension(optionalFixed64Extension, 108L); in setAllExtensions()
1223 message.setExtension(optionalSfixed32Extension, 109); in setAllExtensions()
1224 message.setExtension(optionalSfixed64Extension, 110L); in setAllExtensions()
[all …]
DWireFormatTest.java202 .setExtension(UnittestProto.myExtensionInt, 23) in testInterleavedFieldsAndExtensions()
203 .setExtension(UnittestProto.myExtensionString, "bar") in testInterleavedFieldsAndExtensions()
236 .setExtension(UnittestProto.myExtensionInt, 23) in testParseMultipleExtensionRanges()
237 .setExtension(UnittestProto.myExtensionString, "bar") in testParseMultipleExtensionRanges()
256 .setExtension(UnittestProto.testExtensionInsideTableExtension, 23) in testExtensionInsideTable()
294 .setExtension( in testSerializeMessageSetWithFlag()
297 .setExtension( in testSerializeMessageSetWithFlag()
DMessageTest.java156 builder.setExtension(TestRequired.single, TEST_REQUIRED_UNINITIALIZED); in testRequiredExtension()
159 builder.setExtension(TestRequired.single, TEST_REQUIRED_INITIALIZED); in testRequiredExtension()
165 builder.setExtension(TestRequired.multi, 0, TEST_REQUIRED_INITIALIZED); in testRequiredExtension()
/external/protobuf/js/compatibility_tests/v3.1.0/binary/
Dproto_test.js510 msg.setExtension(
512 msg.setExtension(
514 msg.setExtension(
516 msg.setExtension(
518 msg.setExtension(
520 msg.setExtension(
522 msg.setExtension(
524 msg.setExtension(
526 msg.setExtension(
528 msg.setExtension(
[all …]
/external/protobuf/js/compatibility_tests/v3.0.0/binary/
Dproto_test.js510 msg.setExtension(
512 msg.setExtension(
514 msg.setExtension(
516 msg.setExtension(
518 msg.setExtension(
520 msg.setExtension(
522 msg.setExtension(
524 msg.setExtension(
526 msg.setExtension(
528 msg.setExtension(
[all …]
/external/protobuf/js/binary/
Dproto_test.js514 msg.setExtension(proto.jspb.test.extendOptionalInt32, 0);
515 msg.setExtension(
517 msg.setExtension(
519 msg.setExtension(
521 msg.setExtension(
523 msg.setExtension(
525 msg.setExtension(
527 msg.setExtension(
529 msg.setExtension(
531 msg.setExtension(
[all …]
/external/icu/icu4c/source/test/intltest/
Dlocalebuildertest.cpp236 bld.setExtension(key[0], value); in TestLocaleBuilder()
240 bld.setExtension('x', testCase[i++]); in TestLocaleBuilder()
1154 bld.setExtension('u', "co-stroke"); in TestSetExtensionU()
1158 bld.setExtension('U', "ca-islamic"); in TestSetExtensionU()
1162 bld.setExtension('u', "ca-chinese"); in TestSetExtensionU()
1166 bld.setExtension('U', "co-pinyin"); in TestSetExtensionU()
1174 bld.setExtension('U', ""); in TestSetExtensionU()
1178 bld.setExtension('u', "abc-defg-kr-face"); in TestSetExtensionU()
1182 bld.setExtension('U', "ca-japanese"); in TestSetExtensionU()
1225 bld.setExtension('u', extension); in TestSetExtensionValidateUWellFormed()
[all …]
/external/protobuf/js/
Dmessage_test.js467 original.setExtension(proto.jspb.test.IsExtension.extField, extension);
490 clone.setExtension(proto.jspb.test.CloneExtension.extField, newExtension);
530 original.setExtension(proto.jspb.test.CloneExtension.extField, extension);
572 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
573 extendable.setExtension(
575 extendable.setExtension(proto.jspb.test.IndirectExtension.str, 'xyzzy');
576 extendable.setExtension(
580 extendable.setExtension(
600 extendable.setExtension(proto.jspb.test.IndirectExtension.simple, null);
603 extendable.setExtension(proto.jspb.test.IndirectExtension.str, null);
[all …]
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java1094 message.setExtension(optionalInt32Extension , 101); in setAllExtensions()
1095 message.setExtension(optionalInt64Extension , 102L); in setAllExtensions()
1096 message.setExtension(optionalUint32Extension , 103); in setAllExtensions()
1097 message.setExtension(optionalUint64Extension , 104L); in setAllExtensions()
1098 message.setExtension(optionalSint32Extension , 105); in setAllExtensions()
1099 message.setExtension(optionalSint64Extension , 106L); in setAllExtensions()
1100 message.setExtension(optionalFixed32Extension , 107); in setAllExtensions()
1101 message.setExtension(optionalFixed64Extension , 108L); in setAllExtensions()
1102 message.setExtension(optionalSfixed32Extension, 109); in setAllExtensions()
1103 message.setExtension(optionalSfixed64Extension, 110L); in setAllExtensions()
[all …]
DWireFormatTest.java204 .setExtension(UnittestProto.myExtensionInt, 23) in testInterleavedFieldsAndExtensions()
205 .setExtension(UnittestProto.myExtensionString, "bar") in testInterleavedFieldsAndExtensions()
236 .setExtension(UnittestProto.myExtensionInt, 23) in testParseMultipleExtensionRanges()
237 .setExtension(UnittestProto.myExtensionString, "bar") in testParseMultipleExtensionRanges()
282 .setExtension( in testSerializeMessageSetWithFlag()
285 .setExtension( in testSerializeMessageSetWithFlag()
DMessageTest.java155 builder.setExtension(TestRequired.single, TEST_REQUIRED_UNINITIALIZED); in testRequiredExtension()
158 builder.setExtension(TestRequired.single, TEST_REQUIRED_INITIALIZED); in testRequiredExtension()
164 builder.setExtension(TestRequired.multi, 0, TEST_REQUIRED_INITIALIZED); in testRequiredExtension()
/external/protobuf/js/compatibility_tests/v3.1.0/
Dmessage_test.js435 original.setExtension(proto.jspb.test.IsExtension.extField, extension);
454 clone.setExtension(proto.jspb.test.CloneExtension.extField, newExtension);
486 original.setExtension(proto.jspb.test.CloneExtension.extField, extension);
527 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
528 extendable.setExtension(proto.jspb.test.IndirectExtension.simple,
530 extendable.setExtension(proto.jspb.test.IndirectExtension.str, 'xyzzy');
531 extendable.setExtension(proto.jspb.test.IndirectExtension.repeatedStrList,
535 extendable.setExtension(
549 extendable.setExtension(proto.jspb.test.IndirectExtension.simple, null);
552 extendable.setExtension(proto.jspb.test.IndirectExtension.str, null);
[all …]
Ddebug_test.js88 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension);
/external/protobuf/js/compatibility_tests/v3.0.0/
Dmessage_test.js479 original.setExtension(proto.jspb.test.IsExtension.extField, extension);
498 clone.setExtension(proto.jspb.test.CloneExtension.extField, newExtension);
530 original.setExtension(proto.jspb.test.CloneExtension.extField, extension);
571 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
572 extendable.setExtension(proto.jspb.test.IndirectExtension.simple,
574 extendable.setExtension(proto.jspb.test.IndirectExtension.str, 'xyzzy');
575 extendable.setExtension(proto.jspb.test.IndirectExtension.repeatedStrList,
579 extendable.setExtension(
593 extendable.setExtension(proto.jspb.test.IndirectExtension.simple, null);
596 extendable.setExtension(proto.jspb.test.IndirectExtension.str, null);
[all …]
/external/protobuf/objectivec/Tests/
DGPBTestUtilities.m96 [message setExtension:[UnittestRoot repeatedInt32Extension]
99 [message setExtension:[UnittestRoot repeatedInt64Extension]
102 [message setExtension:[UnittestRoot repeatedUint32Extension]
105 [message setExtension:[UnittestRoot repeatedUint64Extension]
108 [message setExtension:[UnittestRoot repeatedSint32Extension]
111 [message setExtension:[UnittestRoot repeatedSint64Extension]
114 [message setExtension:[UnittestRoot repeatedFixed32Extension]
117 [message setExtension:[UnittestRoot repeatedFixed64Extension]
120 [message setExtension:[UnittestRoot repeatedSfixed32Extension]
123 [message setExtension:[UnittestRoot repeatedSfixed64Extension]
[all …]
DGPBMessageTests.m109 [message setExtension:[UnittestRoot optionalInt32Extension] value:@5];
110 [message setExtension:[UnittestRoot optionalStringExtension] value:@"foo"];
113 [message setExtension:[UnittestRoot optionalForeignMessageExtension]
117 [message setExtension:[UnittestRoot optionalNestedMessageExtension]
124 [message setExtension:[UnittestRoot optionalInt64Extension] value:@6];
125 [message setExtension:[UnittestRoot optionalStringExtension] value:@"bar"];
127 [message setExtension:[UnittestRoot optionalForeignMessageExtension]
132 [message setExtension:[UnittestRoot optionalNestedMessageExtension]
139 [message setExtension:[UnittestRoot optionalInt32Extension] value:@5];
140 [message setExtension:[UnittestRoot optionalInt64Extension] value:@6];
[all …]
/external/protobuf/objectivec/
DGPBMessage.h430 - (void)setExtension:(GPBExtensionDescriptor *)extension
452 - (void)setExtension:(GPBExtensionDescriptor *)extension
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2865 message.setExtension(RepeatedExtensions.repeatedInt32, int32s); in testExtensions()
2868 message.setExtension(RepeatedExtensions.repeatedUint32, uint32s); in testExtensions()
2870 message.setExtension(RepeatedExtensions.repeatedSint32, sint32s); in testExtensions()
2872 message.setExtension(RepeatedExtensions.repeatedInt64, int64s); in testExtensions()
2875 message.setExtension(RepeatedExtensions.repeatedUint64, uint64s); in testExtensions()
2878 message.setExtension(RepeatedExtensions.repeatedSint64, sint64s); in testExtensions()
2881 message.setExtension(RepeatedExtensions.repeatedFixed32, fixed32s); in testExtensions()
2884 message.setExtension(RepeatedExtensions.repeatedSfixed32, sfixed32s); in testExtensions()
2887 message.setExtension(RepeatedExtensions.repeatedFixed64, fixed64s); in testExtensions()
2890 message.setExtension(RepeatedExtensions.repeatedSfixed64, sfixed64s); in testExtensions()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
DInterpreter.java72 interpreter.setExtension(extension); in buildFromMaps()
127 protected void setExtension(String extension) { in setExtension() method in Interpreter
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleBuilderTest.java141 bld.setExtension(key.charAt(0), value); in TestLocaleBuilder()
143 bld.setExtension(ULocale.PRIVATE_USE_EXTENSION, TESTCASE[tidx][i++]); in TestLocaleBuilder()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleBuilderTest.java144 bld.setExtension(key.charAt(0), value); in TestLocaleBuilder()
146 bld.setExtension(ULocale.PRIVATE_USE_EXTENSION, TESTCASE[tidx][i++]); in TestLocaleBuilder()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/shell/
DShellInterpreter.java32 setExtension(".sh"); in ShellInterpreter()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonenumber.java80 public PhoneNumber setExtension(String value) { in setExtension() method in Phonenumber.PhoneNumber
203 setExtension(other.getExtension()); in mergeFrom()
/external/protobuf/java/lite/src/test/java/com/google/protobuf/
DLiteTest.java136 .setExtension(UnittestLite.optionalInt32ExtensionLite, 123) in testLiteExtensions()
138 .setExtension(UnittestLite.optionalNestedEnumExtensionLite, NestedEnum.BAZ) in testLiteExtensions()
139 .setExtension( in testLiteExtensions()
164 .setExtension(UnittestLite.optionalInt32ExtensionLite, 123); in testClone()
1282 extendableMessageBuilder.setExtension(UnittestLite.optionalInt32ExtensionLite, 1); in testSanityCopyOnWrite()
1288 extendableMessageBuilder.setExtension(UnittestLite.optionalInt32ExtensionLite, 3); in testSanityCopyOnWrite()
1304 .setExtension(UnittestLite.optionalFixed32ExtensionLite, 11) in testSanityCopyOnWrite()
1445 .setExtension(UnittestLite.optionalInt32ExtensionLite, 123) in testToStringExtensions()
1448 .setExtension(UnittestLite.optionalNestedEnumExtensionLite, NestedEnum.BAZ) in testToStringExtensions()
1449 .setExtension( in testToStringExtensions()
[all …]

1234