/external/libnl/lib/idiag/ |
D | idiag_vegasinfo_obj.c | 28 void idiagnl_vegasinfo_get(struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get() argument 30 nl_object_get((struct nl_object *) vinfo); in idiagnl_vegasinfo_get() 33 void idiagnl_vegasinfo_put(struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_put() argument 35 nl_object_put((struct nl_object *) vinfo); in idiagnl_vegasinfo_put() 42 uint32_t idiagnl_vegasinfo_get_enabled(const struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get_enabled() argument 44 return vinfo->tcpv_enabled; in idiagnl_vegasinfo_get_enabled() 47 void idiagnl_vegasinfo_set_enabled(struct idiagnl_vegasinfo *vinfo, uint32_t in idiagnl_vegasinfo_set_enabled() argument 50 vinfo->tcpv_enabled = enabled; in idiagnl_vegasinfo_set_enabled() 53 uint32_t idiagnl_vegasinfo_get_rttcnt(const struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get_rttcnt() argument 55 return vinfo->tcpv_rttcnt; in idiagnl_vegasinfo_get_rttcnt() [all …]
|
D | idiag_msg_obj.c | 347 *vinfo) in idiagnl_msg_set_vegasinfo() 352 idiagnl_vegasinfo_get(vinfo); in idiagnl_msg_set_vegasinfo() 353 msg->idiag_vegasinfo = vinfo; in idiagnl_msg_set_vegasinfo() 680 struct idiagnl_vegasinfo *vinfo = idiagnl_vegasinfo_alloc(); in idiagnl_msg_parse() local 683 if (!vinfo) in idiagnl_msg_parse() 689 idiagnl_vegasinfo_set_enabled(vinfo, raw_vinfo->tcpv_enabled); in idiagnl_msg_parse() 690 idiagnl_vegasinfo_set_rttcnt(vinfo, raw_vinfo->tcpv_rttcnt); in idiagnl_msg_parse() 691 idiagnl_vegasinfo_set_rtt(vinfo, raw_vinfo->tcpv_rtt); in idiagnl_msg_parse() 692 idiagnl_vegasinfo_set_minrtt(vinfo, raw_vinfo->tcpv_minrtt); in idiagnl_msg_parse() 694 msg->idiag_vegasinfo = vinfo; in idiagnl_msg_parse()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_derived.c | 60 struct vertex_info vinfo; in calculate_vertex_layout() local 67 memset(&vinfo, 0, sizeof(vinfo)); in calculate_vertex_layout() 109 draw_emit_vertex_attr(&vinfo, EMIT_4F, src); in calculate_vertex_layout() 110 vinfo.hwfmt[0] |= S4_VFMT_XYZW; in calculate_vertex_layout() 111 vinfo.attrib[0].emit = EMIT_4F; in calculate_vertex_layout() 114 draw_emit_vertex_attr(&vinfo, EMIT_3F, src); in calculate_vertex_layout() 115 vinfo.hwfmt[0] |= S4_VFMT_XYZ; in calculate_vertex_layout() 116 vinfo.attrib[0].emit = EMIT_3F; in calculate_vertex_layout() 125 draw_emit_vertex_attr(&vinfo, EMIT_4UB_BGRA, src); in calculate_vertex_layout() 126 vinfo.hwfmt[0] |= S4_VFMT_COLOR; in calculate_vertex_layout() [all …]
|
D | i915_prim_emit.c | 72 const struct vertex_info *vinfo = &i915->current.vertex_info; in emit_hw_vertex() local 78 for (i = 0; i < vinfo->num_attribs; i++) { in emit_hw_vertex() 79 const uint j = vinfo->attrib[i].src_index; in emit_hw_vertex() 81 switch (vinfo->attrib[i].emit) { in emit_hw_vertex() 122 assert(count == vinfo->size); in emit_hw_vertex()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_derived.c | 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info() local 78 vinfo->num_attribs = 0; in compute_vertex_info() 83 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info() 96 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; in compute_vertex_info() 100 llvmpipe->face_slot = (int)vinfo->num_attribs; in compute_vertex_info() 101 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info() 110 llvmpipe->viewport_index_slot = (int)vinfo->num_attribs; in compute_vertex_info() 111 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info() 113 llvmpipe->layer_slot = (int)vinfo->num_attribs; in compute_vertex_info() 114 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info() [all …]
|
/external/iproute2/bridge/ |
D | vlan.c | 47 struct bridge_vlan_info vinfo = {}; in vlan_modify() local 64 vinfo.flags |= BRIDGE_VLAN_INFO_RANGE_BEGIN; in vlan_modify() 73 vinfo.flags |= BRIDGE_VLAN_INFO_PVID; in vlan_modify() 75 vinfo.flags |= BRIDGE_VLAN_INFO_UNTAGGED; in vlan_modify() 99 if (vinfo.flags & BRIDGE_VLAN_INFO_RANGE_BEGIN) { in vlan_modify() 105 if (vinfo.flags & BRIDGE_VLAN_INFO_PVID) { in vlan_modify() 117 vinfo.vid = vid; in vlan_modify() 120 addattr_l(&req.n, sizeof(req), IFLA_BRIDGE_VLAN_INFO, &vinfo, in vlan_modify() 121 sizeof(vinfo)); in vlan_modify() 122 vinfo.flags &= ~BRIDGE_VLAN_INFO_RANGE_BEGIN; in vlan_modify() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_vertex.c | 46 draw_compute_vertex_size(struct vertex_info *vinfo) in draw_compute_vertex_size() argument 50 vinfo->size = 0; in draw_compute_vertex_size() 51 for (i = 0; i < vinfo->num_attribs; i++) in draw_compute_vertex_size() 52 vinfo->size += draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_compute_vertex_size() 54 assert(vinfo->size % 4 == 0); in draw_compute_vertex_size() 56 vinfo->size /= 4; in draw_compute_vertex_size() 61 draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data) in draw_dump_emitted_vertex() argument 65 for (i = 0; i < vinfo->num_attribs; i++) { in draw_dump_emitted_vertex() 66 switch (vinfo->attrib[i].emit) { in draw_dump_emitted_vertex()
|
D | draw_pt_emit.c | 46 const struct vertex_info *vinfo; member 59 const struct vertex_info *vinfo; in draw_pt_emit_prepare() local 77 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare() 82 for (i = 0; i < vinfo->num_attribs; i++) { in draw_pt_emit_prepare() 86 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float); in draw_pt_emit_prepare() 88 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in draw_pt_emit_prepare() 89 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_pt_emit_prepare() 94 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in draw_pt_emit_prepare() 98 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) { in draw_pt_emit_prepare() 115 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare() [all …]
|
D | draw_pt_fetch_emit.c | 80 const struct vertex_info *vinfo; member 97 const struct vertex_info *vinfo; in fetch_emit_prepare() local 108 vinfo = feme->vinfo = draw->render->get_vertex_info(draw->render); in fetch_emit_prepare() 116 for (i = 0; i < vinfo->num_attribs; i++) { in fetch_emit_prepare() 117 const struct pipe_vertex_element *src = &draw->pt.vertex_element[vinfo->attrib[i].src_index]; in fetch_emit_prepare() 125 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in fetch_emit_prepare() 126 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fetch_emit_prepare() 128 if (vinfo->attrib[i].emit == EMIT_OMIT) in fetch_emit_prepare() 131 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in fetch_emit_prepare() 148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare() [all …]
|
D | draw_vertex.h | 113 draw_emit_vertex_attr(struct vertex_info *vinfo, in draw_emit_vertex_attr() argument 117 const uint n = vinfo->num_attribs; in draw_emit_vertex_attr() 125 assert(n < ARRAY_SIZE(vinfo->attrib)); in draw_emit_vertex_attr() 126 vinfo->attrib[n].emit = emit; in draw_emit_vertex_attr() 127 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr() 128 vinfo->num_attribs++; in draw_emit_vertex_attr() 133 extern void draw_compute_vertex_size(struct vertex_info *vinfo); 135 void draw_dump_emitted_vertex(const struct vertex_info *vinfo,
|
D | draw_pt_fetch_shade_emit.c | 63 const struct vertex_info *vinfo; member 77 const struct vertex_info *vinfo; in fse_prepare() local 89 fse->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in fse_prepare() 91 fse->key.output_stride = vinfo->size * 4; in fse_prepare() 92 fse->key.nr_outputs = vinfo->num_attribs; in fse_prepare() 127 for (i = 0; i < vinfo->num_attribs; i++) { in fse_prepare() 128 unsigned emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fse_prepare() 137 fse->key.element[i].out.format = vinfo->attrib[i].emit; in fse_prepare() 138 fse->key.element[i].out.vs_output = vinfo->attrib[i].src_index; in fse_prepare() 169 (vinfo->size * 4)); in fse_prepare() [all …]
|
D | draw_pipe_vbuf.c | 56 const struct vertex_info *vinfo; member 131 if (0) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr); in emit_vertex() 191 const struct vertex_info *vinfo; in vbuf_start_prim() local 201 vbuf->vinfo = vbuf->render->get_vertex_info(vbuf->render); in vbuf_start_prim() 202 vinfo = vbuf->vinfo; in vbuf_start_prim() 203 vbuf->vertex_size = vinfo->size * sizeof(float); in vbuf_start_prim() 209 for (i = 0; i < vinfo->num_attribs; i++) { in vbuf_start_prim() 213 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float)); in vbuf_start_prim() 215 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in vbuf_start_prim() 216 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in vbuf_start_prim() [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 69 struct vertex_info *vinfo = &softpipe->vertex_info; in softpipe_compute_vertex_info() local 92 vinfo->num_attribs = 0; in softpipe_compute_vertex_info() 100 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() 171 softpipe->viewport_index_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 172 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() 174 softpipe->layer_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 175 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() 189 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() 199 softpipe->psize_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 200 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_draw_feedback.c | 59 struct vertex_info vinfo; in set_feedback_vertex_format() 62 memset(&vinfo, 0, sizeof(vinfo)); in set_feedback_vertex_format() 66 vinfo.num_attribs = 1; in set_feedback_vertex_format() 67 vinfo.format[0] = FORMAT_4F; in set_feedback_vertex_format() 68 vinfo.interp_mode[0] = INTERP_LINEAR; in set_feedback_vertex_format() 73 vinfo.num_attribs = st->state.vs->cso->state.num_outputs; in set_feedback_vertex_format() 74 for (i = 0; i < vinfo.num_attribs; i++) { in set_feedback_vertex_format() 75 vinfo.format[i] = FORMAT_4F; in set_feedback_vertex_format() 76 vinfo.interp_mode[i] = INTERP_LINEAR; in set_feedback_vertex_format() 80 draw_set_vertex_info(st->draw, &vinfo); in set_feedback_vertex_format()
|
/external/bcc/src/lua/bpf/ |
D | bpf.lua | 117 local vinfo = V[var] 118 assert(vinfo.reg, 'attempt to spill VAR that doesn\'t have an allocated register') 119 vinfo.spill = (var + 1) * ffi.sizeof('uint64_t') -- Index by (variable number) * (register width) 120 emit(BPF.MEM + BPF.STX + BPF.DW, 10, vinfo.reg, -vinfo.spill, 0) 121 vinfo.reg = nil 125 local vinfo = V[var] 127 assert(vinfo.spill, 'attempt to fill register with a VAR that isn\'t spilled') 128 emit(BPF.MEM + BPF.LDX + BPF.DW, reg, 10, -vinfo.spill, 0) 129 vinfo.reg = reg 130 vinfo.spill = nil [all …]
|
/external/cblas/src/ |
D | xerbla.c | 10 void F77_xerbla(F77_CHAR F77_srname, void *vinfo) in F77_xerbla() argument 12 void F77_xerbla(char *srname, void *vinfo) in F77_xerbla() 23 F77_INT *info=vinfo; in F77_xerbla() 26 int *info=vinfo; in F77_xerbla()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_state.c | 228 struct vertex_info *vinfo = &svga_render->vertex_info; in svga_swtnl_update_vdecl() local 239 memset(vinfo, 0, sizeof(*vinfo)); in svga_swtnl_update_vdecl() 246 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl() 247 vinfo->attrib[0].emit = EMIT_4F; in svga_swtnl_update_vdecl() 267 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl() 274 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl() 283 draw_emit_vertex_attr(vinfo, EMIT_1F, src); in svga_swtnl_update_vdecl() 298 draw_compute_vertex_size(vinfo); in svga_swtnl_update_vdecl()
|
/external/cblas/testing/ |
D | c_xerbla.c | 88 void F77_xerbla(F77_Char F77_srname, void *vinfo) in F77_xerbla() argument 90 void F77_xerbla(char *srname, void *vinfo) in F77_xerbla() 100 F77_Integer *info=vinfo; in F77_xerbla() 104 int *info=vinfo; in F77_xerbla()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_draw.c | 228 struct vertex_info *vinfo = &r->vertex_info; in vroute_add() local 249 draw_emit_vertex_attr(vinfo, emit, attrib); in vroute_add() 253 r->vtxptr[attrib] = vinfo->size; in vroute_add() 254 vinfo->size += draw_translate_vinfo_size(emit); in vroute_add() 286 struct vertex_info *vinfo = &r->vertex_info; in nv30_render_validate() local 306 vinfo->num_attribs = 0; in nv30_render_validate() 307 vinfo->size = 0; in nv30_render_validate() 340 r->vtxfmt[i] |= vinfo->size << 8; in nv30_render_validate() 374 vinfo->size /= 4; in nv30_render_validate()
|
/external/adhd/cras/src/common/ |
D | edid_utils.c | 744 int vinfo = edid_data[EDID_STDTIMEV + 2 * i]; in show_edid() local 748 if (((hinfo == 0x01) && (vinfo == 0x01)) || in show_edid() 749 ((hinfo == 0x00) && (vinfo == 0x00)) || in show_edid() 750 ((hinfo == 0x20) && (vinfo == 0x20))) in show_edid() 753 switch (vinfo >> 6) { in show_edid() 771 i, hres, vres, 60 + (vinfo & 0x3f)); in show_edid()
|
/external/webrtc/webrtc/modules/video_render/test/testAPI/ |
D | testAPI.cc | 169 XVisualInfo vinfo; // screen visual info struct in WebRtcCreateWindow() local 179 if( XMatchVisualInfo(_display, screen, 24, TrueColor, &vinfo) != 0 ) in WebRtcCreateWindow() 185 xswa.colormap = XCreateColormap(_display, DefaultRootWindow(_display), vinfo.visual, AllocNone); in WebRtcCreateWindow() 212 0, vinfo.depth, in WebRtcCreateWindow() 214 vinfo.visual, in WebRtcCreateWindow()
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | fakeglx.c | 129 is_usable_visual( XVisualInfo *vinfo ) in is_usable_visual() argument 131 switch (vinfo->CLASS) { in is_usable_visual() 208 level_of_visual( Display *dpy, XVisualInfo *vinfo ) in level_of_visual() argument 213 overlay_info = GetOverlayInfo(dpy, vinfo->screen, &numOverlaysPerScreen); in level_of_visual() 221 if (ov->overlay_visual == vinfo->visualid) { in level_of_visual() 248 save_glx_visual( Display *dpy, XVisualInfo *vinfo, in save_glx_visual() argument 303 if (v->visinfo->visualid == vinfo->visualid) { in save_glx_visual() 311 xmvis = XMesaCreateVisual( dpy, vinfo, GL_TRUE, alphaFlag, dbFlag, in save_glx_visual() 421 find_glx_visual( Display *dpy, XVisualInfo *vinfo ) in find_glx_visual() argument 428 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual() [all …]
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | glx_api.c | 146 is_usable_visual( XVisualInfo *vinfo ) in is_usable_visual() argument 148 switch (vinfo->CLASS) { in is_usable_visual() 156 if (vinfo->depth>=4) { in is_usable_visual() 178 save_glx_visual( Display *dpy, XVisualInfo *vinfo, in save_glx_visual() argument 245 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual() 246 || (comparePointers && v->vishandle == vinfo)) { in save_glx_visual() 254 xmvis = XMesaCreateVisual( dpy, vinfo, rgbFlag, alphaFlag, dbFlag, in save_glx_visual() 264 xmvis->vishandle = vinfo; in save_glx_visual() 364 find_glx_visual( Display *dpy, XVisualInfo *vinfo ) in find_glx_visual() argument 371 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_capa.c | 741 struct nl80211_vendor_cmd_info *vinfo; in wiphy_info_handler() local 742 if (nla_len(nl) != sizeof(*vinfo)) { in wiphy_info_handler() 746 vinfo = nla_data(nl); in wiphy_info_handler() 747 if (vinfo->vendor_id == OUI_QCA) { in wiphy_info_handler() 748 switch (vinfo->subcmd) { in wiphy_info_handler() 798 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler() 807 struct nl80211_vendor_cmd_info *vinfo; in wiphy_info_handler() local 808 if (nla_len(nl) != sizeof(*vinfo)) { in wiphy_info_handler() 812 vinfo = nla_data(nl); in wiphy_info_handler() 814 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 67 SkImageInfo vinfo = SkImageInfo::MakeA8(kBmpSize / 2, kBmpSize / 2); in onOnceBeforeDraw() local 68 fYUVBmps[2].allocPixels(vinfo); in onOnceBeforeDraw()
|