/external/syslinux/core/lwip/src/core/snmp/ |
D | msg_in.c | 178 struct snmp_varbind *vb; in snmp_msg_get_event() local 184 vb = (struct snmp_varbind *)memp_malloc(MEMP_SNMP_VARBIND); in snmp_msg_get_event() 185 LWIP_ASSERT("vb != NULL",vb != NULL); in snmp_msg_get_event() 186 if (vb != NULL) in snmp_msg_get_event() 188 vb->next = NULL; in snmp_msg_get_event() 189 vb->prev = NULL; in snmp_msg_get_event() 192 vb->ident = msg_ps->vb_ptr->ident; in snmp_msg_get_event() 193 vb->ident_len = msg_ps->vb_ptr->ident_len; in snmp_msg_get_event() 198 vb->value_type = msg_ps->ext_object_def.asn_type; in snmp_msg_get_event() 200 vb->value_len = (u8_t)msg_ps->ext_object_def.v_len; in snmp_msg_get_event() [all …]
|
D | msg_out.c | 423 struct snmp_varbind *vb; in snmp_varbind_list_sum() local 429 vb = root->tail; in snmp_varbind_list_sum() 430 while ( vb != NULL ) in snmp_varbind_list_sum() 433 switch (vb->value_type) in snmp_varbind_list_sum() 436 sint_ptr = (s32_t*)vb->value; in snmp_varbind_list_sum() 437 snmp_asn1_enc_s32t_cnt(*sint_ptr, &vb->vlen); in snmp_varbind_list_sum() 442 uint_ptr = (u32_t*)vb->value; in snmp_varbind_list_sum() 443 snmp_asn1_enc_u32t_cnt(*uint_ptr, &vb->vlen); in snmp_varbind_list_sum() 449 vb->vlen = vb->value_len; in snmp_varbind_list_sum() 452 sint_ptr = (s32_t*)vb->value; in snmp_varbind_list_sum() [all …]
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_triemit.h | 10 #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/python/cpython2/Lib/ctypes/test/ |
D | test_wintypes.py | 16 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/ |
D | cxx1y-variable-templates.cpp | 38 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/ |
D | svga_state_vdecl.c | 70 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) in emit_hw_vs_vdecl() 79 buffer = svga_buffer(vb->buffer); 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) in emit_hw_vs_vdecl() [all …]
|
/external/clang/test/SemaCXX/ |
D | destructor.cpp | 244 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/mesa/drivers/dri/i965/ |
D | brw_draw.c | 176 base_vertex_location += brw->vb.start_vertex_bias; in brw_emit_prim() 181 start_vertex_location += brw->vb.start_vertex_bias; in brw_emit_prim() 293 for (i = 0; i < brw->vb.nr_buffers; i++) { in brw_merge_inputs() 294 drm_intel_bo_unreference(brw->vb.buffers[i].bo); in brw_merge_inputs() 295 brw->vb.buffers[i].bo = NULL; in brw_merge_inputs() 297 brw->vb.nr_buffers = 0; in brw_merge_inputs() 300 brw->vb.inputs[i].buffer = -1; in brw_merge_inputs() 301 brw->vb.inputs[i].glarray = arrays[i]; in brw_merge_inputs() 314 switch (brw->vb.inputs[i].glarray->Type) { in brw_merge_inputs() 317 wa_flags = brw->vb.inputs[i].glarray->Size; in brw_merge_inputs() [all …]
|
D | gen8_draw_upload.c | 69 unsigned vue = brw->vb.nr_enabled; in gen8_emit_vertices() 127 brw->vb.nr_enabled + needs_sgvs_element + vs_prog_data->uses_drawid; in gen8_emit_vertices() 155 const unsigned nr_buffers = brw->vb.nr_buffers + in gen8_emit_vertices() 163 for (unsigned i = 0; i < brw->vb.nr_buffers; i++) { in gen8_emit_vertices() 164 const struct brw_vertex_buffer *buffer = &brw->vb.buffers[i]; in gen8_emit_vertices() 172 EMIT_VERTEX_BUFFER_STATE(brw, brw->vb.nr_buffers, in gen8_emit_vertices() 181 EMIT_VERTEX_BUFFER_STATE(brw, brw->vb.nr_buffers + 1, in gen8_emit_vertices() 200 for (unsigned i = 0; i < brw->vb.nr_enabled; i++) { in gen8_emit_vertices() 201 struct brw_vertex_element *input = brw->vb.enabled[i]; in gen8_emit_vertices() 220 if (input == &brw->vb.inputs[VERT_ATTRIB_EDGEFLAG]) { in gen8_emit_vertices() [all …]
|
D | brw_draw_upload.c | 542 unsigned int min_index = brw->vb.min_index + brw->basevertex; in brw_prepare_vertices() 543 unsigned int max_index = brw->vb.max_index + brw->basevertex; in brw_prepare_vertices() 566 brw->vb.nr_enabled = 0; in brw_prepare_vertices() 573 struct brw_vertex_element *input = &brw->vb.inputs[index]; in brw_prepare_vertices() 578 brw->vb.enabled[brw->vb.nr_enabled++] = input; in brw_prepare_vertices() 581 if (brw->vb.nr_enabled == 0) in brw_prepare_vertices() 584 if (brw->vb.nr_buffers) in brw_prepare_vertices() 592 for (i = j = 0; i < brw->vb.nr_enabled; i++) { in brw_prepare_vertices() 593 struct brw_vertex_element *input = brw->vb.enabled[i]; in brw_prepare_vertices() 613 if (brw->vb.index_bounds_valid) { in brw_prepare_vertices() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_vbuf.c | 417 struct pipe_vertex_buffer *vb; in u_vbuf_translate_buffers() local 422 vb = &mgr->vertex_buffer[i]; in u_vbuf_translate_buffers() 423 offset = vb->buffer_offset + vb->stride * start_vertex; in u_vbuf_translate_buffers() 425 if (vb->user_buffer) { in u_vbuf_translate_buffers() 426 map = (uint8_t*)vb->user_buffer + offset; in u_vbuf_translate_buffers() 428 unsigned size = vb->stride ? num_vertices * vb->stride in u_vbuf_translate_buffers() 431 if (offset+size > vb->buffer->width0) { in u_vbuf_translate_buffers() 432 size = vb->buffer->width0 - offset; in u_vbuf_translate_buffers() 435 map = pipe_buffer_map_range(mgr->pipe, vb->buffer, offset, size, in u_vbuf_translate_buffers() 441 map -= (ptrdiff_t)vb->stride * min_index; in u_vbuf_translate_buffers() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_vbo.c | 37 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb, in nv30_emit_vtxattr() argument 42 struct nv04_resource *res = nv04_resource(vb->buffer); in nv30_emit_vtxattr() 48 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset + in nv30_emit_vtxattr() 95 struct pipe_vertex_buffer *vb; in nv30_prevalidate_vbufs() local 103 vb = &nv30->vtxbuf[i]; in nv30_prevalidate_vbufs() 104 if (!vb->stride || !vb->buffer) /* NOTE: user_buffer not implemented */ in nv30_prevalidate_vbufs() 106 buf = nv04_resource(vb->buffer); in nv30_prevalidate_vbufs() 109 if (!nouveau_resource_mapped_by_gpu(vb->buffer)) { in nv30_prevalidate_vbufs() 116 assert(vb->stride > vb->buffer_offset); in nv30_prevalidate_vbufs() 139 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[b]; in nv30_update_user_vbufs() local [all …]
|
D | nv30_push.c | 211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i]; in nv30_push_vbo() local 212 struct nv04_resource *res = nv04_resource(vb->buffer); in nv30_push_vbo() 214 if (!vb->buffer && !vb->user_buffer) { in nv30_push_vbo() 219 vb->buffer_offset, NOUVEAU_BO_RD); in nv30_push_vbo() 222 data += info->index_bias * vb->stride; in nv30_push_vbo() 224 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0); in nv30_push_vbo()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tris.c | 176 if (intel->prim.vb == NULL) in intel_get_prim_space() 177 intel->prim.vb = malloc(INTEL_VB_SIZE); in intel_get_prim_space() 186 addr = (uint32_t *)(intel->prim.vb + intel->prim.current_offset); in intel_get_prim_space() 337 intel->prim.vb); in intel_finish_vb() 347 #define COPY_DWORDS( j, vb, vertsize, v ) \ argument 351 : "=%c" (j), "=D" (vb), "=S" (__tmp) \ 353 "D" ((long)vb), \ 357 #define COPY_DWORDS( j, vb, vertsize, v ) \ argument 360 vb[j] = ((GLuint *)v)[j]; \ 362 vb += vertsize; \ [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_pipeline.c | 80 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/ |
D | vl_compositor.c | 646 gen_rect_verts(struct vertex2f *vb, struct vl_compositor_layer *layer) in gen_rect_verts() argument 650 assert(vb && layer); in gen_rect_verts() 688 vb[ 0].x = tl.x; in gen_rect_verts() 689 vb[ 0].y = tl.y; in gen_rect_verts() 690 vb[ 1].x = layer->src.tl.x; in gen_rect_verts() 691 vb[ 1].y = layer->src.tl.y; in gen_rect_verts() 692 vb[ 2] = layer->zw; in gen_rect_verts() 693 vb[ 3].x = layer->colors[0].x; in gen_rect_verts() 694 vb[ 3].y = layer->colors[0].y; in gen_rect_verts() 695 vb[ 4].x = layer->colors[0].z; in gen_rect_verts() [all …]
|
/external/libcxx/test/std/containers/sequences/vector.bool/ |
D | vector_bool.pass.cpp | 36 T vb(std::begin(ba), std::end(ba)); in main() local 38 assert(h(vb) != 0); in main() 47 T vb(std::begin(ba), std::end(ba)); in main() local 49 assert(h(vb) != 0); in main()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_state.c | 200 const struct pipe_vertex_buffer *vb) in fd_set_vertex_buffers() argument 212 bool new_enabled = vb && (vb[i].buffer || vb[i].user_buffer); in fd_set_vertex_buffers() 213 bool old_enabled = so->vb[i].buffer || so->vb[i].user_buffer; in fd_set_vertex_buffers() 214 uint32_t new_stride = vb ? vb[i].stride : 0; in fd_set_vertex_buffers() 215 uint32_t old_stride = so->vb[i].stride; in fd_set_vertex_buffers() 223 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, count); in fd_set_vertex_buffers()
|
D | freedreno_context.c | 209 ctx->solid_vbuf_state.vertexbuf.vb[0].stride = 12; in fd_context_setup_common_vbos() 210 ctx->solid_vbuf_state.vertexbuf.vb[0].buffer = ctx->solid_vbuf; in fd_context_setup_common_vbos() 224 ctx->blit_vbuf_state.vertexbuf.vb[0].stride = 8; in fd_context_setup_common_vbos() 225 ctx->blit_vbuf_state.vertexbuf.vb[0].buffer = ctx->blit_texcoord_vbuf; in fd_context_setup_common_vbos() 226 ctx->blit_vbuf_state.vertexbuf.vb[1].stride = 12; in fd_context_setup_common_vbos() 227 ctx->blit_vbuf_state.vertexbuf.vb[1].buffer = ctx->solid_vbuf; in fd_context_setup_common_vbos()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_genX_exec.h | 240 struct GENX(VERTEX_BUFFER_STATE) vb[2]; in blorp_emit_vertex_buffers() 241 memset(vb, 0, sizeof(vb)); in blorp_emit_vertex_buffers() 244 blorp_emit_vertex_data(batch, params, &vb[0].BufferStartingAddress, &size); in blorp_emit_vertex_buffers() 245 vb[0].VertexBufferIndex = 0; in blorp_emit_vertex_buffers() 246 vb[0].BufferPitch = 3 * sizeof(float); in blorp_emit_vertex_buffers() 247 vb[0].VertexBufferMOCS = batch->blorp->mocs.vb; in blorp_emit_vertex_buffers() 249 vb[0].AddressModifyEnable = true; in blorp_emit_vertex_buffers() 252 vb[0].BufferSize = size; in blorp_emit_vertex_buffers() 254 vb[0].BufferAccessType = VERTEXDATA; in blorp_emit_vertex_buffers() 255 vb[0].EndAddress = vb[0].BufferStartingAddress; in blorp_emit_vertex_buffers() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_vbo.c | 140 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->user_buffer + ve->src_offset; in nv50_emit_vtxattr() 150 assert(vb->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->user_buffer, 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/skia/experimental/svg/model/ |
D | SkSVGSVG.cpp | 63 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/ilo/core/ |
D | ilo_state_vf.c | 522 vertex_buffer_set_gen8_vertex_buffer_state(struct ilo_state_vertex_buffer *vb, in vertex_buffer_set_gen8_vertex_buffer_state() argument 541 STATIC_ASSERT(ARRAY_SIZE(vb->vb) >= 3); in vertex_buffer_set_gen8_vertex_buffer_state() 542 vb->vb[0] = dw0; in vertex_buffer_set_gen8_vertex_buffer_state() 543 vb->vb[1] = info->offset; in vertex_buffer_set_gen8_vertex_buffer_state() 546 vb->vb[2] = size; in vertex_buffer_set_gen8_vertex_buffer_state() 549 vb->vb[2] = (size) ? info->offset + size - 1 : 0; in vertex_buffer_set_gen8_vertex_buffer_state() 552 vb->vma = info->vma; in vertex_buffer_set_gen8_vertex_buffer_state() 963 ilo_state_vertex_buffer_set_info(struct ilo_state_vertex_buffer *vb, in ilo_state_vertex_buffer_set_info() argument 969 ret &= vertex_buffer_set_gen8_vertex_buffer_state(vb, dev, info); in ilo_state_vertex_buffer_set_info()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_context.c | 460 struct pipe_resource vb; local 461 memset(&vb, 0, sizeof(vb)); 462 vb.target = PIPE_BUFFER; 463 vb.format = PIPE_FORMAT_R8_UNORM; 464 vb.usage = PIPE_USAGE_DEFAULT; 465 vb.width0 = sizeof(float) * 16; 466 vb.height0 = 1; 467 vb.depth0 = 1; 469 r300->dummy_vb.buffer = screen->resource_create(screen, &vb);
|
/external/skia/src/opts/ |
D | SkColor_opts_neon.h | 47 uint8x8_t vr, vg, vb; in SkPixel16ToPixel32_neon8() local 51 vb = vmovn_u16(vsrc & vdupq_n_u16(SK_B16_MASK)); in SkPixel16ToPixel32_neon8() 56 ret.val[NEON_B] = vshl_n_u8(vb, 8 - SK_B16_BITS) | vshr_n_u8(vb, 2 * SK_B16_BITS - 8); in SkPixel16ToPixel32_neon8()
|