/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | casefold.c | 222 static void encode_utf8(VSTRING *buffer, int codepoint) in encode_utf8() argument 227 if (codepoint < 0x80) { in encode_utf8() 228 VSTRING_ADDCH(buffer, codepoint); in encode_utf8() 229 } else if (codepoint < 0x800) { in encode_utf8() 230 VSTRING_ADDCH(buffer, 0xc0 | (codepoint >> 6)); in encode_utf8() 231 VSTRING_ADDCH(buffer, 0x80 | (codepoint & 0x3f)); in encode_utf8() 232 } else if (codepoint < 0x10000) { in encode_utf8() 233 VSTRING_ADDCH(buffer, 0xe0 | (codepoint >> 12)); in encode_utf8() 234 VSTRING_ADDCH(buffer, 0x80 | ((codepoint >> 6) & 0x3f)); in encode_utf8() 235 VSTRING_ADDCH(buffer, 0x80 | (codepoint & 0x3f)); in encode_utf8() [all …]
|
H A D | dict_utf8_test.ref | 11 ./dict_open: warning: internal:whatever: non-UTF-8 key "???": malformed UTF-8 or invalid codepoint 13 ./dict_open: warning: internal:whatever: non-UTF-8 key "???": malformed UTF-8 or invalid codepoint 16 … warning: internal:whatever: key "xxx": non-UTF-8 value "???": malformed UTF-8 or invalid codepoint
|
/netbsd-src/share/i18n/csmapper/JIS/ |
H A D | UCS@SIP%JISX0213-1.src | 19 ## [1983] JIS codepoint defined by JIS X 0208-1983 20 ## [1990] JIS codepoint defined by JIS X 0208-1990 21 ## [2000] JIS codepoint defined by JIS X 0213:2000 22 ## [2004] JIS codepoint defined by JIS X 0213:2004 23 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1 24 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
|
H A D | JISX0213-1%UCS@SIP.src | 22 ## [1983] JIS codepoint defined by JIS X 0208-1983 23 ## [1990] JIS codepoint defined by JIS X 0208-1990 24 ## [2000] JIS codepoint defined by JIS X 0213:2000 25 ## [2004] JIS codepoint defined by JIS X 0213:2004 26 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1 27 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
|
H A D | UCS@SIP%JISX0213-2.src | 19 ## [1983] JIS codepoint defined by JIS X 0208-1983 20 ## [1990] JIS codepoint defined by JIS X 0208-1990 21 ## [2000] JIS codepoint defined by JIS X 0213:2000 22 ## [2004] JIS codepoint defined by JIS X 0213:2004 23 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1 24 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
|
H A D | JISX0213-2%UCS@SIP.src | 22 ## [1983] JIS codepoint defined by JIS X 0208-1983 23 ## [1990] JIS codepoint defined by JIS X 0208-1990 24 ## [2000] JIS codepoint defined by JIS X 0213:2000 25 ## [2004] JIS codepoint defined by JIS X 0213:2004 26 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1 27 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
|
H A D | JISX0213-1%UCS@BMP.src | 22 ## [1983] JIS codepoint defined by JIS X 0208-1983 23 ## [1990] JIS codepoint defined by JIS X 0208-1990 24 ## [2000] JIS codepoint defined by JIS X 0213:2000 25 ## [2004] JIS codepoint defined by JIS X 0213:2004 26 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1 27 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
|
H A D | UCS@BMP%JISX0213-1.src | 19 ## [1983] JIS codepoint defined by JIS X 0208-1983 20 ## [1990] JIS codepoint defined by JIS X 0208-1990 21 ## [2000] JIS codepoint defined by JIS X 0213:2000 22 ## [2004] JIS codepoint defined by JIS X 0213:2004 23 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1 24 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
|
H A D | UCS@BMP%JISX0213-2.src | 19 ## [1983] JIS codepoint defined by JIS X 0208-1983 20 ## [1990] JIS codepoint defined by JIS X 0208-1990 21 ## [2000] JIS codepoint defined by JIS X 0213:2000 22 ## [2004] JIS codepoint defined by JIS X 0213:2004 23 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1 24 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
|
H A D | JISX0213-2%UCS@BMP.src | 22 ## [1983] JIS codepoint defined by JIS X 0208-1983 23 ## [1990] JIS codepoint defined by JIS X 0208-1990 24 ## [2000] JIS codepoint defined by JIS X 0213:2000 25 ## [2004] JIS codepoint defined by JIS X 0213:2004 26 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1 27 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
|
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/ |
H A D | makeucnid.c | 137 unsigned long codepoint, this_decomp[4]; in read_table() local 144 codepoint = strtoul (line, &l, 16); in read_table() 147 if (codepoint > MAX_CODE_POINT) in read_table() 161 combining_value[codepoint] = strtoul (l, &l, 10); in read_table() 171 decomp_useful = flags[codepoint]; in read_table() 188 all_decomp[codepoint][j] = this_decomp[j]; in read_table() 189 if ((flags[codepoint] & all_languages) && decomp_useful) in read_table() 191 decomp[codepoint][i] = this_decomp[i]; in read_table()
|
/netbsd-src/external/gpl3/gcc/dist/libcpp/ |
H A D | makeucnid.cc | 139 unsigned long codepoint, this_decomp[4]; in read_table() local 146 codepoint = strtoul (line, &l, 16); in read_table() 149 if (codepoint > MAX_CODE_POINT) in read_table() 163 combining_value[codepoint] = strtoul (l, &l, 10); in read_table() 173 decomp_useful = flags[codepoint]; in read_table() 190 all_decomp[codepoint][j] = this_decomp[j]; in read_table() 191 if ((flags[codepoint] & all_languages) && decomp_useful) in read_table() 193 decomp[codepoint][i] = this_decomp[i]; in read_table()
|
/netbsd-src/external/ibm-public/postfix/dist/src/tls/ |
H A D | tls_dane.c | 857 int codepoint = -1; in tls_dane_digest_init() local 880 codepoint = l; in tls_dane_digest_init() 883 if (codepoint > maxtype) { in tls_dane_digest_init() 884 while (++maxtype < codepoint) in tls_dane_digest_init() 885 mtypes[codepoint].alg = NULL; in tls_dane_digest_init() 886 maxtype = codepoint; in tls_dane_digest_init() 891 if (codepoint < 0) in tls_dane_digest_init() 893 mtypes[codepoint].alg = NULL; in tls_dane_digest_init() 896 switch (codepoint) { in tls_dane_digest_init() 899 codepoint = 1; /* SHA2-256(1) */ in tls_dane_digest_init() [all …]
|
/netbsd-src/external/mit/libcbor/dist/src/cbor/internal/ |
H A D | unicode.c | 72 uint32_t codepoint, state = UTF8_ACCEPT, res; in _cbor_unicode_codepoint_count() local 76 res = _cbor_unicode_decode(&state, &codepoint, source[pos]); in _cbor_unicode_codepoint_count()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
H A D | codecvt.cc | 426 write_utf16_code_point(range<C, A>& to, char32_t codepoint, codecvt_mode mode) in write_utf16_code_point() argument 430 if (codepoint <= max_single_utf16_unit) in write_utf16_code_point() 434 to = adjust_byte_order(codepoint, mode); in write_utf16_code_point() 442 char16_t lead = LEAD_OFFSET + (codepoint >> 10); in write_utf16_code_point() 443 char16_t trail = 0xDC00 + (codepoint & 0x3FF); in write_utf16_code_point() 460 const char32_t codepoint = read_utf8_code_point(from, maxcode); local 461 if (codepoint == incomplete_mb_character) 463 if (codepoint > maxcode) 465 to = codepoint; 498 const char32_t codepoint = read_utf16_code_point(from, maxcode, mode); local [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
H A D | codecvt.cc | 432 write_utf16_code_point(range<C, A>& to, char32_t codepoint, codecvt_mode mode) in write_utf16_code_point() argument 436 if (codepoint <= max_single_utf16_unit) in write_utf16_code_point() 440 to = adjust_byte_order(codepoint, mode); in write_utf16_code_point() 448 char16_t lead = LEAD_OFFSET + (codepoint >> 10); in write_utf16_code_point() 449 char16_t trail = 0xDC00 + (codepoint & 0x3FF); in write_utf16_code_point() 466 const char32_t codepoint = read_utf8_code_point(from, maxcode); local 467 if (codepoint == incomplete_mb_character) [[unlikely]] 469 if (codepoint > maxcode) [[unlikely]] 471 to = codepoint; 504 const char32_t codepoint = read_utf16_code_point(from, maxcode, mode); local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | YAMLParser.cpp | 210 uint32_t codepoint = ((*Position & 0x1F) << 6) | in decodeUTF8() local 212 if (codepoint >= 0x80) in decodeUTF8() 213 return std::make_pair(codepoint, 2); in decodeUTF8() 220 uint32_t codepoint = ((*Position & 0x0F) << 12) | in decodeUTF8() local 225 if (codepoint >= 0x800 && in decodeUTF8() 226 (codepoint < 0xD800 || codepoint > 0xDFFF)) in decodeUTF8() 227 return std::make_pair(codepoint, 3); in decodeUTF8() 235 uint32_t codepoint = ((*Position & 0x07) << 18) | in decodeUTF8() local 239 if (codepoint >= 0x10000 && codepoint <= 0x10FFFF) in decodeUTF8() 240 return std::make_pair(codepoint, 4); in decodeUTF8()
|
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lutf8lib.c | 130 static int codepoint (lua_State *L) { in codepoint() function 279 {"codepoint", codepoint},
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/ |
H A D | package.d | 121 $(I std.regex operates on codepoint level, 122 'character' in this table denotes a single Unicode codepoint.) 258 $(LI 1.7 Operating on codepoint level.)
|
/netbsd-src/share/i18n/csmapper/MISC/ |
H A D | UCS%ATARIST.src | 58 # - Fix the correct codepoint 0x00B3 instead of 0x22B3 for SUPERSCRIPT THREE,
|
H A D | ATARIST%UCS.src | 58 # - Fix the correct codepoint 0x00B3 instead of 0x22B3 for SUPERSCRIPT THREE,
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/ |
H A D | package.d | 112 $(I std.regex operates on codepoint level, 113 'character' in this table denotes a single Unicode codepoint.) 244 $(LI 1.7 Operating on codepoint level.)
|
/netbsd-src/external/ibm-public/postfix/dist/proto/ |
H A D | stop.spell-cc | 195 codepoint
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | dinterpret.c | 6829 dchar_t codepoint; in foreachApplyUtf() local 6833 codepoint = utf8buf[k]; in foreachApplyUtf() 6836 codepoint = utf16buf[k]; in foreachApplyUtf() 6839 codepoint = rawvalue; in foreachApplyUtf() 6844 val = new IntegerExp(str->loc, codepoint, charType); in foreachApplyUtf()
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/ |
H A D | thompson.d | 1048 match thread against codepoint, cutting trough all 0-width instructions
|