/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderEncoderBase.cpp | 167 indirectOffset >= indirectBuffer->GetSize() || in APIDrawIndirect() 168 kDrawIndirectSize > indirectBuffer->GetSize() - indirectOffset, in APIDrawIndirect() 170 indirectOffset, indirectBuffer, indirectBuffer->GetSize()); in APIDrawIndirect() 198 (indirectOffset >= indirectBuffer->GetSize() || in APIDrawIndexedIndirect() 199 kDrawIndexedIndirectSize > indirectBuffer->GetSize() - indirectOffset), in APIDrawIndexedIndirect() 201 indirectOffset, indirectBuffer, indirectBuffer->GetSize()); in APIDrawIndexedIndirect() 288 uint64_t bufferSize = buffer->GetSize(); in APISetIndexBuffer() 306 DAWN_ASSERT(buffer->GetSize() >= offset); in APISetIndexBuffer() 307 size = buffer->GetSize() - offset; in APISetIndexBuffer() 345 uint64_t bufferSize = buffer->GetSize(); in APISetVertexBuffer() [all …]
|
D | ProgrammableEncoder.cpp | 163 ASSERT(bufferBinding.buffer->GetSize() >= bufferBinding.size); in ValidateSetBindGroup() 164 ASSERT(bufferBinding.buffer->GetSize() - bufferBinding.size >= bufferBinding.offset); in ValidateSetBindGroup() 167 bufferBinding.buffer->GetSize() - bufferBinding.offset - bufferBinding.size)) { in ValidateSetBindGroup() 169 (bufferBinding.buffer->GetSize() - bufferBinding.offset) == bufferBinding.size, in ValidateSetBindGroup() 175 bufferBinding.buffer->GetSize(), bufferBinding.offset, bufferBinding.size); in ValidateSetBindGroup() 181 bufferBinding.buffer->GetSize(), bufferBinding.offset, bufferBinding.size); in ValidateSetBindGroup()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | inlined_vector.h | 247 GetData(), GetSize()); in ~ConstructionTransaction() 256 SizeType& GetSize() { return size_; } in GetSize() function 264 GetSize() = size; in Construct() 268 GetSize() = 0; in Commit() 351 size_type GetSize() const { return GetSizeAndIsAllocated() >> 1; } in GetSize() function 379 ? StorageView{GetAllocatedData(), GetSize(), in MakeStorageView() 381 : StorageView{GetInlinedData(), GetSize(), GetInlinedCapacity()}; in MakeStorageView() 448 assert(count <= GetSize()); in SubtractSize() 509 inlined_vector_internal::DestroyElements(GetAllocPtr(), data, GetSize()); in DestroyContents() 515 const auto n = other.GetSize(); in InitFrom() [all …]
|
/third_party/flutter/engine/flutter/fml/ |
D | mapping.h | 27 virtual size_t GetSize() const = 0; 63 size_t GetSize() const override; 92 size_t GetSize() const override; 113 size_t GetSize() const override; 134 size_t GetSize() const override;
|
D | icu_util.cc | 62 if (file_mapping->GetSize() != 0) { in SetupMapping() 71 if (GetSize() == 0) { in SetupICU() 84 size_t GetSize() const { return mapping_ ? mapping_->GetSize() : 0; } in GetSize() function in fml::icu::ICUContext
|
D | file_unittest.cc | 21 if (mapping.GetSize() != contents.size()) { in WriteStringToFile() 41 mapping.GetSize()}; in ReadStringFromFile() 84 ASSERT_EQ(mapping.GetSize(), contents.size()); in TEST() 96 ASSERT_EQ(mapping.GetSize(), contents.size()); in TEST() 167 ASSERT_EQ(mapping.GetSize(), 0ul); in TEST()
|
D | mapping.cc | 72 size_t DataMapping::GetSize() const { in GetSize() function in fml::DataMapping 93 size_t NonOwnedMapping::GetSize() const { in GetSize() function in fml::NonOwnedMapping 126 size_t SymbolMapping::GetSize() const { in GetSize() function in fml::SymbolMapping
|
/third_party/cef/tests/ceftests/ |
D | osr_accessibility_unittest.cc | 272 return updates->GetSize(); in GetUpdateListSize() 281 EXPECT_LT(index, updates->GetSize()); in GetUpdateValue() 299 return events->GetSize(); in GetEventListSize() 308 EXPECT_LT(index, events->GetSize()); in GetEventValue() 361 EXPECT_GT(nodes->GetSize(), 0U); in TestEnableAccessibilityUpdate() 365 for (size_t index = 0; index < nodes->GetSize(); index++) { in TestEnableAccessibilityUpdate() 377 EXPECT_EQ(1U, childIDs->GetSize()); in TestEnableAccessibilityUpdate() 392 EXPECT_GT(nodes->GetSize(), 0U); in SetEditBoxIdAndRect() 395 for (size_t index = 0; index < nodes->GetSize(); index++) { in SetEditBoxIdAndRect()
|
D | values_unittest.cc | 48 EXPECT_EQ(data_size, value->GetSize()); in TestBinary() 173 EXPECT_EQ(1U, dictionary_value->GetSize()); in TestDictionaryDictionary() 184 EXPECT_EQ(1U, dictionary_value->GetSize()); in TestDictionaryDictionary() 197 EXPECT_EQ(1U, list_value->GetSize()); in TestDictionaryList() 208 EXPECT_EQ(1U, list_value->GetSize()); in TestDictionaryList() 221 EXPECT_EQ(0U, value->GetSize()); in TestDictionary() 233 EXPECT_EQ(8U, value->GetSize()); in TestDictionary() 268 EXPECT_EQ(0U, value->GetSize()); in TestDictionary() 276 EXPECT_EQ(3U, value->GetSize()); in TestDictionary() 280 EXPECT_EQ(0U, value->GetSize()); in TestDictionary() [all …]
|
D | test_util.cc | 151 size_t data_size = val1->GetSize(); in TestBinaryEqual() 152 EXPECT_EQ(data_size, val2->GetSize()); in TestBinaryEqual() 178 EXPECT_EQ(val1->GetSize(), val2->GetSize()); in TestDictionaryEqual() 225 size_t size = val1->GetSize(); in TestListEqual() 226 EXPECT_EQ(size, val2->GetSize()); in TestListEqual()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/null/ |
D | DeviceNull.cpp | 225 mBackingData = std::unique_ptr<uint8_t[]>(new uint8_t[GetSize()]); in Buffer() 230 ToBackend(GetDevice())->DecrementMemoryUsage(GetSize()); in ~Buffer() 246 CallMapWriteCallback(serial, DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS, ptr, GetSize()); in MapOperationCompleted() 248 CallMapReadCallback(serial, DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS, ptr, GetSize()); in MapOperationCompleted() 261 ASSERT(start + count <= GetSize()); in SetSubDataImpl() 366 mDevice->DecrementMemoryUsage(GetSize()); in ~StagingBuffer() 371 DAWN_TRY(mDevice->IncrementMemoryUsage(GetSize())); in Initialize() 372 mBuffer = std::make_unique<uint8_t[]>(GetSize()); in Initialize()
|
/third_party/flutter/engine/flutter/fml/platform/posix/ |
D | file_posix.cc | 194 if (!TruncateFile(temp_file, data.GetSize())) { in WriteAtomically() 200 data.GetSize() != mapping.GetSize()) { in WriteAtomically() 204 ::memcpy(mapping.GetMutableMapping(), data.GetMapping(), data.GetSize()); in WriteAtomically() 206 if (::msync(mapping.GetMutableMapping(), data.GetSize(), MS_SYNC) != 0) { in WriteAtomically()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BufferD3D12.cpp | 118 return Align(GetSize(), 256); in GetD3D12Size() 200 CallMapWriteCallback(mapSerial, DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS, data, GetSize()); in OnMapCommandSerialFinished() 202 CallMapReadCallback(mapSerial, DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS, data, GetSize()); in OnMapCommandSerialFinished() 212 mWrittenMappedRange = {0, GetSize()}; in MapAtCreationImpl() 220 D3D12_RANGE readRange = {0, GetSize()}; in MapReadAsyncImpl() 231 mWrittenMappedRange = {0, GetSize()}; in MapWriteAsyncImpl()
|
/third_party/flutter/engine/flutter/fml/platform/win/ |
D | file_win.cc | 350 if (!TruncateFile(temp_file, mapping.GetSize())) { in WriteAtomically() 359 if (temp_file_mapping.GetSize() != mapping.GetSize()) { in WriteAtomically() 361 << temp_file_mapping.GetSize() << ". Should be " in WriteAtomically() 362 << mapping.GetSize() << "."; in WriteAtomically() 372 mapping.GetSize()); in WriteAtomically() 375 mapping.GetSize())) { in WriteAtomically()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/ |
D | move_to_front.h | 88 size_t GetSize() const { in GetSize() function 316 const size_t old_size = GetSize(); in Insert() 322 assert(old_size + 1 == GetSize()); in Insert() 346 const size_t old_size = GetSize(); in RankFromValue() 370 assert(old_size == GetSize() + 1); in RankFromValue() 373 assert(old_size == GetSize()); in RankFromValue() 379 const size_t old_size = GetSize(); in ValueFromRank() 390 assert(old_size == GetSize() + 1); in ValueFromRank() 393 assert(old_size == GetSize()); in ValueFromRank()
|
/third_party/googletest/googlemock/test/ |
D | gmock-function-mocker_test.cc | 541 virtual int GetSize() const = 0; 553 MOCK_METHOD(int, GetSize, (), (const, override)); 571 MOCK_CONST_METHOD0_T(GetSize, int()); // NOLINT 592 EXPECT_CALL(mock, GetSize()) in TYPED_TEST() 603 EXPECT_EQ(0, mock.GetSize()); in TYPED_TEST() 605 EXPECT_EQ(1, mock.GetSize()); in TYPED_TEST() 608 EXPECT_EQ(0, mock.GetSize()); in TYPED_TEST() 635 STDMETHOD_(int, GetSize)() const = 0; 648 MOCK_METHOD(int, GetSize, (), (Calltype(STDMETHODCALLTYPE), override, const)); 663 MOCK_CONST_METHOD0_T_WITH_CALLTYPE(STDMETHODCALLTYPE, GetSize, int()); [all …]
|
/third_party/mindspore/patches/ |
D | 0011-replace-memcpy-with-memcpy_s-in-mindir.patch | 53 - memcpy(buff, fbb.GetBufferPointer(), fbb.GetSize()); 54 + auto ret = memcpy_s(buff, fbb.GetSize(), fbb.GetBufferPointer(), fbb.GetSize()); 125 - memcpy(buff, fbb.GetBufferPointer(), fbb.GetSize()); 126 + auto ret = memcpy_s(buff, fbb.GetSize(), fbb.GetBufferPointer(), fbb.GetSize());
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | BufferGL.cpp | 27 device->gl.BufferData(GL_ARRAY_BUFFER, GetSize(), nullptr, GL_STATIC_DRAW); in Buffer() 68 CallMapReadCallback(serial, DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS, data, GetSize()); in MapReadAsyncImpl() 78 CallMapWriteCallback(serial, DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS, data, GetSize()); in MapWriteAsyncImpl()
|
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/ |
D | embedder_config_builder.cc | 86 project_args_.vm_snapshot_data_size = mapping->GetSize(); in SetSnapshots() 91 project_args_.vm_snapshot_instructions_size = mapping->GetSize(); in SetSnapshots() 96 project_args_.isolate_snapshot_data_size = mapping->GetSize(); in SetSnapshots() 101 project_args_.isolate_snapshot_instructions_size = mapping->GetSize(); in SetSnapshots()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/ |
D | DeviceNull.cpp | 294 mBackingData = std::unique_ptr<uint8_t[]>(new uint8_t[GetSize()]); in Buffer() 295 mAllocatedSize = GetSize(); in Buffer() 317 ASSERT(bufferOffset + size <= GetSize()); in DoWriteBuffer() 335 ToBackend(GetDevice())->DecrementMemoryUsage(GetSize()); in DestroyImpl() 492 mDevice->DecrementMemoryUsage(GetSize()); in ~StagingBuffer() 497 DAWN_TRY(mDevice->IncrementMemoryUsage(GetSize())); in Initialize() 498 mBuffer = std::make_unique<uint8_t[]>(GetSize()); in Initialize()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | ProgrammablePassEncoder.cpp | 114 DAWN_ASSERT(bufferBinding.buffer->GetSize() >= bufferBinding.size); in SetBindGroup() 115 DAWN_ASSERT(bufferBinding.buffer->GetSize() - bufferBinding.size >= in SetBindGroup() 119 bufferBinding.buffer->GetSize() - bufferBinding.offset - bufferBinding.size) { in SetBindGroup()
|
D | RenderPassEncoder.cpp | 84 if (indirectOffset >= indirectBuffer->GetSize() || in DrawIndirect() 85 indirectOffset + kDrawIndirectSize > indirectBuffer->GetSize()) { in DrawIndirect() 102 if (indirectOffset >= indirectBuffer->GetSize() || in DrawIndexedIndirect() 103 indirectOffset + kDrawIndexedIndirectSize > indirectBuffer->GetSize()) { in DrawIndexedIndirect()
|
D | Buffer.cpp | 142 uint64_t BufferBase::GetSize() const { in GetSize() function in dawn_native::BufferBase 170 DAWN_TRY_ASSIGN(mStagingBuffer, uploader->CreateStagingBuffer(GetSize())); in MapAtCreation() 310 DAWN_TRY(GetDevice()->CopyFromStagingToBuffer(mStagingBuffer.get(), 0, this, 0, GetSize())); in CopyFromStagingBuffer() 359 if (count > GetSize()) { in ValidateSetSubData() 374 if (start > GetSize() - count) { in ValidateSetSubData()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | ResidencyManagerD3D12.cpp | 41 uint64_t size = pageable->GetSize(); in LockAllocation() 221 sizeEvicted += pageable->GetSize(); in EnsureCanMakeResident() 262 localSizeToMakeResident += heap->GetSize(); in EnsureHeapsAreResident() 265 nonLocalSizeToMakeResident += heap->GetSize(); in EnsureHeapsAreResident()
|
/third_party/cef/tests/ceftests/views/ |
D | panel_unittest.cc | 666 EXPECT_EQ(CefSize(200, 200), panel->GetSize()); in SizeNoDelegateImpl() 675 EXPECT_EQ(CefSize(200, 200), panel->GetSize()); in SizeNoDelegateImpl() 681 EXPECT_EQ(CefSize(400, 400), panel->GetSize()); in SizeNoDelegateImpl() 788 EXPECT_EQ(expected_size, panel->GetSize()); in FillLayoutSizeToPreferredSizeImpl() 820 EXPECT_EQ(expected_size, panel_parent->GetSize()); in FillLayoutSizeHierarchyImpl() 821 EXPECT_EQ(expected_size, panel_child->GetSize()); in FillLayoutSizeHierarchyImpl() 831 EXPECT_EQ(expected_size2, panel_parent->GetSize()); in FillLayoutSizeHierarchyImpl() 832 EXPECT_EQ(expected_size2, panel_child->GetSize()); in FillLayoutSizeHierarchyImpl() 886 EXPECT_EQ(expected_size, panel_parent->GetSize()); in FillLayoutSizeHierarchyWithDelegate() 887 EXPECT_EQ(expected_size, panel_child->GetSize()); in FillLayoutSizeHierarchyWithDelegate() [all …]
|