Home
last modified time | relevance | path

Searched refs:ByteSize (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm/lib/DebugInfo/PDB/DIA/
DDIASourceFile.cpp40 DWORD ByteSize = 0; in getChecksum() local
41 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); in getChecksum()
42 if (ByteSize == 0) in getChecksum()
44 std::vector<BYTE> ChecksumBytes(ByteSize); in getChecksum()
45 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]); in getChecksum()
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc215 TEST(WireFormatTest, ByteSize) { in TEST() argument
219 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message)); in TEST()
221 EXPECT_EQ(0, message.ByteSize()); in TEST()
222 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST()
229 EXPECT_EQ(message.ByteSize(), in TEST()
230 WireFormat::ByteSize(message)); in TEST()
232 EXPECT_EQ(0, message.ByteSize()); in TEST()
233 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST()
240 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message)); in TEST()
242 EXPECT_EQ(0, message.ByteSize()); in TEST()
[all …]
Dmessage_lite.cc235 const int size = ByteSize(); // Force size to be cached. in SerializePartialToCodedStream()
240 ByteSizeConsistencyError(size, ByteSize(), end - buffer); in SerializePartialToCodedStream()
252 ByteSizeConsistencyError(size, ByteSize(), in SerializePartialToCodedStream()
279 int byte_size = ByteSize(); in AppendPartialToString()
285 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in AppendPartialToString()
306 int byte_size = ByteSize(); in SerializePartialToArray()
311 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in SerializePartialToArray()
Dmessage.cc146 int Message::ByteSize() const { in ByteSize() function in google::protobuf::Message
147 int size = WireFormat::ByteSize(*this); in ByteSize()
Dmessage_lite.h214 virtual int ByteSize() const = 0;
Dwire_format_lite_inl.h832 return value.ByteSize(); in GroupSize()
835 return LengthDelimitedSize(value.ByteSize()); in MessageSize()
843 return value.MessageType_WorkAroundCppLookupDefect::ByteSize(); in GroupSizeNoVirtual()
849 value.MessageType_WorkAroundCppLookupDefect::ByteSize()); in MessageSizeNoVirtual()
Dextension_set_heavy.cc689 return ByteSize(number); in MessageSetItemByteSize()
702 message_size = lazymessage_value->ByteSize(); in MessageSetItemByteSize()
704 message_size = message_value->ByteSize(); in MessageSetItemByteSize()
Dwire_format.h125 static int ByteSize(const Message& message);
Ddescriptor.pb.cc910 int FileDescriptorSet::ByteSize() const { in ByteSize() function in google::protobuf::FileDescriptorSet
1490 int FileDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::FileDescriptorProto
1870 int DescriptorProto_ExtensionRange::ByteSize() const { in ByteSize() function in google::protobuf::DescriptorProto_ExtensionRange
2333 int DescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::DescriptorProto
3035 int FieldDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::FieldDescriptorProto
3371 int OneofDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::OneofDescriptorProto
3678 int EnumDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::EnumDescriptorProto
4009 int EnumValueDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::EnumValueDescriptorProto
4341 int ServiceDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::ServiceDescriptorProto
4740 int MethodDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::MethodDescriptorProto
[all …]
Ddescriptor.pb.h192 int ByteSize() const;
274 int ByteSize() const;
492 int ByteSize() const;
581 int ByteSize() const;
757 int ByteSize() const;
1003 int ByteSize() const;
1087 int ByteSize() const;
1196 int ByteSize() const;
1302 int ByteSize() const;
1411 int ByteSize() const;
[all …]
Dextension_set_unittest.cc345 int size = source.ByteSize(); in TEST()
366 int size = source.ByteSize(); in TEST()
389 int size = source.ByteSize(); in TEST()
410 int size = source.ByteSize(); in TEST()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp141 const size_t ByteSize = 1 << i; in initializeCallbacks() local
142 const size_t BitSize = ByteSize * 8; in initializeCallbacks()
143 SmallString<32> ReadName("__tsan_read" + itostr(ByteSize)); in initializeCallbacks()
147 SmallString<32> WriteName("__tsan_write" + itostr(ByteSize)); in initializeCallbacks()
152 itostr(ByteSize)); in initializeCallbacks()
158 itostr(ByteSize)); in initializeCallbacks()
507 const size_t ByteSize = 1 << Idx; in instrumentAtomic() local
508 const size_t BitSize = ByteSize * 8; in instrumentAtomic()
521 const size_t ByteSize = 1 << Idx; in instrumentAtomic() local
522 const size_t BitSize = ByteSize * 8; in instrumentAtomic()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py227 self.assertEquals(2, message.ByteSize())
231 self.assertEquals(3, message.ByteSize())
234 self.assertEquals(3, message.ByteSize())
238 self.assertEquals(3, message.ByteSize())
1499 self.assertEquals(proto.ByteSize(), 0)
1508 self.assertEquals(proto.ByteSize(), 0)
1700 self.assertEqual(proto.ByteSize(), len(serialized))
1938 return self.proto.ByteSize()
1941 self.assertEqual(0, self.proto.ByteSize())
1946 self.assertEqual(0, proto.ByteSize())
[all …]
Dwire_format.py195 + message.ByteSize())
200 + _VarUInt64ByteSizeNoTag(message.ByteSize())
201 + message.ByteSize())
214 message_size = msg.ByteSize()
Dencoder.py286 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())
Dunknown_fields_test.py132 self.assertEqual(self.all_fields.ByteSize(), self.empty_message.ByteSize())
/external/nanopb-c/generator/google/protobuf/internal/
Dwire_format.py195 + message.ByteSize())
200 + _VarUInt64ByteSizeNoTag(message.ByteSize())
201 + message.ByteSize())
214 message_size = msg.ByteSize()
Dencoder.py280 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/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc594 int size = message1.ByteSize(); in TEST()
608 int packed_size = packed_message1.ByteSize(); in TEST()
622 int size = message1.ByteSize(); in TEST()
641 int size = message1.ByteSize(); in TEST()
776 EXPECT_EQ(3, message.ByteSize()); in TEST()
1752 int size = message1.ByteSize(); in TEST_F()
1766 int size = message1.ByteSize(); in TEST_F()
1781 int size = message1.ByteSize(); in TEST_F()
1795 int size = message1.ByteSize(); in TEST_F()
1809 int size = message1.ByteSize(); in TEST_F()
[all …]
/external/llvm/lib/IR/
DConstantFold.cpp212 unsigned ByteSize) { in ExtractConstantBytes() argument
217 assert(ByteSize && "Must be accessing some piece"); in ExtractConstantBytes()
218 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes()
219 assert(ByteSize != CSize && "Should not extract everything"); in ExtractConstantBytes()
226 V = V.trunc(ByteSize*8); in ExtractConstantBytes()
238 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes()
247 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes()
253 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes()
261 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes()
279 ByteSize*8)); in ExtractConstantBytes()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfExpression.cpp57 unsigned ByteSize = SizeInBits / SizeOfByte; in AddOpPiece() local
58 EmitUnsigned(ByteSize); in AddOpPiece()
/external/protobuf/python/google/protobuf/
Dmessage.py250 def ByteSize(self): member in Message
/external/nanopb-c/generator/google/protobuf/
Dmessage.py246 def ByteSize(self): member in Message
/external/lldb/tools/debugserver/source/
DDNBBreakpoint.h32 nub_size_t ByteSize() const { return m_byte_size; } in ByteSize() function
/external/lldb/tools/debugserver/source/MacOSX/
DMachThread.cpp623 return m_arch_ap->EnableHardwareBreakpoint(bp->Address(), bp->ByteSize()); in EnableHardwareBreakpoint()
631 …return m_arch_ap->EnableHardwareWatchpoint(wp->Address(), wp->ByteSize(), wp->WatchpointRead(), wp… in EnableHardwareWatchpoint()

12