/external/libjpeg-turbo/ |
D | wrgif.c | 84 flush_packet(gif_dest_ptr dinfo) in flush_packet() argument 87 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet() 88 dinfo->packetbuf[0] = (char)dinfo->bytesinpkt++; in flush_packet() 89 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet() 90 (size_t)dinfo->bytesinpkt) in flush_packet() 91 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); in flush_packet() 92 dinfo->bytesinpkt = 0; in flush_packet() 98 #define CHAR_OUT(dinfo, c) { \ argument 99 (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char)(c); \ 100 if ((dinfo)->bytesinpkt >= 255) \ [all …]
|
D | turbojpeg.c | 107 struct jpeg_decompress_struct dinfo; member 183 j_decompress_ptr dinfo = NULL; \ 189 cinfo = &this->cinfo; dinfo = &this->dinfo; \ 207 j_decompress_ptr dinfo = NULL; \ 213 dinfo = &this->dinfo; \ 305 static int getSubsamp(j_decompress_ptr dinfo) in getSubsamp() argument 313 if (dinfo->num_components == 1 && dinfo->jpeg_color_space == JCS_GRAYSCALE) in getSubsamp() 317 if (dinfo->num_components == pixelsize[i] || in getSubsamp() 318 ((dinfo->jpeg_color_space == JCS_YCCK || in getSubsamp() 319 dinfo->jpeg_color_space == JCS_CMYK) && in getSubsamp() [all …]
|
D | wrtarga.c | 48 write_header(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) in write_header() argument 82 if (JFWRITE(dinfo->output_file, targaheader, 18) != (size_t)18) in write_header() 93 put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument 97 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_pixel_rows() 114 put_gray_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument 118 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_gray_rows() 138 put_demapped_gray(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument 141 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_demapped_gray() 161 start_output_tga(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_tga() argument 163 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in start_output_tga() [all …]
|
D | wrppm.c | 90 put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument 93 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_pixel_rows() 105 copy_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in copy_pixel_rows() argument 108 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in copy_pixel_rows() 133 put_rgb(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, JDIMENSION rows_supplied) in put_rgb() argument 135 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_rgb() 161 put_cmyk(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_cmyk() argument 164 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_cmyk() 188 put_demapped_rgb(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_rgb() argument 191 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_demapped_rgb() [all …]
|
D | wrrle.c | 69 djpeg_dest_ptr dinfo, 80 start_output_rle(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_rle() argument 82 rle_dest_ptr dest = (rle_dest_ptr)dinfo; in start_output_rle() 156 rle_put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in rle_put_pixel_rows() argument 159 rle_dest_ptr dest = (rle_dest_ptr)dinfo; in rle_put_pixel_rows() 175 finish_output_rle(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_rle() argument 177 rle_dest_ptr dest = (rle_dest_ptr)dinfo; in finish_output_rle()
|
D | cdjpeg.h | 51 void (*start_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo); 53 void (*put_pixel_rows) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 56 void (*finish_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo); 63 djpeg_dest_ptr dinfo);
|
D | wrbmp.c | 97 put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument 101 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in put_pixel_rows() 174 put_gray_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument 178 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in put_gray_rows() 419 start_output_bmp(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_bmp() argument 421 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in start_output_bmp() 434 finish_output_bmp(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_bmp() argument 436 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in finish_output_bmp()
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 109 static SkEncodedOrigin get_exif_orientation(jpeg_decompress_struct* dinfo) { in get_exif_orientation() argument 111 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in get_exif_orientation() 134 static std::unique_ptr<SkEncodedInfo::ICCProfile> read_color_profile(jpeg_decompress_struct* dinfo) in read_color_profile() argument 143 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in read_color_profile() 213 auto* dinfo = decoderMgr->dinfo(); in ReadHeader() local 219 jpeg_save_markers(dinfo, kExifMarker, 0xFFFF); in ReadHeader() 220 jpeg_save_markers(dinfo, kICCMarker, 0xFFFF); in ReadHeader() 224 switch (jpeg_read_header(dinfo, true)) { in ReadHeader() 240 SkEncodedOrigin orientation = get_exif_orientation(dinfo); in ReadHeader() 241 auto profile = read_color_profile(dinfo); in ReadHeader() [all …]
|
D | SkJpegUtility.cpp | 15 void skjpeg_err_exit(j_common_ptr dinfo) { in skjpeg_err_exit() argument 18 skjpeg_error_mgr* error = (skjpeg_error_mgr*) dinfo->err; in skjpeg_err_exit() 19 (*error->output_message) (dinfo); in skjpeg_err_exit() 31 static void sk_init_buffered_source(j_decompress_ptr dinfo) { in sk_init_buffered_source() argument 32 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_init_buffered_source() 40 static boolean sk_fill_buffered_input_buffer(j_decompress_ptr dinfo) { in sk_fill_buffered_input_buffer() argument 41 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_fill_buffered_input_buffer() 60 static void sk_skip_buffered_input_data(j_decompress_ptr dinfo, long numBytes) { in sk_skip_buffered_input_data() argument 61 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_skip_buffered_input_data() 68 dinfo->err->error_exit((j_common_ptr) dinfo); in sk_skip_buffered_input_data() [all …]
|
D | SkJpegDecoderMgr.h | 64 jpeg_decompress_struct* dinfo() { return &fDInfo; } in dinfo() function
|
/external/skqp/src/codec/ |
D | SkJpegCodec.cpp | 109 static SkEncodedOrigin get_exif_orientation(jpeg_decompress_struct* dinfo) { in get_exif_orientation() argument 111 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in get_exif_orientation() 134 static std::unique_ptr<SkEncodedInfo::ICCProfile> read_color_profile(jpeg_decompress_struct* dinfo) in read_color_profile() argument 143 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in read_color_profile() 213 auto* dinfo = decoderMgr->dinfo(); in ReadHeader() local 219 jpeg_save_markers(dinfo, kExifMarker, 0xFFFF); in ReadHeader() 220 jpeg_save_markers(dinfo, kICCMarker, 0xFFFF); in ReadHeader() 224 switch (jpeg_read_header(dinfo, true)) { in ReadHeader() 240 SkEncodedOrigin orientation = get_exif_orientation(dinfo); in ReadHeader() 241 auto profile = read_color_profile(dinfo); in ReadHeader() [all …]
|
D | SkJpegUtility.cpp | 15 void skjpeg_err_exit(j_common_ptr dinfo) { in skjpeg_err_exit() argument 18 skjpeg_error_mgr* error = (skjpeg_error_mgr*) dinfo->err; in skjpeg_err_exit() 19 (*error->output_message) (dinfo); in skjpeg_err_exit() 31 static void sk_init_buffered_source(j_decompress_ptr dinfo) { in sk_init_buffered_source() argument 32 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_init_buffered_source() 40 static boolean sk_fill_buffered_input_buffer(j_decompress_ptr dinfo) { in sk_fill_buffered_input_buffer() argument 41 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_fill_buffered_input_buffer() 60 static void sk_skip_buffered_input_data(j_decompress_ptr dinfo, long numBytes) { in sk_skip_buffered_input_data() argument 61 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_skip_buffered_input_data() 68 dinfo->err->error_exit((j_common_ptr) dinfo); in sk_skip_buffered_input_data() [all …]
|
/external/libcups/cups/ |
D | dest-options.c | 39 static void cups_create_cached(http_t *http, cups_dinfo_t *dinfo, 41 static void cups_create_constraints(cups_dinfo_t *dinfo); 42 static void cups_create_defaults(cups_dinfo_t *dinfo); 43 static void cups_create_media_db(cups_dinfo_t *dinfo, 46 static int cups_get_media_db(http_t *http, cups_dinfo_t *dinfo, 51 static cups_array_t *cups_test_constraints(cups_dinfo_t *dinfo, 58 static void cups_update_ready(http_t *http, cups_dinfo_t *dinfo); 74 cups_dinfo_t *dinfo, /* I - Destination information */ in cupsCheckDestSupported() argument 99 if (!http || !dest || !dinfo || !option) in cupsCheckDestSupported() 107 attr = ippFindAttribute(dinfo->attrs, option, IPP_TAG_ZERO); in cupsCheckDestSupported() [all …]
|
D | testdest.c | 29 static void localize(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, cons… 30 static void print_file(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *filename, … 31 static void show_conflicts(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int num_options, c… 32 static void show_default(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option); 33 static void show_media(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, const … 34 static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option… 48 cups_dinfo_t *dinfo; /* Destination info */ in main() local 131 if ((dinfo = cupsCopyDestInfo(http, dest)) == NULL) in main() 140 show_supported(http, dest, dinfo, argv[3], argv[4]); in main() 142 show_supported(http, dest, dinfo, argv[3], NULL); in main() [all …]
|
D | dest-localization.c | 26 static void cups_create_localizations(http_t *http, cups_dinfo_t *dinfo); 46 cups_dinfo_t *dinfo, /* I - Destination information */ in cupsLocalizeDestMedia() argument 63 …info=%p, flags=%x, size=%p(\"%s\"))", (void *)http, (void *)dest, (void *)dinfo, flags, (void *)si… in cupsLocalizeDestMedia() 69 if (!http || !dest || !dinfo || !size) in cupsLocalizeDestMedia() 80 if (!dinfo->localizations) in cupsLocalizeDestMedia() 81 cups_create_localizations(http, dinfo); in cupsLocalizeDestMedia() 84 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) in cupsLocalizeDestMedia() 133 db = dinfo->ready_db; in cupsLocalizeDestMedia() 135 db = dinfo->media_db; in cupsLocalizeDestMedia() 160 lsource = cupsLocalizeDestValue(http, dest, dinfo, "media-source", mdb->source); in cupsLocalizeDestMedia() [all …]
|
D | cups.h | 541 extern void cupsFreeDestInfo(cups_dinfo_t *dinfo) _CUPS_API_1_6; 543 cups_dinfo_t *dinfo, 548 cups_dinfo_t *dinfo, 571 cups_dinfo_t *dinfo, 574 cups_dinfo_t *dinfo, 577 cups_dinfo_t *dinfo, 581 cups_dinfo_t *dinfo, int n, 586 cups_dinfo_t *dinfo, 589 cups_dinfo_t *dinfo,
|
/external/iptables/extensions/ |
D | libxt_dscp.c | 55 struct xt_dscp_info *dinfo = cb->data; in dscp_parse() local 61 dinfo->invert = 1; in dscp_parse() 64 dinfo->dscp = class_to_dscp(cb->arg); in dscp_parse() 66 dinfo->invert = 1; in dscp_parse() 81 const struct xt_dscp_info *dinfo = in dscp_print() local 83 printf(" DSCP match %s0x%02x", dinfo->invert ? "!" : "", dinfo->dscp); in dscp_print() 88 const struct xt_dscp_info *dinfo = in dscp_save() local 91 printf("%s --dscp 0x%02x", dinfo->invert ? " !" : "", dinfo->dscp); in dscp_save() 97 const struct xt_dscp_info *dinfo = in __dscp_xlate() local 100 xt_xlate_add(xl, "dscp %s0x%02x", dinfo->invert ? "!= " : "", in __dscp_xlate() [all …]
|
D | libxt_DSCP.c | 55 struct xt_DSCP_info *dinfo = cb->data; in DSCP_parse() local 60 dinfo->dscp = class_to_dscp(cb->arg); in DSCP_parse() 81 const struct xt_DSCP_info *dinfo = in DSCP_print() local 84 print_dscp(dinfo->dscp, numeric); in DSCP_print() 89 const struct xt_DSCP_info *dinfo = in DSCP_save() local 92 printf(" --set-dscp 0x%02x", dinfo->dscp); in DSCP_save() 99 const struct xt_DSCP_info *dinfo = in DSCP_xlate() local 102 xt_xlate_add(xl, "ip dscp set 0x%02x", dinfo->dscp); in DSCP_xlate() 109 const struct xt_DSCP_info *dinfo = in DSCP_xlate6() local 112 xt_xlate_add(xl, "ip6 dscp set 0x%02x", dinfo->dscp); in DSCP_xlate6()
|
/external/strace/ |
D | netlink_smc_diag.c | 172 struct smcd_diag_dmbinfo dinfo; in decode_smc_diag_dmbinfo() local 174 if (len < sizeof(dinfo)) in decode_smc_diag_dmbinfo() 176 if (umove_or_printaddr(tcp, addr, &dinfo)) in decode_smc_diag_dmbinfo() 179 PRINT_FIELD_U("{", dinfo, linkid); in decode_smc_diag_dmbinfo() 180 PRINT_FIELD_X(", ", dinfo, peer_gid); in decode_smc_diag_dmbinfo() 181 PRINT_FIELD_X(", ", dinfo, my_gid); in decode_smc_diag_dmbinfo() 182 PRINT_FIELD_X(", ", dinfo, token); in decode_smc_diag_dmbinfo() 183 PRINT_FIELD_X(", ", dinfo, peer_token); in decode_smc_diag_dmbinfo()
|
/external/strace/tests/ |
D | nlattr_smc_diag_msg.c | 157 static const struct smcd_diag_dmbinfo dinfo = { in main() local 226 SMC_DIAG_DMBINFO, pattern, dinfo, in main() 227 PRINT_FIELD_U("{", dinfo, linkid); in main() 228 PRINT_FIELD_X(", ", dinfo, peer_gid); in main() 229 PRINT_FIELD_X(", ", dinfo, my_gid); in main() 230 PRINT_FIELD_X(", ", dinfo, token); in main() 231 PRINT_FIELD_X(", ", dinfo, peer_token); in main()
|
/external/strace/tests-mx32/ |
D | nlattr_smc_diag_msg.c | 157 static const struct smcd_diag_dmbinfo dinfo = { in main() local 226 SMC_DIAG_DMBINFO, pattern, dinfo, in main() 227 PRINT_FIELD_U("{", dinfo, linkid); in main() 228 PRINT_FIELD_X(", ", dinfo, peer_gid); in main() 229 PRINT_FIELD_X(", ", dinfo, my_gid); in main() 230 PRINT_FIELD_X(", ", dinfo, token); in main() 231 PRINT_FIELD_X(", ", dinfo, peer_token); in main()
|
/external/strace/tests-m32/ |
D | nlattr_smc_diag_msg.c | 157 static const struct smcd_diag_dmbinfo dinfo = { in main() local 226 SMC_DIAG_DMBINFO, pattern, dinfo, in main() 227 PRINT_FIELD_U("{", dinfo, linkid); in main() 228 PRINT_FIELD_X(", ", dinfo, peer_gid); in main() 229 PRINT_FIELD_X(", ", dinfo, my_gid); in main() 230 PRINT_FIELD_X(", ", dinfo, token); in main() 231 PRINT_FIELD_X(", ", dinfo, peer_token); in main()
|
/external/virglrenderer/src/ |
D | vrend_shader.c | 1673 …f, 255, "%s = %s(%s((%s %s %s))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… 1674 …f(buf, 255, "%s = %s(%s(%s(%s))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… 1675 …s = %s(%s((%s(%s(%s), %s(%s))))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… 1677 …ring(dinfo.dstconv), get_string(dinfo.udstconv), op, get_string(sinfo.svec4), srcs[0], get_string(… 2056 struct dest_info *dinfo, in translate_tex() argument 2077 if (dinfo->dstconv != INT) in translate_tex() 2082 if (dinfo->dstconv != INT) in translate_tex() 2260 …string(dinfo->dstconv), get_string(dtypeprefix), tex_ext, srcs[sampler_index], get_string(txfi), s… in translate_tex() 2270 …%s, %s%s%s%s)) * %sshadmask%d + %sshadadd%d)%s));\n", dsts[0], get_string(dinfo->dstconv), get_str… in translate_tex() 2276 … dsts[0], get_string(dinfo->dstconv), get_string(dtypeprefix), srcs[sampler_index], srcs[0], get_w… in translate_tex() [all …]
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_context.c | 576 const struct pipe_draw_info *dinfo) in virgl_draw_vbo() argument 581 struct pipe_draw_info info = *dinfo; in virgl_draw_vbo() 583 if (!dinfo->count_from_stream_output && !dinfo->indirect && in virgl_draw_vbo() 584 !dinfo->primitive_restart && in virgl_draw_vbo() 585 !u_trim_pipe_prim(dinfo->mode, (unsigned*)&dinfo->count)) in virgl_draw_vbo() 588 if (!(rs->caps.caps.v1.prim_mask & (1 << dinfo->mode))) { in virgl_draw_vbo() 589 util_primconvert_draw_vbo(vctx->primconvert, dinfo); in virgl_draw_vbo() 595 ib.index_size = dinfo->index_size; in virgl_draw_vbo()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | iogen.c | 952 struct lk_device_info dinfo; in get_file_info() local 1002 if (lk_rawdev(rec->f_path, dinfo.path, sizeof(dinfo.path), 0) == in get_file_info() 1006 if (lk_devinfo(&dinfo, 0) == -1) { in get_file_info() 1010 rec->f_riou = ctob(dinfo.iou); in get_file_info() 1040 strcpy(dinfo.path, rec->f_path); in get_file_info() 1042 if (lk_devinfo(&dinfo, 0) == -1) { in get_file_info() 1048 rec->f_iou = ctob(dinfo.iou); in get_file_info() 1049 rec->f_riou = ctob(dinfo.iou); in get_file_info() 1050 rec->f_length = ctob(dinfo.length); in get_file_info()
|