Home
last modified time | relevance | path

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

12345678910

/third_party/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 …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_analysis.c215 check_elts24(struct lp_setup_context *setup, const void *vb, int stride) in check_elts24() argument
229 const_float4_ptr v0 = get_vert(vb, stride, 0); in check_elts24()
230 const_float4_ptr v1 = get_vert(vb, stride, 1); in check_elts24()
231 const_float4_ptr v2 = get_vert(vb, stride, 2); in check_elts24()
232 const_float4_ptr v3 = get_vert(vb, stride, 3); in check_elts24()
233 const_float4_ptr v6 = get_vert(vb, stride, 6); in check_elts24()
234 const_float4_ptr v9 = get_vert(vb, stride, 9); in check_elts24()
235 const_float4_ptr v12 = get_vert(vb, stride, 12); in check_elts24()
236 const_float4_ptr v18 = get_vert(vb, stride, 18); in check_elts24()
268 if (memcmp(get_vert(vb, i, stride), in check_elts24()
[all …]
/third_party/python/Lib/ctypes/test/
Dtest_wintypes.py17 vb = wintypes.VARIANT_BOOL()
18 self.assertIs(vb.value, False)
19 vb.value = True
20 self.assertIs(vb.value, True)
21 vb.value = true_value
22 self.assertIs(vb.value, True)
31 vb = wintypes.VARIANT_BOOL()
32 vb.value = set_value
33 self.assertIs(vb.value, True)
35 vb = wintypes.VARIANT_BOOL()
[all …]
/third_party/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 …]
/third_party/openssl/crypto/srp/
Dsrp_vfy.c280 SRP_VBASE *vb = OPENSSL_malloc(sizeof(*vb)); in SRP_VBASE_new() local
282 if (vb == NULL) in SRP_VBASE_new()
284 if ((vb->users_pwd = sk_SRP_user_pwd_new_null()) == NULL in SRP_VBASE_new()
285 || (vb->gN_cache = sk_SRP_gN_cache_new_null()) == NULL) { in SRP_VBASE_new()
286 OPENSSL_free(vb); in SRP_VBASE_new()
289 vb->default_g = NULL; in SRP_VBASE_new()
290 vb->default_N = NULL; in SRP_VBASE_new()
291 vb->seed_key = NULL; in SRP_VBASE_new()
292 if ((seed_key != NULL) && (vb->seed_key = OPENSSL_strdup(seed_key)) == NULL) { in SRP_VBASE_new()
293 sk_SRP_user_pwd_free(vb->users_pwd); in SRP_VBASE_new()
[all …]
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DInputAssembly.cpp136 struct pipe_vertex_buffer *vb = &pDevice->vertex_buffers[StartBuffer + i]; in IaSetVertexBuffers() local
151 vb->stride = pStrides[i]; in IaSetVertexBuffers()
152 vb->buffer_offset = pOffsets[i]; in IaSetVertexBuffers()
153 if (vb->is_user_buffer) { in IaSetVertexBuffers()
154 vb->buffer.resource = NULL; in IaSetVertexBuffers()
155 vb->is_user_buffer = FALSE; in IaSetVertexBuffers()
157 pipe_resource_reference(&vb->buffer.resource, resource); in IaSetVertexBuffers()
160 vb->stride = 0; in IaSetVertexBuffers()
161 vb->buffer_offset = 0; in IaSetVertexBuffers()
162 if (!vb->is_user_buffer) { in IaSetVertexBuffers()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor_gfx.c471 gen_rect_verts(struct vertex2f *vb, struct vl_compositor_layer *layer) in gen_rect_verts() argument
475 assert(vb && layer); in gen_rect_verts()
513 vb[ 0].x = tl.x; in gen_rect_verts()
514 vb[ 0].y = tl.y; in gen_rect_verts()
515 vb[ 1].x = layer->src.tl.x; in gen_rect_verts()
516 vb[ 1].y = layer->src.tl.y; in gen_rect_verts()
517 vb[ 2] = layer->zw; in gen_rect_verts()
518 vb[ 3].x = layer->colors[0].x; in gen_rect_verts()
519 vb[ 3].y = layer->colors[0].y; in gen_rect_verts()
520 vb[ 4].x = layer->colors[0].z; in gen_rect_verts()
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_msg.c304 struct snmp_varbind vb; in snmp_receive() local
306 vb.next = NULL; in snmp_receive()
307 vb.prev = NULL; in snmp_receive()
308 vb.type = SNMP_ASN1_TYPE_COUNTER32; in snmp_receive()
309 vb.value_len = sizeof(u32_t); in snmp_receive()
314 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
315 vb.value = &snmp_stats.wrongdigests; in snmp_receive()
320 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
321 vb.value = &snmp_stats.unknownengineids; in snmp_receive()
326 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
[all …]
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstvideobalance.c111 gst_video_balance_update_tables (GstVideoBalance * vb) in gst_video_balance_update_tables() argument
118 y = 16 + ((i - 16) * vb->contrast + vb->brightness * 255); in gst_video_balance_update_tables()
123 vb->tabley[i] = rint (y); in gst_video_balance_update_tables()
126 hue_cos = cos (G_PI * vb->hue); in gst_video_balance_update_tables()
127 hue_sin = sin (G_PI * vb->hue); in gst_video_balance_update_tables()
133 u = 128 + ((i * hue_cos + j * hue_sin) * vb->saturation); in gst_video_balance_update_tables()
134 v = 128 + ((-i * hue_sin + j * hue_cos) * vb->saturation); in gst_video_balance_update_tables()
143 vb->tableu[i + 128][j + 128] = rint (u); in gst_video_balance_update_tables()
144 vb->tablev[i + 128][j + 128] = rint (v); in gst_video_balance_update_tables()
672 GstVideoBalance *vb = GST_VIDEO_BALANCE (balance); in gst_video_balance_colorbalance_set_value() local
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglcolorbalance.c521 GstGLColorBalance *vb = GST_GL_COLOR_BALANCE (balance); in gst_gl_color_balance_colorbalance_set_value() local
525 g_return_if_fail (vb != NULL); in gst_gl_color_balance_colorbalance_set_value()
526 g_return_if_fail (GST_IS_GL_COLOR_BALANCE (vb)); in gst_gl_color_balance_colorbalance_set_value()
529 GST_OBJECT_LOCK (vb); in gst_gl_color_balance_colorbalance_set_value()
532 changed = new_val != vb->hue; in gst_gl_color_balance_colorbalance_set_value()
533 vb->hue = new_val; in gst_gl_color_balance_colorbalance_set_value()
536 changed = new_val != vb->saturation; in gst_gl_color_balance_colorbalance_set_value()
537 vb->saturation = new_val; in gst_gl_color_balance_colorbalance_set_value()
540 changed = new_val != vb->brightness; in gst_gl_color_balance_colorbalance_set_value()
541 vb->brightness = new_val; in gst_gl_color_balance_colorbalance_set_value()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c39 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb, in nv30_emit_vtxattr() argument
44 struct nv04_resource *res = nv04_resource(vb->buffer.resource); 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.resource) /* NOTE: user_buffer not implemented */ in nv30_prevalidate_vbufs()
106 buf = nv04_resource(vb->buffer.resource); in nv30_prevalidate_vbufs()
109 if (!nouveau_resource_mapped_by_gpu(vb->buffer.resource)) { 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 …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c478 struct pipe_vertex_buffer *vb; in u_vbuf_translate_buffers() local
483 vb = &mgr->vertex_buffer[i]; in u_vbuf_translate_buffers()
484 offset = vb->buffer_offset + vb->stride * start_vertex; in u_vbuf_translate_buffers()
486 if (vb->is_user_buffer) { in u_vbuf_translate_buffers()
487 map = (uint8_t*)vb->buffer.user + offset; in u_vbuf_translate_buffers()
489 unsigned size = vb->stride ? num_vertices * vb->stride in u_vbuf_translate_buffers()
492 if (!vb->buffer.resource) { in u_vbuf_translate_buffers()
498 if (vb->stride) { in u_vbuf_translate_buffers()
507 unsigned last_offset = size - vb->stride; in u_vbuf_translate_buffers()
511 if (offset + size > vb->buffer.resource->width0) { in u_vbuf_translate_buffers()
[all …]
/third_party/typescript/tests/baselines/reference/
DtypesVersionsDeclarationEmit.multiFileBackReferenceToSelf.js32 export const vb = fb(); constant
38 exports.vb = exports.va = void 0;
42 exports.vb = other_1.fb();
47 export declare const vb: import("ext/other").B;
DtypesVersionsDeclarationEmit.multiFile.js34 export const vb = fb(); constant
40 exports.vb = exports.va = void 0;
44 exports.vb = other_1.fb();
49 export declare const vb: import("ext/other").B;
DtypesVersionsDeclarationEmit.ambient.js37 export const vb = fb(); constant
43 exports.vb = exports.va = void 0;
47 exports.vb = other_1.fb();
52 export declare const vb: import("ext/other").B;
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c141 float *vb; in r600_draw_rectangle() local
164 &offset, &buf, (void**)&vb); in r600_draw_rectangle()
168 vb[0] = x1; in r600_draw_rectangle()
169 vb[1] = y1; in r600_draw_rectangle()
170 vb[2] = depth; in r600_draw_rectangle()
171 vb[3] = 1; in r600_draw_rectangle()
173 vb[8] = x1; in r600_draw_rectangle()
174 vb[9] = y2; in r600_draw_rectangle()
175 vb[10] = depth; in r600_draw_rectangle()
176 vb[11] = 1; in r600_draw_rectangle()
[all …]
/third_party/openssl/doc/man3/
DSRP_VBASE_new.pod22 void SRP_VBASE_free(SRP_VBASE *vb);
24 int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file);
26 int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd);
27 SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username);
28 SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username);
44 The SRP_VBASE_free() function frees up the B<vb> structure.
45 If B<vb> is NULL, nothing is done.
48 populates the B<vb> structure.
56 to the B<vb> structure. See L<SRP_user_pwd_new(3)> to create and populate this
/third_party/skia/src/gpu/ops/
DQuadPerEdgeAA.cpp37 void write_quad_generic(VertexWriter* vb, in write_quad_generic() argument
53 *vb << deviceQuad->x(i) in write_quad_generic()
61 *vb << GrVertexColor(color * (mode == CoverageMode::kWithColor ? coverage[i] : 1.f), in write_quad_generic()
67 *vb << localQuad->x(i) in write_quad_generic()
74 *vb << geomSubset; in write_quad_generic()
79 *vb << texSubset; in write_quad_generic()
89 void write_2d_color(VertexWriter* vb, in write_2d_color() argument
113 *vb << deviceQuad->x(i) in write_2d_color()
121 void write_2d_uv(VertexWriter* vb, in write_2d_uv() argument
139 *vb << deviceQuad->x(i) in write_2d_uv()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.c372 const struct pipe_vertex_buffer *vb) in_dt in fd_set_vertex_buffers() argument
384 bool new_enabled = vb && vb[i].buffer.resource; in fd_set_vertex_buffers()
385 bool old_enabled = so->vb[start_slot + i].buffer.resource != NULL; in fd_set_vertex_buffers()
386 uint32_t new_stride = vb ? vb[i].stride : 0; in fd_set_vertex_buffers()
387 uint32_t old_stride = so->vb[start_slot + i].stride; in fd_set_vertex_buffers()
395 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, in fd_set_vertex_buffers()
400 if (!vb) in fd_set_vertex_buffers()
406 assert(!vb[i].is_user_buffer); in fd_set_vertex_buffers()
407 fd_resource_set_usage(vb[i].buffer.resource, FD_DIRTY_VTXBUF); in fd_set_vertex_buffers()
412 if (vb[i].buffer.resource && in fd_set_vertex_buffers()
[all …]
/third_party/flatbuffers/tests/rust_usage_test/benches/
Dflexbuffers_benchmarks.rs20 let vb = vec![u64::max_value() - 20; 512]; in push_vec_u64_to_map() localVariable
33 for &b in vb.iter() { in push_vec_u64_to_map()
49 let vb = vec![u64::max_value() - 20; 512]; in push_vec_u64_to_map_reused() localVariable
61 for &b in vb.iter() { in push_vec_u64_to_map_reused()
79 let vb = vec![u64::max_value() - 20; 512]; in push_vec_u64_to_map_direct() localVariable
87 m.push("b", &vb); in push_vec_u64_to_map_direct()
96 let vb = vec![u64::max_value() - 20; 512]; in push_vec_u64_to_map_direct_reused() localVariable
103 m.push("b", &vb); in push_vec_u64_to_map_direct_reused()
/third_party/cmsis/CMSIS/DSP/Source/ComplexMathFunctions/
Darm_cmplx_mult_cmplx_f32.c192 float32x4x2_t va, vb; in arm_cmplx_mult_cmplx_f32() local
201 vb = vld2q_f32(pSrcB); // load & separate real/imag pSrcB in arm_cmplx_mult_cmplx_f32()
208 outCplx.val[0] = vmulq_f32(va.val[0], vb.val[0]); in arm_cmplx_mult_cmplx_f32()
209 outCplx.val[0] = vmlsq_f32(outCplx.val[0], va.val[1], vb.val[1]); in arm_cmplx_mult_cmplx_f32()
212 outCplx.val[1] = vmulq_f32(va.val[0], vb.val[1]); in arm_cmplx_mult_cmplx_f32()
213 outCplx.val[1] = vmlaq_f32(outCplx.val[1], va.val[1], vb.val[0]); in arm_cmplx_mult_cmplx_f32()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c142 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, in nv50_emit_vtxattr() argument
146 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()
215 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; in nv50_upload_user_buffers() local
218 if (!(nv50->vbo_user & (1 << b)) || !vb->stride) in nv50_upload_user_buffers()
223 addrs[b] = nouveau_scratch_data(&nv50->base, vb->buffer.user, base, size, in nv50_upload_user_buffers()
243 struct pipe_vertex_buffer *vb; in nv50_update_user_vbufs() local
247 vb = &nv50->vtxbuf[b]; in nv50_update_user_vbufs()
252 if (!vb->stride) { in nv50_update_user_vbufs()
253 nv50_emit_vtxattr(nv50, vb, ve, i); in nv50_update_user_vbufs()
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/namespaces/import_alias_declarations/
Dimport_alias_declarations_1.ts30 export var vb: hZ = { hs: "v" }; variable
34 export import va = N1.vb;
36 var v1: N1.hY.hX = N1.vb;
/third_party/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;
/third_party/skia/src/gpu/
DGrGeometryProcessor.cpp100 ProgramImpl::FPCoordsMap ProgramImpl::collectTransforms(GrGLSLVertexBuilder* vb, in collectTransforms() argument
121 vb->codeAppendf("%s = %s;\n", baseLocalCoord.vsOut(), localCoordsVar.getName().c_str()); in collectTransforms()
223 void ProgramImpl::emitTransformCode(GrGLSLVertexBuilder* vb, GrGLSLUniformHandler* uniformHandler) { in emitTransformCode() argument
282 vb->codeAppend("{\n"); in emitTransformCode()
284 if (vb->getProgramBuilder()->shaderCaps()->nonsquareMatrixSupport()) { in emitTransformCode()
285 vb->codeAppendf("%s = float3x2(%s) * %s", in emitTransformCode()
290 vb->codeAppendf("%s = (%s * %s).xy", in emitTransformCode()
297 vb->codeAppendf("%s = %s * %s", in emitTransformCode()
302 vb->codeAppend(";\n"); in emitTransformCode()
303 vb->codeAppend("}\n"); in emitTransformCode()

12345678910