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

1 2 3 4

  /external/chromium_org/remoting/protocol/
util.cc 21 int size = msg.ByteSize() + kExtraBytes;
  /external/chromium_org/google_apis/gcm/base/
mcs_message.cc 37 size_(protobuf.ByteSize()),
44 size_(protobuf.ByteSize()),
52 size_(protobuf->ByteSize()),
mcs_message_unittest.cc 46 EXPECT_EQ(login_request->ByteSize(), message.size());
64 EXPECT_EQ(login_request->ByteSize(), message.size());
83 EXPECT_EQ(login_request->ByteSize(), message.size());
  /external/chromium_org/third_party/leveldatabase/src/db/
write_batch_internal.h 35 static size_t ByteSize(const WriteBatch* batch) {
  /external/chromium_org/third_party/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 170 // are just simple wrappers around ByteSize() and SerializeWithCachedSizes().
211 // ByteSize() on all embedded messages. If a subclass does not override
213 virtual int ByteSize() const = 0;
216 // not have changed since the last call to ByteSize(); if it has, the results
223 // must point at a byte array of at least ByteSize() bytes.
226 // Returns the result of the last call to ByteSize(). An embedded message's
231 // ByteSize() does not automatically use the cached size when available
wire_format.h 120 // Implements Message::ByteSize() via reflection. WARNING: The result
122 // will have their ByteSize() methods called, so their sizes will be cached.
125 static int ByteSize(const Message& message);
150 // will call ByteSize() for the embedded message, insuring that it caches
  /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
  /external/chromium_org/third_party/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 225 self.assertEquals(2, message.ByteSize())
229 self.assertEquals(3, message.ByteSize())
232 self.assertEquals(3, message.ByteSize())
236 self.assertEquals(3, message.ByteSize())
620 bytes_size_before = pb.ByteSize()
630 self.assertEqual(bytes_size_before, pb.ByteSize())
    [all...]
encoder.py 280 result += element.ByteSize()
285 return tag_size + value.ByteSize()
299 l = element.ByteSize()
305 l = value.ByteSize()
330 l = value.ByteSize()
729 local_EncodeVarint(write, element.ByteSize())
735 local_EncodeVarint(write, value.ByteSize())
765 local_EncodeVarint(write, value.ByteSize())
  /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())
  /external/chromium_org/chrome/browser/net/
probe_message.cc 89 int padding_size = probe_size - probe_packet->ByteSize();
92 DVLOG(3) << "Request size " << probe_packet->ByteSize() << " probe size "
94 DCHECK_LE(probe_size, static_cast<uint32>(probe_packet->ByteSize()));
  /external/llvm/lib/Transforms/Instrumentation/
ThreadSanitizer.cpp 152 const size_t ByteSize = 1 << i;
153 const size_t BitSize = ByteSize * 8;
154 SmallString<32> ReadName("__tsan_read" + itostr(ByteSize));
158 SmallString<32> WriteName("__tsan_write" + itostr(ByteSize));
503 const size_t ByteSize = 1 << Idx;
504 const size_t BitSize = ByteSize * 8;
518 const size_t ByteSize = 1 << Idx;
519 const size_t BitSize = ByteSize * 8;
536 const size_t ByteSize = 1 << Idx;
537 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.
  /external/chromium_org/google_apis/gcm/engine/
connection_handler_impl.cc 85 DVLOG(1) << "Writing proto of size " << message.ByteSize();
89 coded_output_stream.WriteVarint32(message.ByteSize());
110 coded_output_stream.WriteVarint32(login_request.ByteSize());
  /external/chromium_org/sync/engine/
traffic_recorder.cc 121 if (static_cast<unsigned int>(msg.ByteSize()) >= max_message_size_) {
  /external/chromium_org/third_party/protobuf/python/google/protobuf/
message.py 246 def ByteSize(self):
248 Recursively calls ByteSize() on all contained messages.
  /frameworks/native/opengl/libs/GLES_trace/src/
gltrace_transport.cpp 160 const uint32_t len = msg->ByteSize();
  /external/llvm/lib/IR/
ConstantFold.cpp 190 /// first byte used, counting from the least significant byte) and ByteSize,
198 unsigned ByteSize) {
203 assert(ByteSize && "Must be accessing some piece");
204 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input");
205 assert(ByteSize != CSize && "Should not extract everything");
212 V = V.trunc(ByteSize*8);
224 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
233 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
239 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
247 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
    [all...]

Completed in 1134 milliseconds

1 2 3 4