/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/common/ |
H A D | cache.c | 100 header.comment_len = ntohs(header.comment_len); in read_cache() 101 if (header.comment_len > 65534) in read_cache() 103 cachefile, header.comment_len); in read_cache() 105 *comment = (char *)safe_malloc(header.comment_len + 1); in read_cache() 107 dbgx(1, "Comment length: %d", header.comment_len); in read_cache() 109 if ((read_size = read(cachefd, *comment, header.comment_len)) < 0) in read_cache() 112 if (read_size != (ssize_t)header.comment_len) in read_cache() 114 header.comment_len, read_size); in read_cache() 174 cache_header->comment_len = htons((uint16_t)strlen(comment)); in write_cache() 176 cache_header->comment_len = 0; in write_cache()
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavformat/ |
H A D | soxenc.c | 50 size_t comment_len = 0, comment_size; in sox_write_header() local 54 comment_len = strlen(comment->value); in sox_write_header() 55 comment_size = FFALIGN(comment_len, 8); in sox_write_header() 78 if (comment_len) in sox_write_header() 79 avio_write(pb, comment->value, comment_len); in sox_write_header() 81 ffio_fill(pb, 0, comment_size - comment_len); in sox_write_header()
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavformat/ |
H A D | soxenc.c | 50 size_t comment_len = 0, comment_size; in sox_write_header() local 54 comment_len = strlen(comment->value); in sox_write_header() 55 comment_size = FFALIGN(comment_len, 8); in sox_write_header() 78 if (comment_len) in sox_write_header() 79 avio_write(pb, comment->value, comment_len); in sox_write_header() 81 ffio_fill(pb, 0, comment_size - comment_len); in sox_write_header()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavformat/ |
H A D | soxenc.c | 50 size_t comment_len = 0, comment_size; in sox_write_header() local 54 comment_len = strlen(comment->value); in sox_write_header() 55 comment_size = FFALIGN(comment_len, 8); in sox_write_header() 78 if (comment_len) in sox_write_header() 79 avio_write(pb, comment->value, comment_len); in sox_write_header() 81 ffio_fill(pb, 0, comment_size - comment_len); in sox_write_header()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavformat/ |
H A D | soxenc.c | 50 size_t comment_len = 0, comment_size; in sox_write_header() local 54 comment_len = strlen(comment->value); in sox_write_header() 55 comment_size = FFALIGN(comment_len, 8); in sox_write_header() 78 if (comment_len) in sox_write_header() 79 avio_write(pb, comment->value, comment_len); in sox_write_header() 81 ffio_fill(pb, 0, comment_size - comment_len); in sox_write_header()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavformat/ |
H A D | soxenc.c | 50 size_t comment_len = 0, comment_size; in sox_write_header() local 54 comment_len = strlen(comment->value); in sox_write_header() 55 comment_size = FFALIGN(comment_len, 8); in sox_write_header() 78 if (comment_len) in sox_write_header() 79 avio_write(pb, comment->value, comment_len); in sox_write_header() 81 ffio_fill(pb, 0, comment_size - comment_len); in sox_write_header()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavformat/ |
H A D | soxenc.c | 50 size_t comment_len = 0, comment_size; in sox_write_header() local 54 comment_len = strlen(comment->value); in sox_write_header() 55 comment_size = FFALIGN(comment_len, 8); in sox_write_header() 78 if (comment_len) in sox_write_header() 79 avio_write(pb, comment->value, comment_len); in sox_write_header() 81 ffio_fill(pb, 0, comment_size - comment_len); in sox_write_header()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavformat/ |
H A D | soxenc.c | 50 size_t comment_len = 0, comment_size; in sox_write_header() local 54 comment_len = strlen(comment->value); in sox_write_header() 55 comment_size = FFALIGN(comment_len, 8); in sox_write_header() 78 if (comment_len) in sox_write_header() 79 avio_write(pb, comment->value, comment_len); in sox_write_header() 81 ffio_fill(pb, 0, comment_size - comment_len); in sox_write_header()
|
/dports/games/openlierox/OpenLieroX/libs/libzip/ |
H A D | zip_dirent.c | 93 cd->comment_len = 0; in _zip_cdir_new() 121 _zip_write2(cd->comment_len, fp); in _zip_cdir_write() 163 de->comment_len = 0; in _zip_dirent_init() 249 zde->comment_len = 0; in _zip_dirent_read() 255 zde->comment_len = _zip_read2(&cur); in _zip_dirent_read() 268 +zde->comment_len)) { in _zip_dirent_read() 286 if (zde->comment_len) { in _zip_dirent_read() 306 if (zde->comment_len) { in _zip_dirent_read() 373 de->comment_len = 0; in _zip_dirent_torrent_normalize() 414 _zip_write2(zde->comment_len, fp); in _zip_dirent_write() [all …]
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/hdf5/vtkhdf5/c++/src/ |
H A D | H5Location.cpp | 495 ssize_t comment_len; in getComment() local 496 comment_len = H5Oget_comment_by_name(getId(), name, comment, buf_size, H5P_DEFAULT); in getComment() 499 if (comment_len < 0) in getComment() 505 if ((size_t)comment_len >= buf_size) in getComment() 509 return(comment_len); in getComment() 529 ssize_t comment_len = H5Oget_comment_by_name(getId(), name, NULL, (size_t)0, H5P_DEFAULT); in getComment() local 532 if (comment_len < 0) in getComment() 538 else if (comment_len > 0) in getComment() 544 tmp_len = comment_len; in getComment() 551 ssize_t comment_len = getComment(name, tmp_len+1, comment_C); in getComment() local [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mbl/ |
H A D | mbl_parse_string_list.cxx | 36 unsigned comment_len = comment_str.size(); in mbl_parse_string_list() local 43 if (comment_len>0 && in mbl_parse_string_list() 44 label.length()>=comment_len && in mbl_parse_string_list() 45 label.substr(0,comment_len)==comment_str) in mbl_parse_string_list()
|
/dports/multimedia/libtheora/libtheora-1.1.1/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/theora/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/theora/vtktheora/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/www/firefox-esr/firefox-91.8.0/media/libtheora/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/libtheora/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/libtheora/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/www/firefox/firefox-99.0/media/libtheora/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/libtheora/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/theora/vtktheora/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/oggtheora/vtkoggtheora/libtheora-1.1.1/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/thirdparty/libtheora/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/devel/godot2/godot-2.1.6-stable/thirdparty/libtheora/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/libtheora/lib/ |
H A D | info.c | 60 int comment_len; in th_comment_add() local 69 comment_len=strlen(_comment); in th_comment_add() 70 comment_lengths[_tc->comments]=comment_len; in th_comment_add() 71 user_comments[_tc->comments]=_ogg_malloc(comment_len+1); in th_comment_add() 73 memcpy(_tc->user_comments[_tc->comments],_comment,comment_len+1); in th_comment_add()
|
/dports/graphics/opendx/dx-4.4.4/src/uipp/dxuilib/ |
H A D | OpenNetworkDialog.C | 93 int comment_len=0, maxlen=0; in helpCallback() local 116 if (comment_len+len > maxlen) { in helpCallback() 117 int max = comment_len+len; in helpCallback() 123 if (comment_len == 0) { in helpCallback() 129 comment_len += len; in helpCallback()
|