Searched defs:utf (Results 1 - 25 of 33) sorted by relevance

12

/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_byte_order.c115 BOOL utf; local
167 utf = (re->options & PCRE_UTF16) != 0;
265 if (utf) utf16_char = TRUE;
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_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 Dpcre_study.c87 BOOL utf = (options & PCRE_UTF8) != 0; local
229 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
250 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
298 if (utf) return -1;
393 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0));
418 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1));
536 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
587 utf TRUE for UTF-8 / UTF-16 / UTF-32 mode
594 compile_data *cd, BOOL utf)
602 if (utf
593 set_table_bit(pcre_uint8 *start_bits, const pcre_uchar *p, BOOL caseless, compile_data *cd, BOOL utf) argument
760 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf, compile_data *cd) argument
[all...]
H A Dpcre_jit_test.c90 \xf4\x8f\xbf\xbf = 0x10ffff = 1114111 (highest allowed utf character)
1127 int utf = 0, ucp = 0; local
1160 utf or ucp may make tests fail, if the pcre_exec result is the SAME, it is
1175 pcre_config(PCRE_CONFIG_UTF8, &utf);
1178 pcre16_config(PCRE_CONFIG_UTF16, &utf);
1181 pcre32_config(PCRE_CONFIG_UTF32, &utf);
1185 if (!utf)
1190 printf(" in 8 bit mode with UTF-8 %s and ucp %s:\n", utf ? "enabled" : "disabled", ucp ? "enabled" : "disabled");
1193 printf(" in 16 bit mode with UTF-16 %s and ucp %s:\n", utf ? "enabled" : "disabled", ucp ? "enabled" : "disabled");
1196 printf(" in 32 bit mode with UTF-32 %s and ucp %s:\n", utf
[all...]
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)
3194 BOOL utf, anchored, startline, firstline; local
[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
6356 BOOL utf; local
[all...]
/external/chromium_org/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/chromium_org/third_party/libxml/src/
H A Dxmlstring.c600 * @utf: pointer to the UTF8 character
607 xmlUTF8Size(const xmlChar *utf) { argument
611 if (utf == NULL)
613 if (*utf < 0x80)
616 if (!(*utf & 0x40))
621 if (!(*utf & mask))
650 * @utf: a sequence of UTF-8 encoded bytes
658 xmlUTF8Strlen(const xmlChar *utf) { argument
661 if (utf == NULL)
664 while (*utf !
702 xmlGetUTF8Char(const unsigned char *utf, int *len) argument
773 xmlCheckUTF8(const unsigned char *utf) argument
825 xmlUTF8Strsize(const xmlChar *utf, int len) argument
858 xmlUTF8Strndup(const xmlChar *utf, int len) argument
887 xmlUTF8Strpos(const xmlChar *utf, int pos) argument
919 xmlUTF8Strloc(const xmlChar *utf, const xmlChar *utfchar) argument
956 xmlUTF8Strsub(const xmlChar *utf, int start, int len) argument
[all...]
H A Dencoding.c2301 const xmlChar *utf = (const xmlChar *) in->content; local
2304 cur = xmlGetUTF8Char(utf, &len);
H A Dparser.c10637 xmlCheckCdataPush(const xmlChar *utf, int len) { argument
10642 if ((utf == NULL) || (len <= 0))
10646 c = utf[ix];
10656 if ((utf[ix+1] & 0xc0 ) != 0x80)
10658 codepoint = (utf[ix] & 0x1f) << 6;
10659 codepoint |= utf[ix+1] & 0x3f;
10665 if (((utf[ix+1] & 0xc0) != 0x80) ||
10666 ((utf[ix+2] & 0xc0) != 0x80))
10668 codepoint = (utf[ix] & 0xf) << 12;
10669 codepoint |= (utf[i
[all...]
H A Dxmlschemastypes.c4994 const xmlChar *utf; local
4999 utf = value;
5000 while (IS_BLANK_CH(*utf)) utf++;
5001 while (*utf != 0) {
5002 if (utf[0] & 0x80) {
5003 if ((utf[1] & 0xc0) != 0x80)
5005 if ((utf[0] & 0xe0) == 0xe0) {
5006 if ((utf[2] & 0xc0) != 0x80)
5008 if ((utf[
[all...]
/external/libxml2/
H A Dxmlstring.c600 * @utf: pointer to the UTF8 character
607 xmlUTF8Size(const xmlChar *utf) { argument
611 if (utf == NULL)
613 if (*utf < 0x80)
616 if (!(*utf & 0x40))
621 if (!(*utf & mask))
650 * @utf: a sequence of UTF-8 encoded bytes
658 xmlUTF8Strlen(const xmlChar *utf) { argument
661 if (utf == NULL)
664 while (*utf !
702 xmlGetUTF8Char(const unsigned char *utf, int *len) argument
773 xmlCheckUTF8(const unsigned char *utf) argument
825 xmlUTF8Strsize(const xmlChar *utf, int len) argument
858 xmlUTF8Strndup(const xmlChar *utf, int len) argument
887 xmlUTF8Strpos(const xmlChar *utf, int pos) argument
919 xmlUTF8Strloc(const xmlChar *utf, const xmlChar *utfchar) argument
956 xmlUTF8Strsub(const xmlChar *utf, int start, int len) argument
[all...]
H A Dencoding.c2785 const xmlChar *utf = (const xmlChar *) in->content; local
2788 cur = xmlGetUTF8Char(utf, &len);
H A Dxmlschemastypes.c5001 const xmlChar *utf; local
5006 utf = value;
5007 while (IS_BLANK_CH(*utf)) utf++;
5008 while (*utf != 0) {
5009 if (utf[0] & 0x80) {
5010 if ((utf[1] & 0xc0) != 0x80)
5012 if ((utf[0] & 0xe0) == 0xe0) {
5013 if ((utf[2] & 0xc0) != 0x80)
5015 if ((utf[
[all...]
/external/chromium_org/components/history/core/browser/
H A Durl_database.cc376 base::string16 utf = net::IDNToUnicode(gurl.host(), std::string()); local
377 if (ascii != utf)
378 query_parser_.ExtractQueryWords(utf, &query_words);
/external/chromium_org/third_party/libxslt/libxslt/
H A Dnumbers.c75 * @utf: pointer to the UTF8 character
80 xsltUTF8Size(xmlChar *utf) { argument
84 if (utf == NULL)
86 if (*utf < 0x80)
89 if (!(*utf & 0x40))
94 if (!(*utf & mask))
H A Dxsltutils.c235 * @utf: a sequence of UTF-8 encoded bytes
238 * Read one UTF8 Char from @utf
246 xsltGetUTF8Char(const unsigned char *utf, int *len) { argument
249 if (utf == NULL)
256 c = utf[0];
260 if ((utf[1] & 0xc0) != 0x80)
265 if ((utf[2] & 0xc0) != 0x80)
270 if ((c & 0xf8) != 0xf0 || (utf[3] & 0xc0) != 0x80)
274 c = (utf[0] & 0x7) << 18;
275 c |= (utf[
[all...]
/external/chromium_org/third_party/re2/re2/
H A Dparse.cc1939 void ConvertLatin1ToUTF8(const StringPiece& latin1, string* utf) { argument
1942 utf->clear();
1946 utf->append(buf, n);
/external/regex-re2/re2/
H A Dparse.cc1939 void ConvertLatin1ToUTF8(const StringPiece& latin1, string* utf) { argument
1942 utf->clear();
1946 utf->append(buf, n);
/external/javasqlite/src/main/native/
H A Dsqlite_jni.c363 const char *utf = (*env)->GetStringUTFChars(env, src, 0); local
365 dest->result = dest->tofree = malloc(strlen(utf) + 1);
377 strcpy(dest->result, utf);
378 (*env)->ReleaseStringUTFChars(env, src, utf);
/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/chromium_org/third_party/npapi/npspy/extern/java/
H A Djni.h592 (JNIEnv *env, const char *utf);
1524 jstring NewStringUTF(const char *utf) { argument
1525 return functions->NewStringUTF(this,utf);

Completed in 441 milliseconds

12