HomeSort by relevance Sort by last modified time
    Searched refs:ByteSize (Results 1 - 25 of 36) sorted by null

1 2

  /external/protobuf/src/google/protobuf/
message_lite.cc 235 const int size = ByteSize(); // Force size to be cached.
240 ByteSizeConsistencyError(size, ByteSize(), end - buffer);
252 ByteSizeConsistencyError(size, ByteSize(),
279 int byte_size = ByteSize();
284 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
305 int byte_size = ByteSize();
310 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
wire_format_unittest.cc 178 TEST(WireFormatTest, ByteSize) {
182 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message));
184 EXPECT_EQ(0, message.ByteSize());
185 EXPECT_EQ(0, WireFormat::ByteSize(message));
192 EXPECT_EQ(message.ByteSize(),
193 WireFormat::ByteSize(message));
195 EXPECT_EQ(0, message.ByteSize());
196 EXPECT_EQ(0, WireFormat::ByteSize(message));
203 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message))
    [all...]
message_lite.h 163 // are just simple wrappers around ByteSize() and SerializeWithCachedSizes().
204 // ByteSize() on all embedded messages. If a subclass does not override
206 virtual int ByteSize() const = 0;
209 // not have changed since the last call to ByteSize(); if it has, the results
216 // must point at a byte array of at least ByteSize() bytes.
219 // Returns the result of the last call to ByteSize(). An embedded message's
224 // ByteSize() does not automatically use the cached size when available
message.cc 144 int Message::ByteSize() const {
145 int size = WireFormat::ByteSize(*this);
152 << "\" implements neither SetCachedSize() nor ByteSize(). "
extension_set_unittest.cc 192 int size = source.ByteSize();
213 int size = source.ByteSize();
236 int size = source.ByteSize();
257 int size = source.ByteSize();
wire_format.h 119 // Implements Message::ByteSize() via reflection. WARNING: The result
121 // will have their ByteSize() methods called, so their sizes will be cached.
124 static int ByteSize(const Message& message);
197 // will call ByteSize() for the embedded message, insuring that it caches
descriptor.pb.h 187 int ByteSize() const;
281 int ByteSize() const;
463 int ByteSize() const;
560 int ByteSize() const;
728 int ByteSize() const;
    [all...]
wire_format_lite_inl.h 726 return value.ByteSize();
729 int size = value.ByteSize();
735 return value.MessageType::ByteSize();
739 int size = value.MessageType::ByteSize();
descriptor.pb.cc     [all...]
message.h 292 virtual int ByteSize() const;
296 // This is called only by the default implementation of ByteSize(), to
297 // update the cached size. If you override ByteSize(), you do not need
298 // to override this. If you do not override ByteSize(), you MUST override
    [all...]
extension_set.cc     [all...]
  /external/protobuf/python/google/protobuf/internal/
wire_format.py 118 # The *ByteSize() functions below return the number of bytes required to
195 + message.ByteSize())
200 + _VarUInt64ByteSizeNoTag(message.ByteSize())
201 + message.ByteSize())
214 message_size = msg.ByteSize()
230 # Private helper function for the *ByteSize() functions above.
reflection_test.py     [all...]
encoder.py 274 result += element.ByteSize()
279 return tag_size + value.ByteSize()
293 l = element.ByteSize()
299 l = value.ByteSize()
324 l = value.ByteSize()
646 local_EncodeVarint(write, element.ByteSize())
652 local_EncodeVarint(write, value.ByteSize())
682 local_EncodeVarint(write, value.ByteSize())
wire_format_test.py 114 # Test all numeric *ByteSize() functions.
203 def ByteSize(self):
  /external/llvm/lib/Transforms/Instrumentation/
ThreadSanitizer.cpp 143 const size_t ByteSize = 1 << i;
144 const size_t BitSize = ByteSize * 8;
145 SmallString<32> ReadName("__tsan_read" + itostr(ByteSize));
149 SmallString<32> WriteName("__tsan_write" + itostr(ByteSize));
441 const size_t ByteSize = 1 << Idx;
442 const size_t BitSize = ByteSize * 8;
456 const size_t ByteSize = 1 << Idx;
457 const size_t BitSize = ByteSize * 8;
474 const size_t ByteSize = 1 << Idx;
475 const size_t BitSize = ByteSize * 8
    [all...]
  /external/protobuf/python/google/protobuf/
message.py 229 def ByteSize(self):
231 Recursively calls ByteSize() on all contained messages.
reflection.py 771 def ByteSize(self):
784 cls.ByteSize = ByteSize
    [all...]
  /frameworks/native/opengl/libs/GLES_trace/src/
gltrace_transport.cpp 160 const uint32_t len = msg->ByteSize();
  /external/llvm/lib/IR/
ConstantFold.cpp 189 /// first byte used, counting from the least significant byte) and ByteSize,
197 unsigned ByteSize) {
202 assert(ByteSize && "Must be accessing some piece");
203 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input");
204 assert(ByteSize != CSize && "Should not extract everything");
211 V = V.trunc(ByteSize*8);
223 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
232 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
238 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
246 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
plugin.pb.h 79 int ByteSize() const;
202 int ByteSize() const;
319 int ByteSize() const;
plugin.pb.cc 370 int CodeGeneratorRequest::ByteSize() const {
711 int CodeGeneratorResponse_File::ByteSize() const {
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_unittest.cc 462 int size = message1.ByteSize();
476 int packed_size = packed_message1.ByteSize();
490 int size = message1.ByteSize();
509 int size = message1.ByteSize();
644 EXPECT_EQ(3, message.ByteSize());
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.h 317 /// size, return the constant being splatted. The ByteSize field indicates
319 SDValue get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
  /external/webrtc/src/modules/audio_processing/
audio_processing_impl.cc 609 int32_t size = event_msg_->ByteSize();

Completed in 411 milliseconds

1 2