/external/regex-re2/re2/testing/ |
D | unicode_test.py | 13 from google3.util.regexp.re2 import unicode 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._UInt, "263AAAA") 28 self.assertRaises(unicode.InputError, unicode._UInt, "110000") 31 self.assertEquals([1, 2, 3], unicode._URange("0001..0003")) 32 self.assertEquals([1], unicode._URange("0001")) 33 self.assertRaises(unicode.InputError, unicode._URange, "0001..0003..0005") [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-utf-private.hh | 43 hb_codepoint_t *unicode, in next() 101 *unicode = c; in next() 105 *unicode = replacement; in next() 112 hb_codepoint_t *unicode, in prev() 119 if (likely (next (text, end, unicode, replacement) == end)) in prev() 122 *unicode = replacement; in prev() 142 hb_codepoint_t *unicode, in next() 149 *unicode = c; in next() 160 *unicode = (c << 10) + l - ((0xD800u << 10) - 0x10000u + 0xDC00u); in next() 167 *unicode = replacement; in next() [all …]
|
D | hb-ucdn.cc | 154 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_combining_class() argument 157 return (hb_unicode_combining_class_t) ucdn_get_combining_class(unicode); in hb_ucdn_combining_class() 161 hb_ucdn_eastasian_width(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_eastasian_width() argument 164 int w = ucdn_get_east_asian_width(unicode); in hb_ucdn_eastasian_width() 169 hb_ucdn_general_category(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_general_category() argument 172 return (hb_unicode_general_category_t)ucdn_get_general_category(unicode); in hb_ucdn_general_category() 176 hb_ucdn_mirroring(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_mirroring() argument 179 return ucdn_mirror(unicode); in hb_ucdn_mirroring() 183 hb_ucdn_script(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, in hb_ucdn_script() argument 186 return ucdn_script_translate[ucdn_get_script(unicode)]; in hb_ucdn_script()
|
D | hb-unicode-private.hh | 73 …inline return_type name (hb_codepoint_t unicode) { return func.name (this, unicode, user_data.name… 106 modified_combining_class (hb_codepoint_t unicode) in modified_combining_class() 109 if (unlikely (unicode == 0x1037u)) unicode = 0x103Au; in modified_combining_class() 113 if (unlikely (unicode == 0x1A60u)) return 254; in modified_combining_class() 117 if (unlikely (unicode == 0x0FC6u)) return 254; in modified_combining_class() 119 return _hb_modified_combining_class[combining_class (unicode)]; in modified_combining_class() 123 is_variation_selector (hb_codepoint_t unicode) in is_variation_selector() 127 return unlikely (hb_in_ranges (unicode, in is_variation_selector()
|
D | hb-unicode.h | 223 hb_codepoint_t unicode, 226 hb_codepoint_t unicode, 229 hb_codepoint_t unicode, 232 hb_codepoint_t unicode, 235 hb_codepoint_t unicode, 409 hb_codepoint_t unicode); 413 hb_codepoint_t unicode); 417 hb_codepoint_t unicode); 421 hb_codepoint_t unicode); 425 hb_codepoint_t unicode);
|
D | hb-glib.cc | 197 hb_codepoint_t unicode, in hb_glib_unicode_combining_class() argument 201 return (hb_unicode_combining_class_t) g_unichar_combining_class (unicode); in hb_glib_unicode_combining_class() 206 hb_codepoint_t unicode, in hb_glib_unicode_eastasian_width() argument 209 return g_unichar_iswide (unicode) ? 2 : 1; in hb_glib_unicode_eastasian_width() 214 hb_codepoint_t unicode, in hb_glib_unicode_general_category() argument 219 return (hb_unicode_general_category_t) g_unichar_type (unicode); in hb_glib_unicode_general_category() 224 hb_codepoint_t unicode, in hb_glib_unicode_mirroring() argument 227 g_unichar_get_mirror_char (unicode, &unicode); in hb_glib_unicode_mirroring() 228 return unicode; in hb_glib_unicode_mirroring() 233 hb_codepoint_t unicode, in hb_glib_unicode_script() argument [all …]
|
D | hb-icu.cc | 67 hb_codepoint_t unicode, in hb_icu_unicode_combining_class() argument 71 return (hb_unicode_combining_class_t) u_getCombiningClass (unicode); in hb_icu_unicode_combining_class() 76 hb_codepoint_t unicode, in hb_icu_unicode_eastasian_width() argument 79 switch (u_getIntPropertyValue(unicode, UCHAR_EAST_ASIAN_WIDTH)) in hb_icu_unicode_eastasian_width() 95 hb_codepoint_t unicode, in hb_icu_unicode_general_category() argument 98 switch (u_getIntPropertyValue(unicode, UCHAR_GENERAL_CATEGORY)) in hb_icu_unicode_general_category() 146 hb_codepoint_t unicode, in hb_icu_unicode_mirroring() argument 149 return u_charMirror(unicode); in hb_icu_unicode_mirroring() 154 hb_codepoint_t unicode, in hb_icu_unicode_script() argument 158 UScriptCode scriptCode = uscript_getScript(unicode, &status); in hb_icu_unicode_script()
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
D | fpdf_font_charset.cpp | 63 const FX_CHAR* FCS_GetAltStr(FX_WCHAR unicode) in FCS_GetAltStr() argument 70 if (middlecode > unicode) { in FCS_GetAltStr() 72 } else if (middlecode < unicode) { in FCS_GetAltStr() 527 static FX_DWORD PDF_FindCode(const FX_WORD* pCodes, FX_WORD unicode) in PDF_FindCode() argument 530 if (pCodes[i] == unicode) { in PDF_FindCode() 563 FX_DWORD FT_CharCodeFromUnicode(int encoding, FX_WCHAR unicode) in FT_CharCodeFromUnicode() argument 567 return unicode; in FT_CharCodeFromUnicode() 569 return PDF_FindCode(StandardEncoding, unicode); in FT_CharCodeFromUnicode() 571 return PDF_FindCode(MacExpertEncoding, unicode); in FT_CharCodeFromUnicode() 573 return PDF_FindCode(AdobeWinAnsiEncoding, unicode); in FT_CharCodeFromUnicode() [all …]
|
D | fpdf_font_cid.cpp | 13 extern FX_DWORD FT_CharCodeFromUnicode(int encoding, FX_WCHAR unicode); 735 … FX_DWORD _EmbeddedCharcodeFromUnicode(const FXCMAP_CMap* pEmbedMap, int charset, FX_WCHAR unicode) in _EmbeddedCharcodeFromUnicode() argument 747 if (pCodes[i] == unicode) { in _EmbeddedCharcodeFromUnicode() 790 FX_WCHAR unicode; in _UnicodeFromCharCode() local 796 …ltiByteToWideChar(g_CharsetCPs[m_pCMap->m_Coding], 0, (FX_LPCSTR)&charcode, charsize, &unicode, 1); in _UnicodeFromCharCode() 800 return unicode; in _UnicodeFromCharCode() 810 FX_DWORD CPDF_CIDFont::_CharCodeFromUnicode(FX_WCHAR unicode) const in _CharCodeFromUnicode() 817 return unicode; in _CharCodeFromUnicode() 825 if (this_unicode == unicode) { in _CharCodeFromUnicode() 834 if (unicode < 0x80) { in _CharCodeFromUnicode() [all …]
|
/external/pdfium/third_party/freetype/src/psnames/ |
D | psmodule.c | 174 FT_UInt32 unicode1 = BASE_GLYPH( map1->unicode ); in compare_uni_maps() 175 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode ); in compare_uni_maps() 181 if ( map1->unicode > map2->unicode ) in compare_uni_maps() 183 else if ( map1->unicode < map2->unicode ) in compare_uni_maps() 342 map->unicode = uni_char; in ps_unicodes_init() 359 map->unicode = ft_extra_glyph_unicodes[n]; in ps_unicodes_init() 399 FT_UInt32 unicode ) in ps_unicodes_char_index() argument 416 if ( mid->unicode == unicode ) in ps_unicodes_char_index() 422 base_glyph = BASE_GLYPH( mid->unicode ); in ps_unicodes_char_index() 424 if ( base_glyph == unicode ) in ps_unicodes_char_index() [all …]
|
/external/freetype/src/psnames/ |
D | psmodule.c | 174 FT_UInt32 unicode1 = BASE_GLYPH( map1->unicode ); in compare_uni_maps() 175 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode ); in compare_uni_maps() 181 if ( map1->unicode > map2->unicode ) in compare_uni_maps() 183 else if ( map1->unicode < map2->unicode ) in compare_uni_maps() 342 map->unicode = uni_char; in ps_unicodes_init() 359 map->unicode = ft_extra_glyph_unicodes[n]; in ps_unicodes_init() 399 FT_UInt32 unicode ) in ps_unicodes_char_index() argument 416 if ( mid->unicode == unicode ) in ps_unicodes_char_index() 422 base_glyph = BASE_GLYPH( mid->unicode ); in ps_unicodes_char_index() 424 if ( base_glyph == unicode ) in ps_unicodes_char_index() [all …]
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | RopeByteStringSubstringTest.java | 76 ByteString unicode = ByteString.EMPTY; in testToString() local 79 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testToString() 85 unicode = unicode.substring(2, unicode.size() - 6); in testToString() 88 classUnderTest, getActualClassName(unicode)); in testToString() 89 String roundTripString = unicode.toString(UTF_8); in testToString() 93 assertEquals(classUnderTest + " string must equal the flat string", flatString, unicode); in testToString() 95 flatString.hashCode(), unicode.hashCode()); in testToString()
|
D | RopeByteStringTest.java | 98 ByteString unicode = ByteString.EMPTY; in testToString() local 101 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testToString() 106 classUnderTest, getActualClassName(unicode)); in testToString() 107 String roundTripString = unicode.toString(UTF_8); in testToString() 111 assertEquals(classUnderTest + " string must equal the flat string", flatString, unicode); in testToString() 113 flatString.hashCode(), unicode.hashCode()); in testToString()
|
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_utf.cpp | 48 void CFX_UTF8Encoder::Input(FX_WCHAR unicode) in Input() argument 50 if ((FX_DWORD)unicode < 0x80) { in Input() 51 m_Buffer.AppendChar(unicode); in Input() 53 if ((FX_DWORD)unicode >= 0x80000000) { in Input() 57 if ((FX_DWORD)unicode < 0x800) { in Input() 59 } else if ((FX_DWORD)unicode < 0x10000) { in Input() 61 } else if ((FX_DWORD)unicode < 0x200000) { in Input() 63 } else if ((FX_DWORD)unicode < 0x4000000) { in Input() 70 int code = unicode; in Input()
|
/external/fonttools/Lib/fontTools/ |
D | agl.py | 726 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/icu/icu4c/source/test/hdrtst/ |
D | Makefile.in | 34 DIRS=$(prefix)/include/unicode 68 echo "$@ unicode/$$incfile.h" ; \ 90 echo "$@ unicode/$$incfile.h" ; \ 97 …fgrep -q "$$incfile.h header is obsolete" ht_dep.junk || echo "** FAIL Header unicode/$$incfile.h … 111 echo "$@ unicode/$$incfile.h" ; \ 122 echo "$@ unicode/$$incfile.h" ; \ 134 echo "$@ unicode/$$incfile.h" ; \ 147 echo "$@ unicode/$$incfile.h" ; \ 159 echo "$@ unicode/$$incfile.h" ; \
|
/external/protobuf/gtest/src/ |
D | gtest-filepath.cc | 204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists() local 205 const DWORD attributes = GetFileAttributes(unicode); in FileOrDirectoryExists() 206 delete [] unicode; in FileOrDirectoryExists() 228 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); in DirectoryExists() local 229 const DWORD attributes = GetFileAttributes(unicode); in DirectoryExists() 230 delete [] unicode; in DirectoryExists() 321 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); in CreateFolder() local 322 int result = CreateDirectory(unicode, NULL) ? 0 : -1; in CreateFolder() 323 delete [] unicode; in CreateFolder()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-filepath.cc | 204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists() local 205 const DWORD attributes = GetFileAttributes(unicode); in FileOrDirectoryExists() 206 delete [] unicode; in FileOrDirectoryExists() 228 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); in DirectoryExists() local 229 const DWORD attributes = GetFileAttributes(unicode); in DirectoryExists() 230 delete [] unicode; in DirectoryExists() 321 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); in CreateFolder() local 322 int result = CreateDirectory(unicode, NULL) ? 0 : -1; in CreateFolder() 323 delete [] unicode; in CreateFolder()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-filepath.cc | 204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists() local 205 const DWORD attributes = GetFileAttributes(unicode); in FileOrDirectoryExists() 206 delete [] unicode; in FileOrDirectoryExists() 228 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); in DirectoryExists() local 229 const DWORD attributes = GetFileAttributes(unicode); in DirectoryExists() 230 delete [] unicode; in DirectoryExists() 321 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); in CreateFolder() local 322 int result = CreateDirectory(unicode, NULL) ? 0 : -1; in CreateFolder() 323 delete [] unicode; in CreateFolder()
|
/external/gtest/src/ |
D | gtest-filepath.cc | 206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists() local 207 const DWORD attributes = GetFileAttributes(unicode); in FileOrDirectoryExists() 208 delete [] unicode; in FileOrDirectoryExists() 230 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); in DirectoryExists() local 231 const DWORD attributes = GetFileAttributes(unicode); in DirectoryExists() 232 delete [] unicode; in DirectoryExists() 323 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); in CreateFolder() local 324 int result = CreateDirectory(unicode, NULL) ? 0 : -1; in CreateFolder() 325 delete [] unicode; in CreateFolder()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 202 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists() local 203 const DWORD attributes = GetFileAttributes(unicode); in FileOrDirectoryExists() 204 delete [] unicode; in FileOrDirectoryExists() 226 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); in DirectoryExists() local 227 const DWORD attributes = GetFileAttributes(unicode); in DirectoryExists() 228 delete [] unicode; in DirectoryExists() 319 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); in CreateFolder() local 320 int result = CreateDirectory(unicode, NULL) ? 0 : -1; in CreateFolder() 321 delete [] unicode; in CreateFolder()
|
/external/icu/icu4c/source/samples/layout/ |
D | cmaps.cpp | 129 LEUnicode16 unicode = (LEUnicode16) unicode32; in unicodeToGlyph() local 134 if (SWAPU16(fStartCodes[fRangeShift]) <= unicode) { in unicodeToGlyph() 141 if (SWAPU16(fStartCodes[index + probe]) <= unicode) { in unicodeToGlyph() 146 if (unicode >= SWAPU16(fStartCodes[index]) && unicode <= SWAPU16(fEndCodes[index])) { in unicodeToGlyph() 148 result = (TTGlyphID) unicode; in unicodeToGlyph() 150 le_uint16 offset = unicode - SWAPU16(fStartCodes[index]); in unicodeToGlyph()
|
/external/pdfium/core/src/fxge/freetype/ |
D | fx_freetype.c | 10 static int xyq_search_node(char* glyph_name, int name_offset, int table_offset, wchar_t unicode) in xyq_search_node() argument 29 if (thiscode == (unsigned short)unicode) // found it! in xyq_search_node() 40 if (xyq_search_node(glyph_name, name_offset, child_offset, unicode)) in xyq_search_node() 168 void FXFT_adobe_name_from_unicode(char* glyph_name, wchar_t unicode) in FXFT_adobe_name_from_unicode() argument 176 if (xyq_search_node(glyph_name, 0, child_offset, unicode)) in FXFT_adobe_name_from_unicode()
|
/external/icu/icu4c/source/samples/uresb/ |
D | sr.txt | 34 unicode { "This is unicode help topic" } 44 unicode { "unicode" }
|
D | root.txt | 32 unicode { "ROOT unicode help topic" } 42 unicode { "unicode" }
|