Home
last modified time | relevance | path

Searched refs:GetSize (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderEncoderBase.cpp167 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 …]
DProgrammableEncoder.cpp163 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()
DDynamicUploader.cpp52 ASSERT(ringBufferAllocator.GetSize() >= ringBufferAllocator.GetUsedSize()); in AllocateInternal()
54 ringBufferAllocator.GetSize() - ringBufferAllocator.GetUsedSize(); in AllocateInternal()
83 mDevice->CreateStagingBuffer(targetRingBuffer->mAllocator.GetSize())); in AllocateInternal()
/third_party/flutter/engine/flutter/fml/
Dmapping.h27 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;
Dicu_util.cc62 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
Dfile_unittest.cc21 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()
Dmapping.cc72 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/abseil-cpp/absl/container/internal/
Dinlined_vector.h223 GetData(), GetSize()); in ~ConstructionTransaction()
232 SizeType& GetSize() { return size_; } in GetSize() function
240 GetSize() = size; in Construct()
244 GetSize() = 0; in Commit()
307 inlined_vector_internal::DestroyElements(GetAllocPtr(), data, GetSize()); in ~Storage()
321 size_type GetSize() const { return GetSizeAndIsAllocated() >> 1; } in GetSize() function
349 ? StorageView{GetAllocatedData(), GetSize(), in MakeStorageView()
351 : StorageView{GetInlinedData(), GetSize(), GetInlinedCapacity()}; in MakeStorageView()
416 assert(count <= GetSize()); in SubtractSize()
475 assert(GetSize() == 0);
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dinlined_vector.h247 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/googletest/googlemock/test/
Dgmock-generated-function-mockers_test.cc393 virtual int GetSize() const = 0;
405 MOCK_CONST_METHOD0_T(GetSize, int()); // NOLINT
420 EXPECT_CALL(mock, GetSize()) in TEST()
431 EXPECT_EQ(0, mock.GetSize()); in TEST()
433 EXPECT_EQ(1, mock.GetSize()); in TEST()
436 EXPECT_EQ(0, mock.GetSize()); in TEST()
463 STDMETHOD_(int, GetSize)() const = 0;
475 MOCK_CONST_METHOD0_T_WITH_CALLTYPE(STDMETHODCALLTYPE, GetSize, int());
486 EXPECT_CALL(mock, GetSize()) in TEST()
497 EXPECT_EQ(0, mock.GetSize()); in TEST()
[all …]
/third_party/cef/tests/ceftests/
Dosr_accessibility_unittest.cc269 return updates->GetSize(); in GetUpdateListSize()
278 EXPECT_LT(index, updates->GetSize()); in GetUpdateValue()
296 return events->GetSize(); in GetEventListSize()
305 EXPECT_LT(index, events->GetSize()); in GetEventValue()
358 EXPECT_GT(nodes->GetSize(), 0U); in TestEnableAccessibilityUpdate()
362 for (size_t index = 0; index < nodes->GetSize(); index++) { in TestEnableAccessibilityUpdate()
374 EXPECT_EQ(1U, childIDs->GetSize()); in TestEnableAccessibilityUpdate()
388 EXPECT_GT(nodes->GetSize(), 0U); in SetEditBoxIdAndRect()
391 for (size_t index = 0; index < nodes->GetSize(); index++) { in SetEditBoxIdAndRect()
Dvalues_unittest.cc48 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 …]
/third_party/flutter/engine/flutter/fml/platform/posix/
Dfile_posix.cc193 if (!TruncateFile(temp_file, data.GetSize())) { in WriteAtomically()
199 data.GetSize() != mapping.GetSize()) { in WriteAtomically()
203 ::memcpy(mapping.GetMutableMapping(), data.GetMapping(), data.GetSize()); in WriteAtomically()
205 if (::msync(mapping.GetMutableMapping(), data.GetSize(), MS_SYNC) != 0) { in WriteAtomically()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp225 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/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp118 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/
Dfile_win.cc350 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/dawn/src/dawn_native/opengl/
DBufferGL.cpp27 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/skia/third_party/externals/spirv-tools/source/util/
Dmove_to_front.h88 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/mingw-w64/mingw-w64-crt/libarm32/
Dwdscore.def52 ?GetSize@?$CDynamicArray@EPAE@@QBAIXZ
53 ?GetSize@?$CDynamicArray@GPAG@@QBAIXZ
54 ?GetSize@?$CDynamicArray@PAUSEnumBinContext@@PAPAU1@@@QBAIXZ
55 ?GetSize@?$CDynamicArray@USKeeperEntry@CBlackboardFactory@@PAU12@@@QBAIXZ
56 ?GetSize@?$CDynamicArray@_KPA_K@@QBAIXZ
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/
Dembedder_config_builder.cc86 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/flutter/skia/third_party/externals/dawn/src/dawn_native/
DProgrammablePassEncoder.cpp114 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()
DRenderPassEncoder.cpp84 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()
/third_party/flutter/engine/flutter/vulkan/
Dvulkan_surface.cc55 SkISize VulkanSurface::GetSize() const { in GetSize() function in vulkan::VulkanSurface
56 return valid_ ? native_surface_->GetSize() : SkISize::Make(0, 0); in GetSize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp294 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/mingw-w64/mingw-w64-crt/lib32/
Dwdscore.def96 ; public: unsigned int __thiscall <unsigned char,unsigned char *>::GetSize(void)const
97 ?GetSize@?$CDynamicArray@EPAE@@QBEIXZ
98 ; public: unsigned int __thiscall <unsigned short,unsigned short *>::GetSize(void)const
99 ?GetSize@?$CDynamicArray@GPAG@@QBEIXZ
100 ; public: unsigned int __thiscall <struct SEnumBinContext *,struct SEnumBinContext **>::GetSize(voi…
101 ?GetSize@?$CDynamicArray@PAUSEnumBinContext@@PAPAU1@@@QBEIXZ
102 …ct CBlackboardFactory::SKeeperEntry,struct CBlackboardFactory::SKeeperEntry *>::GetSize(void)const
103 ?GetSize@?$CDynamicArray@USKeeperEntry@CBlackboardFactory@@PAU12@@@QBEIXZ
104 ; public: unsigned int __thiscall <unsigned __int64,unsigned __int64 *>::GetSize(void)const
105 ?GetSize@?$CDynamicArray@_KPA_K@@QBEIXZ

12345678910>>...12