/external/capstone/suite/ |
patch_major_os_version.py | 24 vb = struct.pack("<HHHHH", 5, 0, 0, 0, 5) # encode versions variable 26 b = b[0:e_lfanew + 0x40] + vb + b[e_lfanew + 0x4A:]
|
/dalvik/dx/tests/141-invoke-polymorphic-varhandles/ |
VarHandleDexTest.java | 34 VarHandle vb = MethodHandles.lookup().findStaticVarHandle(t.getClass(), "bsValue", boolean.class); local 38 boolean b0 = (boolean) vb.compareAndExchangeAcquire(t, expectedValue, newValue); 39 vb.compareAndExchangeAcquire(t, expectedValue, newValue); 40 boolean b1 = (boolean) vb.compareAndExchange(t, expectedValue, newValue); 41 vb.compareAndExchange(t, expectedValue, newValue); 42 boolean b2 = (boolean) vb.compareAndExchangeRelease(t, expectedValue, newValue); 43 vb.compareAndExchangeRelease(t, expectedValue, newValue); 45 boolean r0 = vb.compareAndSet(t, expectedValue, newValue); 46 vb.compareAndSet(t, expectedValue, newValue); 47 boolean r1 = vb.weakCompareAndSetAcquire(t, expectedValue, newValue) [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_vdecl.c | 70 const struct pipe_vertex_buffer *vb = local 71 &svga->curr.vb[ve[i].vertex_buffer_index]; 73 unsigned int offset = vb->buffer_offset + ve[i].src_offset; 76 if (!vb->buffer) 79 buffer = svga_buffer(vb->buffer); 82 if (vb->stride) 83 tmp_neg_bias = (tmp_neg_bias + vb->stride - 1) / vb->stride; 89 const struct pipe_vertex_buffer *vb = local 90 &svga->curr.vb[ve[i].vertex_buffer_index] [all...] |
svga_swtnl_backend.c | 247 struct pipe_vertex_buffer vb; local 248 vb.buffer = svga_render->vbuf; 249 vb.buffer_offset = svga_render->vdecl_offset; 250 vb.stride = vdecl[0].array.stride; 251 vb.user_buffer = NULL; 252 svga_hwtnl_vertex_buffers(svga->hwtnl, 1, &vb);
|
svga_draw.c | 775 const struct pipe_vertex_buffer *vb = &hwtnl->cmd.vbufs[j]; local 776 unsigned size = vb->buffer ? vb->buffer->width0 : 0; 785 assert(vb);
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_triemit.h | 10 #define COPY_DWORDS( j, vb, vertsize, v ) \ 14 : "=%c" (j), "=D" (vb), "=S" (__tmp) \ 16 "D" ((long)vb), \ 20 #define COPY_DWORDS( j, vb, vertsize, v ) \ 23 vb[j] = ((GLuint *)v)[j]; \ 24 vb += vertsize; \ 38 GLuint *vb = (GLuint *)ALLOC_VERTS( 4, vertsize); local 49 COPY_DWORDS( j, vb, vertsize, v0 ); 50 COPY_DWORDS( j, vb, vertsize, v1 ); 51 COPY_DWORDS( j, vb, vertsize, v2 ) 62 GLuint *vb = (GLuint *)ALLOC_VERTS( 6, vertsize); local 89 GLuint *vb = (GLuint *)ALLOC_VERTS( 3, vertsize); local 111 GLuint *vb = (GLuint *)ALLOC_VERTS( 2, vertsize); local 124 GLuint *vb = (GLuint *)ALLOC_VERTS( 1, vertsize); local 137 GLuint *vb = (GLuint *)ALLOC_VERTS( (n-2) * 3, vertsize ); local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_draw.c | 69 struct pipe_vertex_buffer *vb = local 70 &vertexbuf->vb[elem->vertex_buffer_index]; 71 bufs[i].offset = vb->buffer_offset; 72 bufs[i].size = fd_bo_size(fd_resource(vb->buffer)->bo); 73 bufs[i].prsc = vb->buffer;
|
fd2_program.c | 176 struct pipe_vertex_buffer *vb = local 177 &ctx->vtx.vertexbuf.vb[elem->vertex_buffer_index]; 196 instr->fetch.stride = vb->stride ? : 1;
|
/external/mesa3d/src/mesa/state_tracker/ |
st_draw.c | 416 struct pipe_vertex_buffer vb = {0}; local 419 vb.stride = sizeof(struct st_util_vertex); 422 &vb.buffer_offset, &vb.buffer, (void **) &verts); 423 if (!vb.buffer) { 481 1, &vb); 490 pipe_resource_reference(&vb.buffer, NULL);
|
/external/clang/test/PCH/ |
cxx1y-variable-templates.cpp | 38 template<typename T> extern T vb; 55 template<typename T> T vb = T(); member in namespace:spec 56 template<> constexpr float vb<float> = 1.5; member in namespace:spec 69 template<typename T> T vb = T(10); member in namespace:spec_join1 70 template<> extern float vb<float>; 88 template<typename T> T vb = T(100); member in namespace:join 104 template<> float vb<float> = 1.5; member in namespace:spec_join1 105 template int vb<int>; member in namespace:spec_join1 134 template<> constexpr float vb<float> = 2.5; member in namespace:join 135 template const int vb<const int> member in namespace:join 149 template<typename T> T* vb<T*> = new T(); member in namespace:spec [all...] |
/external/eigen/bench/ |
benchVecAdd.cpp | 65 VectorXf vb = Map<VectorXf>(b, size2); local 71 benchVec(va, vb, vc);
|
/external/skia/src/opts/ |
SkColor_opts_neon.h | 47 uint8x8_t vr, vg, vb; local 51 vb = vmovn_u16(vsrc & vdupq_n_u16(SK_B16_MASK)); 56 ret.val[NEON_B] = vshl_n_u8(vb, 8 - SK_B16_BITS) | vshr_n_u8(vb, 2 * SK_B16_BITS - 8);
|
/external/skqp/src/opts/ |
SkColor_opts_neon.h | 47 uint8x8_t vr, vg, vb; local 51 vb = vmovn_u16(vsrc & vdupq_n_u16(SK_B16_MASK)); 56 ret.val[NEON_B] = vshl_n_u8(vb, 8 - SK_B16_BITS) | vshr_n_u8(vb, 2 * SK_B16_BITS - 8);
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_push.c | 211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i]; local 212 struct nv04_resource *res = nv04_resource(vb->buffer); 214 if (!vb->buffer && !vb->user_buffer) { 219 vb->buffer_offset, NOUVEAU_BO_RD); 222 data += info->index_bias * vb->stride; 224 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0);
|
nv30_vbo.c | 37 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb, 42 struct nv04_resource *res = nv04_resource(vb->buffer); 48 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset + 95 struct pipe_vertex_buffer *vb; local 103 vb = &nv30->vtxbuf[i]; 104 if (!vb->stride || !vb->buffer) /* NOTE: user_buffer not implemented */ 106 buf = nv04_resource(vb->buffer); 109 if (!nouveau_resource_mapped_by_gpu(vb->buffer)) { 116 assert(vb->stride > vb->buffer_offset) 139 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[b]; local 187 struct pipe_vertex_buffer *vb; local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_push.c | 264 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[i]; local 267 if (unlikely(vb->buffer)) 269 nv04_resource(vb->buffer), vb->buffer_offset, NOUVEAU_BO_RD); 271 data = vb->user_buffer; 274 data += (ptrdiff_t)info->index_bias * vb->stride; 276 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0);
|
nv50_vbo.c | 140 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, 144 const void *data = (const uint8_t *)vb->user_buffer + ve->src_offset; 150 assert(vb->user_buffer); 222 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[b]; local 225 if (!(nv50->vbo_user & (1 << b)) || !vb->stride) 230 addrs[b] = nouveau_scratch_data(&nv50->base, vb->user_buffer, base, size, 250 struct pipe_vertex_buffer *vb; local 254 vb = &nv50->vtxbuf[b]; 259 if (!vb->stride) { 260 nv50_emit_vtxattr(nv50, vb, ve, i) 301 struct pipe_vertex_buffer *vb; local [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
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); [all...] |
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_draw.c | 187 struct pipe_vertex_buffer *vb = local 188 &vertexbuf->vb[elem->vertex_buffer_index]; 189 struct vc4_resource *rsc = vc4_resource(vb->buffer); 191 uint32_t offset = (vb->buffer_offset + 193 vb->stride * (info->index_bias + 201 cl_u8(&shader_rec, vb->stride); 205 if (vb->stride > 0) { 207 (vb_size - elem_size) / vb->stride); 391 * need to make a new VB containing the first vertex
|
/external/mesa3d/src/intel/blorp/ |
blorp.h | 52 uint32_t vb; member in struct:blorp_context::__anon30334
|
/external/syslinux/core/lwip/src/core/snmp/ |
msg_out.c | 423 struct snmp_varbind *vb; local 429 vb = root->tail; 430 while ( vb != NULL ) 433 switch (vb->value_type) 436 sint_ptr = (s32_t*)vb->value; 437 snmp_asn1_enc_s32t_cnt(*sint_ptr, &vb->vlen); 442 uint_ptr = (u32_t*)vb->value; 443 snmp_asn1_enc_u32t_cnt(*uint_ptr, &vb->vlen); 449 vb->vlen = vb->value_len 617 struct snmp_varbind *vb; local [all...] |
msg_in.c | 178 struct snmp_varbind *vb; local 184 vb = (struct snmp_varbind *)memp_malloc(MEMP_SNMP_VARBIND); 185 LWIP_ASSERT("vb != NULL",vb != NULL); 186 if (vb != NULL) 188 vb->next = NULL; 189 vb->prev = NULL; 192 vb->ident = msg_ps->vb_ptr->ident; 193 vb->ident_len = msg_ps->vb_ptr->ident_len; 198 vb->value_type = msg_ps->ext_object_def.asn_type 295 struct snmp_varbind *vb; local 408 struct snmp_varbind *vb; local 483 struct snmp_varbind *vb; local 1123 struct snmp_varbind *vb; local 1305 struct snmp_varbind *vb; local 1383 struct snmp_varbind *vb, *prev; local 1419 struct snmp_varbind* vb; local [all...] |
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_vf.h | 43 * Reserve two VEs and one VB for internal use. 144 uint32_t vb[3]; member in struct:ilo_state_vertex_buffer 217 ilo_state_vertex_buffer_set_info(struct ilo_state_vertex_buffer *vb,
|
/external/mesa3d/src/intel/vulkan/ |
anv_cmd_buffer.c | 557 struct anv_vertex_binding *vb = cmd_buffer->state.vertex_bindings; local 564 vb[firstBinding + i].buffer = anv_buffer_from_handle(pBuffers[i]); 565 vb[firstBinding + i].offset = pOffsets[i];
|
/external/pdfium/third_party/libopenjpeg20/ |
mct.c | 403 __m128 vr, vg, vb; local 410 vb = _mm_add_ps(vy, _mm_mul_ps(vu, vbu)); 413 _mm_store_ps(c2, vb); 423 vb = _mm_add_ps(vy, _mm_mul_ps(vu, vbu)); 426 _mm_store_ps(c2, vb);
|