/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
D | MessageNano.java | 168 final int serializedSize = a.getSerializedSize(); in messageNanoEquals() local 169 if (b.getSerializedSize() != serializedSize) { in messageNanoEquals() 172 final byte[] aByteArray = new byte[serializedSize]; in messageNanoEquals() 173 final byte[] bByteArray = new byte[serializedSize]; in messageNanoEquals() 174 toByteArray(a, aByteArray, 0, serializedSize); in messageNanoEquals() 175 toByteArray(b, bByteArray, 0, serializedSize); in messageNanoEquals()
|
/external/icu/icu4c/source/test/cintltst/ |
D | spooftest.c | 192 int32_t serializedSize = 0; in TestUSpoofCAPI() local 199 serializedSize = uspoof_serialize(sc, NULL, 0, &status); in TestUSpoofCAPI() 201 TEST_ASSERT(serializedSize > 0); in TestUSpoofCAPI() 205 buf = (char *)malloc(serializedSize + 10); in TestUSpoofCAPI() 207 buf[serializedSize] = 42; in TestUSpoofCAPI() 208 uspoof_serialize(sc, buf, serializedSize, &status); in TestUSpoofCAPI() 210 TEST_ASSERT_EQ(42, buf[serializedSize]); in TestUSpoofCAPI() 213 sc2 = uspoof_openFromSerialized(buf, serializedSize+10, &actualLength, &status); in TestUSpoofCAPI() 216 TEST_ASSERT_EQ(serializedSize, actualLength); in TestUSpoofCAPI()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
D | DecoderConfigDescriptor.java | 108 public int serializedSize() { in serializedSize() method in DecoderConfigDescriptor 109 return 15 + audioSpecificInfo.serializedSize(); in serializedSize() 113 ByteBuffer out = ByteBuffer.allocate(serializedSize()); in serialize() 115 IsoTypeWriter.writeUInt8(out, serializedSize() - 2); in serialize()
|
D | ESDescriptor.java | 157 public int serializedSize() { in serializedSize() method in ESDescriptor 169 out += decoderConfigDescriptor.serializedSize(); in serializedSize() 170 out += slConfigDescriptor.serializedSize(); in serializedSize() 178 …ByteBuffer out = ByteBuffer.allocate(serializedSize()); // Usually is around 30 bytes, so 200 shou… in serialize() 180 IsoTypeWriter.writeUInt8(out, serializedSize() - 2); // Not OK for longer sizes! in serialize()
|
D | DecoderSpecificInfo.java | 44 public int serializedSize() { in serializedSize() method in DecoderSpecificInfo
|
D | SLConfigDescriptor.java | 76 public int serializedSize() { in serializedSize() method in SLConfigDescriptor
|
D | AudioSpecificConfig.java | 511 public int serializedSize() { in serializedSize() method in AudioSpecificConfig 522 ByteBuffer out = ByteBuffer.allocate(serializedSize()); in serialize() 524 IsoTypeWriter.writeUInt8(out, serializedSize() - 2); in serialize()
|
/external/protobuf/objectivec/Tests/ |
D | GPBWireFormatTests.m | 49 XCTAssertEqual(message.serializedSize, (size_t)rawBytes.length); 61 XCTAssertEqual(message.serializedSize, (size_t)rawBytes.length); 77 XCTAssertEqual(message.serializedSize, (size_t)rawBytes.length); 117 size_t allSet = [self allSetRepeatedCount:kGPBDefaultRepeatCount].serializedSize; 118 size_t extensionSet = [self allExtensionsSetRepeatedCount:kGPBDefaultRepeatCount].serializedSize;
|
D | GPBUnknownFieldSetTest.m | 168 XCTAssertEqual(message.serializedSize, (size_t)0);
|
D | unittest_objc.proto | 112 serializedSize = 6; enumerator
|
D | GPBCodedInputStreamTests.m | 184 XCTAssertEqual(message.serializedSize, (size_t)rawBytes.length);
|
/external/protobuf/objectivec/ |
D | GPBUnknownField_PackagePrivate.h | 42 - (size_t)serializedSize;
|
D | GPBUnknownFieldSet_PackagePrivate.h | 44 - (size_t)serializedSize;
|
D | GPBMessage.h | 254 - (size_t)serializedSize;
|
D | GPBUnknownFieldSet.m | 225 *result += [field serializedSize]; 228 - (size_t)serializedSize { method in const 272 NSMutableData *data = [NSMutableData dataWithLength:self.serializedSize];
|
D | GPBMessage.m | 1167 NSMutableData *data = [NSMutableData dataWithLength:[self serializedSize]]; 1176 // serializedSize was wrong. 1188 size_t serializedSize = [self serializedSize]; 1189 size_t varintSize = GPBComputeRawVarint32SizeForInteger(serializedSize); 1191 [NSMutableData dataWithLength:(serializedSize + varintSize)]; 1200 // serializedSize was wrong. 1252 [output writeRawVarintSizeTAs32:[self serializedSize]]; 2807 - (size_t)serializedSize { method in GPBMessage 2950 result += [unknownFields_ serializedSize];
|
D | GPBCodedOutputStream.m | 358 GPBWriteRawVarint32(&state_, (int32_t)[value serializedSize]); 1045 return [value serializedSize]; 1049 return value.serializedSize; 1053 size_t size = [value serializedSize];
|
D | GPBUnknownField.m | 152 - (size_t)serializedSize { method
|