Home
last modified time | relevance | path

Searched refs:encode_utf8 (Results 76 – 100 of 2539) sorted by relevance

12345678910>>...102

/dports/www/newsboat/newsboat-2.22.1/cargo-crates/arrayvec-0.5.1/src/
H A Dchar.rs39 pub unsafe fn encode_utf8(ch: char, ptr: *mut u8, len: usize) -> Result<usize, EncodeUtf8Error> in encode_utf8() function
75 let res = encode_utf8(ch, ptr, len).ok().unwrap(); in test_encode_utf8()
93 assert!(matches::matches!(encode_utf8(ch, ptr, len - 1), Err(_))); in test_encode_utf8_oob()
94 assert!(matches::matches!(encode_utf8(ch, ptr, len), Ok(_))); in test_encode_utf8_oob()
/dports/multimedia/neolink/neolink-cf54129/cargo-crates/arrayvec-0.5.2/src/
H A Dchar.rs39 pub unsafe fn encode_utf8(ch: char, ptr: *mut u8, len: usize) -> Result<usize, EncodeUtf8Error> in encode_utf8() function
76 let res = encode_utf8(ch, ptr, len).ok().unwrap(); in test_encode_utf8()
94 assert!(matches::matches!(encode_utf8(ch, ptr, len - 1), Err(_))); in test_encode_utf8_oob()
95 assert!(matches::matches!(encode_utf8(ch, ptr, len), Ok(_))); in test_encode_utf8_oob()
/dports/devel/bingrep/bingrep-0.8.5/cargo-crates/arrayvec-0.5.2/src/
H A Dchar.rs39 pub unsafe fn encode_utf8(ch: char, ptr: *mut u8, len: usize) -> Result<usize, EncodeUtf8Error> in encode_utf8() function
76 let res = encode_utf8(ch, ptr, len).ok().unwrap(); in test_encode_utf8()
94 assert!(matches::matches!(encode_utf8(ch, ptr, len - 1), Err(_))); in test_encode_utf8_oob()
95 assert!(matches::matches!(encode_utf8(ch, ptr, len), Ok(_))); in test_encode_utf8_oob()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/arrayvec-0.7.2/src/
H A Dchar.rs32 pub unsafe fn encode_utf8(ch: char, ptr: *mut u8, len: usize) -> Result<usize, EncodeUtf8Error> in encode_utf8() function
69 let res = encode_utf8(ch, ptr, len).ok().unwrap(); in test_encode_utf8()
87 assert!(matches::matches!(encode_utf8(ch, ptr, len - 1), Err(_))); in test_encode_utf8_oob()
88 assert!(matches::matches!(encode_utf8(ch, ptr, len), Ok(_))); in test_encode_utf8_oob()
/dports/x11/sirula/sirula-1.0.0/cargo-crates/arrayvec-0.5.2/src/
H A Dchar.rs39 pub unsafe fn encode_utf8(ch: char, ptr: *mut u8, len: usize) -> Result<usize, EncodeUtf8Error> in encode_utf8() function
76 let res = encode_utf8(ch, ptr, len).ok().unwrap(); in test_encode_utf8()
94 assert!(matches::matches!(encode_utf8(ch, ptr, len - 1), Err(_))); in test_encode_utf8_oob()
95 assert!(matches::matches!(encode_utf8(ch, ptr, len), Ok(_))); in test_encode_utf8_oob()
/dports/lang/perl5.30/perl-5.30.3/cpan/Encode/t/
H A Dutf8ref.t16 is encode_utf8($r), ''.$r;
23 is encode_utf8(undef), undef;
26 is encode_utf8(''), '';
/dports/lang/perl5.32/perl-5.32.1/cpan/Encode/t/
H A Dutf8ref.t16 is encode_utf8($r), ''.$r;
23 is encode_utf8(undef), undef;
26 is encode_utf8(''), '';
/dports/lang/perl5.34/perl-5.34.0/cpan/Encode/t/
H A Dutf8ref.t16 is encode_utf8($r), ''.$r;
23 is encode_utf8(undef), undef;
26 is encode_utf8(''), '';
/dports/www/p5-Pod-Site/Pod-Site-0.56/t/
H A Dget_desc.t17 $site->get_desc('MyClass1', \ Encode::encode_utf8(<<'.'));
24 }, Encode::encode_utf8('The description of MyClass1');
36 }, Encode::encode_utf8('Thè déscrìptïön õf MyClass2');
/dports/converters/p5-Encode/Encode-3.16/t/
H A Dutf8ref.t16 is encode_utf8($r), ''.$r;
23 is encode_utf8(undef), undef;
26 is encode_utf8(''), '';
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Encode/t/
H A Dutf8ref.t16 is encode_utf8($r), ''.$r;
23 is encode_utf8(undef), undef;
26 is encode_utf8(''), '';
/dports/devel/p5-Data-Recursive-Encode/Data-Recursive-Encode-0.06/t/
H A D03_recursive.t9 sub u($) { encode_utf8($_[0]) }
16 my $E = sub { Data::Recursive::Encode->encode_utf8(@_) };
23 my $got = Data::Recursive::Encode->encode_utf8($data);
/dports/textproc/p5-xmltv/xmltv-0.5.70/grab/fr/
H A Dtv_grab_fr363 'display-name' => [[encode_utf8( $channels{$ch_did}{name} )]],
418 'display-name' => [[encode_utf8( $chname )]],
678 title => [ [ encode_utf8( trim($title_text) ) ] ], # lang unknown
791 $prog->{'sub-title'} = [ [ encode_utf8( $episode_name ), $LANG ] ];
820 $prog->{category} = [ [ encode_utf8( $genre ), $LANG ],
821 [ encode_utf8( $subgenre ), $LANG ] ];
824 $prog->{category} = [ [ encode_utf8( $genre ), $LANG ] ];
832 $prog->{desc} = [ [ encode_utf8( $synopsis ), $LANG ] ];
848 push @{$prog->{credits}{director}}, encode_utf8( $director );
855 push @{$prog->{credits}{actor}}, encode_utf8( $actor );
[all …]
/dports/devel/brz/breezy-3.2.0/breezy/bzr/
H A Dchk_serializer.py79 encode_utf8 = cache_utf8._utf8_encode
85 (b"committer", encode_utf8(rev.committer)[0]),
93 revprops[encode_utf8(key)[0]] = encode_utf8(value, 'surrogateescape')[0]
100 (b"message", encode_utf8(rev.message)[0]),
/dports/www/p5-JE/JE-0.066/lib/JE/
H A Descape.pl20 $str = encode_utf8 $str;
107 $str = encode_utf8 $str;
127 $str = encode_utf8 $str;
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/regex-1.5.4/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/regex-1.5.4/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/regex-1.5.4/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/regex-1.5.4/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/regex-1.5.4/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/misc/broot/broot-1.7.0/cargo-crates/regex-1.5.4/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/regex-1.3.9/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/regex-1.5.4/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/cargo-crates/regex-1.3.9/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()
/dports/devel/sccache/sccache-0.2.15/cargo-crates/regex-1.4.2/src/
H A Dutf8.rs160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip()
171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last()
183 let n = cp.encode_utf8(&mut got).len(); in prop_encode_matches_std()
194 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_matches_std()
207 let n = given_cp.encode_utf8(&mut tmp).len(); in prop_decode_last_matches_std()

12345678910>>...102