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

1 2 3

  /external/chromium_org/remoting/protocol/
message_serialization.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/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())
unknown_fields_test.py 123 self.assertEqual(self.all_fields.ByteSize(), self.empty_message.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()));
probe_message_unittest.cc 43 EXPECT_GE(probe_packet.ByteSize(), static_cast<int>(probe_size));
  /external/chromium_org/media/cast/logging/
log_serializer.cc 48 int proto_size = metadata.ByteSize();
72 proto_size = frame_event.ByteSize();
96 proto_size = packet_event.ByteSize();
  /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));
478 const size_t ByteSize = 1 << Idx;
479 const size_t BitSize = ByteSize * 8;
493 const size_t ByteSize = 1 << Idx;
494 const size_t BitSize = ByteSize * 8;
511 const size_t ByteSize = 1 << Idx;
512 const size_t BitSize = ByteSize * 8
    [all...]
  /art/runtime/gc/allocator/
rosalloc.h 51 size_t ByteSize(RosAlloc* rosalloc) const EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) {
71 byte* end = fpr_base + ByteSize(rosalloc);
76 return ByteSize(rosalloc) >= rosalloc->page_release_size_threshold_;
80 return reinterpret_cast<byte*>(this) + ByteSize(rosalloc) == rosalloc->base_ + rosalloc->footprint_;
101 size_t byte_size = ByteSize(rosalloc);
rosalloc.cc 119 size_t fpr_byte_size = fpr->ByteSize(this);
136 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0));
145 DCHECK_EQ(fpr->ByteSize(this) % kPageSize, static_cast<size_t>(0));
163 last_free_page_run_size = last_free_page_run->ByteSize(this);
184 DCHECK_EQ(last_free_page_run_size, last_free_page_run->ByteSize(this));
186 DCHECK_EQ(last_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0));
195 DCHECK_EQ(new_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0));
219 size_t fpr_byte_size = fpr->ByteSize(this);
234 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0));
242 DCHECK_EQ(fpr->ByteSize(this) % kPageSize, static_cast<size_t>(0))
    [all...]
  /art/runtime/gc/space/
large_object_space.cc 206 size_t ByteSize() const {
320 size_t alloc_size = cur_info->ByteSize();
346 const size_t allocation_size = info->ByteSize();
375 DCHECK(IsAligned<kAlignment>(next_next_info->ByteSize()));
402 size_t alloc_size = info->ByteSize();
474 size_t size = cur_info->ByteSize();
  /external/chromium_org/google_apis/gcm/engine/
connection_handler_impl.cc 95 DVLOG(1) << "Writing proto of size " << message.ByteSize();
99 coded_output_stream.WriteVarint32(message.ByteSize());
120 coded_output_stream.WriteVarint32(login_request.ByteSize());
  /external/llvm/lib/CodeGen/AsmPrinter/
AsmPrinterDwarf.cpp 230 unsigned ByteSize = SizeInBits / SizeOfByte;
231 Streamer.EmitULEB128(ByteSize, Twine(ByteSize));
  /external/chromium_org/third_party/protobuf/python/google/protobuf/
message.py 246 def ByteSize(self):
248 Recursively calls ByteSize() on all contained messages.
  /external/lldb/tools/debugserver/source/
DNBBreakpoint.h 32 nub_size_t ByteSize() const { return m_byte_size; }
  /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...]
  /external/chromium_org/remoting/host/
video_frame_recorder_host_extension.cc 146 std::string data(encoded_frame->ByteSize(), 0);

Completed in 985 milliseconds

1 2 3