Searched refs:unicode (Results 1 - 25 of 367) 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/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...]
H A DRopeByteStringTest.java97 String sourceString = "I love unicode \u1234\u5678 characters";
103 ByteString unicode = ByteString.EMPTY;
106 unicode = RopeByteString.concatenate(unicode, sourceByteString);
111 classUnderTest, getActualClassName(unicode));
112 String roundTripString = unicode.toString(UTF_8);
113 assertEquals(classUnderTest + " unicode bytes must match",
116 assertEquals(classUnderTest + " string must equal the flat string", flatString, unicode);
118 flatString.hashCode(), unicode.hashCode());
123 String sourceString = "I love unicode \u123
[all...]
/external/regex-re2/re2/testing/
H A Dunicode_test.py7 """Unittest for the util/regexp/re2/unicode.py module."""
13 from google3.util.regexp.re2 import unicode namespace
16 "unicode", "ucd-5.1.0")
23 self.assertEquals(0x0000, unicode._UInt("0000"))
24 self.assertEquals(0x263A, unicode._UInt("263A"))
25 self.assertEquals(0x10FFFF, unicode._UInt("10FFFF"))
26 self.assertRaises(unicode.InputError, unicode._UInt, "263")
27 self.assertRaises(unicode.InputError, unicode
[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/xfa/fxbarcode/
H A DBC_UtilCodingConvert.cpp20 CFX_WideString unicode = CFX_WideString::FromLocal(src.AsStringC()); local
21 dst = unicode.UTF8Encode();
26 CFX_WideString unicode = CFX_WideString::FromLocal(src.AsStringC()); local
27 CFX_ByteString utf8 = unicode.UTF8Encode();
39 CFX_WideString unicode = CFX_WideString::FromUTF8(utf8.AsStringC()); local
40 dst = CFX_ByteString::FromUnicode(unicode);
46 CFX_WideString unicode = local
48 dst = CFX_ByteString::FromUnicode(unicode);
/external/pdfium/core/fpdfapi/font/
H A Dcpdf_fontencoding.h27 uint32_t FT_CharCodeFromUnicode(int encoding, FX_WCHAR unicode);
31 CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode);
51 int CharCodeFromUnicode(FX_WCHAR unicode) const;
53 void SetUnicode(uint8_t charcode, FX_WCHAR unicode) { argument
54 m_Unicodes[charcode] = unicode;
/external/pdfium/core/fxcrt/
H A Dfx_basic_utf.cpp46 void CFX_UTF8Encoder::Input(FX_WCHAR unicode) { argument
47 if ((uint32_t)unicode < 0x80) {
48 m_Buffer.AppendChar(unicode);
50 if ((uint32_t)unicode >= 0x80000000) {
54 if ((uint32_t)unicode < 0x800) {
56 } else if ((uint32_t)unicode < 0x10000) {
58 } else if ((uint32_t)unicode < 0x200000) {
60 } else if ((uint32_t)unicode < 0x4000000) {
67 int code = 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.CACert': unicode,
18 'EAP.CertID': unicode,
19 'EAP.ClientCert': unicode,
20 'EAP.EAP': unicode,
21 'EAP.Identity': unicode,
22 'EAP.InnerEAP': unicode,
[all...]
/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"
166 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
169 return (hb_unicode_combining_class_t) ucdn_get_combining_class(unicode);
173 hb_ucdn_eastasian_width(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
176 int w = ucdn_get_east_asian_width(unicode);
181 hb_ucdn_general_category(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
184 return (hb_unicode_general_category_t)ucdn_get_general_category(unicode);
188 hb_ucdn_mirroring(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
191 return ucdn_mirror(unicode);
195 hb_ucdn_script(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
[all...]
H A Dhb-icu.cc34 #include "hb-unicode-private.hh"
36 #include <unicode/uchar.h>
37 #include <unicode/unorm.h>
38 #include <unicode/ustring.h>
39 #include <unicode/utf16.h>
40 #include <unicode/uversion.h>
68 hb_codepoint_t unicode,
72 return (hb_unicode_combining_class_t) u_getCombiningClass (unicode);
77 hb_codepoint_t unicode,
80 switch (u_getIntPropertyValue(unicode, UCHAR_EAST_ASIAN_WIDT
67 hb_icu_unicode_combining_class(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
76 hb_icu_unicode_eastasian_width(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
95 hb_icu_unicode_general_category(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
146 hb_icu_unicode_mirroring(hb_unicode_funcs_t *ufuncs HB_UNUSED, hb_codepoint_t unicode, void *user_data HB_UNUSED) argument
154 hb_icu_unicode_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/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/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.c53 /* hard-coded unicode character code. */
105 /* hexadecimal digits, it is a hard-coded unicode character code. */
170 /* ft_qsort callback to sort the unicode map */
177 FT_UInt32 unicode1 = BASE_GLYPH( map1->unicode );
178 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode );
184 if ( map1->unicode > map2->unicode )
186 else if ( map1->unicode < map2->unicode )
345 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
/external/pdfium/core/fxge/freetype/
H A Dfx_freetype.cpp14 wchar_t unicode) {
34 if (thiscode == (unsigned short)unicode) // found it!
47 if (xyq_search_node(glyph_name, name_offset, child_offset, unicode))
58 /* hard-coded unicode character code. */
102 /* hexadecimal digits, it is a hard-coded unicode character code. */
157 void FXFT_adobe_name_from_unicode(char* glyph_name, wchar_t unicode) { argument
165 if (xyq_search_node(glyph_name, 0, child_offset, unicode))
11 xyq_search_node(char* glyph_name, int name_offset, int table_offset, wchar_t unicode) argument
/external/pdfium/third_party/freetype/src/psnames/
H A Dpsmodule.c50 /* hard-coded unicode character code. */
102 /* hexadecimal digits, it is a hard-coded unicode character code. */
167 /* ft_qsort callback to sort the unicode map */
174 FT_UInt32 unicode1 = BASE_GLYPH( map1->unicode );
175 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode );
181 if ( map1->unicode > map2->unicode )
183 else if ( map1->unicode < map2->unicode )
342 map->unicode
[all...]
/external/mdnsresponder/mDNSWindows/DLLX/
H A DStringServices.cpp158 wchar_t * unicode = NULL; local
181 unicode = new wchar_t[ n ];
189 unicode = NULL;
195 require_action( unicode, exit, err = ERROR_INSUFFICIENT_BUFFER );
199 n = MultiByteToWideChar( CP_UTF8, 0, inString, -1, unicode, n );
205 outString = unicode;
214 if ( unicode != NULL )
218 delete [] unicode;

Completed in 931 milliseconds

1234567891011>>