Home
last modified time | relevance | path

Searched refs:pos0 (Results 1 - 22 of 22) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/draw/
H A 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[ in wideline_line()
[all...]
H A 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()
H A 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/
H A 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/
H A 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/
H A 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 in transformBlend()
141 Vector4f pos0; transformBlend() local
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A 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/
H A DTouchGesture.cpp188 static SkScalar center(float pos0, float pos1) { in center() argument
189 return (pos0 + pos1) * 0.5f; in center()
/third_party/qrcodegen/rust-no-heap/src/
H A Dlib.rs509 for (i, pos0) in alignpatpos.iter().enumerate() {
513 result.fill_rectangle(pos0 - 2, pos1 - 2, 5, 5);
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 == 0); in draw_light_function_modules()
/third_party/python/Lib/test/
H A Daudiotests.py285 pos0 = f.tell()
286 self.assertEqual(pos0, 0)
293 f.setpos(pos0)
/third_party/ffmpeg/libavcodec/
H A Damrwbdec.c396 int pos0 = BIT_STR(code, m, m) + off; in decode_2p_track() local
399 out[0] = BIT_POS(code, 2*m) ? -pos0 : pos0; in decode_2p_track()
401 out[1] = pos0 > pos1 ? -out[1] : out[1]; in decode_2p_track()
/third_party/ffmpeg/libswscale/x86/
H A Dscale_avx2.asm47 cglobal hscale8to15_%1, 7, 9, 16, pos0, dst, w, srcmem, filter, fltpos, fltsize, count, inner
H A 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DCalendarRegressionTest.java2409 ParsePosition pos0 = new ParsePosition(0); in TestT9968()
2410 /* Date d0 = */ sdf0.parse("-September", pos0); in TestT9968()
2411 logln("sdf0: " + pos0.getErrorIndex() + "/" + pos0.getIndex()); in TestT9968()
2412 assertTrue("Fail: failed a good test", pos0.getErrorIndex() == -1); in TestT9968()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DCalendarRegressionTest.java2412 ParsePosition pos0 = new ParsePosition(0); in TestT9968()
2413 /* Date d0 = */ sdf0.parse("-September", pos0); in TestT9968()
2414 logln("sdf0: " + pos0.getErrorIndex() + "/" + pos0.getIndex()); in TestT9968()
2415 assertTrue("Fail: failed a good test", pos0.getErrorIndex() == -1); in TestT9968()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingComplexControlFlowTests.cpp992 deUint32 pos0 = 0; in iterate() local
1003 css << std::setw(6) << bufferPtr[pos0++] << ' '; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingComplexControlFlowTests.cpp992 deUint32 pos0 = 0; in iterate() local
1003 css << std::setw(6) << bufferPtr[pos0++] << ' '; in iterate()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A 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/mesa3d/src/imgui/
H A Dimgui_draw.cpp1166 void ImDrawList::AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImVec2& pos1, ImU32 col, float thickness, int num_segments) in AddBezierCurve() argument
1171 PathLineTo(pos0); in AddBezierCurve()
H A Dimgui_widgets.cpp5334 ImVec2 pos0 = ImLerp(inner_bb.Min, inner_bb.Max, tp0);
5338 window->DrawList->AddLine(pos0, pos1, v_hovered == v1_idx ? col_hovered : col_base);
5342 if (pos1.x >= pos0.x + 2.0f)
5344 window->DrawList->AddRectFilled(pos0, pos1, v_hovered == v1_idx ? col_hovered : col_base);
H A Dimgui.h1847 IMGUI_API void AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImVec2& pos1, ImU32 col, float thickness, int num_segments = 0);
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp6508 ImVec2 pos0 = ImLerp(inner_bb.Min, inner_bb.Max, tp0);
6512 window->DrawList->AddLine(pos0, pos1, idx_hovered == v1_idx ? col_hovered : col_base);
6516 if (pos1.x >= pos0.x + 2.0f)
6518 window->DrawList->AddRectFilled(pos0, pos1, idx_hovered == v1_idx ? col_hovered : col_base);

Completed in 63 milliseconds