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

1 2 3 4 5

  /external/llvm/lib/DebugInfo/PDB/DIA/
DIASourceFile.cpp 40 DWORD ByteSize = 0;
41 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr);
42 if (ByteSize == 0)
44 std::vector<BYTE> ChecksumBytes(ByteSize);
45 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]);
  /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();
285 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
306 int byte_size = ByteSize();
311 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
wire_format_unittest.cc 215 TEST(WireFormatTest, ByteSize) {
219 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message));
221 EXPECT_EQ(0, message.ByteSize());
222 EXPECT_EQ(0, WireFormat::ByteSize(message));
229 EXPECT_EQ(message.ByteSize(),
230 WireFormat::ByteSize(message));
232 EXPECT_EQ(0, message.ByteSize());
233 EXPECT_EQ(0, WireFormat::ByteSize(message));
240 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message))
    [all...]
message_lite.h 171 // are just simple wrappers around ByteSize() and SerializeWithCachedSizes().
212 // ByteSize() on all embedded messages. If a subclass does not override
214 virtual int ByteSize() const = 0;
217 // not have changed since the last call to ByteSize(); if it has, the results
224 // must point at a byte array of at least ByteSize() bytes.
227 // Returns the result of the last call to ByteSize(). An embedded message's
232 // ByteSize() does not automatically use the cached size when available
  /external/nanopb-c/generator/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.
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 227 self.assertEquals(2, message.ByteSize())
231 self.assertEquals(3, message.ByteSize())
234 self.assertEquals(3, message.ByteSize())
238 self.assertEquals(3, message.ByteSize())
    [all...]
encoder.py 286 result += element.ByteSize()
291 return tag_size + value.ByteSize()
305 l = element.ByteSize()
311 l = value.ByteSize()
336 l = value.ByteSize()
747 local_EncodeVarint(write, element.ByteSize())
753 local_EncodeVarint(write, value.ByteSize())
784 local_EncodeVarint(write, value.ByteSize())
  /system/tpm/trunks/
trunks_binder_proxy.cc 78 command_proto_data.resize(command_proto.ByteSize());
99 command_proto_data.resize(command_proto.ByteSize());
trunks_binder_service.cc 48 response->resize(response_proto.ByteSize());
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/
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
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/
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
  /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/
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
  /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/
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
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
message_lite.h 198 // are just simple wrappers around ByteSize() and SerializeWithCachedSizes().
239 // ByteSize() on all embedded messages. If a subclass does not override
242 // ByteSize() is generally linear in the number of fields defined for the
244 virtual int ByteSize() const = 0;
247 // not have changed since the last call to ByteSize(); if it has, the results
254 // must point at a byte array of at least ByteSize() bytes.
257 // Returns the result of the last call to ByteSize(). An embedded message's
262 // ByteSize() does not automatically use the cached size when available
map_entry_lite.h 171 int ByteSize() const {
173 size += has_key() ? kTagSize + KeyTypeHandler::ByteSize(key()) : 0;
174 size += has_value() ? kTagSize + ValueTypeHandler::ByteSize(value()) : 0;
wrappers.pb.h 86 int ByteSize() const;
177 int ByteSize() const;
268 int ByteSize() const;
359 int ByteSize() const;
450 int ByteSize() const;
541 int ByteSize() const;
632 int ByteSize() const;
723 int ByteSize() const;
822 int ByteSize() const;
    [all...]
map_entry.h 161 int ByteSize() const {
162 return entry_lite_.ByteSize();
  /external/llvm/lib/Transforms/Instrumentation/
ThreadSanitizer.cpp 145 const unsigned ByteSize = 1U << i;
146 const unsigned BitSize = ByteSize * 8;
147 std::string ByteSizeStr = utostr(ByteSize);
514 const unsigned ByteSize = 1U << Idx;
515 const unsigned BitSize = ByteSize * 8;
528 const unsigned ByteSize = 1U << Idx;
529 const unsigned BitSize = ByteSize * 8;
545 const unsigned ByteSize = 1U << Idx;
546 const unsigned BitSize = ByteSize * 8;
559 const unsigned ByteSize = 1U << Idx
    [all...]
  /art/runtime/gc/allocator/
rosalloc.cc 132 size_t fpr_byte_size = fpr->ByteSize(this);
149 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0));
158 DCHECK_EQ(fpr->ByteSize(this) % kPageSize, static_cast<size_t>(0));
176 last_free_page_run_size = last_free_page_run->ByteSize(this);
197 DCHECK_EQ(last_free_page_run_size, last_free_page_run->ByteSize(this));
199 DCHECK_EQ(last_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0));
208 DCHECK_EQ(new_free_page_run->ByteSize(this) % kPageSize, static_cast<size_t>(0));
232 size_t fpr_byte_size = fpr->ByteSize(this);
247 DCHECK_EQ(remainder->ByteSize(this) % kPageSize, static_cast<size_t>(0));
255 DCHECK_EQ(fpr->ByteSize(this) % kPageSize, static_cast<size_t>(0))
    [all...]
  /external/nanopb-c/generator/google/protobuf/
message.py 246 def ByteSize(self):
248 Recursively calls ByteSize() on all contained messages.
  /external/protobuf/python/google/protobuf/
message.py 250 def ByteSize(self):
252 Recursively calls ByteSize() on all contained messages.
  /external/llvm/lib/IR/
ConstantFold.cpp 204 /// first byte used, counting from the least significant byte) and ByteSize,
212 unsigned ByteSize) {
217 assert(ByteSize && "Must be accessing some piece");
218 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input");
219 assert(ByteSize != CSize && "Should not extract everything");
226 V = V.trunc(ByteSize*8);
238 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
247 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
253 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
261 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfExpression.cpp 57 unsigned ByteSize = SizeInBits / SizeOfByte;
58 EmitUnsigned(ByteSize);

Completed in 1148 milliseconds

1 2 3 4 5