/dports/textproc/R-cran-utf8/utf8/tests/testthat/ |
H A D | test-utf8_valid.R | 5 expect_equal(utf8_valid(x), c(TRUE, TRUE, FALSE, TRUE)) 14 expect_equal(utf8_valid(x), c(TRUE, TRUE, TRUE, TRUE, FALSE)) 22 expect_equal(utf8_valid(x), TRUE) 32 expect_equal(utf8_valid(x), TRUE) 40 expect_equal(utf8_valid(x), FALSE)
|
/dports/textproc/R-cran-utf8/utf8/man/ |
H A D | as_utf8.Rd | 4 \alias{utf8_valid} 11 utf8_valid(x) 26 \code{utf8_valid} tests whether the elements of a character object 33 For \code{utf8_valid} a logical object with the same \code{names}, 52 utf8_valid(x)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/zxcvbn-cpp/native-src/zxcvbn/ |
H A D | util.cpp | 19 bool utf8_valid(std::string::const_iterator start, in utf8_valid() function 24 bool utf8_valid(const std::string & str) { in utf8_valid() function 25 return utf8_valid(str.begin(), str.end()); in utf8_valid() 33 if (!utf8_valid(in)) in reverse_string() 73 assert(utf8_valid(str.begin() + start, str.begin() + end)); in character_len()
|
/dports/multimedia/totem-pl-parser/totem-pl-parser-3.26.5/plparse/ |
H A D | totem-pl-parser-pls.c | 143 char *utf8_valid; in ensure_utf8_valid() local 145 utf8_valid = g_strdup (input); in ensure_utf8_valid() 147 if (!g_utf8_validate (utf8_valid, -1, NULL)) { in ensure_utf8_valid() 150 for (i = 0; i < g_utf8_strlen (utf8_valid, -1); i++) { in ensure_utf8_valid() 152 c = g_utf8_get_char_validated (&utf8_valid[i], -1); in ensure_utf8_valid() 154 utf8_valid[i] = '?'; in ensure_utf8_valid() 158 return utf8_valid; in ensure_utf8_valid()
|
/dports/net/cloud-init/cloud-init-21.4/cloudinit/tests/ |
H A D | test_subp.py | 80 utf8_valid = b'start \xc3\xa9 end' variable in TestSubp 116 data=self.utf8_valid) 119 self.assertEqual(out, self.utf8_valid) 129 decode='strict', data=self.utf8_valid) 130 self.assertEqual(out, self.utf8_valid.decode('utf-8')) 243 self.utf8_valid.decode("utf-8")] 250 self.assertEqual(self.utf8_valid, out)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/zxcvbn-cpp/patches/ |
H A D | base_utf8.diff | 18 +bool utf8_valid(std::string::const_iterator start, 23 +bool utf8_valid(const std::string & str) { 24 + return utf8_valid(str.begin(), str.end()); 42 + if (!utf8_valid(in)) 63 -bool utf8_valid(std::string::const_iterator start, 90 -bool utf8_valid(const std::string & str) { 91 - return utf8_valid(str.begin(), str.end());
|
/dports/devel/py-kitchen/kitchen-1.2.6/kitchen2/tests/ |
H A D | test_text_utf8.py | 75 tools.ok_(utf8.utf8_valid(self.utf8_japanese) == True) 76 tools.ok_(utf8.utf8_valid(self.utf8_spanish) == True) 82 tools.ok_(utf8.utf8_valid('\xff') == False) 83 tools.ok_(utf8.utf8_valid(self.latin1_spanish) == False)
|
H A D | test_deprecation.py | 28 tools.assert_raises(DeprecationWarning, utf8.utf8_valid, 'test')
|
/dports/devel/py-kitchen/kitchen-1.2.6/kitchen3/tests/ |
H A D | test_text_utf8.py | 75 tools.ok_(utf8.utf8_valid(self.utf8_japanese) == True) 76 tools.ok_(utf8.utf8_valid(self.utf8_spanish) == True) 82 tools.ok_(utf8.utf8_valid(b'\xff') == False) 83 tools.ok_(utf8.utf8_valid(self.latin1_spanish) == False)
|
H A D | test_deprecation.py | 28 tools.assert_raises(DeprecationWarning, utf8.utf8_valid, 'test')
|
/dports/textproc/p5-Text-Match-FastAlternatives/Text-Match-FastAlternatives-1.05/t/ |
H A D | 07_utf8.t | 11 ok(!Text::Match::FastAlternatives->utf8_valid($s), "invalid UTF-8, $msg"); 16 ok(Text::Match::FastAlternatives->utf8_valid($s), "valid UTF-8, $msg");
|
/dports/mail/evolution/evolution-3.42.1/src/e-util/ |
H A D | e-web-view-preview.c | 351 gchar *utf8_valid, *res, *end; in web_view_preview_escape_text() local 361 utf8_valid = g_strdup (text); in web_view_preview_escape_text() 362 while (end = NULL, !g_utf8_validate (utf8_valid, -1, (const gchar **) &end) && end && *end) in web_view_preview_escape_text() 365 res = g_markup_escape_text (utf8_valid, -1); in web_view_preview_escape_text() 367 g_free (utf8_valid); in web_view_preview_escape_text()
|
/dports/devel/p5-Convert-Scalar/Convert-Scalar-1.12/t/ |
H A D | 01_utf8.t | 48 print utf8_valid $b ? "not " : "", "ok 16\n"; 49 print utf8_valid $u ? "" : "not ", "ok 17\n";
|
/dports/textproc/p5-Text-Match-FastAlternatives/Text-Match-FastAlternatives-1.05/ |
H A D | FastAlternatives.xs | 92 static int utf8_valid(const U8 *s, STRLEN len) { in utf8_valid() function 193 if (!utf8_valid((const U8 *) s, len)) 352 utf8_valid(package, sv) 362 RETVAL = utf8_valid(s, len);
|
/dports/textproc/R-cran-utf8/utf8/ |
H A D | NAMESPACE | 12 export(utf8_valid)
|
H A D | MD5 | 36 2dc5f330b2053f4d14b0308bc07c34be *src/utf8_valid.c 103 ca622a9148c10fa176d5c810e32ad917 *tests/testthat/test-utf8_valid.R
|
/dports/ftp/wzdftpd/wzdftpd-0.8.3/libwzd-core/ |
H A D | wzd_utf8.h | 56 int utf8_valid(const char *buf, size_t len);
|
/dports/net/p5-URI-Encode-XS/URI-Encode-XS-0.11/ |
H A D | MANIFEST | 10 utf8_valid.h
|
H A D | utf8_valid.h | 128 utf8_valid(const char *src, size_t len) { in utf8_valid() function
|
/dports/net/cloud-init/cloud-init-21.4/tests/unittests/test_handler/ |
H A D | test_handler_write_files.py | 160 utf8_valid = b"foobzr" 169 datum = (("utf8", utf8_valid), ("no-utf8", utf8_invalid))
|
/dports/textproc/R-cran-utf8/utf8/R/ |
H A D | utf8.R | 26 utf8_valid <- function(x) { function
|
/dports/devel/gtranslator/gtranslator-40.0/src/ |
H A D | gtr-po.c | 531 gboolean utf8_valid; in _gtr_po_load_ensure_utf8() local 546 utf8_valid = g_utf8_validate (content, size, NULL); in _gtr_po_load_ensure_utf8() 554 if (!utf8_valid && in _gtr_po_load_ensure_utf8() 640 utf8_valid = TRUE; in _gtr_po_load_ensure_utf8() 646 if (!utf8_valid) in _gtr_po_load_ensure_utf8()
|
/dports/devel/glib20/glib-2.70.4/gio/tests/ |
H A D | live-g-file.c | 386 gboolean utf8_valid; in test_attributes() local 433 utf8_valid = g_utf8_validate (display_name, -1, NULL); in test_attributes() 434 g_assert_true (utf8_valid); in test_attributes() 440 utf8_valid = g_utf8_validate (edit_name, -1, NULL); in test_attributes() 441 g_assert_true (utf8_valid); in test_attributes() 450 utf8_valid = g_utf8_validate (copy_name, -1, NULL); in test_attributes() 451 g_assert_true (utf8_valid); in test_attributes()
|
/dports/devel/py-kitchen/kitchen-1.2.6/kitchen2/kitchen/text/ |
H A D | utf8.py | 63 def utf8_valid(msg): function
|
/dports/devel/py-kitchen/kitchen-1.2.6/kitchen3/kitchen/text/ |
H A D | utf8.py | 63 def utf8_valid(msg): function
|