Home
last modified time | relevance | path

Searched refs:codepoint (Results 1 – 25 of 34) sorted by relevance

12

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dcasefold.c222 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 Ddict_utf8_test.ref11 ./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 DUCS@SIP%JISX0213-1.src19 ## [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 DJISX0213-1%UCS@SIP.src22 ## [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 DUCS@SIP%JISX0213-2.src19 ## [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 DJISX0213-2%UCS@SIP.src22 ## [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 DJISX0213-1%UCS@BMP.src22 ## [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 DUCS@BMP%JISX0213-1.src19 ## [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 DUCS@BMP%JISX0213-2.src19 ## [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 DJISX0213-2%UCS@BMP.src22 ## [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 Dmakeucnid.c137 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 Dmakeucnid.cc139 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 Dtls_dane.c857 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 Dunicode.c72 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 Dcodecvt.cc426 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 Dcodecvt.cc432 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 DYAMLParser.cpp210 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 Dlutf8lib.c130 static int codepoint (lua_State *L) { in codepoint() function
279 {"codepoint", codepoint},
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/
H A Dpackage.d121 $(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 DUCS%ATARIST.src58 # - Fix the correct codepoint 0x00B3 instead of 0x22B3 for SUPERSCRIPT THREE,
H A DATARIST%UCS.src58 # - Fix the correct codepoint 0x00B3 instead of 0x22B3 for SUPERSCRIPT THREE,
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/
H A Dpackage.d112 $(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 Dstop.spell-cc195 codepoint
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddinterpret.c6829 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 Dthompson.d1048 match thread against codepoint, cutting trough all 0-width instructions

12