Home
last modified time | relevance | path

Searched refs:vb (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_triemit.h10 #define COPY_DWORDS( j, vb, vertsize, v ) \ argument
14 : "=%c" (j), "=D" (vb), "=S" (__tmp) \
16 "D" ((long)vb), \
20 #define COPY_DWORDS( j, vb, vertsize, v ) \ argument
23 vb[j] = ((GLuint *)v)[j]; \
24 vb += vertsize; \
38 GLuint *vb = (GLuint *)ALLOC_VERTS( 4, vertsize); in TAG() local
49 COPY_DWORDS( j, vb, vertsize, v0 ); in TAG()
50 COPY_DWORDS( j, vb, vertsize, v1 ); in TAG()
51 COPY_DWORDS( j, vb, vertsize, v2 ); in TAG()
[all …]
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux_nvme.c194 int vb) in mk_sense_asc_ascq() argument
203 if (vb) in mk_sense_asc_ascq()
211 if (vb > 3) in mk_sense_asc_ascq()
217 mk_sense_from_nvme_status(struct sg_pt_linux_scsi * ptp, int vb) in mk_sense_from_nvme_status() argument
242 if (vb > 3) in mk_sense_from_nvme_status()
250 int in_bit, int vb) in mk_sense_invalid_fld() argument
261 if (vb) in mk_sense_invalid_fld()
286 if (vb > 3) in mk_sense_invalid_fld()
301 int time_secs, int vb) in do_nvme_admin_cmd() argument
311 if (vb > 2) { in do_nvme_admin_cmd()
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_wintypes.py16 vb = wintypes.VARIANT_BOOL()
17 self.assertIs(vb.value, False)
18 vb.value = True
19 self.assertIs(vb.value, True)
20 vb.value = true_value
21 self.assertIs(vb.value, True)
30 vb = wintypes.VARIANT_BOOL()
31 vb.value = set_value
32 self.assertIs(vb.value, True)
34 vb = wintypes.VARIANT_BOOL()
[all …]
/external/python/cpython2/Lib/ctypes/test/
Dtest_wintypes.py16 vb = wintypes.VARIANT_BOOL()
17 self.assertIs(vb.value, False)
18 vb.value = True
19 self.assertIs(vb.value, True)
20 vb.value = true_value
21 self.assertIs(vb.value, True)
30 vb = wintypes.VARIANT_BOOL()
31 vb.value = set_value
32 self.assertIs(vb.value, True)
34 vb = wintypes.VARIANT_BOOL()
[all …]
/external/clang/test/PCH/
Dcxx1y-variable-templates.cpp38 template<typename T> extern T vb;
55 template<typename T> T vb = T(); variable
56 template<> constexpr float vb<float> = 1.5; variable
69 template<typename T> T vb = T(10); variable
70 template<> extern float vb<float>;
88 template<typename T> T vb = T(100); variable
104 template<> float vb<float> = 1.5; variable
105 template int vb<int>; variable
134 template<> constexpr float vb<float> = 2.5; variable
135 template const int vb<const int>; variable
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_vdecl.c70 const struct pipe_vertex_buffer *vb = in emit_hw_vs_vdecl() local
71 &svga->curr.vb[ve[i].vertex_buffer_index]; in emit_hw_vs_vdecl()
73 unsigned int offset = vb->buffer_offset + ve[i].src_offset; in emit_hw_vs_vdecl()
76 if (!vb->buffer.resource) in emit_hw_vs_vdecl()
79 buffer = svga_buffer(vb->buffer.resource); in emit_hw_vs_vdecl()
82 if (vb->stride) in emit_hw_vs_vdecl()
83 tmp_neg_bias = (tmp_neg_bias + vb->stride - 1) / vb->stride; in emit_hw_vs_vdecl()
89 const struct pipe_vertex_buffer *vb = in emit_hw_vs_vdecl() local
90 &svga->curr.vb[ve[i].vertex_buffer_index]; in emit_hw_vs_vdecl()
94 if (!vb->buffer.resource) in emit_hw_vs_vdecl()
[all …]
/external/clang/test/SemaCXX/
Ddestructor.cpp244 VB vb; use(vb); in nowarnstack() local
271 VB* vb = new VB[4]; in nowarnarray() local
272 delete[] vb; in nowarnarray()
298 VB* vb = new VB(); in nowarn0() local
299 delete vb; in nowarn0()
302 VB* vb = new VD(); in nowarn0() local
303 delete vb; in nowarn0()
315 void nowarn0_explicit_dtor(F* f, VB* vb, VD* vd, VF* vf) { in nowarn0_explicit_dtor() argument
318 vb->~VB(); in nowarn0_explicit_dtor()
355 simple_ptr<VB> vb(new VB()); in nowarn1() local
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c38 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb, in nv30_emit_vtxattr() argument
43 struct nv04_resource *res = nv04_resource(vb->buffer.resource); in nv30_emit_vtxattr()
49 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset + in nv30_emit_vtxattr()
96 struct pipe_vertex_buffer *vb; in nv30_prevalidate_vbufs() local
104 vb = &nv30->vtxbuf[i]; in nv30_prevalidate_vbufs()
105 if (!vb->stride || !vb->buffer.resource) /* NOTE: user_buffer not implemented */ in nv30_prevalidate_vbufs()
107 buf = nv04_resource(vb->buffer.resource); in nv30_prevalidate_vbufs()
110 if (!nouveau_resource_mapped_by_gpu(vb->buffer.resource)) { in nv30_prevalidate_vbufs()
117 assert(vb->stride > vb->buffer_offset); in nv30_prevalidate_vbufs()
140 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[b]; in nv30_update_user_vbufs() local
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c410 struct pipe_vertex_buffer *vb; in u_vbuf_translate_buffers() local
415 vb = &mgr->vertex_buffer[i]; in u_vbuf_translate_buffers()
416 offset = vb->buffer_offset + vb->stride * start_vertex; in u_vbuf_translate_buffers()
418 if (vb->is_user_buffer) { in u_vbuf_translate_buffers()
419 map = (uint8_t*)vb->buffer.user + offset; in u_vbuf_translate_buffers()
421 unsigned size = vb->stride ? num_vertices * vb->stride in u_vbuf_translate_buffers()
424 if (offset + size > vb->buffer.resource->width0) { in u_vbuf_translate_buffers()
430 size = vb->buffer.resource->width0 - offset; in u_vbuf_translate_buffers()
439 num_vertices = (size + vb->stride - 1) / vb->stride; in u_vbuf_translate_buffers()
442 map = pipe_buffer_map_range(mgr->pipe, vb->buffer.resource, offset, size, in u_vbuf_translate_buffers()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c464 unsigned int min_index = brw->vb.min_index + brw->basevertex; in brw_prepare_vertices()
465 unsigned int max_index = brw->vb.max_index + brw->basevertex; in brw_prepare_vertices()
488 brw->vb.nr_enabled = 0; in brw_prepare_vertices()
495 struct brw_vertex_element *input = &brw->vb.inputs[index]; in brw_prepare_vertices()
500 brw->vb.enabled[brw->vb.nr_enabled++] = input; in brw_prepare_vertices()
503 if (brw->vb.nr_enabled == 0) in brw_prepare_vertices()
506 if (brw->vb.nr_buffers) in brw_prepare_vertices()
514 for (i = j = 0; i < brw->vb.nr_enabled; i++) { in brw_prepare_vertices()
515 struct brw_vertex_element *input = brw->vb.enabled[i]; in brw_prepare_vertices()
535 if (brw->vb.index_bounds_valid) { in brw_prepare_vertices()
[all …]
Dbrw_draw.c179 base_vertex_location += brw->vb.start_vertex_bias; in brw_emit_prim()
184 start_vertex_location += brw->vb.start_vertex_bias; in brw_emit_prim()
286 for (i = 0; i < brw->vb.nr_buffers; i++) { in brw_merge_inputs()
287 brw_bo_unreference(brw->vb.buffers[i].bo); in brw_merge_inputs()
288 brw->vb.buffers[i].bo = NULL; in brw_merge_inputs()
290 brw->vb.nr_buffers = 0; in brw_merge_inputs()
293 brw->vb.inputs[i].buffer = -1; in brw_merge_inputs()
294 brw->vb.inputs[i].glarray = arrays[i]; in brw_merge_inputs()
307 switch (brw->vb.inputs[i].glarray->Type) { in brw_merge_inputs()
310 wa_flags = brw->vb.inputs[i].glarray->Size; in brw_merge_inputs()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tris.c177 if (intel->prim.vb == NULL) in intel_get_prim_space()
178 intel->prim.vb = malloc(INTEL_VB_SIZE); in intel_get_prim_space()
187 addr = (uint32_t *)(intel->prim.vb + intel->prim.current_offset); in intel_get_prim_space()
338 intel->prim.vb); in intel_finish_vb()
348 #define COPY_DWORDS( j, vb, vertsize, v ) \ argument
352 : "=%c" (j), "=D" (vb), "=S" (__tmp) \
354 "D" ((long)vb), \
358 #define COPY_DWORDS( j, vb, vertsize, v ) \ argument
361 vb[j] = ((GLuint *)v)[j]; \
363 vb += vertsize; \
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_pipeline.c80 if (tnl->vb.AttribPtr[i]->size != tnl->pipeline.last_attrib_size[i] || in check_input_changes()
81 tnl->vb.AttribPtr[i]->stride != tnl->pipeline.last_attrib_stride[i]) { in check_input_changes()
82 tnl->pipeline.last_attrib_size[i] = tnl->vb.AttribPtr[i]->size; in check_input_changes()
83 tnl->pipeline.last_attrib_stride[i] = tnl->vb.AttribPtr[i]->stride; in check_input_changes()
98 if (tnl->vb.ResultPtr[i]->size != tnl->last_result_size[i] || in check_output_changes()
99 tnl->vb.ResultPtr[i]->stride != tnl->last_result_stride[i]) { in check_output_changes()
100 tnl->last_result_size[i] = tnl->vb.ResultPtr[i]->size; in check_output_changes()
101 tnl->last_result_stride[i] = tnl->vb.ResultPtr[i]->stride; in check_output_changes()
200 if (!tnl->vb.Count) in _tnl_run_pipeline()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.c734 gen_rect_verts(struct vertex2f *vb, struct vl_compositor_layer *layer) in gen_rect_verts() argument
738 assert(vb && layer); in gen_rect_verts()
776 vb[ 0].x = tl.x; in gen_rect_verts()
777 vb[ 0].y = tl.y; in gen_rect_verts()
778 vb[ 1].x = layer->src.tl.x; in gen_rect_verts()
779 vb[ 1].y = layer->src.tl.y; in gen_rect_verts()
780 vb[ 2] = layer->zw; in gen_rect_verts()
781 vb[ 3].x = layer->colors[0].x; in gen_rect_verts()
782 vb[ 3].y = layer->colors[0].y; in gen_rect_verts()
783 vb[ 4].x = layer->colors[0].z; in gen_rect_verts()
[all …]
/external/mesa3d/src/intel/blorp/
Dblorp_genX_exec.h269 struct GENX(VERTEX_BUFFER_STATE) vb[2]; in blorp_emit_vertex_buffers()
270 memset(vb, 0, sizeof(vb)); in blorp_emit_vertex_buffers()
273 blorp_emit_vertex_data(batch, params, &vb[0].BufferStartingAddress, &size); in blorp_emit_vertex_buffers()
274 vb[0].VertexBufferIndex = 0; in blorp_emit_vertex_buffers()
275 vb[0].BufferPitch = 3 * sizeof(float); in blorp_emit_vertex_buffers()
277 vb[0].VertexBufferMOCS = vb[0].BufferStartingAddress.mocs; in blorp_emit_vertex_buffers()
280 vb[0].AddressModifyEnable = true; in blorp_emit_vertex_buffers()
283 vb[0].BufferSize = size; in blorp_emit_vertex_buffers()
285 vb[0].BufferAccessType = VERTEXDATA; in blorp_emit_vertex_buffers()
286 vb[0].EndAddress = vb[0].BufferStartingAddress; in blorp_emit_vertex_buffers()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c163 float *vb; in r600_draw_rectangle() local
186 &offset, &buf, (void**)&vb); in r600_draw_rectangle()
190 vb[0] = x1; in r600_draw_rectangle()
191 vb[1] = y1; in r600_draw_rectangle()
192 vb[2] = depth; in r600_draw_rectangle()
193 vb[3] = 1; in r600_draw_rectangle()
195 vb[8] = x1; in r600_draw_rectangle()
196 vb[9] = y2; in r600_draw_rectangle()
197 vb[10] = depth; in r600_draw_rectangle()
198 vb[11] = 1; in r600_draw_rectangle()
[all …]
/external/libcxx/test/std/containers/sequences/vector.bool/
Dvector_bool.pass.cpp37 T vb(std::begin(ba), std::end(ba)); in main() local
39 assert(h(vb) != 0); in main()
49 T vb(std::begin(ba), std::end(ba)); in main() local
51 assert(h(vb) != 0); in main()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c140 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, in nv50_emit_vtxattr() argument
144 const void *data = (const uint8_t *)vb->buffer.user + ve->src_offset; in nv50_emit_vtxattr()
150 assert(vb->is_user_buffer); in nv50_emit_vtxattr()
222 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; in nv50_upload_user_buffers() local
225 if (!(nv50->vbo_user & (1 << b)) || !vb->stride) in nv50_upload_user_buffers()
230 addrs[b] = nouveau_scratch_data(&nv50->base, vb->buffer.user, base, size, in nv50_upload_user_buffers()
250 struct pipe_vertex_buffer *vb; in nv50_update_user_vbufs() local
254 vb = &nv50->vtxbuf[b]; in nv50_update_user_vbufs()
259 if (!vb->stride) { in nv50_update_user_vbufs()
260 nv50_emit_vtxattr(nv50, vb, ve, i); in nv50_update_user_vbufs()
[all …]
/external/deqp-deps/glslang/Test/
Dspv.ssbo.autoassign.frag11 float4 vb;
19 float4 vTmp = SB0[pos.y * W + pos.x].va + SB0[pos.y * W + pos.x].vb;
21 vTmp += SB1[pos.y * W + pos.x].va + SB1[pos.y * W + pos.x].vb;
/external/skqp/experimental/svg/model/
DSkSVGSVG.cpp63 void SkSVGSVG::setViewBox(const SkSVGViewBoxType& vb) { in setViewBox() argument
64 fViewBox.set(vb); in setViewBox()
90 if (const auto* vb = v.as<SkSVGViewBoxValue>()) { in onSetAttribute() local
91 this->setViewBox(*vb); in onSetAttribute()
/external/skia/experimental/svg/model/
DSkSVGSVG.cpp63 void SkSVGSVG::setViewBox(const SkSVGViewBoxType& vb) { in setViewBox() argument
64 fViewBox.set(vb); in setViewBox()
90 if (const auto* vb = v.as<SkSVGViewBoxValue>()) { in onSetAttribute() local
91 this->setViewBox(*vb); in onSetAttribute()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_context.c462 struct pipe_resource vb; local
463 memset(&vb, 0, sizeof(vb));
464 vb.target = PIPE_BUFFER;
465 vb.format = PIPE_FORMAT_R8_UNORM;
466 vb.usage = PIPE_USAGE_DEFAULT;
467 vb.width0 = sizeof(float) * 16;
468 vb.height0 = 1;
469 vb.depth0 = 1;
471 r300->dummy_vb.buffer.resource = screen->resource_create(screen, &vb);
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo_translate.c70 const struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[i]; in nvc0_vertex_configure_translate() local
72 if (likely(vb->is_user_buffer)) in nvc0_vertex_configure_translate()
73 map = (const uint8_t *)vb->buffer.user; in nvc0_vertex_configure_translate()
76 nv04_resource(vb->buffer.resource), vb->buffer_offset, NOUVEAU_BO_RD); in nvc0_vertex_configure_translate()
79 map += (intptr_t)index_bias * vb->stride; in nvc0_vertex_configure_translate()
81 translate->set_buffer(translate, i, map, vb->stride, ~0); in nvc0_vertex_configure_translate()
104 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; in nvc0_push_map_edgeflag() local
105 struct nv04_resource *buf = nv04_resource(vb->buffer.resource); in nvc0_push_map_edgeflag()
107 ctx->edgeflag.stride = vb->stride; in nvc0_push_map_edgeflag()
109 if (!vb->is_user_buffer) { in nvc0_push_map_edgeflag()
[all …]
/external/python/pyasn1-modules/tools/
Dsnmpget.py33 vb = vbl.setComponentByPosition(0).getComponentByPosition(0) variable
34 vb.setComponentByPosition(0, sys.argv[3])
35 v = vb.setComponentByPosition(1).getComponentByPosition(1).setComponentByPosition(0).getComponentBy…
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c357 struct pipe_vertex_buffer vb = {0}; in st_draw_quad() local
360 vb.stride = sizeof(struct st_util_vertex); in st_draw_quad()
364 &vb.buffer_offset, &vb.buffer.resource, (void **) &verts); in st_draw_quad()
365 if (!vb.buffer.resource) { in st_draw_quad()
423 1, &vb); in st_draw_quad()
432 pipe_resource_reference(&vb.buffer.resource, NULL); in st_draw_quad()

12345678910>>...16