Searched refs:unicode (Results 1 - 25 of 569) sorted by relevance

1234567891011>>

/external/fonttools/Lib/fontTools/
H A Dagl.py726 unicode = m.group(1)
727 assert len(unicode) == 4
728 unicode = int(unicode, 16)
732 assert AGL2UV[glyphName] == unicode
734 AGL2UV[glyphName] = unicode
735 UV2AGL[unicode] = glyphName
/external/fonttools/Tools/fontTools/
H A Dagl.py726 unicode = m.group(1)
727 assert len(unicode) == 4
728 unicode = int(unicode, 16)
732 assert AGL2UV[glyphName] == unicode
734 AGL2UV[glyphName] = unicode
735 UV2AGL[unicode] = glyphName
/external/python/cpython2/Lib/test/
H A Dtest_future4.py12 self.assertType("", unicode)
13 self.assertType('', unicode)
14 self.assertType(r"", unicode)
15 self.assertType(r'', unicode)
16 self.assertType(""" """, unicode)
17 self.assertType(''' ''', unicode)
18 self.assertType(r""" """, unicode)
19 self.assertType(r''' ''', unicode)
20 self.assertType(u"", unicode)
21 self.assertType(u'', unicode)
[all...]
H A Dtest_charmapcodec.py30 self.assertEqual(unicode('abc', codecname), u'abc')
31 self.assertEqual(unicode('xdef', codecname), u'abcdef')
32 self.assertEqual(unicode('defx', codecname), u'defabc')
33 self.assertEqual(unicode('dxf', codecname), u'dabcf')
34 self.assertEqual(unicode('dxfx', codecname), u'dabcfabc')
44 self.assertEqual(unicode('ydef', codecname), u'def')
45 self.assertEqual(unicode('defy', codecname), u'def')
46 self.assertEqual(unicode('dyf', codecname), u'df')
47 self.assertEqual(unicode('dyfy', codecname), u'df')
50 self.assertRaises(UnicodeError, unicode, 'ab
[all...]
H A Dtest_contains.py41 self.assertIn('c', unicode('abc'))
42 self.assertNotIn('d', unicode('abc'))
44 self.assertIn('', unicode(''))
45 self.assertIn(unicode(''), '')
46 self.assertIn(unicode(''), unicode(''))
47 self.assertIn('', unicode('abc'))
48 self.assertIn(unicode(''), 'abc')
49 self.assertIn(unicode(''), unicode('ab
[all...]
H A Dtest_future5.py12 self.assertIsInstance("", unicode)
H A Dtest_getargs.py24 arg = unicode(r'\222', 'unicode-escape')
/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DRopeByteStringSubstringTest.java70 String sourceString = "I love unicode \u1234\u5678 characters";
76 ByteString unicode = ByteString.EMPTY;
79 unicode = RopeByteString.concatenate(unicode, sourceByteString);
85 unicode = unicode.substring(2, unicode.size() - 6);
88 classUnderTest, getActualClassName(unicode));
89 String roundTripString = unicode.toString(UTF_8);
90 assertEquals(classUnderTest + " unicode byte
[all...]
H A DBoundedByteStringTest.java63 String testString = "I love unicode \u1234\u5678 characters";
64 ByteString unicode = ByteString.wrap(testString.getBytes(Internal.UTF_8));
65 ByteString chopped = unicode.substring(2, unicode.size() - 6);
70 assertEquals(classUnderTest + " unicode bytes must match",
76 String testString = "I love unicode \u1234\u5678 characters";
77 ByteString unicode = ByteString.wrap(testString.getBytes(Internal.UTF_8));
78 ByteString chopped = unicode.substring(2, unicode.size() - 6);
83 assertEquals(classUnderTest + " unicode byte
[all...]
/external/libmojo/third_party/markupsafe/
H A D_compat.py21 text_type = unicode
22 string_types = (str, unicode)
/external/llvm/lib/Support/
H A DLocale.cpp14 return llvm::sys::unicode::columnWidthUTF8(Text);
27 return llvm::sys::unicode::isPrintable(UCS);
/external/mdnsresponder/mDNSWindows/
H A DWinServices.cpp30 BSTR unicode; local
32 unicode = NULL;
37 unicode = (BSTR) malloc( (size_t)( n * sizeof( wchar_t ) ) );
38 if( !unicode )
44 n = MultiByteToWideChar( CP_UTF8, 0, inUTF8, -1, unicode, n );
47 inObject = unicode;
62 if( unicode )
64 free( unicode );
/external/pdfium/fxbarcode/
H A DBC_UtilCodingConvert.cpp20 WideString unicode = WideString::FromLocal(src.AsStringView()); local
21 dst = unicode.UTF8Encode();
26 WideString unicode = WideString::FromLocal(src.AsStringView()); local
27 ByteString utf8 = unicode.UTF8Encode();
37 WideString unicode = WideString::FromUTF8(utf8.AsStringView()); local
38 dst = ByteString::FromUnicode(unicode);
44 WideString unicode = WideString::FromUTF8(ByteStringView(src, count)); local
45 dst = ByteString::FromUnicode(unicode);
/external/pdfium/core/fpdfapi/font/
H A Dcpdf_fontencoding.h26 uint32_t FT_CharCodeFromUnicode(int encoding, wchar_t unicode);
30 ByteString PDF_AdobeNameFromUnicode(wchar_t unicode);
49 int CharCodeFromUnicode(wchar_t unicode) const;
51 void SetUnicode(uint8_t charcode, wchar_t unicode) { argument
52 m_Unicodes[charcode] = unicode;
/external/harfbuzz_ng/src/
H A Dhb-icu.h34 #include <unicode/uscript.h>
H A Dhb-utf-private.hh40 hb_codepoint_t *unicode,
98 *unicode = c;
102 *unicode = replacement;
109 hb_codepoint_t *unicode,
116 if (likely (next (text, end, unicode, replacement) == end))
119 *unicode = replacement;
138 hb_codepoint_t *unicode,
145 *unicode = c;
156 *unicode = (c << 10) + l - ((0xD800u << 10) - 0x10000u + 0xDC00u);
163 *unicode
38 next(const uint8_t *text, const uint8_t *end, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
107 prev(const uint8_t *text, const uint8_t *start, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
136 next(const uint16_t *text, const uint16_t *end, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
168 prev(const uint16_t *text, const uint16_t *start, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
216 next(const uint32_t *text, const uint32_t *end HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
228 prev(const uint32_t *text, const uint32_t *start HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
254 next(const uint8_t *text, const uint8_t *end HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement HB_UNUSED) argument
264 prev(const uint8_t *text, const uint8_t *start HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
[all...]
H A Dhb-ucdn.cc19 #include "hb-unicode-private.hh"
171 hb_codepoint_t unicode,
174 return (hb_unicode_combining_class_t) ucdn_get_combining_class(unicode);
179 hb_codepoint_t unicode,
182 int w = ucdn_get_east_asian_width(unicode);
188 hb_codepoint_t unicode,
191 return (hb_unicode_general_category_t)ucdn_get_general_category(unicode);
196 hb_codepoint_t unicode,
199 return ucdn_mirror(unicode);
204 hb_codepoint_t unicode,
170 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
178 hb_ucdn_eastasian_width(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
187 hb_ucdn_general_category(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
195 hb_ucdn_mirroring(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
203 hb_ucdn_script(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
[all...]
/external/llvm/include/llvm/Support/
H A DUnicode.h22 namespace unicode { namespace in namespace:llvm::sys
38 /// http://www.unicode.org/versions/Unicode6.2.0/UnicodeStandard-6.2.pdf
63 } // namespace unicode
/external/autotest/client/cros/scripts/
H A Dwifi13 'EAP.AnonymousIdentity': unicode,
14 'EAP.CACertID': unicode,
15 'EAP.CACertNSS': unicode,
16 'EAP.CACertPEM': unicode,
17 'EAP.CertID': unicode,
18 'EAP.ClientCert': unicode,
19 'EAP.EAP': unicode,
20 'EAP.Identity': unicode,
21 'EAP.InnerEAP': unicode,
22 'EAP.KeyID': unicode,
[all...]
/external/python/cpython2/Doc/includes/sqlite3/
H A Dtext_factory.py25 con.text_factory = lambda x: unicode(x, "utf-8", "ignore")
29 assert type(row[0]) is unicode
32 # objects, if the data is in ASCII only, and otherwise return unicode objects
36 assert type(row[0]) is unicode
/external/icu/icu4c/source/test/hdrtst/
H A DMakefile.in3 ## License & terms of use: http://www.unicode.org/copyright.html
14 ## unicode/uchar.h - 0
15 ## unicode/uchriter.h - 0
16 ## unicode/ucnv.h - 0
36 DIRS=$(prefix)/include/unicode
68 @FAIL=0;for file in `ls $(prefix)/include/unicode/*.h | fgrep -v -f $(srcdir)/pfiles.txt`; do \
70 echo "$@ unicode/$$incfile.h" ; \
71 echo '#include "'unicode/$$incfile'.h"' > ht_$$incfile.cpp ; \
81 file=unicode/$$stub ; \
84 echo "$@ unicode/
[all...]
/external/python/cpython2/Lib/lib2to3/fixes/
H A Dfix_methodattrs.py23 new = unicode(MAP[attr.value])
/external/ImageMagick/MagickCore/
H A Dtoken-private.h105 unicode; local
114 unicode=code;
119 unicode&=utf_info[i].utf_mask;
120 if (unicode < utf_info[i].utf_value)
126 return(unicode);
134 unicode=(unicode << 6) | c;
/external/freetype/src/psnames/
H A Dpsmodule.c66 /* hard-coded unicode character code. */
118 /* hexadecimal digits, it is a hard-coded unicode character code. */
183 /* ft_qsort callback to sort the unicode map */
190 FT_UInt32 unicode1 = BASE_GLYPH( map1->unicode );
191 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode );
197 if ( map1->unicode > map2->unicode )
199 else if ( map1->unicode < map2->unicode )
358 map->unicode
[all...]
/external/harfbuzz_ng/util/
H A Dhb-fc.cc35 hb_codepoint_t unicode,
53 if (FcCharSetHasChar (cs, unicode) &&
61 *glyph = (var_num << 21) | unicode;
70 *glyph = FcCharSetHasChar (cs, unicode) ? unicode : 0;
33 hb_fc_get_glyph(hb_font_t *font , void *font_data, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data ) argument

Completed in 951 milliseconds

1234567891011>>