| /src/external/ibm-public/postfix/dist/src/util/ |
| casefold.c | 174 *err = "malformed UTF-8 or invalid codepoint"; 222 static void encode_utf8(VSTRING *buffer, int codepoint) 227 if (codepoint < 0x80) { 228 VSTRING_ADDCH(buffer, codepoint); 229 } else if (codepoint < 0x800) { 230 VSTRING_ADDCH(buffer, 0xc0 | (codepoint >> 6)); 231 VSTRING_ADDCH(buffer, 0x80 | (codepoint & 0x3f)); 232 } else if (codepoint < 0x10000) { 233 VSTRING_ADDCH(buffer, 0xe0 | (codepoint >> 12)); 234 VSTRING_ADDCH(buffer, 0x80 | ((codepoint >> 6) & 0x3f)) 262 int codepoint, first, last; local [all...] |
| /src/external/gpl3/gcc/dist/libcpp/ |
| makeuname2c.cc | 29 either of them ored with 0x40 if it has a codepoint 33 byte 3 LSB of codepoint (only if it has a codepoint) 34 byte 4 middle byte of codepoint (ditto) 35 byte 5 MSB of codepoint (ditto), ored with 0x80 if node has children 37 if it doesn't have a codepoint, the above 3 bytes are omitted 41 byte 9 0xff (only if node doesn't have a codepoint and doesn't 45 representing end of the prefix codepoint is 0xd800 + index into 68 struct entry { const char *name; unsigned long codepoint; }; member in struct:entry 106 unsigned long codepoint; member in struct:node 195 unsigned long codepoint; local [all...] |
| makeucnid.cc | 139 unsigned long codepoint, this_decomp[4]; local 146 codepoint = strtoul (line, &l, 16); 149 if (codepoint > MAX_CODE_POINT) 163 combining_value[codepoint] = strtoul (l, &l, 10); 173 decomp_useful = flags[codepoint]; 190 all_decomp[codepoint][j] = this_decomp[j]; 191 if ((flags[codepoint] & all_languages) && decomp_useful) 193 decomp[codepoint][i] = this_decomp[i];
|
| charset.cc | 1028 alias, to a Unicode codepoint, or return (cppchar_t) -1 if 1044 cppchar_t codepoint = -1; 1062 codepoint = *n + (n[1] << 8) + ((n[2] & 0x1f) << 16); 1152 else if (codepoint >= 0xd800 1153 && codepoint < 0xd800 + ARRAY_SIZE (uname2c_generated)) 1157 if (codepoint == 0xd800) 1203 /* NR2 - prefix followed by hexadecimal codepoint. */ 1209 p = uname2c_pairs + uname2c_generated[codepoint - 0xd800]; 1210 codepoint = 0; 1213 codepoint <<= 4 1042 cppchar_t codepoint = -1; local [all...] |
| /src/external/mit/libcbor/dist/src/cbor/internal/ |
| unicode.c | 72 uint32_t codepoint, state = UTF8_ACCEPT, res; local 76 res = _cbor_unicode_decode(&state, &codepoint, source[pos]); 85 /* Unfinished multibyte codepoint */
|
| /src/external/gpl3/gcc.old/dist/libcpp/ |
| makeucnid.cc | 139 unsigned long codepoint, this_decomp[4]; local 146 codepoint = strtoul (line, &l, 16); 149 if (codepoint > MAX_CODE_POINT) 163 combining_value[codepoint] = strtoul (l, &l, 10); 173 decomp_useful = flags[codepoint]; 190 all_decomp[codepoint][j] = this_decomp[j]; 191 if ((flags[codepoint] & all_languages) && decomp_useful) 193 decomp[codepoint][i] = this_decomp[i];
|
| /src/external/ibm-public/postfix/dist/src/tls/ |
| tls_dane.c | 254 * A NULL alg field disables the algorithm at the codepoint passed to the 883 int codepoint = -1; local 906 codepoint = l; 908 /* Disable any codepoint gaps */ 909 if (codepoint > maxtype) { 910 while (++maxtype < codepoint) 911 mtypes[codepoint].alg = NULL; 912 maxtype = codepoint; 917 if (codepoint < 0) 919 mtypes[codepoint].alg = NULL [all...] |
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
| codecvt.cc | 247 // Read a codepoint from a UTF-8 multibyte sequence. 248 // Updates from.next if the codepoint is not greater than maxcode. 398 // Read a codepoint from a UTF-16 multibyte sequence. 400 // Updates from.next if the codepoint is not greater than maxcode. 434 write_utf16_code_point(range<C, A>& to, char32_t codepoint, codecvt_mode mode) 438 if (codepoint <= max_single_utf16_unit) 442 to = adjust_byte_order(codepoint, mode); 450 char16_t lead = LEAD_OFFSET + (codepoint >> 10); 451 char16_t trail = 0xDC00 + (codepoint & 0x3FF); 468 const char32_t codepoint = read_utf8_code_point(from, maxcode) local 508 const char32_t codepoint = read_utf16_code_point(from, maxcode, mode); local 552 const char32_t codepoint = read_utf8_code_point(from, maxcode); local [all...] |
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
| codecvt.cc | 247 // Read a codepoint from a UTF-8 multibyte sequence. 248 // Updates from.next if the codepoint is not greater than maxcode. 396 // Read a codepoint from a UTF-16 multibyte sequence. 398 // Updates from.next if the codepoint is not greater than maxcode. 432 write_utf16_code_point(range<C, A>& to, char32_t codepoint, codecvt_mode mode) 436 if (codepoint <= max_single_utf16_unit) 440 to = adjust_byte_order(codepoint, mode); 448 char16_t lead = LEAD_OFFSET + (codepoint >> 10); 449 char16_t trail = 0xDC00 + (codepoint & 0x3FF); 466 const char32_t codepoint = read_utf8_code_point(from, maxcode) local 504 const char32_t codepoint = read_utf16_code_point(from, maxcode, mode); local 546 const char32_t codepoint = read_utf8_code_point(from, maxcode); local [all...] |
| /src/external/mit/lua/dist/src/ |
| lutf8lib.c | 127 ** codepoint(s, [i, [j [, lax]]]) -> returns codepoints for all 130 static int codepoint (lua_State *L) { function 279 {"codepoint", codepoint},
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| YAMLParser.cpp | 210 uint32_t codepoint = ((*Position & 0x1F) << 6) | local 212 if (codepoint >= 0x80) 213 return std::make_pair(codepoint, 2); 220 uint32_t codepoint = ((*Position & 0x0F) << 12) | local 225 if (codepoint >= 0x800 && 226 (codepoint < 0xD800 || codepoint > 0xDFFF)) 227 return std::make_pair(codepoint, 3); 235 uint32_t codepoint = ((*Position & 0x07) << 18) | local 239 if (codepoint >= 0x10000 && codepoint <= 0x10FFFF [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/ |
| 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.)
|
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| dinterpret.d | 7210 dchar codepoint; 7214 codepoint = utf8buf[k]; 7217 codepoint = utf16buf[k]; 7220 codepoint = rawvalue; 7225 val = ctfeEmplaceExp!IntegerExp(str.loc, codepoint, charType);
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| conv.d | 2069 immutable dchar codepoint = parse!dchar(value); 2075 if (encode(decodedCodepoint, codepoint) != 1) 2077 "single %s code unit", codepoint, value, T.stringof));
|
| string.d | 479 formed codepoint, then a $(REF UTFException, std,utf) may be thrown. 923 formed codepoint, then a $(REF UTFException, std,utf) may be thrown. 1173 formed codepoint, then a $(REF UTFException, std,utf) may be thrown. 1362 formed codepoint, then a $(REF UTFException, std,utf) may be thrown. 1755 does not represent a well formed codepoint, then a $(REF UTFException, std,utf) 1922 represent a well formed codepoint, then a $(REF UTFException, std,utf) may be
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/ |
| thompson.d | 494 {//last codepoint 1076 match thread against codepoint, cutting trough all 0-width instructions
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/uni/ |
| package.d | 105 For definitions of Unicode $(CHARACTER), $(CODEPOINT) and other terms 699 CODEPOINT = $(S_LINK Code point, code point) 744 public enum dchar lineSep = '\u2028'; /// Constant $(CODEPOINT) (0x2028) - line separator. 745 public enum dchar paraSep = '\u2029'; /// Constant $(CODEPOINT) (0x2029) - paragraph separator. 746 public enum dchar nelSep = '\u0085'; /// Constant $(CODEPOINT) (0x0085) - next line. 2044 or the exact type of a current $(CODEPOINT) set in `std.uni`. 2160 Get range that spans all of the $(CODEPOINT) intervals in this $(LREF InversionList). 2339 Tests the presence of codepoint `ch` in this set, 2368 A range that spans each $(CODEPOINT) in this set. 2718 The function generated tests if the $(CODEPOINT) passe [all...] |