Home
last modified time | relevance | path

Searched refs:profile_len (Results 1 – 25 of 163) sorted by relevance

1234567

/dports/net/samba412/samba-4.12.15/lib/util/
H A Dtevent_req_profile.c244 ssize_t pack_len, profile_len; in tevent_req_profile_pack() local
269 if (profile_len == -1) { in tevent_req_profile_pack()
274 buf += profile_len; in tevent_req_profile_pack()
275 buflen -= profile_len; in tevent_req_profile_pack()
278 pack_len += profile_len; in tevent_req_profile_pack()
279 if (pack_len < profile_len) { in tevent_req_profile_pack()
288 if (profile_len == -1) { in tevent_req_profile_pack()
293 buf += profile_len; in tevent_req_profile_pack()
294 buflen -= profile_len; in tevent_req_profile_pack()
297 pack_len += profile_len; in tevent_req_profile_pack()
[all …]
/dports/graphics/darktable38/darktable-3.8.0/src/common/
H A Dimageio_tiff.c487 uint32_t profile_len = 0; in dt_imageio_tiff_read_profile() local
509 cmsSaveProfileToMem(profile, 0, &profile_len); in dt_imageio_tiff_read_profile()
510 if(profile_len > 0) in dt_imageio_tiff_read_profile()
512 *out = (uint8_t *)g_malloc(profile_len); in dt_imageio_tiff_read_profile()
513 cmsSaveProfileToMem(profile, *out, &profile_len); in dt_imageio_tiff_read_profile()
516 else if(TIFFGetField(tiff, TIFFTAG_ICCPROFILE, &profile_len, &profile)) in dt_imageio_tiff_read_profile()
518 if(profile_len > 0) in dt_imageio_tiff_read_profile()
520 *out = (uint8_t *)g_malloc(profile_len); in dt_imageio_tiff_read_profile()
521 memcpy(*out, profile, profile_len); in dt_imageio_tiff_read_profile()
525 profile_len = 0; in dt_imageio_tiff_read_profile()
[all …]
/dports/graphics/darktable/darktable-3.6.1/src/common/
H A Dimageio_tiff.c481 uint32_t profile_len = 0; in dt_imageio_tiff_read_profile() local
503 cmsSaveProfileToMem(profile, 0, &profile_len); in dt_imageio_tiff_read_profile()
504 if(profile_len > 0) in dt_imageio_tiff_read_profile()
506 *out = (uint8_t *)malloc(profile_len); in dt_imageio_tiff_read_profile()
507 cmsSaveProfileToMem(profile, *out, &profile_len); in dt_imageio_tiff_read_profile()
510 else if(TIFFGetField(tiff, TIFFTAG_ICCPROFILE, &profile_len, &profile)) in dt_imageio_tiff_read_profile()
512 *out = (uint8_t *)malloc(profile_len); in dt_imageio_tiff_read_profile()
513 memcpy(*out, profile, profile_len); in dt_imageio_tiff_read_profile()
516 profile_len = 0; in dt_imageio_tiff_read_profile()
520 return profile_len; in dt_imageio_tiff_read_profile()
/dports/graphics/darktable38/darktable-3.8.0/src/imageio/format/
H A Dxcf.c59 uint32_t profile_len = 0; in write_image() local
65 cmsSaveProfileToMem(out_profile, 0, &profile_len); in write_image()
66 if(profile_len > 0) in write_image()
68 profile = malloc(profile_len); in write_image()
71 fprintf(stderr, "[xcf] error: can't allocate %u bytes of memory\n", profile_len); in write_image()
74 cmsSaveProfileToMem(out_profile, profile, &profile_len); in write_image()
120 profile_len, profile); in write_image()
H A Dtiff.c68 uint32_t profile_len = 0; in write_image() local
84 cmsSaveProfileToMem(out_profile, 0, &profile_len); in write_image()
85 if(profile_len > 0) in write_image()
87 profile = malloc(profile_len); in write_image()
93 cmsSaveProfileToMem(out_profile, profile, &profile_len); in write_image()
154 TIFFSetField(tif, TIFFTAG_ICCPROFILE, (uint32_t)profile_len, profile); in write_image()
/dports/graphics/darktable/darktable-3.6.1/src/imageio/format/
H A Dxcf.c59 uint32_t profile_len = 0; in write_image() local
65 cmsSaveProfileToMem(out_profile, 0, &profile_len); in write_image()
66 if(profile_len > 0) in write_image()
68 profile = malloc(profile_len); in write_image()
71 fprintf(stderr, "[xcf] error: can't allocate %u bytes of memory\n", profile_len); in write_image()
74 cmsSaveProfileToMem(out_profile, profile, &profile_len); in write_image()
120 profile_len, profile); in write_image()
H A Dtiff.c68 uint32_t profile_len = 0; in write_image() local
84 cmsSaveProfileToMem(out_profile, 0, &profile_len); in write_image()
85 if(profile_len > 0) in write_image()
87 profile = malloc(profile_len); in write_image()
93 cmsSaveProfileToMem(out_profile, profile, &profile_len); in write_image()
154 TIFFSetField(tif, TIFFTAG_ICCPROFILE, (uint32_t)profile_len, profile); in write_image()
/dports/graphics/gwenview/gwenview-21.12.3/lib/cms/
H A Dcmsprofile.cpp97 uint profile_len; in loadFromJpegData() local
98 if (read_icc_profile(&srcinfo, &profile_data, &profile_len)) { in loadFromJpegData()
99 LOG("Found a profile, length:" << profile_len); in loadFromJpegData()
100 profile = cmsOpenProfileFromMem(profile_data, profile_len); in loadFromJpegData()
/dports/graphics/flif/FLIF-0.3-96-g74ea92b/src/image/
H A Dimage-png-metadata.hpp42 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
48 if (profile == NULL || profile_len == 0) return 0; in ProcessRawProfile()
/dports/security/john/john-1.9.0-jumbo-1/src/
H A Dracf2john.c166 uint16_t profile_len = 0; in process_file() local
204 profile_len = user_rec_len - header_len; in process_file()
207 process_user_rec(user_prof, profile_len, profile_name, profile_name_len); in process_file()
/dports/www/janus/janus-gateway-0.11.6/fuzzers/
H A Drtp_fuzzer.c45 int profile_len = ntohs(xtn_hdr->length); in srtp_validate_rtp_header() local
46 rtp_header_len += profile_len * 4; in srtp_validate_rtp_header()
/dports/devel/radare2/radare2-5.1.1/shlr/gdb/src/gdbclient/
H A Dxml.c183 ut64 profile_len = 0, profile_max_len, regnum = 0, regoff = 0; in gdbr_parse_target_xml() local
215 if (profile_len + 128 >= profile_max_len) { in gdbr_parse_target_xml()
236 profile_len += snprintf (profile + profile_len, 128, in gdbr_parse_target_xml()
245 if (profile_len + 128 >= profile_max_len) { in gdbr_parse_target_xml()
252 profile_len += snprintf (profile + profile_len, 128, "gpr\t%s\t" in gdbr_parse_target_xml()
/dports/biology/vt/vt-0.57721/
H A Dprofile_len.cpp146 void profile_len() in profile_len() function in __anond41d56310111::Igor
332 void profile_len(int argc, char ** argv) in profile_len() function
337 igor.profile_len(); in profile_len()
H A Dprofile_len.h29 void profile_len(int argc, char ** argv);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libwebp/imageio/
H A Dpngdec.c97 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
103 if (profile == NULL || profile_len == 0) return 0; in ProcessRawProfile()
132 int (*process)(const char* profile, size_t profile_len,
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libwebp-sys2-0.1.2/c_src/imageio/
H A Dpngdec.c97 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
103 if (profile == NULL || profile_len == 0) return 0; in ProcessRawProfile()
132 int (*process)(const char* profile, size_t profile_len,
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libwebp/imageio/
H A Dpngdec.c97 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
103 if (profile == NULL || profile_len == 0) return 0; in ProcessRawProfile()
132 int (*process)(const char* profile, size_t profile_len,
/dports/graphics/webp/libwebp-1.2.1/imageio/
H A Dpngdec.c97 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
103 if (profile == NULL || profile_len == 0) return 0; in ProcessRawProfile()
132 int (*process)(const char* profile, size_t profile_len,
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/bep/gowebp/libwebp_src/imageio/
H A Dpngdec.c97 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
103 if (profile == NULL || profile_len == 0) return 0; in ProcessRawProfile()
132 int (*process)(const char* profile, size_t profile_len,
/dports/www/zola/zola-0.15.2/cargo-crates/libwebp-sys-0.2.0/vendor/imageio/
H A Dpngdec.c97 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
103 if (profile == NULL || profile_len == 0) return 0; in ProcessRawProfile()
132 int (*process)(const char* profile, size_t profile_len,
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/libwebp-sys2-0.1.2/c_src/imageio/
H A Dpngdec.c97 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
103 if (profile == NULL || profile_len == 0) return 0; in ProcessRawProfile()
132 int (*process)(const char* profile, size_t profile_len,
/dports/graphics/libjxl/libjxl-0.6.1/third_party/sjpeg/examples/
H A Dutils.cc489 static bool ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() argument
495 if (profile == NULL || profile_len == 0) return false; in ProcessRawProfile()
522 static bool ProcessCopy(const char* profile, size_t profile_len, in ProcessCopy() argument
524 if (profile == NULL || profile_len == 0) return false; in ProcessCopy()
525 metadata->append(profile, profile_len); in ProcessCopy()
531 bool (*process)(const char* profile, size_t profile_len,
/dports/graphics/krita/krita-4.4.8/plugins/impex/jpeg/
H A Dkis_jpeg_converter.cc178 uint profile_len = 0; in decode() local
181 if (read_icc_profile(&cinfo, &profile_data, &profile_len)) { in decode()
182 profile_rawdata.resize(profile_len); in decode()
183 memcpy(profile_rawdata.data(), profile_data, profile_len); in decode()
184 cmsHPROFILE hProfile = cmsOpenProfileFromMem(profile_data, profile_len); in decode()
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/notification/
H A DsnmpNotifyFilterProfileTable_data.h41 const char *profile, size_t profile_len);
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/snmp-notification-mib/snmpNotifyFilterTable/
H A DsnmpNotifyFilterTable_data_storage.h90 snmpNotifyFilter_storage_add(const u_char *profile, size_t profile_len,

1234567