/external/protobuf/src/google/protobuf/ |
D | well_known_types_unittest.cc | 45 EXPECT_EQ(0, message.any_field().ByteSize()); in TEST() 46 EXPECT_EQ(0, message.api_field().ByteSize()); in TEST() 47 EXPECT_EQ(0, message.duration_field().ByteSize()); in TEST() 48 EXPECT_EQ(0, message.empty_field().ByteSize()); in TEST() 49 EXPECT_EQ(0, message.field_mask_field().ByteSize()); in TEST() 50 EXPECT_EQ(0, message.source_context_field().ByteSize()); in TEST() 51 EXPECT_EQ(0, message.struct_field().ByteSize()); in TEST() 52 EXPECT_EQ(0, message.timestamp_field().ByteSize()); in TEST() 53 EXPECT_EQ(0, message.type_field().ByteSize()); in TEST() 54 EXPECT_EQ(0, message.int32_field().ByteSize()); in TEST()
|
D | wire_format_unittest.cc | 221 TEST(WireFormatTest, ByteSize) { in TEST() argument 225 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message)); in TEST() 227 EXPECT_EQ(0, message.ByteSize()); in TEST() 228 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() 235 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message)); in TEST() 237 EXPECT_EQ(0, message.ByteSize()); in TEST() 238 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() 245 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message)); in TEST() 247 EXPECT_EQ(0, message.ByteSize()); in TEST() 248 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() [all …]
|
D | proto3_arena_unittest.cc | 141 ASSERT_NE(original.ByteSize(), arena_message->ByteSize()); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFAbbreviationDeclaration.cpp | 73 Optional<uint8_t> ByteSize; in extract() local 100 if ((ByteSize = dwarf::getFixedFormByteSize(F, dwarf::FormParams()))) { in extract() 102 FixedAttributeSize->NumBytes += *ByteSize; in extract() 112 AttributeSpecs.push_back(AttributeSpec(A, F, ByteSize)); in extract() 188 size_t ByteSize = NumBytes; in getByteSize() local 190 ByteSize += NumAddrs * U.getAddressByteSize(); in getByteSize() 192 ByteSize += NumRefAddrs * U.getRefAddrByteSize(); in getByteSize() 194 ByteSize += NumDwarfOffsets * U.getDwarfOffsetByteSize(); in getByteSize() 195 return ByteSize; in getByteSize() 202 if (ByteSize.HasByteSize) in getByteSize() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFAbbreviationDeclaration.h | 35 AttributeSpec(dwarf::Attribute A, dwarf::Form F, Optional<uint8_t> ByteSize) in AttributeSpec() 38 this->ByteSize.HasByteSize = ByteSize.hasValue(); in AttributeSpec() 39 if (this->ByteSize.HasByteSize) in AttributeSpec() 40 this->ByteSize.ByteSize = *ByteSize; in AttributeSpec() 62 uint8_t ByteSize; member 65 ByteSizeStorage ByteSize; member
|
D | DWARFAttribute.h | 29 uint32_t ByteSize = 0; member 48 ByteSize = 0; in clear()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIASourceFile.cpp | 44 DWORD ByteSize = 0; in getChecksum() local 45 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); in getChecksum() 46 if (ByteSize == 0) in getChecksum() 48 std::vector<BYTE> ChecksumBytes(ByteSize); in getChecksum() 49 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]); in getChecksum()
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIASourceFile.cpp | 44 DWORD ByteSize = 0; in getChecksum() local 45 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); in getChecksum() 46 if (ByteSize == 0) in getChecksum() 48 std::vector<BYTE> ChecksumBytes(ByteSize); in getChecksum() 49 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]); in getChecksum()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DeclContext.h | 81 DeclContext(unsigned Hash, uint32_t Line, uint32_t ByteSize, uint16_t Tag, 84 : QualifiedNameHash(Hash), Line(Line), ByteSize(ByteSize), Tag(Tag), in QualifiedNameHash() 106 uint32_t ByteSize = 0; variable 162 LHS->Line == RHS->Line && LHS->ByteSize == RHS->ByteSize && in isEqual()
|
D | DeclContext.cpp | 109 unsigned ByteSize = std::numeric_limits<uint32_t>::max(); in getChildDeclContext() local 120 ByteSize = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_byte_size), in getChildDeclContext() 180 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext() 187 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
|
/external/protobuf/python/google/protobuf/internal/ |
D | wire_format.py | 195 + message.ByteSize()) 200 + _VarUInt64ByteSizeNoTag(message.ByteSize()) 201 + message.ByteSize()) 214 message_size = msg.ByteSize()
|
D | reflection_test.py | 243 self.assertEqual(2, message.ByteSize()) 247 self.assertEqual(3, message.ByteSize()) 250 self.assertEqual(3, message.ByteSize()) 254 self.assertEqual(3, message.ByteSize()) 1685 self.assertEqual(proto.ByteSize(), 0) 1694 self.assertEqual(proto.ByteSize(), 0) 1902 self.assertEqual(proto.ByteSize(), len(serialized)) 2161 return self.proto.ByteSize() 2164 self.assertEqual(0, self.proto.ByteSize()) 2169 self.assertEqual(0, proto.ByteSize()) [all …]
|
D | encoder.py | 283 result += element.ByteSize() 288 return tag_size + value.ByteSize() 302 l = element.ByteSize() 308 l = value.ByteSize() 333 l = value.ByteSize() 363 value.ByteSize() 760 local_EncodeVarint(write, element.ByteSize(), deterministic) 766 local_EncodeVarint(write, value.ByteSize(), deterministic) 796 local_EncodeVarint(write, value.ByteSize(), deterministic)
|
/external/grpc-grpc/test/core/util/ |
D | tsan_suppressions.txt | 9 # protobuf has an idempotent write race in ByteSize/GetCachedSize 11 race:ByteSize
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 172 const unsigned ByteSize = 1U << i; in initializeCallbacks() local 173 const unsigned BitSize = ByteSize * 8; in initializeCallbacks() 174 std::string ByteSizeStr = utostr(ByteSize); in initializeCallbacks() 604 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 605 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 619 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 620 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 636 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 637 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 650 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 159 const unsigned ByteSize = 1U << i; in initializeCallbacks() local 160 const unsigned BitSize = ByteSize * 8; in initializeCallbacks() 161 std::string ByteSizeStr = utostr(ByteSize); in initializeCallbacks() 573 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 574 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 594 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 595 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 611 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 612 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 625 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_interface.h | 42 virtual size_t ByteSize() const = 0; 64 size_t ByteSize() const override;
|
/external/tensorflow/tensorflow/core/util/ |
D | tensor_slice_writer.h | 166 ss->ByteSize() + kTensorProtoHeaderBytes + in SaveData() 174 DCHECK_GE(ss->ByteSize(), 0); in SaveData() 175 DCHECK_LE(ss->ByteSize(), size_bound); in SaveData()
|
D | tensor_slice_writer.cc | 181 size_t size_bound = ss->ByteSize() + kTensorProtoHeaderBytes + in SaveData() 192 DCHECK_GE(ss->ByteSize(), 0); in SaveData() 193 DCHECK_LE(ss->ByteSize(), size_bound); in SaveData()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | NameHashTable.cpp | 28 support::ulittle32_t ByteSize; in load() member 44 if (auto EC = Stream.readStreamRef(NamesBuffer, H->ByteSize)) in load()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 213 unsigned ByteSize) { in ExtractConstantBytes() argument 218 assert(ByteSize && "Must be accessing some piece"); in ExtractConstantBytes() 219 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes() 220 assert(ByteSize != CSize && "Should not extract everything"); in ExtractConstantBytes() 227 V = V.trunc(ByteSize*8); in ExtractConstantBytes() 239 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 248 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 254 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 262 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 280 ByteSize*8)); in ExtractConstantBytes() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 213 unsigned ByteSize) { in ExtractConstantBytes() argument 218 assert(ByteSize && "Must be accessing some piece"); in ExtractConstantBytes() 219 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes() 220 assert(ByteSize != CSize && "Should not extract everything"); in ExtractConstantBytes() 227 V = V.trunc(ByteSize*8); in ExtractConstantBytes() 239 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 248 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 254 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 262 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 280 ByteSize*8)); in ExtractConstantBytes() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | PDBStringTable.cpp | 23 uint32_t PDBStringTable::getByteSize() const { return Header->ByteSize; } in getByteSize() 93 std::tie(SectionReader, Reader) = Reader.split(Header->ByteSize); in reload()
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | serialwin32.py | 138 comDCB.ByteSize = 5 140 comDCB.ByteSize = 6 142 comDCB.ByteSize = 7 144 comDCB.ByteSize = 8
|
/external/tensorflow/tensorflow/c/ |
D | tf_tensor.cc | 134 size_t TF_TensorByteSize(const TF_Tensor* t) { return t->tensor->ByteSize(); } in TF_TensorByteSize() 187 size_t TensorInterface::ByteSize() const { in ByteSize() function in tensorflow::TensorInterface 384 string(static_cast<const char*>(Data()), ByteSize()))) { in ToTensor() 398 const size_t src_size = ByteSize(); in ToTensor()
|