Home
last modified time | relevance | path

Searched refs:lp (Results 1 – 25 of 131) sorted by relevance

123456

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_draw_arrays.c55 struct llvmpipe_context *lp = llvmpipe_context(pipe); in llvmpipe_draw_vbo() local
56 struct draw_context *draw = lp->draw; in llvmpipe_draw_vbo()
60 if (!llvmpipe_check_render_cond(lp)) in llvmpipe_draw_vbo()
63 if (lp->dirty) in llvmpipe_draw_vbo()
64 llvmpipe_update_derived( lp ); in llvmpipe_draw_vbo()
69 for (i = 0; i < lp->num_vertex_buffers; i++) { in llvmpipe_draw_vbo()
70 const void *buf = lp->vertex_buffer[i].user_buffer; in llvmpipe_draw_vbo()
72 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer); in llvmpipe_draw_vbo()
78 mapped_indices = lp->index_buffer.user_buffer; in llvmpipe_draw_vbo()
80 mapped_indices = llvmpipe_resource_data(lp->index_buffer.buffer); in llvmpipe_draw_vbo()
[all …]
Dlp_state_surface.c52 struct llvmpipe_context *lp = llvmpipe_context(pipe); in llvmpipe_set_framebuffer_state() local
54 boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb); in llvmpipe_set_framebuffer_state()
61 util_copy_framebuffer_state(&lp->framebuffer, fb); in llvmpipe_set_framebuffer_state()
64 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL); in llvmpipe_set_framebuffer_state()
68 if (lp->framebuffer.zsbuf) { in llvmpipe_set_framebuffer_state()
71 depth_bits = util_format_get_component_bits(lp->framebuffer.zsbuf->format, in llvmpipe_set_framebuffer_state()
80 lp->mrd = mrd; in llvmpipe_set_framebuffer_state()
81 draw_set_mrd(lp->draw, mrd); in llvmpipe_set_framebuffer_state()
84 lp_setup_bind_framebuffer( lp->setup, &lp->framebuffer ); in llvmpipe_set_framebuffer_state()
86 lp->dirty |= LP_NEW_FRAMEBUFFER; in llvmpipe_set_framebuffer_state()
Dlp_state_so.c56 struct llvmpipe_context *lp = llvmpipe_context(pipe); in llvmpipe_bind_stream_output_state() local
59 lp->so = lp_so; in llvmpipe_bind_stream_output_state()
61 lp->dirty |= LP_NEW_SO; in llvmpipe_bind_stream_output_state()
64 draw_set_so_state(lp->draw, &lp_so->base); in llvmpipe_bind_stream_output_state()
79 struct llvmpipe_context *lp = llvmpipe_context(pipe); in llvmpipe_set_stream_output_buffers() local
87 lp->dirty |= LP_NEW_SO_BUFFERS; in llvmpipe_set_stream_output_buffers()
95 lp->so_target.num_buffers = 0; in llvmpipe_set_stream_output_buffers()
96 draw_set_mapped_so_buffers(lp->draw, 0, 0); in llvmpipe_set_stream_output_buffers()
100 lp->so_target.buffer[i] = res; in llvmpipe_set_stream_output_buffers()
101 lp->so_target.offset[i] = offsets[i]; in llvmpipe_set_stream_output_buffers()
[all …]
Dlp_state_setup.c668 struct llvmpipe_context *lp) in generate_setup_variant() argument
797 lp_make_setup_variant_key(struct llvmpipe_context *lp, in lp_make_setup_variant_key() argument
800 struct lp_fragment_shader *fs = lp->fs; in lp_make_setup_variant_key()
806 key->flatshade_first = lp->rasterizer->flatshade_first; in lp_make_setup_variant_key()
807 key->pixel_center_half = lp->rasterizer->gl_rasterization_rules; in lp_make_setup_variant_key()
808 key->twoside = lp->rasterizer->light_twoside; in lp_make_setup_variant_key()
812 key->color_slot = lp->color_slot [0]; in lp_make_setup_variant_key()
813 key->bcolor_slot = lp->bcolor_slot[0]; in lp_make_setup_variant_key()
814 key->spec_slot = lp->color_slot [1]; in lp_make_setup_variant_key()
815 key->bspec_slot = lp->bcolor_slot[1]; in lp_make_setup_variant_key()
[all …]
Dlp_state_fs.c761 generate_fragment(struct llvmpipe_context *lp, in generate_fragment() argument
1217 generate_variant(struct llvmpipe_context *lp, in generate_variant() argument
1269 generate_fragment(lp, shader, variant, RAST_EDGE_TEST); in generate_variant()
1274 generate_fragment(lp, shader, variant, RAST_WHOLE); in generate_variant()
1419 llvmpipe_remove_shader_variant(struct llvmpipe_context *lp, in llvmpipe_remove_shader_variant() argument
1431 lp->nr_fs_variants); in llvmpipe_remove_shader_variant()
1451 lp->nr_fs_variants--; in llvmpipe_remove_shader_variant()
1452 lp->nr_fs_instrs -= variant->nr_instrs; in llvmpipe_remove_shader_variant()
1564 make_variant_key(struct llvmpipe_context *lp, in make_variant_key() argument
1572 if (lp->framebuffer.zsbuf) { in make_variant_key()
[all …]
Dlp_query.c158 llvmpipe_check_render_cond(struct llvmpipe_context *lp) in llvmpipe_check_render_cond() argument
160 struct pipe_context *pipe = &lp->pipe; in llvmpipe_check_render_cond()
164 if (!lp->render_cond_query) in llvmpipe_check_render_cond()
166 wait = (lp->render_cond_mode == PIPE_RENDER_COND_WAIT || in llvmpipe_check_render_cond()
167 lp->render_cond_mode == PIPE_RENDER_COND_BY_REGION_WAIT); in llvmpipe_check_render_cond()
169 b = pipe->get_query_result(pipe, lp->render_cond_query, wait, (void*)&result); in llvmpipe_check_render_cond()
Dlp_jit.c44 lp_jit_create_types(struct lp_fragment_shader_variant *lp) in lp_jit_create_types() argument
46 struct gallivm_state *gallivm = lp->gallivm; in lp_jit_create_types()
163 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0); in lp_jit_create_types()
187 lp_jit_init_types(struct lp_fragment_shader_variant *lp) in lp_jit_init_types() argument
189 if (!lp->jit_context_ptr_type) in lp_jit_init_types()
190 lp_jit_create_types(lp); in lp_jit_init_types()
/external/mksh/src/
Dlalloc.c46 void *lp; in findptr() local
57 *lpp = (lp = ptr - ALLOC_SIZE); in findptr()
59 while (ap->next != lp) in findptr()
87 ALLOC_ITEM *lp = NULL; in aresize() local
93 pp = findptr(&lp, ptr, ap); in aresize()
94 pp->next = lp->next; in aresize()
98 (lp = remalloc(lp, numb + ALLOC_SIZE)) == NULL in aresize()
100 || ALLOC_ISUNALIGNED(lp) in aresize()
105 lp->next = ap->next; in aresize()
106 ap->next = lp; in aresize()
[all …]
/external/bison/lib/
Dobstack.c321 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ in _obstack_allocated_p() local
324 lp = (h)->chunk; in _obstack_allocated_p()
328 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj)) in _obstack_allocated_p()
330 plp = lp->prev; in _obstack_allocated_p()
331 lp = plp; in _obstack_allocated_p()
333 return lp != 0; in _obstack_allocated_p()
344 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ in __obstack_free() local
347 lp = h->chunk; in __obstack_free()
351 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj)) in __obstack_free()
353 plp = lp->prev; in __obstack_free()
[all …]
/external/tcpdump/
Dutil.c284 tok2strbuf(register const struct tok *lp, register const char *fmt, in tok2strbuf() argument
287 if (lp != NULL) { in tok2strbuf()
288 while (lp->s != NULL) { in tok2strbuf()
289 if (lp->v == v) in tok2strbuf()
290 return (lp->s); in tok2strbuf()
291 ++lp; in tok2strbuf()
305 tok2str(register const struct tok *lp, register const char *fmt, in tok2str() argument
314 return tok2strbuf(lp, fmt, v, ret, sizeof(buf[0])); in tok2str()
323 bittok2str_internal(register const struct tok *lp, register const char *fmt, in bittok2str_internal() argument
331 while (lp != NULL && lp->s != NULL) { in bittok2str_internal()
[all …]
Dprint-atalk.c96 register const struct LAP *lp; in llap_print() local
102 if (length < sizeof(*lp)) { in llap_print()
106 lp = (const struct LAP *)bp; in llap_print()
107 bp += sizeof(*lp); in llap_print()
108 length -= sizeof(*lp); in llap_print()
109 hdrlen = sizeof(*lp); in llap_print()
110 switch (lp->type) { in llap_print()
119 ataddr_string(0, lp->src), ddpskt_string(sdp->srcSkt)); in llap_print()
121 ataddr_string(0, lp->dst), ddpskt_string(sdp->dstSkt)); in llap_print()
125 ddp_print(bp, length, sdp->type, 0, lp->src, sdp->srcSkt); in llap_print()
[all …]
/external/eigen/test/
Dpermutationmatrices.cpp32 LeftPermutationType lp(lv); in permutationmatrices() local
36 MatrixType m_permuted = lp * m_original * rp; in permutationmatrices()
42 Matrix<Scalar,Rows,Rows> lm(lp); in permutationmatrices()
47 VERIFY_IS_APPROX(lp.inverse()*m_permuted*rp.inverse(), m_original); in permutationmatrices()
51 VERIFY((lp*lp.inverse()).toDenseMatrix().isIdentity()); in permutationmatrices()
59 VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices()
69 m_permuted = lp.inverse() * m_permuted; in permutationmatrices()
70 VERIFY_IS_APPROX(m_permuted, lp.inverse()*m_original); in permutationmatrices()
77 m_permuted = lp * m_permuted; in permutationmatrices()
78 VERIFY_IS_APPROX(m_permuted, lp*m_original); in permutationmatrices()
[all …]
/external/ltrace/sysdeps/linux-gnu/arm/
Dregs.c43 arm_get_register(struct process *proc, enum arm_register reg, uint32_t *lp) in arm_get_register() argument
49 *lp = (uint32_t)l; in arm_get_register()
54 arm_set_register(struct process *proc, enum arm_register reg, uint32_t lp) in arm_set_register() argument
57 (void *)(reg * 4L), (void *)lp); in arm_set_register()
62 uint32_t *lp) in arm_get_register_offpc() argument
64 if (arm_get_register(proc, reg, lp) < 0) in arm_get_register_offpc()
67 *lp += 8; in arm_get_register_offpc()
73 arch_addr_t pc_val, uint32_t *lp) in arm_get_shifted_register() argument
119 *lp = res & 0xffffffff; in arm_get_shifted_register()
Dregs.h38 int arm_get_register(struct process *proc, enum arm_register reg, uint32_t *lp);
42 uint32_t *lp);
47 arch_addr_t pc, uint32_t *lp);
/external/llvm/test/Transforms/BDCE/
Dorder.ll21 lpad65.loopexit.split-lp.loopexit.split-lp:
24 lpad65.loopexit.split-lp.loopexit.split-lp.loopexit:
27 br label %lpad65.loopexit.split-lp.loopexit.split-lp
31 to label %invoke.cont70 unwind label %lpad65.loopexit.split-lp.loopexit.split-lp.loopexit
/external/llvm/test/Transforms/Inline/
Dinvoke-combine-clauses.ll21 %lp = landingpad i32 personality i8* null
37 %lp = landingpad i32 personality i8* null
39 resume i32 %lp
42 ; CHECK: %lp.i = landingpad
60 %lp = landingpad i32 personality i8* null
62 resume i32 %lp
71 %lp = landingpad i32 personality i8* null
73 resume i32 %lp
76 ; CHECK: %lp.i = landingpad
95 %lp = landingpad i32 personality i8* null
[all …]
Dinvoke-cleanup.ll15 %lp = landingpad i32 personality i8* null
17 resume i32 %lp
30 %lp = landingpad i32 personality i8* null
33 resume i32 %lp
/external/fdlibm/
De_remainder.c40 unsigned sx,lx,lp; local
46 lp = __LO(p); /* low word of p */
52 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
55 (((hp-0x7ff00000)|lp)!=0)))
60 if (((hx-hp)|(lx-lp))==0) return zero*x;
/external/libgsm/src/
Dlong_term.c359 register float *lp = dp_float - lambda; variable
362 register float a = lp[-8], b = lp[-7], c = lp[-6],
363 d = lp[-5], e = lp[-4], f = lp[-3],
364 g = lp[-2], h = lp[-1];
380 a = lp[K]; \
381 E = W * a; S0 += E; } else (a = lp[K])
525 register float *lp = dp_float - lambda; variable
528 register float a = lp[-8], b = lp[-7], c = lp[-6],
529 d = lp[-5], e = lp[-4], f = lp[-3],
530 g = lp[-2], h = lp[-1];
[all …]
/external/llvm/test/Transforms/SLPVectorizer/X86/
Doperandorder.ll34 br label %lp
36 lp:
37 %p = phi double [ 1.000000e+00, %lp ], [ 0.000000e+00, %entry ]
46 br i1 undef, label %lp, label %ext
59 br label %lp
61 lp:
62 %p = phi double [ 1.000000e+00, %lp ], [ 0.000000e+00, %entry ]
71 br i1 undef, label %lp, label %ext
84 br label %lp
86 lp:
[all …]
/external/google-breakpad/src/third_party/libdisasm/
Dx86_imm.c10 int32_t *lp = (int32_t *) dest; in x86_imm_signsized() local
32 *lp = *((int32_t *) buf); in x86_imm_signsized()
42 uint32_t *lp = (uint32_t *) dest; in x86_imm_sized() local
64 *lp = *((uint32_t *) buf); in x86_imm_sized()
/external/boringssl/src/crypto/bn/
Dconvert.c355 BN_ULONG *bn_data = NULL, *lp; in BN_bn2dec() local
378 lp = bn_data; in BN_bn2dec()
388 *lp = BN_div_word(t, BN_DEC_CONV); in BN_bn2dec()
389 lp++; in BN_bn2dec()
391 lp--; in BN_bn2dec()
395 BIO_snprintf(p, BUF_REMAIN, BN_DEC_FMT1, *lp); in BN_bn2dec()
399 while (lp != bn_data) { in BN_bn2dec()
400 lp--; in BN_bn2dec()
401 BIO_snprintf(p, BUF_REMAIN, BN_DEC_FMT2, *lp); in BN_bn2dec()
/external/openssh/
Dmoduli.c500 char lp[QLINESIZE + 1]; in count_lines() local
506 while (fgets(lp, QLINESIZE + 1, f) != NULL) in count_lines()
581 char *cp, *lp; in prime_test() local
620 lp = xmalloc(QLINESIZE + 1); in prime_test()
621 while (fgets(lp, QLINESIZE + 1, in) != NULL && count_in < end_lineno) { in prime_test()
631 if (strlen(lp) < 14 || *lp == '!' || *lp == '#') { in prime_test()
638 cp = &lp[14]; /* (skip) */ in prime_test()
794 free(lp); in prime_test()
/external/lzma/C/
DLzmaLib.c20 int lp, /* 0 <= lp <= 4, default = 0 */ in LzmaCompress() argument
31 props.lp = lp; in LzmaCompress()
/external/nist-sip/java/gov/nist/javax/sip/
DSipProviderImpl.java291 ListeningPointImpl lp = (ListeningPointImpl) this in getNewClientTransaction() local
293 Via via = lp.getViaHeader(); in getNewClientTransaction()
805 ListeningPointImpl lp = (ListeningPointImpl) listeningPoint; in setListeningPoint() local
806 lp.sipProvider = this; in setListeningPoint()
807 String transport = lp.getTransport().toUpperCase(); in setListeningPoint()
1018 ListeningPointImpl lp = (ListeningPointImpl) listeningPoint; in addListeningPoint() local
1019 if (lp.sipProvider != null && lp.sipProvider != this) in addListeningPoint()
1022 String transport = lp.getTransport().toUpperCase(); in addListeningPoint()
1041 lp.sipProvider = this; in addListeningPoint()
1043 this.listeningPoints.put(transport, lp); in addListeningPoint()
[all …]

123456