/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_draw_arrays.c | 63 struct llvmpipe_context *lp = llvmpipe_context(pipe); in llvmpipe_draw_vbo() local 64 struct draw_context *draw = lp->draw; in llvmpipe_draw_vbo() 68 if (!llvmpipe_check_render_cond(lp)) in llvmpipe_draw_vbo() 76 if (lp->dirty) in llvmpipe_draw_vbo() 77 llvmpipe_update_derived( lp ); in llvmpipe_draw_vbo() 82 for (i = 0; i < lp->num_vertex_buffers; i++) { in llvmpipe_draw_vbo() 83 const void *buf = lp->vertex_buffer[i].is_user_buffer ? in llvmpipe_draw_vbo() 84 lp->vertex_buffer[i].buffer.user : NULL; in llvmpipe_draw_vbo() 87 if (!lp->vertex_buffer[i].buffer.resource) { in llvmpipe_draw_vbo() 90 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer.resource); in llvmpipe_draw_vbo() [all …]
|
D | lp_surface.c | 120 struct llvmpipe_context *lp = llvmpipe_context(pipe); in lp_blit() local 123 if (blit_info->render_condition_enable && !llvmpipe_check_render_cond(lp)) in lp_blit() 126 if (util_try_blit_via_copy_region(pipe, &info, lp->render_cond_query != NULL)) { in lp_blit() 141 if (!util_blitter_is_blit_supported(lp->blitter, &info)) { in lp_blit() 157 util_blitter_save_vertex_buffer_slot(lp->blitter, lp->vertex_buffer); in lp_blit() 158 util_blitter_save_vertex_elements(lp->blitter, (void*)lp->velems); in lp_blit() 159 util_blitter_save_vertex_shader(lp->blitter, (void*)lp->vs); in lp_blit() 160 util_blitter_save_geometry_shader(lp->blitter, (void*)lp->gs); in lp_blit() 161 util_blitter_save_so_targets(lp->blitter, lp->num_so_targets, in lp_blit() 162 (struct pipe_stream_output_target**)lp->so_targets); in lp_blit() [all …]
|
D | lp_state_surface.c | 52 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() 82 util_copy_framebuffer_state(&lp->framebuffer, fb); in llvmpipe_set_framebuffer_state() 85 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL); in llvmpipe_set_framebuffer_state() 92 lp->floating_point_depth = in llvmpipe_set_framebuffer_state() 95 lp->mrd = util_get_depth_format_mrd(depth_desc); in llvmpipe_set_framebuffer_state() 98 draw_set_zs_format(lp->draw, depth_format); in llvmpipe_set_framebuffer_state() 100 lp_setup_bind_framebuffer( lp->setup, &lp->framebuffer ); in llvmpipe_set_framebuffer_state() 102 lp->dirty |= LP_NEW_FRAMEBUFFER; in llvmpipe_set_framebuffer_state()
|
D | lp_state_setup.c | 629 struct llvmpipe_context *lp) in generate_setup_variant() argument 647 variant->gallivm = gallivm = gallivm_create(func_name, lp->context, NULL); in generate_setup_variant() 756 lp_make_setup_variant_key(const struct llvmpipe_context *lp, in lp_make_setup_variant_key() argument 759 const struct lp_fragment_shader *fs = lp->fs; in lp_make_setup_variant_key() 764 key->flatshade_first = lp->rasterizer->flatshade_first; in lp_make_setup_variant_key() 765 key->pixel_center_half = lp->rasterizer->half_pixel_center; in lp_make_setup_variant_key() 766 key->multisample = lp->rasterizer->multisample; in lp_make_setup_variant_key() 767 key->twoside = lp->rasterizer->light_twoside; in lp_make_setup_variant_key() 770 key->color_slot = lp->color_slot[0]; in lp_make_setup_variant_key() 771 key->bcolor_slot = lp->bcolor_slot[0]; in lp_make_setup_variant_key() [all …]
|
D | lp_state_derived.c | 177 check_linear_rasterizer(struct llvmpipe_context *lp) in check_linear_rasterizer() argument 184 bgr8 = (lp->framebuffer.nr_cbufs == 1 && lp->framebuffer.cbufs[0] && in check_linear_rasterizer() 185 util_res_sample_count(lp->framebuffer.cbufs[0]->texture) == 1 && in check_linear_rasterizer() 186 lp->framebuffer.cbufs[0]->texture->target == PIPE_TEXTURE_2D && in check_linear_rasterizer() 187 (lp->framebuffer.cbufs[0]->format == PIPE_FORMAT_B8G8R8A8_UNORM || in check_linear_rasterizer() 188 lp->framebuffer.cbufs[0]->format == PIPE_FORMAT_B8G8R8X8_UNORM)); in check_linear_rasterizer() 192 single_vp = lp->viewport_index_slot < 0; in check_linear_rasterizer() 193 permit_linear = (!lp->framebuffer.zsbuf && in check_linear_rasterizer() 199 if (lp->permit_linear_rasterizer != permit_linear) { in check_linear_rasterizer() 200 lp->permit_linear_rasterizer = permit_linear; in check_linear_rasterizer() [all …]
|
D | lp_state_sampler.c | 276 struct llvmpipe_context *lp, in prepare_shader_sampling() argument 363 draw_set_mapped_texture(lp->draw, in prepare_shader_sampling() 380 llvmpipe_prepare_vertex_sampling(struct llvmpipe_context *lp, in llvmpipe_prepare_vertex_sampling() argument 384 prepare_shader_sampling(lp, num, views, PIPE_SHADER_VERTEX); in llvmpipe_prepare_vertex_sampling() 392 llvmpipe_prepare_geometry_sampling(struct llvmpipe_context *lp, in llvmpipe_prepare_geometry_sampling() argument 396 prepare_shader_sampling(lp, num, views, PIPE_SHADER_GEOMETRY); in llvmpipe_prepare_geometry_sampling() 403 llvmpipe_prepare_tess_ctrl_sampling(struct llvmpipe_context *lp, in llvmpipe_prepare_tess_ctrl_sampling() argument 407 prepare_shader_sampling(lp, num, views, PIPE_SHADER_TESS_CTRL); in llvmpipe_prepare_tess_ctrl_sampling() 414 llvmpipe_prepare_tess_eval_sampling(struct llvmpipe_context *lp, in llvmpipe_prepare_tess_eval_sampling() argument 418 prepare_shader_sampling(lp, num, views, PIPE_SHADER_TESS_EVAL); in llvmpipe_prepare_tess_eval_sampling() [all …]
|
D | lp_state.h | 114 llvmpipe_update_fs(struct llvmpipe_context *lp); 117 llvmpipe_update_setup(struct llvmpipe_context *lp); 185 llvmpipe_prepare_vertex_images(struct llvmpipe_context *lp, 190 llvmpipe_prepare_geometry_images(struct llvmpipe_context *lp, 195 llvmpipe_prepare_tess_ctrl_images(struct llvmpipe_context *lp, 200 llvmpipe_prepare_tess_eval_images(struct llvmpipe_context *lp,
|
D | lp_jit.c | 188 lp_jit_create_types(struct lp_fragment_shader_variant *lp) in lp_jit_create_types() argument 190 struct gallivm_state *gallivm = lp->gallivm; in lp_jit_create_types() 297 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0); in lp_jit_create_types() 316 lp->jit_thread_data_ptr_type = LLVMPointerType(thread_data_type, 0); in lp_jit_create_types() 384 lp->jit_linear_context_ptr_type = LLVMPointerType(linear_context_type, 0); in lp_jit_create_types() 410 lp_jit_init_types(struct lp_fragment_shader_variant *lp) in lp_jit_init_types() argument 412 if (!lp->jit_context_ptr_type) in lp_jit_init_types() 413 lp_jit_create_types(lp); in lp_jit_init_types() 417 lp_jit_create_cs_types(struct lp_compute_shader_variant *lp) in lp_jit_create_cs_types() argument 419 struct gallivm_state *gallivm = lp->gallivm; in lp_jit_create_cs_types() [all …]
|
D | lp_state_cs.c | 66 generate_compute(struct llvmpipe_context *lp, in generate_compute() argument 545 llvmpipe_remove_cs_shader_variant(struct llvmpipe_context *lp, in llvmpipe_remove_cs_shader_variant() argument 554 lp->nr_cs_variants, variant->nr_instrs, lp->nr_cs_instrs); in llvmpipe_remove_cs_shader_variant() 565 lp->nr_cs_variants--; in llvmpipe_remove_cs_shader_variant() 566 lp->nr_cs_instrs -= variant->nr_instrs; in llvmpipe_remove_cs_shader_variant() 596 make_variant_key(struct llvmpipe_context *lp, in make_variant_key() argument 619 lp->samplers[PIPE_SHADER_COMPUTE][i]); in make_variant_key() 637 lp->sampler_views[PIPE_SHADER_COMPUTE][i]); in make_variant_key() 646 lp->sampler_views[PIPE_SHADER_COMPUTE][i]); in make_variant_key() 660 &lp->images[PIPE_SHADER_COMPUTE][i]); in make_variant_key() [all …]
|
/third_party/mksh/ |
D | lalloc.c | 48 struct lalloc_item *lp = ptr; in free_osimalloc() local 50 if (munmap(lp, lp->len)) in free_osimalloc() 57 struct lalloc_item *lp, *lold = ptr; in remalloc() local 64 if ((lp = mmap(NULL, size, PROT_READ | PROT_WRITE, in remalloc() 67 if (ALLOC_ISUNALIGNED(lp)) in remalloc() 68 errx(1, "remalloc: unaligned(%p)", lp); in remalloc() 69 if (mprotect(((char *)lp) + 4096, 4096, PROT_NONE)) in remalloc() 71 lp->len = size; in remalloc() 74 memcpy(((char *)lp) + 8192, ((char *)lold) + 8192, in remalloc() 80 return (lp); in remalloc() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | jpeg2000dwt.c | 108 lp; in dwt_encode53() local 113 for (lp = 0; lp < lh; lp++) { in dwt_encode53() 117 l[i] = t[w*i + lp]; in dwt_encode53() 123 t[w*j + lp] = l[i]; in dwt_encode53() 125 t[w*j + lp] = l[i]; in dwt_encode53() 130 for (lp = 0; lp < lv; lp++){ in dwt_encode53() 134 l[i] = t[w*lp + i]; in dwt_encode53() 140 t[w*lp + j] = l[i]; in dwt_encode53() 142 t[w*lp + j] = l[i]; in dwt_encode53() 183 lp; in dwt_encode97_float() local [all …]
|
D | lsp.c | 123 void ff_acelp_lsp2lpc(int16_t* lp, const int16_t* lsp, int lp_half_order) in ff_acelp_lsp2lpc() argument 133 lp[0] = 4096; in ff_acelp_lsp2lpc() 140 lp[i] = (ff1 + ff2) >> 11; // divide by 2 and (3.22) -> (3.12) in ff_acelp_lsp2lpc() 141 lp[(lp_half_order << 1) + 1 - i] = (ff1 - ff2) >> 11; // divide by 2 and (3.22) -> (3.12) in ff_acelp_lsp2lpc() 145 void ff_amrwb_lsp2lpc(const double *lsp, float *lp, int lp_order) in ff_amrwb_lsp2lpc() argument 161 lp[i-1] = (paf + qaf) * 0.5; in ff_amrwb_lsp2lpc() 162 lp[j-1] = (paf - qaf) * 0.5; in ff_amrwb_lsp2lpc() 165 lp[lp_half_order - 1] = (1.0 + lsp[lp_order - 1]) * in ff_amrwb_lsp2lpc() 168 lp[lp_order - 1] = lsp[lp_order - 1]; in ff_amrwb_lsp2lpc()
|
/third_party/musl/src/stdlib/ |
D | qsort.c | 92 static void sift(unsigned char *head, size_t width, cmpfun cmp, void *arg, int pshift, size_t lp[]) in sift() argument 101 lf = head - width - lp[pshift - 2]; in sift() 119 …char *head, size_t width, cmpfun cmp, void *arg, size_t pp[2], int pshift, int trusty, size_t lp[]) in trinkle() argument 133 stepson = head - lp[pshift]; in trinkle() 139 lf = head - width - lp[pshift - 2]; in trinkle() 154 sift(head, width, cmp, arg, pshift, lp); in trinkle() 160 size_t lp[12*sizeof(size_t)]; in __qsort_r() local 173 for(lp[0]=lp[1]=width, i=2; (lp[i]=lp[i-2]+lp[i-1]+width) < size; i++); in __qsort_r() 177 sift(head, width, cmp, arg, pshift, lp); in __qsort_r() 181 if(lp[pshift - 1] >= high - head) { in __qsort_r() [all …]
|
/third_party/ltp/testcases/kernel/fs/fsx-linux/ |
D | fsx-linux.c | 190 struct log_entry *lp; in logdump() local 204 lp = &oplog[i]; in logdump() 205 prt("%d: %lu.%06lu ", opnum, lp->tv.tv_sec, lp->tv.tv_usec); in logdump() 207 switch (lp->operation) { in logdump() 210 lp->args[0], lp->args[0] + lp->args[1] - 1, in logdump() 211 lp->args[1]); in logdump() 212 if (badoff >= lp->args[0] && badoff < in logdump() 213 lp->args[0] + lp->args[1]) in logdump() 218 lp->args[0], lp->args[0] + lp->args[1] - 1, in logdump() 219 lp->args[1]); in logdump() [all …]
|
/third_party/ltp/testcases/network/tcp_cmds/sendfile/ |
D | testsf_s.c | 37 char *lp; in main() local 127 lp = &rbuf[0]; in main() 132 while (*lp != '=') { /* convert ascii to integer */ in main() 133 nbuf[count] = *lp; in main() 135 lp++; in main() 141 lp++; in main() 143 tst_resm(TINFO, "The file to send is %s", lp); in main() 145 if ((fd = open(lp, O_RDONLY)) < 0) { in main() 165 tst_resm(TINFO, "File %s sent in %d parts", lp, chunks); in main()
|
/third_party/cups/ |
D | cups.spec | 71 Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat 101 natively, without needing the lp/lpr commands. 196 for file in cancel lp lpq lpr lprm lpstat; do 202 for file in cancel lp lpq lpr lprm lpstat; do 230 d /run/cups 0755 root lp - 231 d /run/cups/certs 0511 lp sys - 235 cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups-lp.conf <<EOF 236 c /dev/lp0 0660 root lp - 6:0 237 c /dev/lp1 0660 root lp - 6:1 238 c /dev/lp2 0660 root lp - 6:2 [all …]
|
/third_party/openssl/crypto/bn/ |
D | bn_conv.c | 58 BN_ULONG *bn_data = NULL, *lp; in BN_bn2dec() local 81 lp = bn_data; in BN_bn2dec() 90 if (lp - bn_data >= bn_data_num) in BN_bn2dec() 92 *lp = BN_div_word(t, BN_DEC_CONV); in BN_bn2dec() 93 if (*lp == (BN_ULONG)-1) in BN_bn2dec() 95 lp++; in BN_bn2dec() 97 lp--; in BN_bn2dec() 103 n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT1, *lp); in BN_bn2dec() 107 while (lp != bn_data) { in BN_bn2dec() 108 lp--; in BN_bn2dec() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
D | bn_conv.c | 58 BN_ULONG *bn_data = NULL, *lp; in BN_bn2dec() local 81 lp = bn_data; in BN_bn2dec() 90 if (lp - bn_data >= bn_data_num) in BN_bn2dec() 92 *lp = BN_div_word(t, BN_DEC_CONV); in BN_bn2dec() 93 if (*lp == (BN_ULONG)-1) in BN_bn2dec() 95 lp++; in BN_bn2dec() 97 lp--; in BN_bn2dec() 103 n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT1, *lp); in BN_bn2dec() 107 while (lp != bn_data) { in BN_bn2dec() 108 lp--; in BN_bn2dec() [all …]
|
/third_party/libsnd/src/GSM610/ |
D | long_term.c | 342 register float *lp = dp_float - lambda ; in Cut_Calculation_of_the_LTP_parameters() local 345 register float a = lp [-8], b = lp [-7], c = lp [-6], in Cut_Calculation_of_the_LTP_parameters() 346 d = lp [-5], e = lp [-4], f = lp [-3], in Cut_Calculation_of_the_LTP_parameters() 347 g = lp [-2], h = lp [-1] ; in Cut_Calculation_of_the_LTP_parameters() 363 a = lp [K] ; \ in Cut_Calculation_of_the_LTP_parameters() 364 E = W * a ; S0 += E ; } else (a = lp [K]) in Cut_Calculation_of_the_LTP_parameters() 512 register float *lp = dp_float - lambda ; in Calculation_of_the_LTP_parameters() local 515 register float a = lp [-8], b = lp [-7], c = lp [-6], in Calculation_of_the_LTP_parameters() 516 d = lp [-5], e = lp [-4], f = lp [-3], in Calculation_of_the_LTP_parameters() 517 g = lp [-2], h = lp [-1] ; in Calculation_of_the_LTP_parameters() [all …]
|
/third_party/musl/src/locale/ |
D | strfmon.c | 13 int lp, rp, w, fw; in vstrfmon_l() local 54 lp = 0; in vstrfmon_l() 56 if (*fmt=='#') for (lp=0, fmt++; isdigit(*fmt); fmt++) in vstrfmon_l() 57 lp = 10*lp + (*fmt-'0'); in vstrfmon_l() 63 w = lp + 1 + rp; in vstrfmon_l()
|
/third_party/node/deps/openssl/openssl/crypto/des/ |
D | qud_cksm.c | 41 DES_LONG *lp; in DES_quad_cksum() local 45 lp = (DES_LONG *)&(output[0])[0]; in DES_quad_cksum() 73 if (lp != NULL) { in DES_quad_cksum() 78 *lp++ = z0; in DES_quad_cksum() 79 *lp++ = z1; in DES_quad_cksum()
|
/third_party/openssl/crypto/des/ |
D | qud_cksm.c | 41 DES_LONG *lp; in DES_quad_cksum() local 45 lp = (DES_LONG *)&(output[0])[0]; in DES_quad_cksum() 73 if (lp != NULL) { in DES_quad_cksum() 78 *lp++ = z0; in DES_quad_cksum() 79 *lp++ = z1; in DES_quad_cksum()
|
/third_party/glib/patch/ |
D | backport-gkeyfile-Skip-group-comment-when-adding-a-new-key-to-a-group.patch | 59 + GList *lp; 67 + lp = group->key_value_pairs; 68 + while (lp != NULL && ((GKeyFileKeyValuePair *) lp->data)->key == NULL) 69 + lp = lp->next; 71 + g_key_file_add_key_value_pair (key_file, group, pair, lp);
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm_readv02.c | 40 char *lp; in child_invoke() local 43 lp = SAFE_MALLOC(length); in child_invoke() 44 local.iov_base = lp; in child_invoke() 57 if (strncmp(lp, data, length) != 0) in child_invoke() 59 data, lp); in child_invoke()
|
/third_party/glfw/tests/ |
D | glfwinfo.c | 240 VkLayerProperties* lp; in list_vulkan_instance_layers() local 250 lp = calloc(lp_count, sizeof(VkLayerProperties)); in list_vulkan_instance_layers() 252 if (vkEnumerateInstanceLayerProperties(&lp_count, lp) != VK_SUCCESS) in list_vulkan_instance_layers() 254 free(lp); in list_vulkan_instance_layers() 261 lp[i].layerName, in list_vulkan_instance_layers() 262 lp[i].specVersion >> 22, in list_vulkan_instance_layers() 263 lp[i].description); in list_vulkan_instance_layers() 266 free(lp); in list_vulkan_instance_layers() 299 VkLayerProperties* lp; in list_vulkan_device_layers() local 309 lp = calloc(lp_count, sizeof(VkLayerProperties)); in list_vulkan_device_layers() [all …]
|