Home
last modified time | relevance | path

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

/trueos/contrib/jansson/src/
HDutf.c11 int utf8_encode(int32_t codepoint, char *buffer, size_t *size) in utf8_encode() argument
13 if(codepoint < 0) in utf8_encode()
15 else if(codepoint < 0x80) in utf8_encode()
17 buffer[0] = (char)codepoint; in utf8_encode()
20 else if(codepoint < 0x800) in utf8_encode()
22 buffer[0] = 0xC0 + ((codepoint & 0x7C0) >> 6); in utf8_encode()
23 buffer[1] = 0x80 + ((codepoint & 0x03F)); in utf8_encode()
26 else if(codepoint < 0x10000) in utf8_encode()
28 buffer[0] = 0xE0 + ((codepoint & 0xF000) >> 12); in utf8_encode()
29 buffer[1] = 0x80 + ((codepoint & 0x0FC0) >> 6); in utf8_encode()
[all …]
HDdump.c74 int32_t codepoint; in dump_string() local
89 end = utf8_iterate(pos, lim - pos, &codepoint); in dump_string()
94 if(codepoint == '\\' || codepoint == '"' || codepoint < 0x20) in dump_string()
98 if((flags & JSON_ESCAPE_SLASH) && codepoint == '/') in dump_string()
102 if((flags & JSON_ENSURE_ASCII) && codepoint > 0x7F) in dump_string()
118 switch(codepoint) in dump_string()
131 if(codepoint < 0x10000) in dump_string()
133 sprintf(seq, "\\u%04X", codepoint); in dump_string()
142 codepoint -= 0x10000; in dump_string()
143 first = 0xD800 | ((codepoint & 0xffc00) >> 10); in dump_string()
[all …]
HDutf.h19 int utf8_encode(int32_t codepoint, char *buffer, size_t *size);
22 size_t utf8_check_full(const char *buffer, size_t size, int32_t *codepoint);
23 const char *utf8_iterate(const char *buffer, size_t size, int32_t *codepoint);
/trueos/contrib/gcclibs/libcpp/
HDmakeucnid.c122 unsigned long codepoint, this_decomp[4]; in read_table() local
129 codepoint = strtoul (line, &l, 16); in read_table()
132 if (codepoint > 0xffff || ! (flags[codepoint] & (C99 | CXX))) in read_table()
141 flags[codepoint] |= digit; in read_table()
150 combining_value[codepoint] = strtoul (l, &l, 10); in read_table()
160 decomp_useful = flags[codepoint]; in read_table()
178 decomp[codepoint][i] = this_decomp[i]; in read_table()
/trueos/share/i18n/csmapper/JIS/
DUCS@SIP%JISX0213-1.src20 ## [1983] JIS codepoint defined by JIS X 0208-1983
21 ## [1990] JIS codepoint defined by JIS X 0208-1990
22 ## [2000] JIS codepoint defined by JIS X 0213:2000
23 ## [2004] JIS codepoint defined by JIS X 0213:2004
24 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1
25 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
DJISX0213-1%UCS@SIP.src23 ## [1983] JIS codepoint defined by JIS X 0208-1983
24 ## [1990] JIS codepoint defined by JIS X 0208-1990
25 ## [2000] JIS codepoint defined by JIS X 0213:2000
26 ## [2004] JIS codepoint defined by JIS X 0213:2004
27 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1
28 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
DJISX0213-2%UCS@SIP.src23 ## [1983] JIS codepoint defined by JIS X 0208-1983
24 ## [1990] JIS codepoint defined by JIS X 0208-1990
25 ## [2000] JIS codepoint defined by JIS X 0213:2000
26 ## [2004] JIS codepoint defined by JIS X 0213:2004
27 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1
28 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
DUCS@SIP%JISX0213-2.src20 ## [1983] JIS codepoint defined by JIS X 0208-1983
21 ## [1990] JIS codepoint defined by JIS X 0208-1990
22 ## [2000] JIS codepoint defined by JIS X 0213:2000
23 ## [2004] JIS codepoint defined by JIS X 0213:2004
24 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1
25 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
DUCS@BMP%JISX0213-1.src20 ## [1983] JIS codepoint defined by JIS X 0208-1983
21 ## [1990] JIS codepoint defined by JIS X 0208-1990
22 ## [2000] JIS codepoint defined by JIS X 0213:2000
23 ## [2004] JIS codepoint defined by JIS X 0213:2004
24 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1
25 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
DJISX0213-1%UCS@BMP.src23 ## [1983] JIS codepoint defined by JIS X 0208-1983
24 ## [1990] JIS codepoint defined by JIS X 0208-1990
25 ## [2000] JIS codepoint defined by JIS X 0213:2000
26 ## [2004] JIS codepoint defined by JIS X 0213:2004
27 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1
28 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
DJISX0213-2%UCS@BMP.src23 ## [1983] JIS codepoint defined by JIS X 0208-1983
24 ## [1990] JIS codepoint defined by JIS X 0208-1990
25 ## [2000] JIS codepoint defined by JIS X 0213:2000
26 ## [2004] JIS codepoint defined by JIS X 0213:2004
27 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1
28 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
DUCS@BMP%JISX0213-2.src20 ## [1983] JIS codepoint defined by JIS X 0208-1983
21 ## [1990] JIS codepoint defined by JIS X 0208-1990
22 ## [2000] JIS codepoint defined by JIS X 0213:2000
23 ## [2004] JIS codepoint defined by JIS X 0213:2004
24 ## [Unicode3.1] UCS codepoint defined by Unicode 3.1
25 ## [Unicode3.2] UCS codepoint defined by Unicode 3.2
/trueos/contrib/llvm/lib/Support/
HDYAMLParser.cpp220 uint32_t codepoint = ((*Position & 0x1F) << 6) | in decodeUTF8() local
222 if (codepoint >= 0x80) in decodeUTF8()
223 return std::make_pair(codepoint, 2); in decodeUTF8()
231 uint32_t codepoint = ((*Position & 0x0F) << 12) | in decodeUTF8() local
236 if (codepoint >= 0x800 && in decodeUTF8()
237 (codepoint < 0xD800 || codepoint > 0xDFFF)) in decodeUTF8()
238 return std::make_pair(codepoint, 3); in decodeUTF8()
247 uint32_t codepoint = ((*Position & 0x07) << 18) | in decodeUTF8() local
251 if (codepoint >= 0x10000 && codepoint <= 0x10FFFF) in decodeUTF8()
252 return std::make_pair(codepoint, 4); in decodeUTF8()
/trueos/share/i18n/csmapper/MISC/
DATARIST%UCS.src59 # - Fix the correct codepoint 0x00B3 instead of 0x22B3 for SUPERSCRIPT THREE,
DUCS%ATARIST.src59 # - Fix the correct codepoint 0x00B3 instead of 0x22B3 for SUPERSCRIPT THREE,
/trueos/contrib/tcpdump/
HDCHANGES190 801.1ag: use standard codepoint.
207 bugfix: use the correct codepoint for the OSPF simple text auth token
/trueos/gnu/usr.bin/grep/
HDChangeLog492 For example, in SJIS encoding, one character has the codepoint 0x895c.
496 codepoint is 0xb9a5. So 0xb9a5 can match with 2nd byte of 0xa5b9