Home
last modified time | relevance | path

Searched refs:loop_count (Results 1 – 25 of 55) sorted by relevance

123

/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/flag-always-false-if/
D0-opt.wgsl13 var loop_count : i32;
14 loop_count = 0;
24 let x_43 : i32 = loop_count;
49 let x_63 : i32 = loop_count;
56 let x_67 : i32 = loop_count;
57 loop_count = (x_67 + 1);
63 let x_69 : i32 = loop_count;
64 loop_count = (x_69 + 1);
67 let x_71 : i32 = loop_count;
D0-opt.spvasm8 OpName %loop_count "loop_count"
49 %loop_count = OpVariable %_ptr_Function_int Function
50 OpStore %loop_count %int_0
66 %43 = OpLoad %int %loop_count
108 %63 = OpLoad %int %loop_count
113 %67 = OpLoad %int %loop_count
115 OpStore %loop_count %68
122 %69 = OpLoad %int %loop_count
124 OpStore %loop_count %70
127 %71 = OpLoad %int %loop_count
/third_party/spirv-tools/test/opt/loop_optimizations/
Dpeeling.cpp129 Instruction* loop_count = nullptr; in TEST_F() local
131 loop_count = context->get_def_use_mgr()->GetDef(loop_count_id); in TEST_F()
135 loop_count = builder.GetSintConstant(10); in TEST_F()
138 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
767 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
768 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
770 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
819 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
820 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
822 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dpeeling.cpp129 Instruction* loop_count = nullptr; in TEST_F() local
131 loop_count = context->get_def_use_mgr()->GetDef(loop_count_id); in TEST_F()
135 loop_count = builder.GetSintConstant(10); in TEST_F()
138 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
767 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
768 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
770 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
819 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
820 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
822 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
Dpeeling.cpp129 Instruction* loop_count = nullptr; in TEST_F() local
131 loop_count = context->get_def_use_mgr()->GetDef(loop_count_id); in TEST_F()
135 loop_count = builder.GetSintConstant(10); in TEST_F()
138 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
767 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
768 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
770 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
819 Instruction* loop_count = context->get_def_use_mgr()->GetDef(16); in TEST_F() local
820 EXPECT_EQ(loop_count->opcode(), SpvOpLoad); in TEST_F()
822 LoopPeeling peel(&*ld.begin(), loop_count); in TEST_F()
[all …]
/third_party/skia/third_party/externals/libwebp/examples/
Dimg2webp.c91 static int SetLoopCount(int loop_count, WebPData* const webp_data) { in SetLoopCount() argument
106 new_params.loop_count = loop_count; in SetLoopCount()
133 int loop_count = 0; in main() local
176 loop_count = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
177 if (loop_count < 0) { in main()
178 fprintf(stderr, "Invalid non-positive loop-count (%d)\n", loop_count); in main()
304 if (ok && loop_count > 0) { // Re-mux to add loop count. in main()
305 ok = SetLoopCount(loop_count, &webp_data); in main()
Dgif2webp.c129 int loop_count = 0; // default: infinite in main() local
406 if (!GIFReadLoopCount(gif, &data, &loop_count)) { in main()
410 fprintf(stderr, "Loop count: %d\n", loop_count); in main()
412 stored_loop_count = loop_compatibility ? (loop_count != 0) : 1; in main()
470 loop_count = 0; in main()
478 loop_count = 1; in main()
480 } else if (loop_count > 0 && loop_count < 65535) { in main()
482 loop_count += 1; in main()
486 if (loop_count == 0) stored_loop_count = 0; in main()
505 new_params.loop_count = loop_count; in main()
Danim_diff.c151 if ((img1->format == ANIM_GIF && img1->loop_count == 65536 && in CompareAnimatedImagePair()
152 img2->format == ANIM_WEBP && img2->loop_count == 65535) || in CompareAnimatedImagePair()
153 (img1->format == ANIM_WEBP && img1->loop_count == 65535 && in CompareAnimatedImagePair()
154 img2->format == ANIM_GIF && img2->loop_count == 65536)) { in CompareAnimatedImagePair()
158 CompareValues(img1->loop_count, img2->loop_count, in CompareAnimatedImagePair()
Dvwebp.c63 int loop_count; member
199 --kParams.loop_count; in decode_callback()
200 kParams.done = (kParams.loop_count == 0); in decode_callback()
248 if (kParams.done && kParams.loop_count == 0) { in HandleKey()
249 kParams.loop_count = in HandleKey()
593 kParams.loop_count = (int)WebPDemuxGetI(kParams.dmux, WEBP_FF_LOOP_COUNT); in main()
596 curr->num_frames, kParams.loop_count); in main()
604 if (kParams.loop_count) ++kParams.loop_count; in main()
Dwebpmux.c218 params.bgcolor, params.loop_count); in DisplayInfo()
968 const int loop_count = in Process() local
970 if (loop_count < 0 || loop_count > 65535) { in Process()
979 params.loop_count = loop_count; in Process()
1034 const int loop_count = in Process() local
1036 if (loop_count < 0 || loop_count > 65535 || parse_error) { in Process()
1047 params.loop_count = loop_count; in Process()
Dgifdec.c176 int* const loop_count) { in GIFReadLoopCount() argument
188 *loop_count = (*buf)[2] | ((*buf)[3] << 8); in GIFReadLoopCount()
358 int* const loop_count) { in GIFReadLoopCount() argument
361 (void)loop_count; in GIFReadLoopCount()
Danim_util.h41 uint32_t loop_count; member
Dgifdec.h83 int* const loop_count);
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/do-while-if-return/
D0-opt.spvasm9 OpName %loop_count "loop_count"
61 %loop_count = OpVariable %_ptr_Function_int Function
62 OpStore %loop_count %int_0
70 OpStore %loop_count %43
78 OpStore %loop_count %39
D0-opt.wgsl11 var loop_count : i32;
13 loop_count = 0;
20 loop_count = x_43;
25 loop_count = x_39;
/third_party/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc6.c317 int loop_count; in read_file() local
329 for (loop_count = 1; loop_count <= TIMES; loop_count++) { in read_file()
/third_party/libsnd/src/
Dwav.c1226 …psf_binheader_writef (psf, "m4", BHWm (smpl_MARKER), BHW4 (9 * 4 + psf->instrument->loop_count * 6… in wav_write_header()
1233 psf_binheader_writef (psf, "44", BHW4 (psf->instrument->loop_count), BHW4 (0)) ; in wav_write_header()
1236 if (psf->instrument->loop_count > ARRAY_LEN (psf->instrument->loops)) in wav_write_header()
1237 psf->instrument->loop_count = ARRAY_LEN (psf->instrument->loops) ; in wav_write_header()
1239 for (tmp = 0 ; tmp < psf->instrument->loop_count ; tmp++) in wav_write_header()
1378 uint32_t thisread, bytesread = 0, dword, sampler_data, loop_count, actually_loop_count = 0 ; in wav_read_smpl_chunk() local
1414 bytesread += psf_binheader_readf (psf, "4", &loop_count) ; in wav_read_smpl_chunk()
1415 psf_log_printf (psf, " Loop Count : %u\n", loop_count) ; in wav_read_smpl_chunk()
1417 if (loop_count == 0 && chunklen == bytesread) in wav_read_smpl_chunk()
1433 psf->instrument->loop_count = loop_count ; in wav_read_smpl_chunk()
[all …]
Daiff.c750 { psf->instrument->loop_count = 0 ; in aiff_read_header()
754 { psf->instrument->loop_count = 1 ; in aiff_read_header()
768 { psf->instrument->loop_count += 1 ; in aiff_read_header()
929 for (ji = 0 ; ji < psf->instrument->loop_count ; ji ++) in aiff_read_header()
938 if (psf->cues->cue_count > (uint32_t) (psf->instrument->loop_count * 2)) in aiff_read_header()
941 for (j = 0 ; j < psf->cues->cue_count - (uint32_t) (psf->instrument->loop_count * 2) ; j ++) in aiff_read_header()
943 …psf->cues->cue_points [j].indx = psf->cues->cue_points [j + psf->instrument->loop_count * 2].indx ; in aiff_read_header()
944 …psf->cues->cue_points [j].position = psf->cues->cue_points [j + psf->instrument->loop_count * 2].p… in aiff_read_header()
945 …psf->cues->cue_points [j].fcc_chunk = psf->cues->cue_points [j + psf->instrument->loop_count * 2].… in aiff_read_header()
946 …psf->cues->cue_points [j].chunk_start = psf->cues->cue_points [j + psf->instrument->loop_count * 2… in aiff_read_header()
[all …]
/third_party/ffmpeg/libavfilter/
Dsrc_movie.c67 int loop_count; member
91 …{ "loop", "set loop count", OFFSET(loop_count), AV_OPT_TYPE_INT, {.i64 = 1}…
232 if (movie->loop_count != 1 && nb_streams != 1) { in movie_common_init()
443 movie->loop_count = 1; /* do not try again */ in rewind_file()
581 if (movie->loop_count != 1) { in movie_request_frame()
585 movie->loop_count -= movie->loop_count > 1; in movie_request_frame()
/third_party/mesa3d/src/intel/common/tests/
Dmi_builder_test.cpp1088 const uint64_t loop_count = 8; in TEST_F() local
1093 mi_break_if(&b, mi_uge(&b, out_mem64(0), mi_imm(loop_count))); in TEST_F()
1100 EXPECT_EQ(*(uint64_t *)(output + 0), loop_count); in TEST_F()
1124 const uint64_t loop_count = 8; in TEST_F() local
1130 mi_break_if(&b, mi_uge(&b, out_mem64(0), mi_imm(loop_count))); in TEST_F()
1142 EXPECT_EQ(*(uint64_t *)(output + 0), loop_count); in TEST_F()
1148 const uint64_t loop_count = 8; in TEST_F() local
1154 mi_break_if(&b, mi_uge(&b, out_mem64(0), mi_imm(loop_count))); in TEST_F()
1182 EXPECT_EQ(*(uint64_t *)(output + 0), loop_count); in TEST_F()
/third_party/libuv/test/
Dbenchmark-list.h23 BENCHMARK_DECLARE (loop_count)
90 BENCHMARK_ENTRY (loop_count)
Dbenchmark-loop-count.c52 BENCHMARK_IMPL(loop_count) { in BENCHMARK_IMPL() argument
/third_party/ffmpeg/libavcodec/mips/
Dqpeldsp_msa.c314 uint8_t loop_count; in horiz_mc_qpel_aver_src0_8width_msa() local
325 for (loop_count = (height >> 2); loop_count--;) { in horiz_mc_qpel_aver_src0_8width_msa()
348 uint8_t loop_count; in horiz_mc_qpel_aver_src0_16width_msa() local
356 for (loop_count = (height >> 2); loop_count--;) { in horiz_mc_qpel_aver_src0_16width_msa()
392 uint8_t loop_count; in horiz_mc_qpel_8width_msa() local
403 for (loop_count = (height >> 2); loop_count--;) { in horiz_mc_qpel_8width_msa()
423 uint8_t loop_count; in horiz_mc_qpel_16width_msa() local
431 for (loop_count = (height >> 2); loop_count--;) { in horiz_mc_qpel_16width_msa()
463 uint8_t loop_count; in horiz_mc_qpel_aver_src1_8width_msa() local
474 for (loop_count = (height >> 2); loop_count--;) { in horiz_mc_qpel_aver_src1_8width_msa()
[all …]
/third_party/libsnd/examples/
Dsndfile-loopify.c161 instr.loop_count = 1 ; in add_instrument_data()
/third_party/skia/third_party/externals/libwebp/src/webp/
Ddemux.h297 uint32_t loop_count; member

123