/external/libjpeg-turbo/ |
D | wrgif.c | 112 flush_packet(gif_dest_ptr dinfo) in flush_packet() argument 115 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet() 116 dinfo->packetbuf[0] = (char)dinfo->bytesinpkt++; in flush_packet() 117 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet() 118 (size_t)dinfo->bytesinpkt) in flush_packet() 119 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); in flush_packet() 120 dinfo->bytesinpkt = 0; in flush_packet() 126 #define CHAR_OUT(dinfo, c) { \ argument 127 (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char)(c); \ 128 if ((dinfo)->bytesinpkt >= 255) \ [all …]
|
D | turbojpeg.c | 108 struct jpeg_decompress_struct dinfo; member 121 static void my_progress_monitor(j_common_ptr dinfo) in my_progress_monitor() argument 123 my_error_ptr myerr = (my_error_ptr)dinfo->err; in my_progress_monitor() 124 my_progress_ptr myprog = (my_progress_ptr)dinfo->progress; in my_progress_monitor() 126 if (dinfo->is_decompressor) { in my_progress_monitor() 127 int scan_no = ((j_decompress_ptr)dinfo)->input_scan_number; in my_progress_monitor() 215 j_decompress_ptr dinfo = NULL; \ 221 cinfo = &this->cinfo; dinfo = &this->dinfo; \ 239 j_decompress_ptr dinfo = NULL; \ 245 dinfo = &this->dinfo; \ [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() 135 put_demapped_gray(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument 138 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_demapped_gray() 158 start_output_tga(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_tga() argument 160 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 | cdjpeg.h | 55 void (*start_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo); 57 void (*put_pixel_rows) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 60 void (*finish_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo); 67 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() 172 put_gray_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument 176 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in put_gray_rows() 417 start_output_bmp(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_bmp() argument 419 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in start_output_bmp() 432 finish_output_bmp(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_bmp() argument 434 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in finish_output_bmp()
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 59 static SkEncodedOrigin get_exif_orientation(jpeg_decompress_struct* dinfo) { in get_exif_orientation() argument 61 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in get_exif_orientation() 84 static std::unique_ptr<SkEncodedInfo::ICCProfile> read_color_profile(jpeg_decompress_struct* dinfo) in read_color_profile() argument 93 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in read_color_profile() 163 auto* dinfo = decoderMgr->dinfo(); in ReadHeader() local 169 jpeg_save_markers(dinfo, kExifMarker, 0xFFFF); in ReadHeader() 170 jpeg_save_markers(dinfo, kICCMarker, 0xFFFF); in ReadHeader() 174 switch (jpeg_read_header(dinfo, true)) { in ReadHeader() 190 SkEncodedOrigin orientation = get_exif_orientation(dinfo); in ReadHeader() 191 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/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 | 37 static void cups_create_cached(http_t *http, cups_dinfo_t *dinfo, 39 static void cups_create_constraints(cups_dinfo_t *dinfo); 40 static void cups_create_defaults(cups_dinfo_t *dinfo); 41 static void cups_create_media_db(cups_dinfo_t *dinfo, 44 static int cups_get_media_db(http_t *http, cups_dinfo_t *dinfo, 49 static cups_array_t *cups_test_constraints(cups_dinfo_t *dinfo, 56 static void cups_update_ready(http_t *http, cups_dinfo_t *dinfo); 69 cups_dinfo_t *dinfo, /* I - Destination information */ in cupsAddDestMediaOptions() argument 84 if (!http || !dest || !dinfo || !size || !options) in cupsAddDestMediaOptions() 95 db = dinfo->ready_db; in cupsAddDestMediaOptions() [all …]
|
D | testdest.c | 23 static void localize(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, cons… 24 static void print_file(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *filename, … 25 static void show_conflicts(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int num_options, c… 26 static void show_default(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option); 27 static void show_media(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, const … 28 static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option… 43 cups_dinfo_t *dinfo; /* Destination info */ in main() local 151 if ((dinfo = cupsCopyDestInfo(http, dest)) == NULL) in main() 162 show_supported(http, dest, dinfo, argv[i], argv[i + 1]); in main() 164 show_supported(http, dest, dinfo, argv[i], NULL); in main() [all …]
|
D | dest-localization.c | 21 static void cups_create_localizations(http_t *http, cups_dinfo_t *dinfo); 38 cups_dinfo_t *dinfo, /* I - Destination information */ in cupsLocalizeDestMedia() argument 55 …info=%p, flags=%x, size=%p(\"%s\"))", (void *)http, (void *)dest, (void *)dinfo, flags, (void *)si… in cupsLocalizeDestMedia() 61 if (!http || !dest || !dinfo || !size) in cupsLocalizeDestMedia() 73 db = dinfo->ready_db; in cupsLocalizeDestMedia() 75 db = dinfo->media_db; in cupsLocalizeDestMedia() 102 if (!dinfo->localizations) in cupsLocalizeDestMedia() 103 cups_create_localizations(http, dinfo); in cupsLocalizeDestMedia() 108 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) in cupsLocalizeDestMedia() 119 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) in cupsLocalizeDestMedia() [all …]
|
D | testthreads.c | 26 static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option… 97 cups_dinfo_t *dinfo; /* Destination info */ in run_query() local 108 if ((dinfo = cupsCopyDestInfo(http, dest)) == NULL) in run_query() 116 show_supported(http, dest, dinfo, NULL, NULL); in run_query() 130 cups_dinfo_t *dinfo, /* I - Destination information */ in show_supported() argument 141 attr = cupsFindDestSupported(http, dest, dinfo, "job-creation-attributes"); in show_supported() 146 show_supported(http, dest, dinfo, ippGetString(attr, i, NULL), NULL); in show_supported() 165 if (cupsCheckDestSupported(http, dest, dinfo, options[i], NULL)) in show_supported() 166 show_supported(http, dest, dinfo, options[i], NULL); in show_supported() 171 …\n", option, cupsLocalizeDestOption(http, dest, dinfo, option), cupsCheckDestSupported(http, dest,… in show_supported() [all …]
|
D | cups.h | 532 extern void cupsFreeDestInfo(cups_dinfo_t *dinfo) _CUPS_API_1_6; 534 cups_dinfo_t *dinfo, 539 cups_dinfo_t *dinfo, 562 cups_dinfo_t *dinfo, 565 cups_dinfo_t *dinfo, 568 cups_dinfo_t *dinfo, 572 cups_dinfo_t *dinfo, int n, 577 cups_dinfo_t *dinfo, 580 cups_dinfo_t *dinfo, 604 extern int cupsAddDestMediaOptions(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned …
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_draw.c | 209 const struct pipe_draw_info *dinfo) in zink_draw_vbo() argument 215 struct zink_so_target *so_target = zink_so_target(dinfo->count_from_stream_output); in zink_draw_vbo() 221 if (dinfo->primitive_restart && !restart_supported(dinfo->mode)) { in zink_draw_vbo() 222 util_draw_vbo_without_prim_restart(pctx, dinfo); in zink_draw_vbo() 225 if (dinfo->mode == PIPE_PRIM_QUADS || in zink_draw_vbo() 226 dinfo->mode == PIPE_PRIM_QUAD_STRIP || in zink_draw_vbo() 227 dinfo->mode == PIPE_PRIM_POLYGON || in zink_draw_vbo() 228 (dinfo->mode == PIPE_PRIM_TRIANGLE_FAN && !screen->have_triangle_fans) || in zink_draw_vbo() 229 dinfo->mode == PIPE_PRIM_LINE_LOOP) { in zink_draw_vbo() 230 if (!u_trim_pipe_prim(dinfo->mode, (unsigned *)&dinfo->count)) in zink_draw_vbo() [all …]
|
/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-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/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/ |
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 | 2032 …trbufs, "%s = %s(%s((%s %s %s))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… 2033 …sl_strbufs, "%s = %s(%s(%s(%s))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… 2034 …s = %s(%s((%s(%s(%s), %s(%s))))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… 2036 …ring(dinfo.dstconv), get_string(dinfo.udstconv), op, get_string(sinfo.svec4), srcs[0], get_string(… 2509 const struct dest_info *dinfo, in translate_tex() argument 2529 if (dinfo->dstconv != INT) in translate_tex() 2534 if (dinfo->dstconv != INT) in translate_tex() 2767 dst, get_string(dinfo->dstconv), get_string(dtypeprefix), in translate_tex() 2770 dinfo->dst_override_no_wm[0] ? "" : writemask); in translate_tex() 2774 dst, get_string(dinfo->dstconv), get_string(dtypeprefix), in translate_tex() [all …]
|
/external/zstd/lib/common/ |
D | fse_decompress.c | 210 FSE_decode_t* const dinfo = (FSE_decode_t*)dPtr; in FSE_buildDTable_raw() local 223 dinfo[s].newState = 0; in FSE_buildDTable_raw() 224 dinfo[s].symbol = (BYTE)s; in FSE_buildDTable_raw() 225 dinfo[s].nbBits = (BYTE)nbBits; in FSE_buildDTable_raw()
|
/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()
|