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

/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/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.c2304 const xmlChar *utf = (const xmlChar *) in->content; local
2307 cur = xmlGetUTF8Char(utf, &len);
H A Dparser.c10658 xmlCheckCdataPush(const xmlChar *utf, int len) { argument
10663 if ((utf == NULL) || (len <= 0))
10667 c = utf[ix];
10677 if ((utf[ix+1] & 0xc0 ) != 0x80)
10679 codepoint = (utf[ix] & 0x1f) << 6;
10680 codepoint |= utf[ix+1] & 0x3f;
10686 if (((utf[ix+1] & 0xc0) != 0x80) ||
10687 ((utf[ix+2] & 0xc0) != 0x80))
10689 codepoint = (utf[ix] & 0xf) << 12;
10690 codepoint |= (utf[i
[all...]
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/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/regex-re2/re2/
H A Dparse.cc1933 void ConvertLatin1ToUTF8(const StringPiece& latin1, string* utf) { argument
1936 utf->clear();
1940 utf->append(buf, n);
/external/javasqlite/src/main/native/
H A Dsqlite_jni.c364 const char *utf = (*env)->GetStringUTFChars(env, src, 0); local
366 dest->result = dest->tofree = malloc(strlen(utf) + 1);
378 strcpy(dest->result, utf);
379 (*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...]

Completed in 334 milliseconds