Home
last modified time | relevance | path

Searched refs:parse_size (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/dports/www/mitmproxy/mitmproxy-7.0.4/test/mitmproxy/utils/
H A Dtest_human.py15 assert human.parse_size("0") == 0
16 assert human.parse_size("0b") == 0
17 assert human.parse_size("1") == 1
18 assert human.parse_size("1k") == 1024
19 assert human.parse_size("1m") == 1024**2
20 assert human.parse_size("1g") == 1024**3
22 human.parse_size("1f")
24 human.parse_size("ak")
25 assert human.parse_size(None) is None
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/gst-libs/gst/tag/
H A Did3v2frames.c252 if (work->parse_size < 6) in parse_comment_frame()
322 if (work->parse_size < 2) in parse_text_identification_frame()
356 if (work->parse_size == 0) in parse_url_link_frame()
367 len = work->parse_size; in parse_url_link_frame()
409 if (work->parse_size < 2) in parse_user_text_identification_frame()
450 if (work->parse_size < 2) in parse_id_string()
583 --work->parse_size; in parse_picture_frame()
604 work->parse_size -= len; in parse_picture_frame()
609 --work->parse_size; in parse_picture_frame()
618 work->parse_size); in parse_picture_frame()
[all …]
/dports/devel/libruin/libruin-0.2.0/src/
H A Dlayout.c796 parse_size(b, &(b->width), "width"); in parse_block_sizes()
797 parse_size(b, &(b->min_width), "min-width"); in parse_block_sizes()
798 parse_size(b, &(b->max_width), "max-width"); in parse_block_sizes()
800 parse_size(b, &(b->height), "height"); in parse_block_sizes()
801 parse_size(b, &(b->min_height), "min-height"); in parse_block_sizes()
802 parse_size(b, &(b->max_height), "max-height"); in parse_block_sizes()
804 parse_size(b, &(b->padding_top), "padding-top"); in parse_block_sizes()
809 parse_size(b, &(b->text_indent), "text-indent"); in parse_block_sizes()
811 parse_size(b, &(b->margin_top), "margin-top"); in parse_block_sizes()
812 parse_size(b, &(b->margin_left), "margin-left"); in parse_block_sizes()
[all …]
/dports/devel/avr-gdb/gdb-7.3.1/sim/frv/
H A Doptions.c79 parse_size (char *chp, address_word *nr_bytes) in parse_size() function
108 chp = parse_size (chp, &ways); in parse_cache_option()
112 chp = parse_size (chp + 1, &sets); in parse_cache_option()
116 chp = parse_size (chp + 1, &linesize); in parse_cache_option()
183 chp = parse_size (chp, &cycles); in frv_option_handler()
194 chp = parse_size (chp + 1, &interrupt); in frv_option_handler()
213 chp = parse_size (chp, &cycles); in frv_option_handler()
/dports/devel/gdb761/gdb-7.6.1/sim/frv/
H A Doptions.c78 parse_size (char *chp, address_word *nr_bytes) in parse_size() function
107 chp = parse_size (chp, &ways); in parse_cache_option()
111 chp = parse_size (chp + 1, &sets); in parse_cache_option()
115 chp = parse_size (chp + 1, &linesize); in parse_cache_option()
182 chp = parse_size (chp, &cycles); in frv_option_handler()
193 chp = parse_size (chp + 1, &interrupt); in frv_option_handler()
212 chp = parse_size (chp, &cycles); in frv_option_handler()
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/sim/frv/
H A Doptions.c79 parse_size (char *chp, address_word *nr_bytes) in parse_size() function
108 chp = parse_size (chp, &ways); in parse_cache_option()
112 chp = parse_size (chp + 1, &sets); in parse_cache_option()
116 chp = parse_size (chp + 1, &linesize); in parse_cache_option()
183 chp = parse_size (chp, &cycles); in frv_option_handler()
194 chp = parse_size (chp + 1, &interrupt); in frv_option_handler()
213 chp = parse_size (chp, &cycles); in frv_option_handler()
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/sim/frv/
H A Doptions.c79 parse_size (char *chp, address_word *nr_bytes) in parse_size() function
108 chp = parse_size (chp, &ways); in parse_cache_option()
112 chp = parse_size (chp + 1, &sets); in parse_cache_option()
116 chp = parse_size (chp + 1, &linesize); in parse_cache_option()
183 chp = parse_size (chp, &cycles); in frv_option_handler()
194 chp = parse_size (chp + 1, &interrupt); in frv_option_handler()
213 chp = parse_size (chp, &cycles); in frv_option_handler()
/dports/textproc/py-humanfriendly/humanfriendly-10.0/humanfriendly/
H A Dtests.py42 parse_size,
519 self.assertEqual(0, parse_size('0B'))
520 self.assertEqual(42, parse_size('42'))
521 self.assertEqual(42, parse_size('42B'))
522 self.assertEqual(1000, parse_size('1k'))
524 self.assertEqual(1000, parse_size('1 KB'))
528 self.assertEqual(1000 ** 3, parse_size('1 GB'))
529 self.assertEqual(1000 ** 4, parse_size('1 TB'))
537 parse_size('1q')
539 parse_size('a')
[all …]
/dports/mail/p5-Mail-Box/Mail-Box-3.009/t/
H A D110mh-read.t144 my $parse_size = 5000;
149 , extract => $parse_size # messages > $parse_size bytes stay unloaded.
163 $mistake++ if !$_->isDelayed && $_->size > $parse_size;
180 $mistake++ if !$_->isDelayed && $_->body->size > $parse_size;
H A D120maildir-read.t157 my $parse_size = 5000;
161 , extract => $parse_size # messages > $parse_size bytes stay unloaded.
175 $mistake++ if !$_->isDelayed && $_->size > $parse_size;
191 $mistake++ if !$_->isDelayed && $_->body->size > $parse_size;
/dports/mail/dovecot/dovecot-2.3.17/src/lib-mail/
H A Dmessage-header-parser.c65 size_t i, size, startpos, colon_pos, parse_size, skip = 0; in message_parse_header_next() local
93 parse_size = size == 0 ? 0 : size-1; in message_parse_header_next()
95 parse_size = size; in message_parse_header_next()
98 if (ret <= 0 && startpos == parse_size) { in message_parse_header_next()
172 for (i = startpos; i < parse_size; i++) { in message_parse_header_next()
195 for (; i < parse_size; i++) { in message_parse_header_next()
204 if (i < parse_size && i+1 == size && ret == -2) { in message_parse_header_next()
207 } else if (i < parse_size) { in message_parse_header_next()
/dports/www/flexget/Flexget-3.2.18/flexget/tests/
H A Dtest_path_by_space.py6 from flexget.config_schema import parse_size
12 used_bytes = parse_size(used)
13 total_bytes = parse_size(total)
/dports/audio/opus-tools/opus-tools-0.2/src/
H A Ddiag_range.c44 static int parse_size(const unsigned char *data, opus_int32 len, opus_int16 *size)
110 bytes = parse_size(data, len, size);
152 bytes = parse_size(data, len, size+i);
175 bytes = parse_size(data, len, size+count-1);
/dports/devel/radare2/radare2-5.1.1/shlr/gdb/src/
H A Darch.c4 static ut64 parse_size(char *s, char **end) { in parse_size() function
26 r->size = parse_size (tok[2], &end); in parse_def()
35 r->offset = parse_size (tok[3], &end); in parse_def()
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/formats/webm/
H A Dwebm_parser_unittest.cc243 int parse_size = std::min(default_parse_size, size); in TEST_F() local
246 int result = parser.Parse(data, parse_size); in TEST_F()
248 ASSERT_LE(result, parse_size); in TEST_F()
253 parse_size += default_parse_size; in TEST_F()
254 parse_size = std::min(parse_size, size); in TEST_F()
258 parse_size = default_parse_size; in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/formats/webm/
H A Dwebm_parser_unittest.cc243 int parse_size = std::min(default_parse_size, size); in TEST_F() local
246 int result = parser.Parse(data, parse_size); in TEST_F()
248 ASSERT_LE(result, parse_size); in TEST_F()
253 parse_size += default_parse_size; in TEST_F()
254 parse_size = std::min(parse_size, size); in TEST_F()
258 parse_size = default_parse_size; in TEST_F()

12345678910>>...13