Home
last modified time | relevance | path

Searched refs:tri (Results 1 - 25 of 98) sorted by relevance

1234

/third_party/toybox/kconfig/
H A Dsymbol.c128 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop()
129 if (prop->visible.tri != no) in sym_get_default_prop()
140 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop()
141 if (prop->visible.tri != no) in sym_get_range_prop()
199 tristate tri; in sym_calc_visibility() local
202 tri = no; in sym_calc_visibility()
204 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility()
205 tri = E_OR(tri, prop->visible.tri); in sym_calc_visibility()
[all...]
H A Dconfdata.c152 sym->def[def].tri = no; in conf_read_simple()
189 sym->def[def].tri = no; in conf_read_simple()
229 sym->def[def].tri = mod; in conf_read_simple()
235 sym->def[def].tri = yes; in conf_read_simple()
240 sym->def[def].tri = no; in conf_read_simple()
291 switch (sym->def[def].tri) { in conf_read_simple()
295 if (cs->def[def].tri == yes) { in conf_read_simple()
301 if (cs->def[def].tri != no) { in conf_read_simple()
308 cs->def[def].tri = E_OR(cs->def[def].tri, sy in conf_read_simple()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_line.c54 struct prim_header tri; in wideline_line() local
128 tri.det = header->det; /* only the sign matters */ in wideline_line()
129 tri.v[0] = v0; in wideline_line()
130 tri.v[1] = v2; in wideline_line()
131 tri.v[2] = v3; in wideline_line()
132 stage->next->tri( stage->next, &tri ); in wideline_line()
134 tri.v[0] = v0; in wideline_line()
135 tri.v[1] = v3; in wideline_line()
136 tri in wideline_line()
[all...]
H A Ddraw_pipe_wide_point.c133 struct prim_header tri; in widepoint_point() local
183 tri.det = header->det; /* only the sign matters */ in widepoint_point()
184 tri.v[0] = v0; in widepoint_point()
185 tri.v[1] = v2; in widepoint_point()
186 tri.v[2] = v3; in widepoint_point()
187 stage->next->tri( stage->next, &tri ); in widepoint_point()
189 tri.v[0] = v0; in widepoint_point()
190 tri.v[1] = v3; in widepoint_point()
191 tri in widepoint_point()
[all...]
H A Ddraw_pipe_cull.c89 stage->next->tri( stage->next, header ); in cull_tri()
99 stage->next->tri( stage->next, header ); in cull_tri()
113 stage->tri = cull_tri; in cull_first_tri()
114 stage->tri( stage, header ); in cull_first_tri()
120 stage->tri = cull_first_tri; in cull_flush()
152 cull->stage.tri = cull_first_tri; in draw_cull_stage()
H A Ddraw_pipe_twoside.c74 /* Twoside tri:
93 stage->next->tri( stage->next, &tmp ); in twoside_tri()
96 stage->next->tri( stage->next, header ); in twoside_tri()
140 stage->tri = twoside_tri; in twoside_first_tri()
141 stage->tri( stage, header ); in twoside_first_tri()
147 stage->tri = twoside_first_tri; in twoside_flush()
179 twoside->stage.tri = twoside_first_tri; in draw_twoside_stage()
H A Ddraw_pipe_aapoint.c474 struct prim_header tri; in aapoint_point() local
557 tri.v[0] = v[0]; in aapoint_point()
558 tri.v[1] = v[1]; in aapoint_point()
559 tri.v[2] = v[2]; in aapoint_point()
560 stage->next->tri( stage->next, &tri ); in aapoint_point()
562 tri.v[0] = v[0]; in aapoint_point()
563 tri.v[1] = v[2]; in aapoint_point()
564 tri.v[2] = v[3]; in aapoint_point()
565 stage->next->tri( stag in aapoint_point()
[all...]
H A Ddraw_pipe_aaline.c379 struct prim_header tri; in aaline_line() local
439 * and calculate the tri endpoints by moving them half-width in aaline_line()
475 tri.v[0] = v[2]; tri.v[1] = v[1]; tri.v[2] = v[0]; in aaline_line()
476 stage->next->tri(stage->next, &tri); in aaline_line()
478 tri.v[0] = v[3]; tri.v[1] = v[1]; tri in aaline_line()
[all...]
H A Ddraw_pipe_flatshade.c89 * Flatshade tri. Not required for clipping which handles this on its own,
107 stage->next->tri( stage->next, &tmp ); in flatshade_tri_0()
125 stage->next->tri( stage->next, &tmp ); in flatshade_tri_2()
264 stage->tri = flatshade_tri_0; in flatshade_init_state()
268 stage->tri = flatshade_tri_2; in flatshade_init_state()
276 stage->tri( stage, header ); in flatshade_first_tri()
290 stage->tri = flatshade_first_tri; in flatshade_flush()
323 flatshade->stage.tri = flatshade_first_tri; in draw_flatshade_stage()
H A Ddraw_pipe_unfilled.c177 /* Unfilled tri:
197 stage->next->tri( stage->next, header ); in unfilled_tri()
220 stage->tri = unfilled_tri; in unfilled_first_tri()
221 stage->tri( stage, header ); in unfilled_first_tri()
231 stage->tri = unfilled_first_tri; in unfilled_flush()
286 unfilled->stage.tri = unfilled_first_tri; in draw_unfilled_stage()
H A Ddraw_pipe_offset.c62 * Offset tri Z. Some hardware can handle this, but not usually when
127 stage->next->tri( stage->next, header ); in do_offset_tri()
200 stage->tri = offset_tri; in offset_first_tri()
201 stage->tri( stage, header ); in offset_first_tri()
210 stage->tri = offset_first_tri; in offset_flush()
242 offset->stage.tri = offset_first_tri; in draw_offset_stage()
/third_party/rust/crates/serde/serde/src/private/
H A Dser.rs185 let mut map = tri!(self.delegate.serialize_map(Some(1))); in serialize_unit()
186 tri!(map.serialize_entry(self.tag, self.variant_name)); in serialize_unit()
191 let mut map = tri!(self.delegate.serialize_map(Some(1))); in serialize_unit_struct()
192 tri!(map.serialize_entry(self.tag, self.variant_name));
202 let mut map = tri!(self.delegate.serialize_map(Some(2))); in serialize_unit_variant()
203 tri!(map.serialize_entry(self.tag, self.variant_name)); in serialize_unit_variant()
204 tri!(map.serialize_entry(inner_variant, &())); in serialize_unit_variant()
229 let mut map = tri!(self.delegate.serialize_map(Some(2))); in serialize_newtype_variant()
230 tri!(map.serialize_entry(self.tag, self.variant_name)); in serialize_newtype_variant()
231 tri!(ma in serialize_newtype_variant()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DIndexDataManager.cpp118 for(GLsizei tri = 0; tri < numTriangles; ++tri) in copyIndices()
122 memcpy(outPtr, inPtr + ((tri + 1) * bytesPerIndex), bytesPerIndex + bytesPerIndex); in copyIndices()
133 for(GLsizei tri = 0; tri < numTriangles; ++tri) in copyIndices()
135 if(tri & 1) // Reverse odd triangles in copyIndices()
137 memcpy(outPtr, inPtr + ((tri + 1) * bytesPerIndex), bytesPerIndex); in copyIndices()
139 memcpy(outPtr, inPtr + ((tri in copyIndices()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_rast_tri_tmp.h44 const struct lp_rast_triangle *tri, in do_block_4()
87 lp_rast_shade_quads_mask_sample(task, &tri->inputs, x, y, mask); in do_block_4()
97 const struct lp_rast_triangle *tri, in do_block_16()
171 TAG(do_block_4)(task, tri, plane, px, py, cx); in do_block_16()
186 block_full_4(task, tri, px, py); in do_block_16()
199 const struct lp_rast_triangle *tri = arg.triangle.tri; in lp_rast_triangle() local
201 const struct lp_rast_plane *tri_plane = GET_PLANES(tri); in lp_rast_triangle()
208 if (tri->inputs.disable) { in lp_rast_triangle()
252 * (in which case the tri wil in lp_rast_triangle()
43 do_block_4(struct lp_rasterizer_task *task, const struct lp_rast_triangle *tri, const struct lp_rast_plane *plane, int x, int y, const int64_t *c) do_block_4() argument
96 do_block_16(struct lp_rasterizer_task *task, const struct lp_rast_triangle *tri, const struct lp_rast_plane *plane, int x, int y, const int64_t *c) do_block_16() argument
355 const struct lp_rast_triangle *tri = arg.triangle.tri; TRI_16() local
435 const struct lp_rast_triangle *tri = arg.triangle.tri; TRI_4() local
[all...]
H A Dlp_setup_tri.c98 struct lp_rast_triangle *tri = lp_scene_alloc_aligned(scene, *tri_size, 16); in lp_setup_alloc_triangle() local
99 if (!tri) in lp_setup_alloc_triangle()
102 tri->inputs.stride = input_array_sz; in lp_setup_alloc_triangle()
105 ASSERTED char *a = (char *)tri; in lp_setup_alloc_triangle()
106 ASSERTED char *b = (char *)&GET_PLANES(tri)[nr_planes]; in lp_setup_alloc_triangle()
111 return tri; in lp_setup_alloc_triangle()
340 * edges if the bounding box of the tri is fully inside that edge. in do_triangle_ccw()
349 struct lp_rast_triangle *tri = in do_triangle_ccw() local
351 if (!tri) in do_triangle_ccw()
355 tri in do_triangle_ccw()
768 lp_setup_bin_triangle(struct lp_setup_context *setup, struct lp_rast_triangle *tri, boolean use_32bits, boolean opaque, const struct u_rect *bbox, int nr_planes, unsigned viewport_index) lp_setup_bin_triangle() argument
[all...]
H A Dlp_rast_tri.c43 const struct lp_rast_triangle *tri, in block_full_4()
46 lp_rast_shade_quads_all(task, &tri->inputs, x, y); in block_full_4()
55 const struct lp_rast_triangle *tri, in block_full_16()
62 block_full_4(task, tri, x + ix, y + iy); in block_full_16()
113 arg2.triangle.tri = arg.triangle.tri; in lp_rast_triangle_3_16()
130 arg2.triangle.tri = arg.triangle.tri; in lp_rast_triangle_4_16()
140 arg2.triangle.tri = arg.triangle.tri; in lp_rast_triangle_ms_3_16()
42 block_full_4(struct lp_rasterizer_task *task, const struct lp_rast_triangle *tri, int x, int y) block_full_4() argument
54 block_full_16(struct lp_rasterizer_task *task, const struct lp_rast_triangle *tri, int x, int y) block_full_16() argument
295 const struct lp_rast_triangle *tri = arg.triangle.tri; lp_rast_triangle_32_3_16() local
407 const struct lp_rast_triangle *tri = arg.triangle.tri; lp_rast_triangle_32_3_4() local
578 const struct lp_rast_triangle *tri = arg.triangle.tri; lp_rast_triangle_32_3_16() local
[all...]
H A Dlp_rast.h224 GET_PLANES(const struct lp_rast_triangle *tri) in GET_PLANES() argument
226 const uint8_t *p = (const uint8_t *) (&tri->inputs + 1); in GET_PLANES()
227 return (struct lp_rast_plane *) (p + 3 * tri->inputs.stride); in GET_PLANES()
248 const struct lp_rast_triangle *tri; member
279 arg.triangle.tri = triangle; in lp_rast_arg_triangle()
296 arg.triangle.tri = triangle; in lp_rast_arg_triangle_contained()
/third_party/skia/gm/
H A Dconvexpolyeffect.cpp54 SkPath tri; variable
55 tri.moveTo(5.f, 5.f);
56 tri.lineTo(100.f, 20.f);
57 tri.lineTo(15.f, 100.f);
59 fPaths.push_back(tri);
61 fPaths.back().reverseAddPath(tri); variable
63 tri.close();
64 fPaths.push_back(tri);
H A Dtessellation.cpp357 static SkPath build_outset_triangle(const std::array<float, 3>* tri) { in build_outset_triangle() argument
360 SkPoint p = {tri[i][0], tri[i][1]}; in build_outset_triangle()
361 SkPoint left = {tri[(i + 2) % 3][0], tri[(i + 2) % 3][1]}; in build_outset_triangle()
362 SkPoint right = {tri[(i + 1) % 3][0], tri[(i + 1) % 3][1]}; in build_outset_triangle()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRasterizationTests.cpp1465 TriangleSceneSpec::SceneTriangle tri;
1466 tri.positions[0] = v0; tri.sharedEdge[0] = false;
1467 tri.positions[1] = v1; tri.sharedEdge[1] = false;
1468 tri.positions[2] = v2; tri.sharedEdge[2] = false;
1470 outTriangles.push_back(tri);
1486 TriangleSceneSpec::SceneTriangle tri;
1487 tri
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DRegisterCoalescer.h58 CoalescerPair(const TargetRegisterInfo &tri) : TRI(tri) {} in CoalescerPair() argument
63 const TargetRegisterInfo &tri) in CoalescerPair()
64 : TRI(tri), DstReg(PhysReg), SrcReg(VirtReg) {} in CoalescerPair()
62 CoalescerPair(unsigned VirtReg, unsigned PhysReg, const TargetRegisterInfo &tri) CoalescerPair() argument
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fRasterizationTests.cpp1614 TriangleSceneSpec::SceneTriangle tri;
1615 tri.positions[0] = v0; tri.sharedEdge[0] = false;
1616 tri.positions[1] = v1; tri.sharedEdge[1] = false;
1617 tri.positions[2] = v2; tri.sharedEdge[2] = false;
1619 outTriangles.push_back(tri);
1635 TriangleSceneSpec::SceneTriangle tri;
1636 tri
[all...]
/third_party/lame/libmp3lame/vector/
H A Dxmm_quantize_sub.c139 const FLOAT *tri = costab; in fht_SSE2() local
178 c1 = tri[0]; in fht_SSE2()
179 s1 = tri[1]; in fht_SSE2()
233 c1 = c2 * tri[0] - s1 * tri[1]; in fht_SSE2()
234 s1 = c2 * tri[1] + s1 * tri[0]; in fht_SSE2()
236 tri += 2; in fht_SSE2()
/third_party/rust/crates/serde/serde/src/ser/
H A Dimpls.rs136 tri!(serializer.serialize_tuple(0)).end() in serialize()
152 let mut seq = tri!(serializer.serialize_tuple($len)); in serialize()
154 tri!(seq.serialize_element(e)); in serialize()
277 let mut state = tri!(serializer.serialize_struct("Range", 2)); in serialize()
278 tri!(state.serialize_field("start", &self.start)); in serialize()
279 tri!(state.serialize_field("end", &self.end)); in serialize()
295 let mut state = tri!(serializer.serialize_struct("RangeFrom", 1)); in serialize()
296 tri!(state.serialize_field("start", &self.start)); in serialize()
312 let mut state = tri!(serializer.serialize_struct("RangeInclusive", 2)); in serialize()
313 tri!(stat in serialize()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureSwizzleTests.cpp177 tcu::Vec3 tri[2][2] = in iterate() local
188 { tri[m_testParameters.texCoordMapping[0]][0], tri[m_testParameters.texCoordMapping[0]][1] }, in iterate()
189 { tri[m_testParameters.texCoordMapping[1]][0], tri[m_testParameters.texCoordMapping[1]][1] } in iterate()
192 memcpy(tri, swz, sizeof(tri)); in iterate()
196 const tcu::Vec3 triS[2] = { tri[0][0], tri[0][1] }; in iterate()
197 const tcu::Vec3 triT[2] = { tri[ in iterate()
[all...]

Completed in 18 milliseconds

1234