OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:getSerializedSize
(Results
1 - 13
of
13
) sorted by null
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
MessageMicro.java
44
* Returns the cached size or calls
getSerializedSize
which
47
* then this could be stale call
getSerializedSize
if in doubt.
56
abstract public int
getSerializedSize
();
75
final byte[] result = new byte[
getSerializedSize
()];
82
* method
getSerializedSize
must have been called prior to calling
/external/protobuf/java/src/main/java/com/google/protobuf/
MessageLite.java
94
int
getSerializedSize
();
DynamicMessage.java
215
public int
getSerializedSize
() {
223
size = fields.
getSerializedSize
();
224
size += unknownFields.
getSerializedSize
();
AbstractMessage.java
115
public int
getSerializedSize
() {
143
size += unknownFields.
getSerializedSize
();
UnknownFieldSet.java
151
ByteString.newCodedBuilder(
getSerializedSize
());
167
final byte[] result = new byte[
getSerializedSize
()];
191
codedOutput.writeRawVarint32(
getSerializedSize
());
197
public int
getSerializedSize
() {
200
result += entry.getValue().
getSerializedSize
(entry.getKey());
754
public int
getSerializedSize
(final int fieldNumber) {
CodedOutputStream.java
378
writeRawVarint32(value.
getSerializedSize
());
707
return value.
getSerializedSize
();
728
final int size = value.
getSerializedSize
();
[
all
...]
FieldSet.java
591
* See {@link Message#
getSerializedSize
()}. It's up to the caller to cache
594
public int
getSerializedSize
() {
604
* Like {@link #
getSerializedSize
} but uses MessageSet wire format.
/external/protobuf/java/src/test/java/com/google/protobuf/
DynamicMessageTest.java
141
assertEquals(message.
getSerializedSize
(),
142
dynamicMessage.
getSerializedSize
());
AbstractMessageTest.java
201
assertEquals(message.
getSerializedSize
(),
202
abstractMessage.
getSerializedSize
());
284
assertEquals(2, message.
getSerializedSize
());
WireFormatTest.java
61
assertEquals(rawBytes.size(), message.
getSerializedSize
());
72
assertEquals(rawBytes.size(), message.
getSerializedSize
());
86
assertEquals(rawBytes.size(), message.
getSerializedSize
());
107
// Write directly to an OutputStream, without invoking
getSerializedSize
()
109
// since
getSerializedSize
() was never invoked.
113
// in case writeTo(OutputStream output) invokes
getSerializedSize
();
134
assertEquals(rawBytes.size(), message.
getSerializedSize
());
220
assertEquals(TestUtil.getAllSet().
getSerializedSize
(),
221
TestUtil.getAllExtensionsSet().
getSerializedSize
());
/hardware/ril/mock-ril/src/java/com/android/internal/communication/
Msg.java
46
lenBuffer.putInt(mh.
getSerializedSize
());
/development/tools/glesv2debugger/src/com/android/glesv2debugger/
DebuggerMessage.java
751
getSerializedSize
();
824
public int
getSerializedSize
() {
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/
DebuggerMessage.java
751
getSerializedSize
();
824
public int
getSerializedSize
() {
[
all
...]
Completed in 1397 milliseconds