Home
last modified time | relevance | path

Searched refs:n_formats (Results 1 – 25 of 185) sorted by relevance

12345678

/dports/x11/babl/babl-0.1.88/tools/
H A Dbabl-benchmark.c101 int n_formats = sizeof (formats) / sizeof (formats[0]); in test() local
107 assert (n_formats < 50); in test()
116 for (i = 0; i < n_formats; i++) in test()
117 for (j = 0; j < n_formats; j++) in test()
148 for (i = 0; i < n_formats; i++) in test()
149 for (j = 0; j < n_formats; j++) in test()
176 unicode_hbar(16, sum / (n_formats * n_formats - n_formats) / max), in test()
177 sum / (n_formats * n_formats - n_formats)); in test()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/egl/spec/egl_ext_image_dma_buf_import_modifiers/
H A Dquery_format_modifiers.c41 EGLint f, n_formats, *formats, rand_format, n_modifiers; in main() local
81 ret = peglQueryDmaBufFormatsEXT(dpy, 0, NULL, &n_formats); in main()
84 piglit_logd("Found %i format(s):", n_formats); in main()
86 formats = calloc(n_formats, sizeof(*formats)); in main()
87 peglQueryDmaBufFormatsEXT(dpy, n_formats, formats, &n_formats); in main()
89 for (f = 0; f < n_formats; f++) { in main()
129 for (f = 0; f < n_formats; f++) { in main()
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/
H A Dvil3d_load.cxx17 for (unsigned i=0;i<vil3d_file_format::n_formats();++i) in vil3d_load_image_resource()
24 for (unsigned i=0;i+1<vil3d_file_format::n_formats();++i) in vil3d_load_image_resource()
26 if (vil3d_file_format::n_formats() > 1) in vil3d_load_image_resource()
28 if (vil3d_file_format::n_formats()) in vil3d_load_image_resource()
29 ss << vil3d_file_format::format(vil3d_file_format::n_formats()-1).tag(); in vil3d_load_image_resource()
H A Dvil3d_new.cxx46 for (unsigned i=0; i < vil3d_file_format::n_formats(); ++i) in vil3d_new_image_resource()
59 for (unsigned i=0; i < vil3d_file_format::n_formats(); ++i) in vil3d_new_image_resource()
/dports/x11-toolkits/gtk-sharp30/gtk-sharp-2.99.3/gtk/
H A DTextBuffer.cs160 static extern IntPtr gtk_text_buffer_get_serialize_formats(IntPtr raw, out int n_formats); in gtk_text_buffer_get_serialize_formats() argument
163 static extern IntPtr gtk_text_buffer_get_deserialize_formats(IntPtr raw, out int n_formats); in gtk_text_buffer_get_deserialize_formats() argument
167 int n_formats;
168 IntPtr raw_ret = gtk_text_buffer_get_deserialize_formats(Handle, out n_formats);
169 Gdk.Atom[] result = new Gdk.Atom [n_formats];
170 for (int i = 0; i < n_formats; i++) {
180 int n_formats;
181 IntPtr raw_ret = gtk_text_buffer_get_serialize_formats(Handle, out n_formats);
182 Gdk.Atom[] result = new Gdk.Atom [n_formats];
183 for (int i = 0; i < n_formats; i++) {
/dports/x11-toolkits/gtk20/gtk+-2.24.33/modules/printbackends/file/
H A Dgtkprintbackendfile.c622 gint n_formats = 0; in file_printer_get_options() local
651 current_format = n_formats; in file_printer_get_options()
653 supported_formats[n_formats] = formats[FORMAT_PDF]; in file_printer_get_options()
655 n_formats++; in file_printer_get_options()
660 current_format = n_formats; in file_printer_get_options()
661 supported_formats[n_formats] = formats[FORMAT_PS]; in file_printer_get_options()
663 n_formats++; in file_printer_get_options()
682 for (n_formats = 0; n_formats < N_FORMATS; ++n_formats) in file_printer_get_options()
684 supported_formats[n_formats] = formats[n_formats]; in file_printer_get_options()
685 display_format_names[n_formats] = _(format_names[n_formats]); in file_printer_get_options()
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/modules/printbackends/
H A Dgtkprintbackendfile.c640 int n_formats = 0; in file_printer_get_options() local
669 current_format = n_formats; in file_printer_get_options()
671 supported_formats[n_formats] = formats[FORMAT_PDF]; in file_printer_get_options()
673 n_formats++; in file_printer_get_options()
678 current_format = n_formats; in file_printer_get_options()
679 supported_formats[n_formats] = formats[FORMAT_PS]; in file_printer_get_options()
681 n_formats++; in file_printer_get_options()
701 for (n_formats = 0; n_formats < N_FORMATS; ++n_formats) in file_printer_get_options()
703 supported_formats[n_formats] = formats[n_formats]; in file_printer_get_options()
704 display_format_names[n_formats] = _(format_names[n_formats]); in file_printer_get_options()
[all …]
/dports/x11-toolkits/gtk30/gtk+-3.24.31/modules/printbackends/file/
H A Dgtkprintbackendfile.c666 gint n_formats = 0; in file_printer_get_options() local
695 current_format = n_formats; in file_printer_get_options()
697 supported_formats[n_formats] = formats[FORMAT_PDF]; in file_printer_get_options()
699 n_formats++; in file_printer_get_options()
704 current_format = n_formats; in file_printer_get_options()
705 supported_formats[n_formats] = formats[FORMAT_PS]; in file_printer_get_options()
707 n_formats++; in file_printer_get_options()
726 for (n_formats = 0; n_formats < N_FORMATS; ++n_formats) in file_printer_get_options()
728 supported_formats[n_formats] = formats[n_formats]; in file_printer_get_options()
729 display_format_names[n_formats] = _(format_names[n_formats]); in file_printer_get_options()
[all …]
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtktextbufferrichtext.c49 gint *n_formats);
416 gint *n_formats) in gtk_text_buffer_get_serialize_formats() argument
421 g_return_val_if_fail (n_formats != NULL, NULL); in gtk_text_buffer_get_serialize_formats()
425 return get_formats (formats, n_formats); in gtk_text_buffer_get_serialize_formats()
444 gint *n_formats) in gtk_text_buffer_get_deserialize_formats() argument
449 g_return_val_if_fail (n_formats != NULL, NULL); in gtk_text_buffer_get_deserialize_formats()
453 return get_formats (formats, n_formats); in gtk_text_buffer_get_deserialize_formats()
765 gint *n_formats) in get_formats() argument
771 *n_formats = g_list_length (formats); in get_formats()
772 array = g_new0 (GdkAtom, *n_formats); in get_formats()
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/
H A Dgtktextbufferrichtext.c52 gint *n_formats);
419 gint *n_formats) in gtk_text_buffer_get_serialize_formats() argument
424 g_return_val_if_fail (n_formats != NULL, NULL); in gtk_text_buffer_get_serialize_formats()
428 return get_formats (formats, n_formats); in gtk_text_buffer_get_serialize_formats()
447 gint *n_formats) in gtk_text_buffer_get_deserialize_formats() argument
452 g_return_val_if_fail (n_formats != NULL, NULL); in gtk_text_buffer_get_deserialize_formats()
456 return get_formats (formats, n_formats); in gtk_text_buffer_get_deserialize_formats()
769 gint *n_formats) in get_formats() argument
775 *n_formats = g_list_length (formats); in get_formats()
776 array = g_new0 (GdkAtom, *n_formats); in get_formats()
/dports/x11-toolkits/gtk-sharp20/gtk-sharp-2.12.45/gtk/
H A DTextBuffer.custom171 static extern IntPtr gtk_text_buffer_get_serialize_formats(IntPtr raw, out int n_formats);
174 static extern IntPtr gtk_text_buffer_get_deserialize_formats(IntPtr raw, out int n_formats);
178 int n_formats;
179 IntPtr raw_ret = gtk_text_buffer_get_deserialize_formats(Handle, out n_formats);
180 Gdk.Atom[] result = new Gdk.Atom [n_formats];
181 for (int i = 0; i < n_formats; i++) {
192 int n_formats;
193 IntPtr raw_ret = gtk_text_buffer_get_serialize_formats(Handle, out n_formats);
194 Gdk.Atom[] result = new Gdk.Atom [n_formats];
195 for (int i = 0; i < n_formats; i++) {
/dports/x11-toolkits/p5-Gtk2/Gtk2-1.24993/xs/
H A DGtkTextBufferRichText.xs174 gint n_formats; variable
178 &n_formats);
181 &n_formats);
184 EXTEND (SP, n_formats);
185 for (i = 0 ; i < n_formats ; i++)
/dports/textproc/R-cran-readxl/readxl/src/
H A DXlsWorkBook.h74 int n_formats = pWB->formats.count; in cacheDateFormats() local
75 if (n_formats > 0) { in cacheDateFormats()
76 for (int i = 0; i < n_formats; ++i) { in cacheDateFormats()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/arm/
H A Dmalidp_mw.c185 static u32 *get_writeback_formats(struct malidp_drm *malidp, int *n_formats) in get_writeback_formats() argument
201 *n_formats = n; in get_writeback_formats()
210 int ret, n_formats; in malidp_mw_connector_init() local
219 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init()
226 formats, n_formats); in malidp_mw_connector_init()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/arm/
H A Dmalidp_mw.c185 static u32 *get_writeback_formats(struct malidp_drm *malidp, int *n_formats) in get_writeback_formats() argument
201 *n_formats = n; in get_writeback_formats()
210 int ret, n_formats; in malidp_mw_connector_init() local
219 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init()
226 formats, n_formats); in malidp_mw_connector_init()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/arm/
H A Dmalidp_mw.c185 static u32 *get_writeback_formats(struct malidp_drm *malidp, int *n_formats) in get_writeback_formats() argument
201 *n_formats = n; in get_writeback_formats()
210 int ret, n_formats; in malidp_mw_connector_init() local
219 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init()
226 formats, n_formats); in malidp_mw_connector_init()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.c21 for (id = 0; id < table->n_formats; id++) { in komeda_get_format_caps()
122 fmts = kcalloc(table->n_formats, sizeof(u32), GFP_KERNEL); in komeda_get_layer_fourcc_list()
126 for (i = 0; i < table->n_formats; i++) { in komeda_get_layer_fourcc_list()
H A Dkomeda_wb_connector.c145 u32 *formats, n_formats = 0; in komeda_wb_connector_add() local
162 &n_formats); in komeda_wb_connector_add()
167 formats, n_formats); in komeda_wb_connector_add()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.c21 for (id = 0; id < table->n_formats; id++) { in komeda_get_format_caps()
122 fmts = kcalloc(table->n_formats, sizeof(u32), GFP_KERNEL); in komeda_get_layer_fourcc_list()
126 for (i = 0; i < table->n_formats; i++) { in komeda_get_layer_fourcc_list()
H A Dkomeda_wb_connector.c145 u32 *formats, n_formats = 0; in komeda_wb_connector_add() local
162 &n_formats); in komeda_wb_connector_add()
167 formats, n_formats); in komeda_wb_connector_add()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.c21 for (id = 0; id < table->n_formats; id++) { in komeda_get_format_caps()
122 fmts = kcalloc(table->n_formats, sizeof(u32), GFP_KERNEL); in komeda_get_layer_fourcc_list()
126 for (i = 0; i < table->n_formats; i++) { in komeda_get_layer_fourcc_list()
H A Dkomeda_wb_connector.c145 u32 *formats, n_formats = 0; in komeda_wb_connector_add() local
162 &n_formats); in komeda_wb_connector_add()
167 formats, n_formats); in komeda_wb_connector_add()
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/adf/libadf/
H A Dadf.cpp492 size_t n_formats; member
502 for (j = 0; j < c->n_formats; j++) in adf_overlay_engine_format_filter()
510 const __u32 *formats, size_t n_formats, adf_id_t *in, size_t n_in, in adf_overlay_engines_filter_by_format() argument
513 struct format_filter_cookie cookie = { formats, n_formats }; in adf_overlay_engines_filter_by_format()
647 const __u32 *formats, size_t n_formats, in adf_find_simple_post_overlay_engine() argument
658 formats, n_formats, engs, n_engs, &filtered_engs); in adf_find_simple_post_overlay_engine()
704 const __u32 *formats, size_t n_formats, in adf_find_simple_post_configuration() argument
727 n_formats = sizeof(any_rgb_format) / sizeof(any_rgb_format[0]); in adf_find_simple_post_configuration()
733 found = adf_find_simple_post_overlay_engine(dev, formats, n_formats, in adf_find_simple_post_configuration()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/deprecated-adf/libadf/
H A Dadf.cpp492 size_t n_formats; member
502 for (j = 0; j < c->n_formats; j++) in adf_overlay_engine_format_filter()
510 const __u32 *formats, size_t n_formats, adf_id_t *in, size_t n_in, in adf_overlay_engines_filter_by_format() argument
513 struct format_filter_cookie cookie = { formats, n_formats }; in adf_overlay_engines_filter_by_format()
647 const __u32 *formats, size_t n_formats, in adf_find_simple_post_overlay_engine() argument
658 formats, n_formats, engs, n_engs, &filtered_engs); in adf_find_simple_post_overlay_engine()
704 const __u32 *formats, size_t n_formats, in adf_find_simple_post_configuration() argument
727 n_formats = sizeof(any_rgb_format) / sizeof(any_rgb_format[0]); in adf_find_simple_post_configuration()
733 found = adf_find_simple_post_overlay_engine(dev, formats, n_formats, in adf_find_simple_post_configuration()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/libpulse-sys-1.19.3/src/context/
H A Dext_device_restore.rs24 pub n_formats: u8, field
45 …ore_save_formats(c: *mut pa_context, type_: pa_device_type_t, idx: u32, n_formats: u8, formats: *c… in pa_ext_device_restore_save_formats()

12345678