Home
last modified time | relevance | path

Searched refs:size (Results 15326 - 15350 of 53423) sorted by relevance

1...<<611612613614615616617618619620>>...2137

/third_party/skia/third_party/externals/dawn/examples/
H A DCppHelloTriangle.cpp57 descriptor.size.width = 1024; in initTextures()
58 descriptor.size.height = 1024; in initTextures()
59 descriptor.size.depthOrArrayLayers = 1; in initTextures()
70 for (size_t i = 0; i < data.size(); ++i) { in initTextures()
75 device, data.data(), static_cast<uint32_t>(data.size()), wgpu::BufferUsage::CopySrc); in initTextures()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
H A DObjectStorage.h111 if (id >= mKnown.size()) { in Get()
124 if (id >= mKnown.size()) { in Get()
141 if (id == 0 || id > mKnown.size()) { in Allocate()
149 if (id >= mKnown.size()) { in Allocate()
164 ASSERT(id < mKnown.size()); in Free()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DPipeline.cpp56 size_t numUninitializedConstants = metadata.uninitializedOverridableConstants.size(); in ValidateProgrammableStage()
137 for (BindGroupIndex group(0); group < mMinBufferSizes.size(); ++group) { in PipelineBase()
138 ASSERT(stageMinBufferSizes[group].size() == mMinBufferSizes[group].size()); in PipelineBase()
140 for (size_t i = 0; i < stageMinBufferSizes[group].size(); ++i) { in PipelineBase()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DDescriptorSetAllocator.cpp42 mPoolSizes.reserve(descriptorCountPerType.size()); in DescriptorSetAllocator()
74 ASSERT(pool.freeSetIndices.size() == mMaxSets); in ~DescriptorSetAllocator()
127 ASSERT(dealloc.poolIndex < mDescriptorPools.size()); in FinishDeallocation()
144 createInfo.poolSizeCount = static_cast<PoolIndex>(mPoolSizes.size()); in AllocateDescriptorPool()
181 mAvailableDescriptorPoolIndices.push_back(mDescriptorPools.size()); in AllocateDescriptorPool()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DOpArrayLengthTests.cpp26 // Create buffers of various size to check the length() implementation in SetUp()
28 bufferDesc.size = 4; in SetUp()
32 bufferDesc.size = 256; in SetUp()
35 bufferDesc.size = 512 + 256; in SetUp()
74 [[size(64)]] garbage : mat4x4<f32>; in SetUp()
103 bufferDesc.size = sizeof(uint32_t) * mExpectedLengths.size(); in TEST_P()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
H A Dbyte_array.cc42 return Get(index, &((*b)[0]), 0, b->size()); in Get()
75 return Put(index, &((*b)[0]), 0, b->size()); in Put()
123 buffer_length = std::min<int32_t>(b.size(), remaining_length); in CopyTo()
140 buffer_length = std::min<int32_t>(b.size(), length - index); in CopyTo()
160 buffer_length = std::min<int32_t>(b.size(), length); in CopyFrom()
/third_party/pulseaudio/src/tests/
H A Dmemblock-test.c79 size_t offset, size; in START_TEST() local
126 r = pa_memexport_put(export_a, mb_a, &mem_type, &id, &shm_id, &offset, &size); in START_TEST()
132 mb_b = pa_memimport_get(import_b, PA_MEM_TYPE_SHARED_POSIX, id, shm_id, offset, size, false); in START_TEST()
134 r = pa_memexport_put(export_b, mb_b, &mem_type, &id, &shm_id, &offset, &size); in START_TEST()
141 mb_c = pa_memimport_get(import_c, PA_MEM_TYPE_SHARED_POSIX, id, shm_id, offset, size, false); in START_TEST()
H A Dhashmap-test.c56 ck_abort_msg("Hashmap reported wrong size; got %u, want 1", size_ret); in START_TEST()
68 ck_abort_msg("Hashmap reported wrong size; got %u, want 1", size_ret); in START_TEST()
76 ck_abort_msg("Hashmap reported wrong size; got %u, want 1", size_ret); in START_TEST()
89 unsigned size; in START_TEST() local
102 if ((size = pa_hashmap_size(map)) != 1000) { in START_TEST()
103 ck_abort_msg("Hashmap has wrong size; got %u, want 1000", size); in START_TEST()
108 if ((size = pa_hashmap_size(map)) != 0) { in START_TEST()
109 ck_abort_msg("Hashmap has wrong size; got %u, want 0", size); in START_TEST()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DMinidump.h60 /// the stream is smaller than the size of the SystemInfo structure. The
85 /// file does not contain this stream, or the stream is smaller than the size
112 assert(Storage.size() % Stride == 0); in MemoryInfoIterator()
116 return Storage.size() == R.Storage.size(); in operator ==()
120 assert(Storage.size() >= sizeof(minidump::MemoryInfo)); in operator *()
179 /// Return the contents of a stream which contains a list of fixed-size items,
180 /// prefixed by the list size.
192 if (Stream->size() >= sizeof(T)) in getStream()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DStringExtras.h64 /// The returned string is double the size of \p Input.
67 size_t Length = Input.size(); in toHex()
130 for (StringRef::size_type i = 0, e = Str.size(); i != e; ++i) in HashString()
182 size_t Len = (std::distance(Begin, End) - 1) * Separator.size(); in join_impl()
184 Len += (*Begin).size(); in join_impl()
215 return Str.size(); in join_one_item_size()
/third_party/skia/third_party/externals/icu/source/common/
H A Ddictionarydata.cpp170 int32_t i, offset, size; in udict_swap() local
203 size = indexes[DictionaryData::IX_TOTAL_SIZE]; in udict_swap()
206 if (length < size) { in udict_swap()
213 uprv_memcpy(outBytes, inBytes, size); in udict_swap()
240 return headerSize + size; in udict_swap()
/third_party/toybox/toys/pending/
H A Dtr.c129 int i = 0, j, k, size = 256; in expand_set() local
130 char *set = xzalloc(size*sizeof(char)); in expand_set()
134 if (i >= size) { in expand_set()
135 size += 256; in expand_set()
136 set = xrealloc(set, size); in expand_set()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DInternalUsageValidationTests.cpp24 textureDesc.size = {1, 1}; in TEST_F()
57 textureDesc.size = {1, 1}; in TEST_F()
81 textureDesc.size = {1, 1}; in TEST_F()
95 textureDesc.size = {1, 1}; in TEST_F()
121 textureDesc.size = {1, 1}; in TEST_F()
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_context.cc129 std::vector<bool> is_conflict(fields.size()); in InitializeFieldGeneratorInfoForFields()
130 std::vector<std::string> conflict_reason(fields.size()); in InitializeFieldGeneratorInfoForFields()
131 for (int i = 0; i < fields.size(); ++i) { in InitializeFieldGeneratorInfoForFields()
134 for (int j = i + 1; j < fields.size(); ++j) { in InitializeFieldGeneratorInfoForFields()
153 for (int i = 0; i < fields.size(); ++i) { in InitializeFieldGeneratorInfoForFields()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DAbstractProto2SchemaTest.java173 int size = unknowns.getSerializedSize(); in unknownEnum()
174 byte[] output = new byte[size]; in unknownEnum()
187 assertEquals(1, singularEnum.size()); in unknownEnum()
196 assertEquals(1, repeatedEnum.size()); in unknownEnum()
205 assertEquals(1, packedRepeatedEnum.size()); in unknownEnum()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DCodedInputStream.php99 // buffer size accordingly.
295 public function readRaw($size, &$buffer)
298 if ($this->bufferSize() < $size) {
302 if ($size === 0) {
305 $buffer = substr($this->buffer, $this->current, $size);
306 $this->advance($size);
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/internal/
H A Dspy_hash_state.h149 size_t size) { in combine_contiguous()
151 if (size > large_chunk_stride) { in combine_contiguous()
155 while (size >= large_chunk_stride) { in combine_contiguous()
159 size -= large_chunk_stride; in combine_contiguous()
164 reinterpret_cast<const char*>(begin), size); in combine_contiguous() local
147 combine_contiguous(SpyHashStateImpl hash_state, const unsigned char* begin, size_t size) combine_contiguous() argument
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dcord_ring_reader_test.cc45 CordRepRing* ring = CordRepRing::Create(MakeFlat(flats[0]), flats.size() - 1); in FromFlats()
46 for (int i = 1; i < flats.size(); ++i) { in FromFlats()
102 for (int i = 1; i < flats.size(); ++i) { in TEST()
130 for (int i = 0; i < flats.size(); ++i) { in TEST()
157 for (int i = flats.size() - 1; i >= 0; --i) { in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dbind.h51 : data_(s.data()), size_(s.size()) {} in UntypedFormatSpecImpl()
150 if (args.size() <= ABSL_ARRAYSIZE(few_args_)) { in Streamable()
151 for (size_t i = 0; i < args.size(); ++i) { in Streamable()
154 args_ = absl::MakeSpan(few_args_, args.size()); in Streamable()
170 // if args_.size() is 4 or less:
173 // if args_.size() is more than 4:
195 int SnprintF(char* output, size_t size, UntypedFormatSpecImpl format,
/third_party/skia/gm/
H A Dvariedtext.cpp62 SkISize size = this->getISize(); variable
63 SkScalar w = SkIntToScalar(size.fWidth);
64 SkScalar h = SkIntToScalar(size.fHeight);
97 fFont.measureText(fStrings[i].c_str(), fStrings[i].size(), SkTextEncoding::kUTF8, &r);
126 canvas->drawSimpleText(fStrings[i].c_str(), fStrings[i].size(), SkTextEncoding::kUTF8,
/third_party/skia/modules/sksg/src/
H A DSkSGColorFilter.cpp86 return (child && colors.size() > 1) in Make()
157 SkASSERT(colors.size() > 2); in MakeNColorGradient()
158 const auto span_count = colors.size() - 1; in MakeNColorGradient()
216 SkASSERT(fColors.size() > 1); in onRevalidateFilter()
217 auto gradientCF = (fColors.size() > 2) ? MakeNColorGradient(fColors) in onRevalidateFilter()
/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DFillStroke.cpp97 SkASSERT(jdash.size() > 1); in DashAdapter()
101 const auto interval_count = jdash.size() - 1; in DashAdapter()
104 for (size_t i = 0; i < jdash.size(); ++i) { in DashAdapter()
174 if (jdash && jdash->size() > 1) { in AdjustStrokeGeometry()
175 for (size_t i = 0; i < geos.size(); ++i) { in AdjustStrokeGeometry()
/third_party/selinux/libselinux/src/
H A Dprocattr.c118 size_t size; in getprocattrcon_raw() local
163 size = selinux_page_size; in getprocattrcon_raw()
164 buf = malloc(size); in getprocattrcon_raw()
169 memset(buf, 0, size); in getprocattrcon_raw()
172 ret = read(fd, buf, size - 1); in getprocattrcon_raw()
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_add_opphi_synonyms.cpp60 size_t num_preds = GetIRContext()->cfg()->preds(block.id()).size(); in Apply()
105 if (suitable_ids.size() > 1 && !pred_with_alternatives) { in Apply()
126 ids_chosen.size() == 1) { in Apply()
252 if (suitable_ids_found.size() >= distinct_ids_required) { in EquivalenceClassIsSuitableForBlock()
269 suitable_ids_found.size() >= distinct_ids_required; in EquivalenceClassIsSuitableForBlock()
/third_party/spirv-tools/test/reduce/
H A Dmerge_blocks_test.cpp70 ASSERT_EQ(5, ops.size()); in TEST()
360 ASSERT_EQ(11, ops.size()); in TEST()
478 ASSERT_EQ(1, ops.size()); in TEST()
562 ASSERT_EQ(opportunities.size(), 2); in MergeBlocksReductionPassTest_LoopReturn_Helper()
680 ASSERT_EQ(1, ops.size()); in TEST()

Completed in 29 milliseconds

1...<<611612613614615616617618619620>>...2137