/third_party/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 | 235 TEST(WireFormatTest, ByteSize) { in TEST() argument 239 EXPECT_EQ(message.ByteSizeLong(), WireFormat::ByteSize(message)); in TEST() 242 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() 249 EXPECT_EQ(message.ByteSizeLong(), WireFormat::ByteSize(message)); in TEST() 252 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() 259 EXPECT_EQ(message.ByteSizeLong(), WireFormat::ByteSize(message)); in TEST() 262 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() 269 EXPECT_EQ(message.ByteSizeLong(), WireFormat::ByteSize(message)); in TEST() 272 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() 279 EXPECT_EQ(message.ByteSizeLong(), WireFormat::ByteSize(message)); in TEST() [all …]
|
D | map_entry_lite.h | 130 2 + KeyTypeHandler::ByteSize(key) + ValueTypeHandler::ByteSize(value); 269 size += kTagSize + static_cast<size_t>(KeyTypeHandler::ByteSize(key())); 270 size += kTagSize + static_cast<size_t>(ValueTypeHandler::ByteSize(value()));
|
D | map_type_handler.h | 168 static inline size_t ByteSize(const MapEntryAccessorType& value); 224 static inline int ByteSize(const MapEntryAccessorType& value); \ 275 inline size_t MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::ByteSize( 282 inline int MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type>::ByteSize( \ 301 inline int MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type>::ByteSize( \
|
D | proto3_lite_unittest.inc | 130 EXPECT_EQ(msg1.ByteSize(), msg2.ByteSize() + 1);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFAbbreviationDeclaration.cpp | 72 Optional<uint8_t> ByteSize; in extract() local 99 if ((ByteSize = dwarf::getFixedFormByteSize(F, dwarf::FormParams()))) { in extract() 101 FixedAttributeSize->NumBytes += *ByteSize; in extract() 111 AttributeSpecs.push_back(AttributeSpec(A, F, ByteSize)); in extract() 187 size_t ByteSize = NumBytes; in getByteSize() local 189 ByteSize += NumAddrs * U.getAddressByteSize(); in getByteSize() 191 ByteSize += NumRefAddrs * U.getRefAddrByteSize(); in getByteSize() 193 ByteSize += NumDwarfOffsets * U.getDwarfOffsetByteSize(); in getByteSize() 194 return ByteSize; in getByteSize() 201 if (ByteSize.HasByteSize) in getByteSize() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFAbbreviationDeclaration.h | 34 AttributeSpec(dwarf::Attribute A, dwarf::Form F, Optional<uint8_t> ByteSize) in AttributeSpec() 37 this->ByteSize.HasByteSize = ByteSize.hasValue(); in AttributeSpec() 38 if (this->ByteSize.HasByteSize) in AttributeSpec() 39 this->ByteSize.ByteSize = *ByteSize; in AttributeSpec() 61 uint8_t ByteSize; member 64 ByteSizeStorage ByteSize; member
|
D | DWARFAttribute.h | 28 uint32_t ByteSize = 0; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIASourceFile.cpp | 33 DWORD ByteSize = 0; in getChecksum() local 34 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); in getChecksum() 35 if (ByteSize == 0) in getChecksum() 37 std::vector<BYTE> ChecksumBytes(ByteSize); in getChecksum() 38 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]); in getChecksum()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/ |
D | DWARFLinkerDeclContext.h | 79 DeclContext(unsigned Hash, uint32_t Line, uint32_t ByteSize, uint16_t Tag, 82 : QualifiedNameHash(Hash), Line(Line), ByteSize(ByteSize), Tag(Tag), in QualifiedNameHash() 104 uint32_t ByteSize = 0; variable 160 LHS->Line == RHS->Line && LHS->ByteSize == RHS->ByteSize && in isEqual()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 219 self.assertEqual(2, message.ByteSize()) 223 self.assertEqual(3, message.ByteSize()) 228 self.assertEqual(3, message.ByteSize()) 232 self.assertEqual(3, message.ByteSize()) 1868 self.assertEqual(proto.ByteSize(), 0) 1877 self.assertEqual(proto.ByteSize(), 0) 2019 self.assertEqual(proto.ByteSize(), len(serialized)) 2246 return self.proto.ByteSize() 2249 self.assertEqual(0, self.proto.ByteSize()) 2254 self.assertEqual(0, proto.ByteSize()) [all …]
|
D | wire_format.py | 195 + message.ByteSize()) 200 + _VarUInt64ByteSizeNoTag(message.ByteSize()) 201 + message.ByteSize()) 214 message_size = msg.ByteSize()
|
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() 762 local_EncodeVarint(write, element.ByteSize(), deterministic) 768 local_EncodeVarint(write, value.ByteSize(), deterministic) 798 local_EncodeVarint(write, value.ByteSize(), deterministic)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/ |
D | DWARFLinkerDeclContext.cpp | 107 unsigned ByteSize = std::numeric_limits<uint32_t>::max(); in getChildDeclContext() local 118 ByteSize = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_byte_size), in getChildDeclContext() 178 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext() 185 new (Allocator) DeclContext(Hash, Line, ByteSize, Tag, NameRef, FileRef, in getChildDeclContext()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 219 const unsigned ByteSize = 1U << i; in initialize() local 220 const unsigned BitSize = ByteSize * 8; in initialize() 221 std::string ByteSizeStr = utostr(ByteSize); in initialize() 636 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 637 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 651 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 652 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 668 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local 669 const unsigned BitSize = ByteSize * 8; in instrumentAtomic() 682 const unsigned ByteSize = 1U << Idx; in instrumentAtomic() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes() [all …]
|
/third_party/node/deps/npm/node_modules/byte-size/dist/ |
D | index.js | 61 class ByteSize { class 147 return new ByteSize(bytes, options)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | PDBStringTable.cpp | 22 uint32_t PDBStringTable::getByteSize() const { return Header->ByteSize; } in getByteSize() 92 std::tie(SectionReader, Reader) = Reader.split(Header->ByteSize); in reload()
|
/third_party/node/deps/npm/node_modules/byte-size/ |
D | index.mjs | 55 class ByteSize { class 141 return new ByteSize(bytes, options)
|
/third_party/spirv-tools/source/opt/ |
D | inst_bindless_check_pass.cpp | 318 uint32_t InstBindlessCheckPass::ByteSize(uint32_t ty_id, uint32_t matrix_stride, in ByteSize() function in spvtools::opt::InstBindlessCheckPass 345 return (size - 1) * matrix_stride + ByteSize(comp_ty_id, 0, false, false); in ByteSize() 421 uint32_t col_stride = ByteSize(comp_ty_id, 0u, false, false); in GenLastByteIdx() 442 uint32_t comp_ty_sz = ByteSize(comp_ty_id, 0u, false, false); in GenLastByteIdx() 506 uint32_t bsize = ByteSize(curr_ty_id, matrix_stride, col_major, in_matrix); in GenLastByteIdx()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | inst_bindless_check_pass.cpp | 325 uint32_t InstBindlessCheckPass::ByteSize(uint32_t ty_id, uint32_t matrix_stride, in ByteSize() function in spvtools::opt::InstBindlessCheckPass 352 return (size - 1) * matrix_stride + ByteSize(comp_ty_id, 0, false, false); in ByteSize() 428 uint32_t col_stride = ByteSize(comp_ty_id, 0u, false, false); in GenLastByteIdx() 449 uint32_t comp_ty_sz = ByteSize(comp_ty_id, 0u, false, false); in GenLastByteIdx() 513 uint32_t bsize = ByteSize(curr_ty_id, matrix_stride, col_major, in_matrix); in GenLastByteIdx()
|
D | inst_bindless_check_pass.h | 139 uint32_t ByteSize(uint32_t ty_id, uint32_t matrix_stride, bool col_major,
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | inst_bindless_check_pass.cpp | 325 uint32_t InstBindlessCheckPass::ByteSize(uint32_t ty_id, uint32_t matrix_stride, in ByteSize() function in spvtools::opt::InstBindlessCheckPass 352 return (size - 1) * matrix_stride + ByteSize(comp_ty_id, 0, false, false); in ByteSize() 428 uint32_t col_stride = ByteSize(comp_ty_id, 0u, false, false); in GenLastByteIdx() 449 uint32_t comp_ty_sz = ByteSize(comp_ty_id, 0u, false, false); in GenLastByteIdx() 513 uint32_t bsize = ByteSize(curr_ty_id, matrix_stride, col_major, in_matrix); in GenLastByteIdx()
|
D | inst_bindless_check_pass.h | 139 uint32_t ByteSize(uint32_t ty_id, uint32_t matrix_stride, bool col_major,
|
/third_party/protobuf/python/google/protobuf/ |
D | message.py | 352 def ByteSize(self): member in Message
|