Searched refs:utf (Results 1 - 25 of 49) sorted by relevance

12

/external/libxml2/
H A Dxmlstring.c607 * @utf: pointer to the UTF8 character
614 xmlUTF8Size(const xmlChar *utf) { argument
618 if (utf == NULL)
620 if (*utf < 0x80)
623 if (!(*utf & 0x40))
628 if (!(*utf & mask))
657 * @utf: a sequence of UTF-8 encoded bytes
665 xmlUTF8Strlen(const xmlChar *utf) { argument
668 if (utf == NULL)
671 while (*utf !
709 xmlGetUTF8Char(const unsigned char *utf, int *len) argument
780 xmlCheckUTF8(const unsigned char *utf) argument
832 xmlUTF8Strsize(const xmlChar *utf, int len) argument
865 xmlUTF8Strndup(const xmlChar *utf, int len) argument
894 xmlUTF8Strpos(const xmlChar *utf, int pos) argument
926 xmlUTF8Strloc(const xmlChar *utf, const xmlChar *utfchar) argument
963 xmlUTF8Strsub(const xmlChar *utf, int start, int len) argument
[all...]
H A Dxmlschemastypes.c5010 const xmlChar *utf; local
5015 utf = value;
5016 while (IS_BLANK_CH(*utf)) utf++;
5017 while (*utf != 0) {
5018 if (utf[0] & 0x80) {
5019 if ((utf[1] & 0xc0) != 0x80)
5021 if ((utf[0] & 0xe0) == 0xe0) {
5022 if ((utf[2] & 0xc0) != 0x80)
5024 if ((utf[
[all...]
H A Dparser.c11263 xmlCheckCdataPush(const xmlChar *utf, int len, int complete) { argument
11268 if ((utf == NULL) || (len <= 0))
11272 c = utf[ix];
11282 if ((utf[ix+1] & 0xc0 ) != 0x80)
11284 codepoint = (utf[ix] & 0x1f) << 6;
11285 codepoint |= utf[ix+1] & 0x3f;
11291 if (((utf[ix+1] & 0xc0) != 0x80) ||
11292 ((utf[ix+2] & 0xc0) != 0x80))
11294 codepoint = (utf[ix] & 0xf) << 12;
11295 codepoint |= (utf[i
[all...]
/external/pcre/dist/
H A Dpcre_newline.c70 utf TRUE if in utf mode
77 BOOL utf)
80 (void)utf;
82 if (utf)
117 case CHAR_NEL: *lenptr = utf? 2 : 1; return TRUE;
145 utf TRUE if in utf mode
152 BOOL utf)
155 (void)utf;
76 is_newline(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr, BOOL utf) argument
151 was_newline(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR startptr, int *lenptr, BOOL utf) argument
[all...]
H A Dpcre_xclass.c67 PRIV(xclass)(pcre_uint32 c, const pcre_uchar *data, BOOL utf) argument
72 (void)utf;
75 utf = TRUE;
106 if (utf)
118 if (utf)
H A Dpcre_study.c89 BOOL utf = (options & PCRE_UTF8) != 0; local
234 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
255 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
303 if (utf) return -1;
398 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0));
438 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1));
578 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
629 utf TRUE for UTF-8 / UTF-16 / UTF-32 mode
636 compile_data *cd, BOOL utf)
644 if (utf
635 set_table_bit(pcre_uint8 *start_bits, const pcre_uchar *p, BOOL caseless, compile_data *cd, BOOL utf) argument
802 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf, compile_data *cd) argument
[all...]
H A Dpcre_printint.c118 print_char(FILE *f, pcre_uchar *ptr, BOOL utf) argument
124 (void)utf; /* Avoid compiler warning */
134 if (!utf || (c & 0xc0) != 0xc0)
170 if (!utf || (c & 0xfc00) != 0xd800)
196 if (!utf || (c & 0xfffff800u) != 0xd800u)
218 * Print uchar string (regardless of utf) *
314 BOOL utf; local
334 utf = (options & PCRE_UTF8) != 0;
374 code += 1 + print_char(f, code, utf);
385 code += 1 + print_char(f, code, utf);
[all...]
H A DRunTest349 $sim ./pcretest -C utf >/dev/null
350 utf=$?
539 if [ $utf -eq 0 ] ; then
559 if [ $utf -eq 0 ] ; then
579 if [ $utf -eq 0 -o $ucp -eq 0 ] ; then
601 if [ $utf -eq 0 -o $ucp -eq 0 ] ; then
636 if [ $utf -eq 0 ] ; then
653 if [ $utf -eq 0 -o $ucp -eq 0 ] ; then
758 elif [ $utf -eq 0 ] ; then
828 elif [ $utf
[all...]
H A Dpcre_compile.c1009 BOOL utf = (options & PCRE_UTF8) != 0; local
1080 if (c > (utf ? 0x10ffffU : 0xffU))
1082 if (c > (utf ? 0x10ffffU : 0xffffU))
1084 if (utf && c > 0x10ffffU)
1089 else if (utf && c >= 0xd800 && c <= 0xdfff) *errorcodeptr = ERR73;
1264 if (!utf && c > 0xff) *errorcodeptr = ERR51;
1287 if (c > (utf ? 0x10ffffU : 0xffU)) { overflow = TRUE; break; }
1289 if (c > (utf ? 0x10ffffU : 0xffffU)) { overflow = TRUE; break; }
1291 if (utf && c > 0x10ffffU) { overflow = TRUE; break; }
1301 if (utf
1736 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd, recurse_check *recurses) argument
2080 find_bracket(const pcre_uchar *code, BOOL utf, int number) argument
2243 find_recurse(const pcre_uchar *code, BOOL utf) argument
2396 could_be_empty_branch(const pcre_uchar *code, const pcre_uchar *endcode, BOOL utf, compile_data *cd, recurse_check *recurses) argument
2771 could_be_empty(const pcre_uchar *code, const pcre_uchar *endcode, branch_chain *bcptr, BOOL utf, compile_data *cd) argument
2915 get_chr_property_list(const pcre_uchar *code, BOOL utf, const pcre_uint8 *fcc, pcre_uint32 *list) argument
3120 compare_opcodes(const pcre_uchar *code, BOOL utf, const compile_data *cd, const pcre_uint32 *base_list, const pcre_uchar *base_end, int *rec_limit) argument
3659 auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd) argument
4020 adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd, size_t save_hwm_offset) argument
4406 BOOL utf = (options & PCRE_UTF8) != 0; local
4493 BOOL utf = (options & PCRE_UTF8) != 0; local
4498 BOOL utf = FALSE; local
9005 BOOL utf; local
[all...]
H A Dpcre_byte_order.c115 BOOL utf; local
167 utf = (re->options & PCRE_UTF16) != 0;
265 if (utf) utf16_char = TRUE;
H A Dpcre_dfa_exec.c428 BOOL utf = (md->poptions & PCRE_UTF8) != 0; local
430 BOOL utf = FALSE; local
490 if (utf)
715 if (utf) { GETCHARLEN(d, (code + coptable[codevalue]), dlen); } else
1019 if (utf) { BACKCHAR(temp); }
1441 if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }
1703 if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }
1974 if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }
2126 if (utf)
2171 if (!utf)
3195 BOOL utf, anchored, startline, firstline; local
[all...]
H A Dpcre_jit_test.c95 \xf4\x8f\xbf\xbf = 0x10ffff = 1114111 (highest allowed utf character)
1136 int utf = 0, ucp = 0; local
1169 utf or ucp may make tests fail, if the pcre_exec result is the SAME, it is
1184 pcre_config(PCRE_CONFIG_UTF8, &utf);
1187 pcre16_config(PCRE_CONFIG_UTF16, &utf);
1190 pcre32_config(PCRE_CONFIG_UTF32, &utf);
1194 if (!utf)
1199 printf(" in 8 bit mode with UTF-8 %s and ucp %s:\n", utf ? "enabled" : "disabled", ucp ? "enabled" : "disabled");
1202 printf(" in 16 bit mode with UTF-16 %s and ucp %s:\n", utf ? "enabled" : "disabled", ucp ? "enabled" : "disabled");
1205 printf(" in 32 bit mode with UTF-32 %s and ucp %s:\n", utf
[all...]
H A Dpcre_exec.c134 BOOL utf = md->utf; local
171 BOOL utf = md->utf; local
199 if (utf)
490 the md structure (e.g. utf, end_subject) into individual variables to improve
524 register BOOL utf; /* Local copy of UTF flag for speed */ local
716 utf = md->utf; /* Local copy of the flag */
718 utf
6368 BOOL utf; local
[all...]
H A DRunTest.bat15 @rem tests 4 5 9 15 and 18 require utf support
58 %pcretest% -C utf >NUL
59 set utf=%ERRORLEVEL% variable
328 if %utf% EQU 0 (
338 if %utf% EQU 0 (
373 if %utf% EQU 0 (
436 if %utf% EQU 0 (
474 if %utf% EQU 0 (
530 if %utf% EQU 0 (
562 if %utf
[all...]
H A Dpcre_internal.h316 &(NLBLOCK->nllen), utf)) \
330 &(NLBLOCK->nllen), utf)) \
722 if (utf && c >= 0xc0) GETUTF8(c, eptr);
736 if (utf && c >= 0xc0) GETUTF8INC(c, eptr);
788 if (utf && c >= 0xc0) GETUTF8LEN(c, eptr, len);
841 if (utf && (c & 0xfc00) == 0xd800) GETUTF16(c, eptr);
861 if (utf && (c & 0xfc00) == 0xd800) GETUTF16INC(c, eptr);
883 if (utf && (c & 0xfc00) == 0xd800) GETUTF16LEN(c, eptr, len);
1839 used for [^] in JavaScript compatibility mode, and for \C in non-utf mode. In
2533 BOOL utf; /* UT member in struct:match_data
[all...]
H A Dpcre_jit_compile.c419 BOOL utf; member in struct:compiler_common
735 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
757 if (common->utf) return NULL;
1220 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1608 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1617 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1626 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1802 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1815 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1828 if (common->utf
4790 BOOL utf = common->utf; local
[all...]
H A Dpcretest.c1679 utf true if UTF-8 (to be converted to UTF-16)
1689 to16(int data, pcre_uint8 *p, int utf, int len) argument
1707 if (!utf && !data)
1724 if (!utf) return -3;
1758 utf true if UTF-8 (to be converted to UTF-32)
1768 to32(int data, pcre_uint8 *p, int utf, int len) argument
1786 if (!utf && !data)
1798 if (utf)
2087 /* Must handle UTF-16 strings in utf mode. Yields number of characters printed.
2126 /* Must handle UTF-32 strings in utf mod
2129 pchars32(PCRE_SPTR32 p, int length, BOOL utf, FILE *f) argument
2502 BOOL utf = (re->options & PCRE_UTF16) != 0; local
[all...]
/external/libxml2/include/libxml/
H A Dxmlstring.h109 xmlGetUTF8Char (const unsigned char *utf,
112 xmlCheckUTF8 (const unsigned char *utf);
114 xmlUTF8Strsize (const xmlChar *utf,
117 xmlUTF8Strndup (const xmlChar *utf,
120 xmlUTF8Strpos (const xmlChar *utf,
123 xmlUTF8Strloc (const xmlChar *utf,
126 xmlUTF8Strsub (const xmlChar *utf,
130 xmlUTF8Strlen (const xmlChar *utf);
132 xmlUTF8Size (const xmlChar *utf);
/external/v8/test/mjsunit/
H A Dstring-slices.js182 var utf = '\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB'; variable
184 assertEquals("\u03B4\u03B7", utf.substring(3,4) + utf.substring(6,7));
186 assertEquals("\u03B1\u03B4\u03B5", utf.substring(0,1) + utf.substring(5,3));
187 assertEquals("", ascii.substring(16) + utf.substring(16));
189 ascii.substring(1,6) + utf.substring(3,9));
191 utf.substring(3,9) + ascii);
193 utf.substring(5,1) + utf
[all...]
/external/libutf/
H A DMakefile53 utf.h\
60 install -c -m 0644 utf.7 $(PREFIX)/man/man7/utf.7
64 install -c -m 0644 utf.h $(PREFIX)/include/utf.h
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
H A DMakefile84 xgettext -L C --from-code utf-8 -o $(POT) t_options.h
/external/icu/icu4c/source/test/perf/collationperf/
H A DMakefile.in58 $(INVOKE) ./$(TARGET) -loop 200 -file $(top_srcdir)/extra/uconv/samples/utf8/utf-8-demo.txt -keygen -shifted
/external/llvm/lib/Support/Windows/
H A DPath.inc203 // Convert to utf-16.
247 // Convert to utf-16.
/external/svox/pico/lib/
H A Dpicotok.c217 utf8char0c utf; member in struct:tok_subobj
437 tok->utf[tok->utfpos] = ch;
446 tok->utf[tok->utfpos] = 0;
1324 id = picoktab_graphOffset(tok->graphTab, tok->utf);
1333 } else if (tok->utf[tok->utfpos-1] <= (picoos_uchar)' ') {
1340 if ((tok->utf[tok->utfpos-1] > (picoos_uchar)' ')) {
1342 } else if ((tok->utf[tok->utfpos-1] == EOL)) {
1346 tok_putToMarkup(this, tok, tok->utf);
1348 picoos_strlcpy(utf2, tok->utf, 5);
1359 } else if ((markupHandling && (tok->utf[to
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DConstPool.java592 Utf8Info utf = (Utf8Info)getItem(index);
593 return utf.string;

Completed in 1926 milliseconds

12