Home
last modified time | relevance | path

Searched refs:filled (Results 1 - 25 of 57) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDrawIndexedIndirectTests.cpp123 RGBA8 filled(0, 255, 0, 255); in TEST_P()
130 Test({3, 1, 0, 0, 0}, 0, 0, filled, notFilled); in TEST_P()
133 Test({3, 1, 3, 0, 0}, 0, 0, notFilled, filled); in TEST_P()
136 Test({6, 1, 0, 0, 0}, 0, 0, filled, filled); in TEST_P()
150 RGBA8 filled(0, 255, 0, 255); in TEST_P()
154 Test({3, 1, 0, 4, 0}, 0, 0, notFilled, filled); in TEST_P()
157 Test({3, 1, 3, 4, 0}, 0, 0, filled, notFilled); in TEST_P()
165 Test({3, 1, 0, unsignedNegFour, 0}, 6 * sizeof(uint32_t), 0, filled, notFilled); in TEST_P()
168 Test({3, 1, 3, unsignedNegFour, 0}, 6 * sizeof(uint32_t), 0, notFilled, filled); in TEST_P()
[all...]
H A DDrawIndexedTests.cpp127 RGBA8 filled(0, 255, 0, 255); in TEST_P()
133 Test(3, 1, 0, 0, 0, 0, filled, notFilled); in TEST_P()
135 Test(3, 1, 3, 0, 0, 0, notFilled, filled); in TEST_P()
137 Test(6, 1, 0, 0, 0, 0, filled, filled); in TEST_P()
143 RGBA8 filled(0, 255, 0, 255); in TEST_P()
147 Test(3, 1, 0, 4, 0, 0, notFilled, filled); in TEST_P()
149 Test(3, 1, 3, 4, 0, 0, filled, notFilled); in TEST_P()
153 Test(3, 1, 0, -4, 0, 6 * sizeof(uint32_t), filled, notFilled); in TEST_P()
155 Test(3, 1, 3, -4, 0, 6 * sizeof(uint32_t), notFilled, filled); in TEST_P()
[all...]
H A DDrawIndirectTests.cpp92 RGBA8 filled(0, 255, 0, 255); in TEST_P()
99 Test({3, 1, 0, 0}, 0, filled, notFilled); in TEST_P()
102 Test({3, 1, 3, 0}, 0, notFilled, filled); in TEST_P()
105 Test({6, 1, 0, 0}, 0, filled, filled); in TEST_P()
109 RGBA8 filled(0, 255, 0, 255); in TEST_P()
117 Test({3, 1, 0, 0, 3, 1, 3, 0}, 0, filled, notFilled); in TEST_P()
120 Test({3, 1, 0, 0, 3, 1, 3, 0}, 4 * sizeof(uint32_t), notFilled, filled); in TEST_P()
H A DDestroyTests.cpp97 RGBA8 filled(0, 255, 0, 255); in TEST_P()
102 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P()
109 RGBA8 filled(0, 255, 0, 255); in TEST_P()
113 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P()
121 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P()
133 RGBA8 filled(0, 255, 0, 255); in TEST_P()
138 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P()
145 RGBA8 filled(0, 255, 0, 255); in TEST_P()
149 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P()
H A DDrawTests.cpp90 RGBA8 filled(0, 255, 0, 255); in TEST_P()
96 Test(3, 1, 0, 0, filled, notFilled); in TEST_P()
98 Test(3, 1, 3, 0, notFilled, filled); in TEST_P()
100 Test(6, 1, 0, 0, filled, filled); in TEST_P()
H A DBindGroupTests.cpp228 RGBA8 filled(0, 255, 0, 255); in TEST_P()
231 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, min, min); in TEST_P()
232 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, max, min); in TEST_P()
233 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, min, max); in TEST_P()
334 RGBA8 filled(0, 255, 0, 255); in TEST_P()
337 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, min, min); in TEST_P()
338 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, max, min); in TEST_P()
339 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, min, max); in TEST_P()
422 RGBA8 filled(255, 255, 0, 255); in TEST_P()
425 EXPECT_PIXEL_RGBA8_EQ(filled, renderPas in TEST_P()
[all...]
H A DVertexOnlyRenderPipelineTests.cpp166 const RGBA8 filled = RGBA8(0, 255, 0, 255); member in VertexOnlyRenderPipelineTest
212 doStencilTest(&renderPassDescWithColor, stencilPipelineWithFragment, filled); in TEST_P()
250 doStencilTest(&renderPassDescWithColor, depthPipelineWithFragment, filled); in TEST_P()
304 EXPECT_PIXEL_RGBA8_EQ(filled, renderTargetColor, 1, 0); in TEST_P()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_bitmask.c59 unsigned filled; member
80 bm->filled = 0; in util_bitmask_create()
134 * Check if we can increment the filled counter.
140 assert(bm->filled <= bm->size); in util_bitmask_filled_set()
143 if (index == bm->filled) { in util_bitmask_filled_set()
144 ++bm->filled; in util_bitmask_filled_set()
145 assert(bm->filled <= bm->size); in util_bitmask_filled_set()
151 * Check if we need to decrement the filled counter.
157 assert(bm->filled <= bm->size); in util_bitmask_filled_unset()
160 if (index < bm->filled) in util_bitmask_filled_unset()
[all...]
H A Du_handle_table.c54 unsigned filled; member
77 ht->filled = 0; in handle_table_create()
164 while(ht->filled < ht->size) { in handle_table_add()
165 if(!ht->objects[ht->filled]) in handle_table_add()
167 ++ht->filled; in handle_table_add()
170 index = ht->filled; in handle_table_add()
183 ++ht->filled; in handle_table_add()
255 if(index < ht->filled) in handle_table_remove()
256 ht->filled = index; in handle_table_remove()
/third_party/ffmpeg/libavcodec/
H A Dqpeg.c47 int filled = 0; in qpeg_decode_intra() local
85 int step = FFMIN(run - i, width - filled); in qpeg_decode_intra()
86 memset(dst+filled, p, step); in qpeg_decode_intra()
87 filled += step; in qpeg_decode_intra()
89 if (filled >= width) { in qpeg_decode_intra()
90 filled = 0; in qpeg_decode_intra()
107 int step = FFMIN(copy, width - filled); in qpeg_decode_intra()
108 bytestream2_get_bufferu(&qctx->buffer, dst + filled, step); in qpeg_decode_intra()
109 filled += step; in qpeg_decode_intra()
111 if (filled > in qpeg_decode_intra()
136 int filled = 0; qpeg_decode_inter() local
[all...]
/third_party/fsverity-utils/lib/
H A Dcompute_digest.c21 u32 filled; member
34 memset(&cur->data[cur->filled], 0, block_size - cur->filled); in hash_one_block()
39 libfsverity_hash_final(hash, &next->data[next->filled]); in hash_one_block()
41 next->filled += hash->alg->digest_size; in hash_one_block()
42 cur->filled = 0; in hash_one_block()
49 return block->filled + hash->alg->digest_size > block_size; in block_is_full()
184 buffers[-1].filled = min(block_size, file_size - offset); in compute_root_hash()
186 err = read_fn(fd, buffers[-1].data, buffers[-1].filled); in compute_root_hash()
209 if (buffers[level].filled ! in compute_root_hash()
[all...]
/third_party/alsa-lib/src/rawmidi/
H A Dump.c156 * \return count of filled descriptors
196 * \param info pointer to a snd_rawmidi_info_t structure to be filled
207 * \param params pointer to a snd_rawmidi_params_t structure to be filled
218 * \param params pointer to a snd_rawmidi_params_t structure to be filled
229 * \param status pointer to a snd_rawmidi_status_t structure to be filled
484 * \param info pointer to a snd_ump_endpoint_info_t structure to be filled
709 size_t *filled) in expand_sysex7()
714 *filled = 0; in expand_sysex7()
723 *filled = expand_sysex_data(ump, buf, maxlen, bytes, 8); in expand_sysex7()
729 size_t *filled) in expand_sysex8()
708 expand_sysex7(const uint32_t *ump, uint8_t *buf, size_t maxlen, size_t *filled) expand_sysex7() argument
728 expand_sysex8(const uint32_t *ump, uint8_t *buf, size_t maxlen, size_t *filled) expand_sysex8() argument
758 snd_ump_msg_sysex_expand(const uint32_t *ump, uint8_t *buf, size_t maxlen, size_t *filled) snd_ump_msg_sysex_expand() argument
[all...]
/third_party/pulseaudio/speex/libspeexdsp/
H A Djitter.c82 int filled; /**< Number of entries occupied in "timing" and "counts"*/ member
90 tb->filled = 0; in tb_init()
99 if (tb->filled >= MAX_TIMINGS && timing >= tb->timing[tb->filled-1]) in tb_add()
108 while (pos<tb->filled && timing >= tb->timing[pos]) in tb_add()
113 speex_assert(pos <= tb->filled && pos < MAX_TIMINGS); in tb_add()
116 if (pos < tb->filled) in tb_add()
118 int move_size = tb->filled-pos; in tb_add()
119 if (tb->filled == MAX_TIMINGS) in tb_add()
129 if (tb->filled<MAX_TIMING in tb_add()
[all...]
/third_party/elfutils/lib/
H A Ddynamicsizehash_concurrent.c357 atomic_init(&htab->filled, 0); in NAME()
409 size_t filled; in NAME() local
412 filled = atomic_fetch_add_explicit(&htab->filled, 1, in NAME()
418 filled = atomic_load_explicit(&htab->filled, in NAME()
423 if (100 * filled > 90 * htab->size) in NAME()
425 /* Table is filled more than 90%. Resize the table. */ in NAME()
460 atomic_fetch_sub_explicit(&htab->filled, 1, memory_order_relaxed); in NAME()
H A Ddynamicsizehash.c107 ++htab->filled; in insert_entry_2()
108 if (100 * htab->filled > 90 * htab->size) in insert_entry_2()
110 /* Table is filled more than 90%. Resize the table. */ in insert_entry_2()
125 htab->filled = 0; in insert_entry_2()
183 htab->filled = 0; in NAME()
/third_party/rust/crates/lazycell/src/
H A Dlib.rs17 //! This crate provides a `LazyCell` struct which acts as a lazily filled
36 //! assert!(!lazycell.filled());
38 //! assert!(lazycell.filled());
56 /// A lazily filled `Cell`, with mutable contents.
58 /// A `LazyCell` is completely frozen once filled, **unless** you have `&mut`
99 /// Test whether this cell has been previously filled.
100 pub fn filled(&self) -> bool { in filled() functions
125 /// If the cell has not yet been filled, the cell is first filled using the
130 /// Panics if the cell becomes filled a
289 pub fn filled(&self) -> bool { filled() functions
[all...]
/third_party/elfutils/libelf/
H A Delf32_updatefile.c500 size_t filled = *filledp; in fill() local
503 if (unlikely (fill_len > filled) && filled < FILLBUFSIZE) in fill()
506 memset (fillbuf + filled, __libelf_fill_byte, fill_len - filled); in fill()
507 *filledp = filled = fill_len; in fill()
513 size_t n = MIN (filled, len); in fill()
535 size_t filled = 0; in __elfw2() local
602 ehdr->e_phoff - ehdr->e_ehsize, fillbuf, &filled) in __elfw2()
728 &filled) ! in __elfw2()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderGroup.cpp128 SIMD::UInt filled = v; in EmitGroupNonUniform() local
131 filled |= filled.yzwx & inactive; // Populate inactive 'holes' with a live value in EmitGroupNonUniform()
133 res &= AndAll(CmpEQ(filled.xyzw, filled.yzwx)); in EmitGroupNonUniform()
162 SIMD::UInt filled = id.UInt(0) & active; in EmitGroupNonUniform() local
166 filled |= filled.yzwx & inactive; // Populate inactive 'holes' with a live value in EmitGroupNonUniform()
169 auto mask = CmpEQ(filled, SIMD::UInt(0, 1, 2, 3)); in EmitGroupNonUniform()
/third_party/rust/crates/lazycell/tests/
H A Dlib.rs10 assert!(!lazycell.filled()); in test_lazycell()
14 assert!(lazycell.filled()); in test_lazycell()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dacs.c298 if (survey->filled & SURVEY_HAS_CHAN_TIME_BUSY) in acs_survey_interference_factor()
300 else if (survey->filled & SURVEY_HAS_CHAN_TIME_RX) in acs_survey_interference_factor()
311 if (survey->filled & SURVEY_HAS_CHAN_TIME_TX) { in acs_survey_interference_factor()
408 if (!(survey->filled & SURVEY_HAS_NF)) { in acs_survey_is_sufficient()
413 if (!(survey->filled & SURVEY_HAS_CHAN_TIME)) { in acs_survey_is_sufficient()
418 if (!(survey->filled & SURVEY_HAS_CHAN_TIME_BUSY) && in acs_survey_is_sufficient()
419 !(survey->filled & SURVEY_HAS_CHAN_TIME_RX)) { in acs_survey_is_sufficient()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dacs.c307 if (survey->filled & SURVEY_HAS_CHAN_TIME_BUSY) in acs_survey_interference_factor()
309 else if (survey->filled & SURVEY_HAS_CHAN_TIME_RX) in acs_survey_interference_factor()
318 if (survey->filled & SURVEY_HAS_CHAN_TIME_TX) { in acs_survey_interference_factor()
422 if (!(survey->filled & SURVEY_HAS_NF)) { in acs_survey_is_sufficient()
427 if (!(survey->filled & SURVEY_HAS_CHAN_TIME)) { in acs_survey_is_sufficient()
432 if (!(survey->filled & SURVEY_HAS_CHAN_TIME_BUSY) && in acs_survey_is_sufficient()
433 !(survey->filled & SURVEY_HAS_CHAN_TIME_RX)) { in acs_survey_is_sufficient()
/third_party/backends/backend/
H A Dibm-scsi.c112 SANE_Byte filled[3]; member
345 ((unsigned int) _3btol(ssd.len) <= sizeof(*dbs) || _3btol(ssd.desc.filled) == 0)) { in get_data_status()
430 DBG(11, "ibm_wait_ready: %d bytes ready\n", _3btol(dbs.filled)); in ibm_wait_ready()
H A Dricoh-scsi.c98 SANE_Byte filled[3]; member
316 (((unsigned int) _3btol(ssd.len)) <= sizeof(*dbs) || _3btol(ssd.desc.filled) == 0)) { in get_data_status()
401 DBG(11, "ricoh_wait_ready: %d bytes ready\n", _3btol(dbs.filled)); in ricoh_wait_ready()
/third_party/lz4/examples/
H A DframeCompress.c203 void* src, size_t srcCapacity, size_t filled, size_t alreadyConsumed, in decompress_file_internal()
211 assert(src != NULL); assert(srcCapacity > 0); assert(filled <= srcCapacity); assert(alreadyConsumed <= filled); in decompress_file_internal()
217 size_t readSize = firstChunk ? filled : fread(src, 1, srcCapacity, f_in); firstChunk=0; in decompress_file_internal()
201 decompress_file_internal(FILE* f_in, FILE* f_out, LZ4F_dctx* dctx, void* src, size_t srcCapacity, size_t filled, size_t alreadyConsumed, void* dst, size_t dstCapacity) decompress_file_internal() argument
/third_party/node/test/parallel/
H A Dtest-buffer-zero-fill-reset.js18 assert.ok(testUint8Array(ui), `Uint8Array is not zero-filled: ${ui}`);

Completed in 16 milliseconds

123