Home
last modified time | relevance | path

Searched refs:pos0 (Results 1 – 23 of 23) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_wide_line.c61 float *pos0 = v0->data[pos]; in wideline_line() local
66 const float dx = fabsf(pos0[0] - pos2[0]); in wideline_line()
67 const float dy = fabsf(pos0[1] - pos2[1]); in wideline_line()
83 pos0[1] = pos0[1] - half_width - bias; in wideline_line()
88 if (pos0[0] < pos2[0]) { in wideline_line()
90 pos0[0] -= 0.5f; in wideline_line()
97 pos0[0] += 0.5f; in wideline_line()
106 pos0[0] = pos0[0] - half_width + bias; in wideline_line()
111 if (pos0[1] < pos2[1]) { in wideline_line()
113 pos0[1] -= 0.5f; in wideline_line()
[all …]
Ddraw_pipe_stipple.c127 const float *pos0 = v0->data[pos]; in stipple_line() local
132 float x0 = pos0[0]; in stipple_line()
134 float y0 = pos0[1]; in stipple_line()
Ddraw_pipe_wide_point.c141 float *pos0 = v0->data[pos]; in widepoint_point() local
160 pos0[0] += left_adj; in widepoint_point()
161 pos0[1] += top_adj; in widepoint_point()
/third_party/protobuf/csharp/src/Google.Protobuf/
DParsingPrimitivesWrappers.cs167 int pos0 = state.bufferPos; in ReadUInt32Wrapper()
176 state.bufferPos = pos0; in ReadUInt32Wrapper()
183 state.bufferPos = pos0; in ReadUInt32Wrapper()
190 state.bufferPos = pos0; in ReadUInt32Wrapper()
239 int pos0 = state.bufferPos; in ReadUInt64Wrapper()
248 state.bufferPos = pos0; in ReadUInt64Wrapper()
254 state.bufferPos = pos0; in ReadUInt64Wrapper()
261 state.bufferPos = pos0; in ReadUInt64Wrapper()
/third_party/cups-filters/filter/pdftopdf/
Dnup.cc244 auto pos0=parsePosition(val[0],val[1]); in parseNupLayout() local
245 if (pos0.second==CENTER) { in parseNupLayout()
249 if ( (pos1.second==CENTER)||(pos0.first==pos1.first) ) { in parseNupLayout()
253 ret.first=pos0.first; in parseNupLayout()
255 ret.xstart=pos0.second; in parseNupLayout()
259 ret.ystart=pos0.second; in parseNupLayout()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DVertexPipeline.cpp109 Vector4f pos0; in transformBlend() local
112 pos0 = transform(src, matrix, index0, homogeneous); in transformBlend()
115 dst.x = pos0.x * weight0 + pos1.x * weight1; // FIXME: Vector4f operators in transformBlend()
116 dst.y = pos0.y * weight0 + pos1.y * weight1; in transformBlend()
117 dst.z = pos0.z * weight0 + pos1.z * weight1; in transformBlend()
118 dst.w = pos0.w * weight0 + pos1.w * weight1; in transformBlend()
124 Vector4f pos0; in transformBlend() local
128 pos0 = transform(src, matrix, index0, homogeneous); in transformBlend()
132 dst.x = pos0.x * weight0 + pos1.x * weight1 + pos2.x * weight2; in transformBlend()
133 dst.y = pos0.y * weight0 + pos1.y * weight1 + pos2.y * weight2; in transformBlend()
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_pyparse.py81 pos0, pos = 33, 42 # Start of 'class...', ' def' lines.
102 eq(start(is_char_in_string=lambda index: index >= pos), pos0)
116 eq(start(is_char_in_string=lambda index: index >= pos), pos0)
/third_party/skia/tools/viewer/
DTouchGesture.cpp188 static SkScalar center(float pos0, float pos1) { in center() argument
189 return (pos0 + pos1) * 0.5f; in center()
/third_party/python/Lib/test/
Daudiotests.py285 pos0 = f.tell()
286 self.assertEqual(pos0, 0)
293 f.setpos(pos0)
/third_party/ffmpeg/libswscale/x86/
Dscale.asm53 cglobal hscale%1to%2_%4, %5, 7, %6, pos0, dst, w, src, filter, fltpos, pos1
55 cglobal hscale%1to%2_%4, %5, 10, %6, pos0, dst, w, srcmem, filter, fltpos, fltsize
/third_party/ffmpeg/libavcodec/
Damrwbdec.c385 int pos0 = BIT_STR(code, m, m) + off; in decode_2p_track() local
388 out[0] = BIT_POS(code, 2*m) ? -pos0 : pos0; in decode_2p_track()
390 out[1] = pos0 > pos1 ? -out[1] : out[1]; in decode_2p_track()
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs509 for (i, pos0) in alignpatpos.iter().enumerate() { in function_modules_marked()
513 result.fill_rectangle(pos0 - 2, pos1 - 2, 5, 5); in function_modules_marked()
554 for (i, &pos0) in alignpatpos.iter().enumerate() { in draw_light_function_modules()
561 …self.set_module_bounded((i32::from(pos0) + dx) as u8, (i32::from(pos1) + dy) as u8, dx == 0 && dy … in draw_light_function_modules()
/third_party/ffmpeg/libavfilter/
Davf_showspectrum.c964 float pos0 = bin_pos(yy+0, h, inlink->sample_rate); in plot_channel_log() local
966 float delta = pos1 - pos0; in plot_channel_log()
971 for (float j = pos0; j < pos1 && y + j - pos0 < h; j++) { in plot_channel_log()
972 float row = (s->mode == COMBINED) ? y + j - pos0 : ch * h + y + j - pos0; in plot_channel_log()
974 float lerpfrac = (j - pos0) / delta; in plot_channel_log()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DCalendarRegressionTest.java2412 ParsePosition pos0 = new ParsePosition(0);
2413 /* Date d0 = */ sdf0.parse("-September", pos0);
2414 logln("sdf0: " + pos0.getErrorIndex() + "/" + pos0.getIndex());
2415 assertTrue("Fail: failed a good test", pos0.getErrorIndex() == -1);
/third_party/mesa3d/docs/relnotes/
D19.3.3.rst173 - aco: set vm for pos0 exports on GFX10
D20.0.0.rst2815 - aco: set vm for pos0 exports on GFX10
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java2409 ParsePosition pos0 = new ParsePosition(0);
2410 /* Date d0 = */ sdf0.parse("-September", pos0);
2411 logln("sdf0: " + pos0.getErrorIndex() + "/" + pos0.getIndex());
2412 assertTrue("Fail: failed a good test", pos0.getErrorIndex() == -1);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingComplexControlFlowTests.cpp992 deUint32 pos0 = 0; in iterate() local
1003 css << std::setw(6) << bufferPtr[pos0++] << ' '; in iterate()
/third_party/mesa3d/src/imgui/
Dimgui_draw.cpp1166 void ImDrawList::AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImV… in AddBezierCurve() argument
1171 PathLineTo(pos0); in AddBezierCurve()
Dimgui_widgets.cpp5334 ImVec2 pos0 = ImLerp(inner_bb.Min, inner_bb.Max, tp0); in PlotEx() local
5338 window->DrawList->AddLine(pos0, pos1, v_hovered == v1_idx ? col_hovered : col_base); in PlotEx()
5342 if (pos1.x >= pos0.x + 2.0f) in PlotEx()
5344 … window->DrawList->AddRectFilled(pos0, pos1, v_hovered == v1_idx ? col_hovered : col_base); in PlotEx()
Dimgui.h1847 …IMGUI_API void AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImV…
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c1131 int pos0 = find_output_by_semantic(&shader->info.base, in generate_fs_loop() local
1134 LLVMValueRef out = LLVMBuildLoad(builder, outputs[pos0][2], ""); in generate_fs_loop()
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp6508 ImVec2 pos0 = ImLerp(inner_bb.Min, inner_bb.Max, tp0); in PlotEx() local
6512 … window->DrawList->AddLine(pos0, pos1, idx_hovered == v1_idx ? col_hovered : col_base); in PlotEx()
6516 if (pos1.x >= pos0.x + 2.0f) in PlotEx()
6518 … window->DrawList->AddRectFilled(pos0, pos1, idx_hovered == v1_idx ? col_hovered : col_base); in PlotEx()