Home
last modified time | relevance | path

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

123456789

/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()
/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/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dsimple_interpolate_lsf.c50 int16_t lp[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_SimpleInterpolateLsf() local
61 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsfdeqold, lsfdeq, in WebRtcIlbcfix_SimpleInterpolateLsf()
64 WEBRTC_SPL_MEMCPY_W16(syntdenum, lp, lp_length); in WebRtcIlbcfix_SimpleInterpolateLsf()
67 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsfold, lsf, in WebRtcIlbcfix_SimpleInterpolateLsf()
70 WebRtcIlbcfix_BwExpand(weightdenum, lp, in WebRtcIlbcfix_SimpleInterpolateLsf()
81 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsfdeq, lsfdeq2, in WebRtcIlbcfix_SimpleInterpolateLsf()
84 WEBRTC_SPL_MEMCPY_W16(syntdenum + pos, lp, lp_length); in WebRtcIlbcfix_SimpleInterpolateLsf()
87 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsf, lsf2, in WebRtcIlbcfix_SimpleInterpolateLsf()
90 WebRtcIlbcfix_BwExpand(weightdenum + pos, lp, in WebRtcIlbcfix_SimpleInterpolateLsf()
107 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsfdeqold, lsfdeq, in WebRtcIlbcfix_SimpleInterpolateLsf()
[all …]
Ddecoder_interpolate_lsf.c39 int16_t lp[LPC_FILTERORDER + 1], *lsfdeq2; in WebRtcIlbcfix_DecoderInterpolateLsp() local
47 WebRtcIlbcfix_LspInterpolate2PolyDec(lp, (*iLBCdec_inst).lsfdeqold, lsfdeq, in WebRtcIlbcfix_DecoderInterpolateLsp()
49 WEBRTC_SPL_MEMCPY_W16(syntdenum,lp,lp_length); in WebRtcIlbcfix_DecoderInterpolateLsp()
50 …WebRtcIlbcfix_BwExpand(weightdenum, lp, (int16_t*)WebRtcIlbcfix_kLpcChirpSyntDenum, (int16_t)lp_le… in WebRtcIlbcfix_DecoderInterpolateLsp()
56 WebRtcIlbcfix_LspInterpolate2PolyDec(lp, lsfdeq, lsfdeq2, in WebRtcIlbcfix_DecoderInterpolateLsp()
58 WEBRTC_SPL_MEMCPY_W16(syntdenum + pos,lp,lp_length); in WebRtcIlbcfix_DecoderInterpolateLsp()
59 WebRtcIlbcfix_BwExpand(weightdenum + pos, lp, in WebRtcIlbcfix_DecoderInterpolateLsp()
67 WebRtcIlbcfix_LspInterpolate2PolyDec(lp, iLBCdec_inst->lsfdeqold, lsfdeq, in WebRtcIlbcfix_DecoderInterpolateLsp()
69 WEBRTC_SPL_MEMCPY_W16(syntdenum+pos,lp,lp_length); in WebRtcIlbcfix_DecoderInterpolateLsp()
70 WebRtcIlbcfix_BwExpand(weightdenum+pos, lp, in WebRtcIlbcfix_DecoderInterpolateLsp()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DLZMA2Options.java135 private int lp; field in LZMA2Options
171 public LZMA2Options(int dictSize, int lc, int lp, int pb, int mode, in LZMA2Options() argument
175 setLcLp(lc, lp); in LZMA2Options()
205 lp = LP_DEFAULT; in setPreset()
294 public void setLcLp(int lc, int lp) throws UnsupportedOptionsException { in setLcLp() argument
295 if (lc < 0 || lp < 0 || lc > LC_LP_MAX || lp > LC_LP_MAX in setLcLp()
296 || lc + lp > LC_LP_MAX) in setLcLp()
299 + lc + " + " + lp); in setLcLp()
302 this.lp = lp; in setLcLp()
332 setLcLp(lc, lp); in setLc()
[all …]
DLZMAInputStream.java98 int lp = props / 9; in getMemoryUsage() local
99 int lc = props - lp * 9; in getMemoryUsage()
101 return getMemoryUsage(dictSize, lc, lp); in getMemoryUsage()
120 public static int getMemoryUsage(int dictSize, int lc, int lp) { in getMemoryUsage() argument
121 if (lc < 0 || lc > 8 || lp < 0 || lp > 4) in getMemoryUsage()
132 + ((2 * 0x300) << (lc + lp)) / 1024; in getMemoryUsage()
365 int lc, int lp, int pb, in LZMAInputStream() argument
368 initialize(in, uncompSize, lc, lp, pb, dictSize, presetDict); in LZMAInputStream()
388 int lp = props / 9; in initialize() local
389 int lc = props - lp * 9; in initialize()
[all …]
/external/v8/test/mjsunit/
Dregexp-sort.js8 var lp = lower + "|";
10 assertEquals(lx, new RegExp(uxp + lp + lower + "cat", "i").exec(lx) + "");
11 assertEquals(ux, new RegExp(uxp + lp + lower + "cat", "i").exec(ux) + "");
12 assertEquals(lower, new RegExp(lp + uxp + lower + "cat", "i").exec(lx) + "");
13 assertEquals(upper, new RegExp(lp + uxp + lower + "cat", "i").exec(ux) + "");
19 var lp = lower + "|";
21 assertEquals(lower, new RegExp(uxp + lp + lower + "cat", "i").exec(lx) + "");
22 assertEquals(ux, new RegExp(uxp + lp + lower + "cat", "i").exec(ux) + "");
23 assertEquals(lower, new RegExp(lp + uxp + lower + "cat", "i").exec(lx) + "");
24 assertEquals(ux, new RegExp(lp + uxp + lower + "cat", "i").exec(ux) + "");
/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()
/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
37 %lp = landingpad i32
39 resume i32 %lp
42 ; CHECK: %lp.i = landingpad
60 %lp = landingpad i32
62 resume i32 %lp
71 %lp = landingpad i32
73 resume i32 %lp
76 ; CHECK: %lp.i = landingpad
95 %lp = landingpad i32
[all …]
/external/tcpdump/
Dutil.c318 tok2strbuf(register const struct tok *lp, register const char *fmt, in tok2strbuf() argument
321 if (lp != NULL) { in tok2strbuf()
322 while (lp->s != NULL) { in tok2strbuf()
323 if (lp->v == v) in tok2strbuf()
324 return (lp->s); in tok2strbuf()
325 ++lp; in tok2strbuf()
339 tok2str(register const struct tok *lp, register const char *fmt, in tok2str() argument
348 return tok2strbuf(lp, fmt, v, ret, sizeof(buf[0])); in tok2str()
357 bittok2str_internal(register const struct tok *lp, register const char *fmt, in bittok2str_internal() argument
366 while (lp != NULL && lp->s != NULL) { in bittok2str_internal()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_swab.c47 TIFFSwabLong(uint32* lp) in TIFFSwabLong() argument
49 register unsigned char* cp = (unsigned char*) lp; in TIFFSwabLong()
59 TIFFSwabLong8(uint64* lp) in TIFFSwabLong8() argument
61 register unsigned char* cp = (unsigned char*) lp; in TIFFSwabLong8()
105 TIFFSwabArrayOfLong(register uint32* lp, tmsize_t n) in TIFFSwabArrayOfLong() argument
112 cp = (unsigned char *)lp; in TIFFSwabArrayOfLong()
115 lp++; in TIFFSwabArrayOfLong()
122 TIFFSwabArrayOfLong8(register uint64* lp, tmsize_t n) in TIFFSwabArrayOfLong8() argument
129 cp = (unsigned char *)lp; in TIFFSwabArrayOfLong8()
134 lp++; in TIFFSwabArrayOfLong8()
/external/opencv3/3rdparty/libtiff/
Dtif_swab.c47 TIFFSwabLong(uint32* lp) in TIFFSwabLong() argument
49 register unsigned char* cp = (unsigned char*) lp; in TIFFSwabLong()
59 TIFFSwabLong8(uint64* lp) in TIFFSwabLong8() argument
61 register unsigned char* cp = (unsigned char*) lp; in TIFFSwabLong8()
105 TIFFSwabArrayOfLong(register uint32* lp, tmsize_t n) in TIFFSwabArrayOfLong() argument
112 cp = (unsigned char *)lp; in TIFFSwabArrayOfLong()
115 lp++; in TIFFSwabArrayOfLong()
122 TIFFSwabArrayOfLong8(register uint64* lp, tmsize_t n) in TIFFSwabArrayOfLong8() argument
129 cp = (unsigned char *)lp; in TIFFSwabArrayOfLong8()
134 lp++; in TIFFSwabArrayOfLong8()
/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/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/skia/src/opts/
DSkMorphologyImageFilter_opts.h27 const SkPMColor* lp = src; in morph() local
33 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { in morph()
40 lp += srcStrideY; in morph()
60 const SkPMColor* lp = src; in morph() local
65 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { in morph()
72 lp += srcStrideY; in morph()
92 const SkPMColor* lp = src; in morph() local
99 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { in morph()
118 lp += srcStrideY; in morph()
/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()

123456789