Home
last modified time | relevance | path

Searched refs:unicode (Results 1 – 25 of 4764) sorted by relevance

12345678910>>...191

/external/harfbuzz_ng/src/
Dhb-utf.hh42 hb_codepoint_t *unicode, in next()
100 *unicode = c; in next()
104 *unicode = replacement; in next()
111 hb_codepoint_t *unicode, in prev()
118 if (likely (next (text, end, unicode, replacement) == end)) in prev()
121 *unicode = replacement; in prev()
130 encode_len (hb_codepoint_t unicode) in encode_len()
132 if (unicode < 0x0080u) return 1; in encode_len()
133 if (unicode < 0x0800u) return 2; in encode_len()
134 if (unicode < 0x10000u) return 3; in encode_len()
[all …]
/external/python/cpython2/Lib/test/
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 …]
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('abc'))
51 self.assertRaises(TypeError, lambda: None in unicode('abc'))
54 self.assertIn(unicode('c'), unicode('abc'))
[all …]
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, 'abc\001', codecname)
/external/skia/third_party/icu/
Dicu.gni223 "$_src/common/unicode/appendable.h",
224 "$_src/common/unicode/brkiter.h",
225 "$_src/common/unicode/bytestream.h",
226 "$_src/common/unicode/bytestrie.h",
227 "$_src/common/unicode/bytestriebuilder.h",
228 "$_src/common/unicode/caniter.h",
229 "$_src/common/unicode/casemap.h",
230 "$_src/common/unicode/char16ptr.h",
231 "$_src/common/unicode/chariter.h",
232 "$_src/common/unicode/dbbi.h",
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DRopeByteStringSubstringTest.java76 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()
106 ByteString unicode = ByteString.EMPTY; in testCharsetToString() local
109 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testCharsetToString()
115 unicode = unicode.substring(2, unicode.size() - 6); in testCharsetToString()
[all …]
DRopeByteStringTest.java103 ByteString unicode = ByteString.EMPTY; in testToString() local
106 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testToString()
111 classUnderTest, getActualClassName(unicode)); in testToString()
112 String roundTripString = unicode.toString(UTF_8); in testToString()
116 assertEquals(classUnderTest + " string must equal the flat string", flatString, unicode); in testToString()
118 flatString.hashCode(), unicode.hashCode()); in testToString()
129 ByteString unicode = ByteString.EMPTY; in testCharsetToString() local
132 unicode = RopeByteString.concatenate(unicode, sourceByteString); in testCharsetToString()
137 classUnderTest, getActualClassName(unicode)); in testCharsetToString()
138 String roundTripString = unicode.toString(Internal.UTF_8); in testCharsetToString()
[all …]
/external/python/cpython3/Objects/
Dunicodeobject.c141 (_PyUnicode_WSTR(unicode) == PyUnicode_DATA(op)))
299 static int unicode_modifiable(PyObject *unicode);
312 PyObject *unicode, PyObject **exceptionObject,
318 PyObject *unicode,
437 PyUnicodeObject *unicode = (PyUnicodeObject *)op; in _PyUnicode_CheckConsistency() local
439 data = unicode->data.any; in _PyUnicode_CheckConsistency()
524 unicode_result_wchar(PyObject *unicode) in unicode_result_wchar() argument
529 len = _PyUnicode_WSTR_LENGTH(unicode); in unicode_result_wchar()
531 Py_DECREF(unicode); in unicode_result_wchar()
536 wchar_t ch = _PyUnicode_WSTR(unicode)[0]; in unicode_result_wchar()
[all …]
/external/autotest/client/cros/scripts/
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/freetype/src/psnames/
Dpsmodule.c189 FT_UInt32 unicode1 = BASE_GLYPH( map1->unicode ); in compare_uni_maps()
190 FT_UInt32 unicode2 = BASE_GLYPH( map2->unicode ); in compare_uni_maps()
196 if ( map1->unicode > map2->unicode ) in compare_uni_maps()
198 else if ( map1->unicode < map2->unicode ) in compare_uni_maps()
357 map->unicode = uni_char; in ps_unicodes_init()
374 map->unicode = ft_extra_glyph_unicodes[n]; in ps_unicodes_init()
416 FT_UInt32 unicode ) in ps_unicodes_char_index() argument
433 if ( mid->unicode == unicode ) in ps_unicodes_char_index()
439 base_glyph = BASE_GLYPH( mid->unicode ); in ps_unicodes_char_index()
441 if ( base_glyph == unicode ) in ps_unicodes_char_index()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateLanguageData.java1 package org.unicode.cldr.tool;
9 import org.unicode.cldr.draft.FileUtilities;
10 import org.unicode.cldr.icu.LDMLConstants;
11 import org.unicode.cldr.util.CLDRConfig;
12 import org.unicode.cldr.util.CLDRFile;
13 import org.unicode.cldr.util.CLDRFile.DraftStatus;
14 import org.unicode.cldr.util.CLDRPaths;
15 import org.unicode.cldr.util.CLDRTool;
16 import org.unicode.cldr.util.CldrUtility;
17 import org.unicode.cldr.util.Iso639Data;
[all …]
DGenerateDayPeriods.java1 package org.unicode.cldr.tool;
9 import org.unicode.cldr.draft.FileUtilities;
10 import org.unicode.cldr.util.CLDRConfig;
11 import org.unicode.cldr.util.CLDRFile;
12 import org.unicode.cldr.util.CLDRPaths;
13 import org.unicode.cldr.util.DayPeriodInfo;
14 import org.unicode.cldr.util.DayPeriodInfo.DayPeriod;
15 import org.unicode.cldr.util.DayPeriodInfo.Span;
16 import org.unicode.cldr.util.DayPeriodInfo.Type;
17 import org.unicode.cldr.util.DtdType;
[all …]
DVerifyAttributeValues.java1 package org.unicode.cldr.tool;
13 import org.unicode.cldr.util.AttributeValueValidity;
14 import org.unicode.cldr.util.AttributeValueValidity.AttributeValueSpec;
15 import org.unicode.cldr.util.AttributeValueValidity.LocaleSpecific;
16 import org.unicode.cldr.util.AttributeValueValidity.Status;
17 import org.unicode.cldr.util.CLDRConfig;
18 import org.unicode.cldr.util.CLDRPaths;
19 import org.unicode.cldr.util.ChainedMap;
20 import org.unicode.cldr.util.DayPeriodInfo;
21 import org.unicode.cldr.util.DayPeriodInfo.DayPeriod;
[all …]
DGenerateDerivedAnnotations.java1 package org.unicode.cldr.tool;
10 import org.unicode.cldr.draft.FileUtilities;
11 import org.unicode.cldr.util.Annotations;
12 import org.unicode.cldr.util.Annotations.AnnotationSet;
13 import org.unicode.cldr.util.CLDRConfig;
14 import org.unicode.cldr.util.CLDRFile;
15 import org.unicode.cldr.util.CLDRPaths;
16 import org.unicode.cldr.util.Emoji;
17 import org.unicode.cldr.util.Level;
18 import org.unicode.cldr.util.Organization;
[all …]
DShowStarredCoverage.java1 package org.unicode.cldr.tool;
18 import org.unicode.cldr.tool.Option.Options;
19 import org.unicode.cldr.util.CLDRConfig;
20 import org.unicode.cldr.util.CLDRFile;
21 import org.unicode.cldr.util.CLDRFile.DraftStatus;
22 import org.unicode.cldr.util.CLDRFile.Status;
23 import org.unicode.cldr.util.CLDRLocale;
24 import org.unicode.cldr.util.CLDRPaths;
25 import org.unicode.cldr.util.ChainedMap;
26 import org.unicode.cldr.util.ChainedMap.M3;
[all …]
DDiffCldr.java1 package org.unicode.cldr.tool;
11 import org.unicode.cldr.tool.Option.Options;
12 import org.unicode.cldr.util.CLDRConfig;
13 import org.unicode.cldr.util.CLDRFile;
14 import org.unicode.cldr.util.CLDRPaths;
15 import org.unicode.cldr.util.ChainedMap;
16 import org.unicode.cldr.util.ChainedMap.M3;
17 import org.unicode.cldr.util.CldrUtility;
18 import org.unicode.cldr.util.Counter;
19 import org.unicode.cldr.util.DtdData;
[all …]
DFindAttributeValueDifferences.java1 package org.unicode.cldr.tool;
11 import org.unicode.cldr.util.CLDRConfig;
12 import org.unicode.cldr.util.CLDRFile;
13 import org.unicode.cldr.util.CLDRPaths;
14 import org.unicode.cldr.util.ChainedMap;
15 import org.unicode.cldr.util.ChainedMap.M3;
16 import org.unicode.cldr.util.ChainedMap.M4;
17 import org.unicode.cldr.util.CldrUtility;
18 import org.unicode.cldr.util.Factory;
19 import org.unicode.cldr.util.Level;
[all …]
DGenerateIndexCharacters.java1 package org.unicode.cldr.tool;
8 import org.unicode.cldr.draft.FileUtilities;
9 import org.unicode.cldr.test.CheckExemplars.ExemplarType;
10 import org.unicode.cldr.test.DisplayAndInputProcessor;
11 import org.unicode.cldr.util.CLDRFile;
12 import org.unicode.cldr.util.CLDRFile.WinningChoice;
13 import org.unicode.cldr.util.CLDRPaths;
14 import org.unicode.cldr.util.Factory;
15 import org.unicode.cldr.util.SimpleFactory;
16 import org.unicode.cldr.util.UnicodeSetPrettyPrinter;
/external/python/cpython3/Include/
Dunicodeobject.h519 #define PyUnicode_READ_CHAR(unicode, index) \ argument
520 (assert(PyUnicode_Check(unicode)), \
521 assert(PyUnicode_IS_READY(unicode)), \
523 (PyUnicode_KIND((unicode)) == PyUnicode_1BYTE_KIND ? \
524 ((const Py_UCS1 *)(PyUnicode_DATA((unicode))))[(index)] : \
525 (PyUnicode_KIND((unicode)) == PyUnicode_2BYTE_KIND ? \
526 ((const Py_UCS2 *)(PyUnicode_DATA((unicode))))[(index)] : \
527 ((const Py_UCS4 *)(PyUnicode_DATA((unicode))))[(index)] \
601 PyObject *unicode /* Unicode object */
608 PyObject *unicode
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckCoverage.java7 package org.unicode.cldr.test;
11 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
12 import org.unicode.cldr.util.CLDRFile;
13 import org.unicode.cldr.util.CLDRFile.Status;
14 import org.unicode.cldr.util.Factory;
15 import org.unicode.cldr.util.InternalCldrException;
16 import org.unicode.cldr.util.LanguageTagParser;
17 import org.unicode.cldr.util.Level;
18 import org.unicode.cldr.util.SupplementalDataInfo;
19 import org.unicode.cldr.util.SupplementalDataInfo.PluralInfo;
[all …]
DCoverageLevel2.java1 package org.unicode.cldr.test;
8 import org.unicode.cldr.tool.ToolConfig;
9 import org.unicode.cldr.util.Builder;
10 import org.unicode.cldr.util.CLDRConfig;
11 import org.unicode.cldr.util.CLDRFile;
12 import org.unicode.cldr.util.CLDRPaths;
13 import org.unicode.cldr.util.LanguageTagParser;
14 import org.unicode.cldr.util.Level;
15 import org.unicode.cldr.util.RegexLookup;
16 import org.unicode.cldr.util.RegexLookup.Finder;
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestLdml2ICU.java1 package org.unicode.cldr.unittest;
8 import org.unicode.cldr.icu.NewLdml2IcuConverter;
9 import org.unicode.cldr.util.CLDRConfig;
10 import org.unicode.cldr.util.CLDRFile;
11 import org.unicode.cldr.util.CLDRFile.DraftStatus;
12 import org.unicode.cldr.util.CLDRPaths;
13 import org.unicode.cldr.util.CldrUtility;
14 import org.unicode.cldr.util.CldrUtility.VariableReplacer;
15 import org.unicode.cldr.util.Pair;
16 import org.unicode.cldr.util.RegexFileParser;
[all …]
DTestAttributeValues.java1 package org.unicode.cldr.unittest;
12 import org.unicode.cldr.tool.VerifyAttributeValues;
13 import org.unicode.cldr.tool.VerifyAttributeValues.Errors;
14 import org.unicode.cldr.util.AttributeValueValidity;
15 import org.unicode.cldr.util.AttributeValueValidity.AttributeValueSpec;
16 import org.unicode.cldr.util.AttributeValueValidity.MatcherPattern;
17 import org.unicode.cldr.util.AttributeValueValidity.Status;
18 import org.unicode.cldr.util.CLDRConfig;
19 import org.unicode.cldr.util.CLDRFile;
20 import org.unicode.cldr.util.CLDRPaths;
[all …]
/external/mdnsresponder/mDNSWindows/
DWinServices.cpp30 BSTR unicode; in UTF8StringToStringObject() local
32 unicode = NULL; in UTF8StringToStringObject()
37 unicode = (BSTR) malloc( (size_t)( n * sizeof( wchar_t ) ) ); in UTF8StringToStringObject()
38 if( !unicode ) in UTF8StringToStringObject()
44 n = MultiByteToWideChar( CP_UTF8, 0, inUTF8, -1, unicode, n ); in UTF8StringToStringObject()
47 inObject = unicode; in UTF8StringToStringObject()
62 if( unicode ) in UTF8StringToStringObject()
64 free( unicode ); in UTF8StringToStringObject()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cidfont.cpp163 wchar_t unicode) { in EmbeddedCharcodeFromUnicode() argument
174 if (map[i] == unicode) { in EmbeddedCharcodeFromUnicode()
270 wchar_t unicode; in GetUnicodeFromCharCode() local
278 charsize, &unicode, 1); in GetUnicodeFromCharCode()
279 return ret == 1 ? unicode : 0; in GetUnicodeFromCharCode()
288 uint32_t CPDF_CIDFont::CharCodeFromUnicode(wchar_t unicode) const { in CharCodeFromUnicode()
289 uint32_t charcode = CPDF_Font::CharCodeFromUnicode(unicode); in CharCodeFromUnicode()
297 return unicode; in CharCodeFromUnicode()
305 if (this_unicode == unicode) in CharCodeFromUnicode()
313 if (unicode < 0x80) in CharCodeFromUnicode()
[all …]

12345678910>>...191