Home
last modified time | relevance | path

Searched refs:utf8_str (Results 1 – 25 of 1238) sorted by relevance

12345678910>>...50

/dports/net-im/uTox/uTox/third-party/minini/dev/
H A DwxMinIni.h32 …{ return ini_getbool(Section.utf8_str(), Key.utf8_str(), int(DefValue), iniFilename.utf8_str()) !=…
35 { return ini_getl(Section.utf8_str(), Key.utf8_str(), DefValue, iniFilename.utf8_str()); }
43 …ini_gets(Section.utf8_str(), Key.utf8_str(), DefValue.utf8_str(), buffer, INI_BUFFERSIZE, iniFilen…
66 { return ini_getf(Section.utf8_str(), Key.utf8_str(), DefValue, iniFilename.utf8_str()); }
71 { return ini_putl(Section.utf8_str(), Key.utf8_str(), Value, iniFilename.utf8_str()) != 0; } in put()
74 … { return ini_putl(Section.utf8_str(), Key.utf8_str(), (long)Value, iniFilename.utf8_str()) != 0; } in put()
77 … { return ini_putl(Section.utf8_str(), Key.utf8_str(), (long)Value, iniFilename.utf8_str()) != 0; } in put()
80 …{ return ini_puts(Section.utf8_str(), Key.utf8_str(), Value.utf8_str(), iniFilename.utf8_str()) !=… in put()
83 { return ini_puts(Section.utf8_str(), Key.utf8_str(), Value, iniFilename.utf8_str()) != 0; } in put()
87 { return ini_putf(Section.utf8_str(), Key.utf8_str(), Value, iniFilename.utf8_str()) != 0; } in put()
[all …]
/dports/editors/abiword/abiword-3.0.5/plugins/command/xp/
H A DAbiCommand.cpp478 if( pCom0->utf8_str() ) in parseTokens()
479 cmd = pCom0->utf8_str(); in parseTokens()
1197 pCom1->utf8_str ()); in parseTokens()
1261 bool success = APConvert.convertTo (src.utf8_str (), IEFT_Unknown, dest.utf8_str (), in parseTokens()
1329 bool res = pUnixApp->makePngPreview (src.utf8_str (), destPNG.utf8_str (), iWidth, iHeight); in parseTokens()
1448 pCom0->utf8_str (), calldata.utf8_str ()); in parseTokens()
1450 (pCom0->utf8_str (), calldata.utf8_str ())) in parseTokens()
1588 else if (*(pTarget->utf8_str ()) == '+' in movePoint()
1589 || *(pTarget->utf8_str ()) == '-') in movePoint()
1592 amt = atoi (pTarget->utf8_str ()); in movePoint()
[all …]
/dports/www/R-cran-httpuv/httpuv/tests/testthat/
H A Dtest-utils.R7 utf8_str <- "abc \ue5 \u4e2d" globalVar
12 expect_true(Encoding(utf8_str) == "UTF-8")
29 expect_identical(decodeURI(utf8_str), utf8_str)
30 expect_identical(decodeURIComponent(utf8_str), utf8_str)
38 encodeURI(c(reserved_str, utf8_str)),
42 encodeURIComponent(c(reserved_str, utf8_str)),
47 c(reserved_str_encoded, utf8_str)
51 c(reserved_str, utf8_str)
65 utf8_str <- "\ue5" globalVar
66 latin1_str <- iconv(utf8_str, "UTF-8", "latin1")
[all …]
/dports/sysutils/smenu/smenu-0.9.18/
H A Dutf8.c55 if (utf8_str) in cptoutf8()
62 utf8_str[0] = c | first; in cptoutf8()
112 n = sscanf(utf8_str + 2, in utf8_interpret()
131 *(utf8_str + 1) = 'u'; in utf8_interpret()
133 memmove(utf8_str + len, utf8_str + 8, utf8_to_eos_len - 8); in utf8_interpret()
145 *utf8_str = substitute; in utf8_interpret()
146 memmove(utf8_str + 1, utf8_str + 2 + utf8_str_len, in utf8_interpret()
165 *(utf8_str + 1) = '\0'; in utf8_interpret()
184 *utf8_str = substitute; in utf8_interpret()
186 *(utf8_str + 1) = '\0'; in utf8_interpret()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/IO/ImageBase/test/
H A DitkUnicodeIOTest.cxx41 std::string utf8_str; in checkAlphaExists()
42 utf8_str.append(1, (char)(0xCE)); in checkAlphaExists()
43 utf8_str.append(1, (char)(0xB1)); in checkAlphaExists()
44 utf8_str += ".txt"; in checkAlphaExists()
67 std::string utf8_str; in removeAlpha()
68 utf8_str.append(1,(char)(0xCE)); in removeAlpha()
69 utf8_str.append(1,(char)(0xB1)); in removeAlpha()
70 utf8_str += ".txt"; in removeAlpha()
86 std::string utf8_str; in main() local
87 utf8_str.append(1, (char)(0xCE)); in main()
[all …]
/dports/misc/vifm/vifm-0.11/tests/utils/
H A Dutf8.c20 const char utf8_str[] = "师вгд"; in TEST() local
21 const size_t expected_len = strlen(utf8_str); in TEST()
22 const size_t calculated_len = utf8_strsnlen(utf8_str, 5); in TEST()
28 const char utf8_str[] = "ab\tcd"; in TEST() local
29 assert_int_equal(5, utf8_strsw_with_tabs(utf8_str, 1)); in TEST()
30 assert_int_equal(6, utf8_strsw_with_tabs(utf8_str, 2)); in TEST()
31 assert_int_equal(5, utf8_strsw_with_tabs(utf8_str, 3)); in TEST()
32 assert_int_equal(10, utf8_strsw_with_tabs(utf8_str, 8)); in TEST()
38 const char utf8_str[] = "师螺" ENDING; in TEST() local
42 const size_t calculated_len = utf8_strsnlen(utf8_str, 5); in TEST()
[all …]
/dports/graphics/cegui/cegui-0.8.7/cegui/src/
H A DString.cpp167 return (str.compare(utf8_str) == 0); in operator ==()
172 return (str.compare(utf8_str) == 0); in operator ==()
193 return (str.compare(utf8_str) != 0); in operator !=()
198 return (str.compare(utf8_str) != 0); in operator !=()
219 return (str.compare(utf8_str) < 0); in operator <()
224 return (str.compare(utf8_str) >= 0); in operator <()
245 return (str.compare(utf8_str) > 0); in operator >()
250 return (str.compare(utf8_str) <= 0); in operator >()
271 return (str.compare(utf8_str) <= 0); in operator <=()
395 temp.append(utf8_str); in operator +()
[all …]
/dports/editors/abiword/abiword-3.0.5/src/wp/impexp/xp/
H A Die_exp_HTML_DocumentWriter.cpp133 _handleStyleAndId(NULL, NULL, style.utf8_str()); in openTable()
157 _handleStyleAndId(NULL, NULL, style.utf8_str()); in openCell()
212 m_iEndnoteCount + 1).utf8_str()); in openField()
221 m_iEndnoteCount + 1).utf8_str()); in openField()
223 m_iFootnoteCount + 1).utf8_str()); in openField()
229 m_pTagWriter->writeData(value.utf8_str()); in openField()
242 m_iAnnotationCount + 1).utf8_str()); in openAnnotation()
343 m_pTagWriter->writeData(text.utf8_str()); in insertText()
351 _handleStyleAndId(NULL, NULL, style.utf8_str()); in insertImage()
450 i + 1).utf8_str()); in insertAnnotations()
[all …]
/dports/x11-toolkits/tepl6/tepl-6.00.0/testsuite/
H A Dtest-icu.c8 check_str_from_and_to_utf8_raw (const gchar *utf8_str, in check_str_from_and_to_utf8_raw() argument
29 g_assert_cmpstr (utf8_str, ==, utf8_str_after_round_trip); in check_str_from_and_to_utf8_raw()
36 check_str_from_and_to_utf8_simple (const gchar *utf8_str, in check_str_from_and_to_utf8_simple() argument
42 uchars = _tepl_icu_strFromUTF8Simple (utf8_str); in check_str_from_and_to_utf8_simple()
54 g_assert_cmpstr (utf8_str, ==, utf8_str_after_round_trip); in check_str_from_and_to_utf8_simple()
61 check_str_from_and_to_utf8 (const gchar *utf8_str, in check_str_from_and_to_utf8() argument
64 check_str_from_and_to_utf8_raw (utf8_str, expect_success); in check_str_from_and_to_utf8()
85 gchar *utf8_str; in test_strdup() local
89 utf8_str = _tepl_icu_strToUTF8Simple (uchars_copy); in test_strdup()
90 g_assert_cmpstr (utf8_str, ==, "Évo"); in test_strdup()
[all …]
/dports/x11-toolkits/tepl/tepl-5.1.1/testsuite/
H A Dtest-icu.c8 check_str_from_and_to_utf8_raw (const gchar *utf8_str, in check_str_from_and_to_utf8_raw() argument
29 g_assert_cmpstr (utf8_str, ==, utf8_str_after_round_trip); in check_str_from_and_to_utf8_raw()
36 check_str_from_and_to_utf8_simple (const gchar *utf8_str, in check_str_from_and_to_utf8_simple() argument
42 uchars = _tepl_icu_strFromUTF8Simple (utf8_str); in check_str_from_and_to_utf8_simple()
54 g_assert_cmpstr (utf8_str, ==, utf8_str_after_round_trip); in check_str_from_and_to_utf8_simple()
61 check_str_from_and_to_utf8 (const gchar *utf8_str, in check_str_from_and_to_utf8() argument
64 check_str_from_and_to_utf8_raw (utf8_str, expect_success); in check_str_from_and_to_utf8()
85 gchar *utf8_str; in test_strdup() local
89 utf8_str = _tepl_icu_strToUTF8Simple (uchars_copy); in test_strdup()
90 g_assert_cmpstr (utf8_str, ==, "Évo"); in test_strdup()
[all …]
/dports/graphics/tesseract/tesseract-5.0.0/src/ccutil/
H A Dunichar.cpp31 UNICHAR::UNICHAR(const char *utf8_str, int len) { in UNICHAR() argument
40 step = utf8_step(utf8_str + total_len); in UNICHAR()
57 memcpy(chars, utf8_str, total_len); in UNICHAR()
134 char *UNICHAR::utf8_str() const { in utf8_str() function in tesseract::UNICHAR
143 int UNICHAR::utf8_step(const char *utf8_str) { in utf8_step() argument
210 return UNICHAR::const_iterator(utf8_str); in begin()
214 return UNICHAR::const_iterator(utf8_str + len); in end()
221 const int utf8_length = strlen(utf8_str); in UTF8ToUTF32()
238 std::string utf8_str; in UTF32ToUTF8() local
243 utf8_str.append(uni_ch.utf8(), step); in UTF32ToUTF8()
[all …]
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl2/
H A Dgui_string.h52 typedef struct utf8_str { struct
61 } utf8_str; argument
63 utf8_str *create_utf8_str(char *in_text, size_t n_alloc, Uint16 ptsize);
64 utf8_str *copy_chars_to_utf8_str(utf8_str *pstr, const char *pchars);
65 bool convert_utf8_str_to_const_surface_width(utf8_str *pstr,
68 utf8_str *pstr);
69 SDL_Surface *create_text_surf_from_utf8(utf8_str *pstr);
70 SDL_Surface *create_text_surf_smaller_than_w(utf8_str *pstr, int w);
71 void utf8_str_size(utf8_str *pstr, SDL_Rect *fill);
72 void change_ptsize_utf8(utf8_str *pstr, Uint16 new_ptsize);
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl2/
H A Dgui_string.h52 typedef struct utf8_str { struct
61 } utf8_str; argument
63 utf8_str *create_utf8_str(char *in_text, size_t n_alloc, Uint16 ptsize);
64 utf8_str *copy_chars_to_utf8_str(utf8_str *pstr, const char *pchars);
65 bool convert_utf8_str_to_const_surface_width(utf8_str *pstr,
68 utf8_str *pstr);
69 SDL_Surface *create_text_surf_from_utf8(utf8_str *pstr);
70 SDL_Surface *create_text_surf_smaller_than_w(utf8_str *pstr, int w);
71 void utf8_str_size(utf8_str *pstr, SDL_Rect *fill);
72 void change_ptsize_utf8(utf8_str *pstr, Uint16 new_ptsize);
/dports/devel/brz/breezy-3.2.0/breezy/
H A Dcache_utf8.py63 _uni_to_utf8[unicode_str] = utf8_str = _utf8_encode(unicode_str)[0]
64 _utf8_to_uni[utf8_str] = unicode_str
65 return utf8_str
68 def decode(utf8_str, argument
74 return _utf8_to_uni[utf8_str]
76 unicode_str = _utf8_decode(utf8_str)[0]
77 _utf8_to_uni[utf8_str] = unicode_str
78 _uni_to_utf8[unicode_str] = utf8_str
94 def get_cached_utf8(utf8_str): argument
101 return encode(decode(utf8_str))
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql96-server/postgresql-9.6.24/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql10-plperl/postgresql-10.19/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql10-docs/postgresql-10.19/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql11-client/postgresql-11.14/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql10-client/postgresql-10.19/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql10-contrib/postgresql-10.19/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()
/dports/databases/postgresql10-plpython/postgresql-10.19/src/pl/plperl/
H A Dplperl_helpers.h12 utf_u2e(char *utf8_str, size_t len) in utf_u2e() argument
16 ret = pg_any_to_server(utf8_str, len, PG_UTF8); in utf_u2e()
19 if (ret == utf8_str) in utf_u2e()
113 char *utf8_str; in cstr2sv() local
119 utf8_str = utf_e2u(str); in cstr2sv()
121 sv = newSVpv(utf8_str, 0); in cstr2sv()
123 pfree(utf8_str); in cstr2sv()
154 char *utf8_str = utf_e2u(str); in croak_cstr() local
157 ssv = mess("%s", utf8_str); in croak_cstr()
160 pfree(utf8_str); in croak_cstr()

12345678910>>...50