Home
last modified time | relevance | path

Searched refs:unistr (Results 1 – 25 of 28) sorted by relevance

12

/external/icu/icu4c/source/common/
Dustrenum.cpp47 unistr=*s; in next()
48 ensureCharsCapacity(unistr.length()+1, status); in next()
51 *resultLength=unistr.length(); in next()
53 unistr.extract(0, INT32_MAX, chars, charsCapacity, US_INV); in next()
65 unistr=*s; in unext()
67 *resultLength=unistr.length(); in unext()
69 return unistr.getTerminatedBuffer(); in unext()
110 UChar *buffer=unistr.getBuffer(length+1); in setChars()
114 unistr.releaseBuffer(length); in setChars()
115 return &unistr; in setChars()
[all …]
DMakefile.in98 appendable.o ustr_cnv.o unistr_cnv.o unistr.o unistr_case.o unistr_props.o \
/external/icu/icu4c/source/i18n/
Dnumber_stringbuilder.cpp161 int32_t NumberStringBuilder::append(const UnicodeString &unistr, Field field, UErrorCode &status) { in append() argument
162 return insert(fLength, unistr, field, status); in append()
165 int32_t NumberStringBuilder::insert(int32_t index, const UnicodeString &unistr, Field field, in insert() argument
167 if (unistr.length() == 0) { in insert()
170 } else if (unistr.length() == 1) { in insert()
172 return insertCodePoint(index, unistr.charAt(0), field, status); in insert()
174 return insert(index, unistr, 0, unistr.length(), field, status); in insert()
179 NumberStringBuilder::insert(int32_t index, const UnicodeString &unistr, int32_t start, int32_t end, in insert() argument
187 getCharPtr()[position + i] = unistr.charAt(start + i); in insert()
194 NumberStringBuilder::splice(int32_t startThis, int32_t endThis, const UnicodeString &unistr, in splice() argument
[all …]
Dnumber_stringbuilder.h74 int32_t append(const UnicodeString &unistr, Field field, UErrorCode &status);
76 int32_t insert(int32_t index, const UnicodeString &unistr, Field field, UErrorCode &status);
78 …int32_t insert(int32_t index, const UnicodeString &unistr, int32_t start, int32_t end, Field field,
81 int32_t splice(int32_t startThis, int32_t endThis, const UnicodeString &unistr,
Dtimezone.cpp749 unistr.truncate(0); in getID()
752 unistr.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getID()
934 return &unistr; in snext()
Dtransreg.cpp886 unistr = *(const UnicodeString*)reg.availableIDs[index++]; in snext()
887 return &unistr; in snext()
Dtznames_impl.cpp888 unistr.setTo((const UChar*)fMetaZoneIDs->elementAt(fPos++), -1); in snext()
889 return &unistr; in snext()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_n_a_m_e.py111 unistr = name.toUnicode()
115 someName = unistr
117 englishName = unistr
405 unistr = self.toUnicode()
407 unistr = None
415 if unistr is None or not self.encodingIsUnicodeCompatible():
416 attrs.append(("unicode", unistr is not None))
420 if unistr is not None:
421 writer.write(unistr)
/external/harfbuzz_ng/test/shaping/data/text-rendering-tests/
Dextract-tests.py17 def unistr(s): function
49 print ("../fonts/%s:%s:%s:%s" % (font, opts, unistr(text), glyphstr(glyphs)))
60 print ("../fonts/%s:%s:%s:*" % (font, opts, unistr(text)))
/external/python/cpython2/Lib/test/
Dtest_normalization.py31 def unistr(data): function
57 c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]]
63 c1 = unistr(line.split(';')[0])
/external/python/cpython3/Lib/test/
Dtest_normalization.py30 def unistr(data): function
66 c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]]
72 c1 = unistr(line.split(';')[0])
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c749 PyObject *unistr, int final) in encoder_encode_stateful() argument
756 if (PyUnicode_Check(unistr)) in encoder_encode_stateful()
759 unistr = ucvt = PyObject_Str(unistr); in encoder_encode_stateful()
760 if (unistr == NULL) in encoder_encode_stateful()
762 else if (!PyUnicode_Check(unistr)) { in encoder_encode_stateful()
778 PyUnicode_Append(&inbuf_tmp, unistr); in encoder_encode_stateful()
787 Py_INCREF(unistr); in encoder_encode_stateful()
788 inbuf = unistr; in encoder_encode_stateful()
1610 PyObject *unistr) in mbstreamwriter_iwrite() argument
1614 str = encoder_encode_stateful(STATEFUL_ECTX(self), unistr, 0); in mbstreamwriter_iwrite()
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c734 PyObject *unistr, int final) in encoder_encode_stateful() argument
740 if (PyUnicode_Check(unistr)) in encoder_encode_stateful()
743 unistr = ucvt = PyObject_Unicode(unistr); in encoder_encode_stateful()
744 if (unistr == NULL) in encoder_encode_stateful()
746 else if (!PyUnicode_Check(unistr)) { in encoder_encode_stateful()
754 datalen = PyUnicode_GET_SIZE(unistr); in encoder_encode_stateful()
769 PyUnicode_AS_UNICODE(unistr), in encoder_encode_stateful()
776 inbuf = (Py_UNICODE *)PyUnicode_AS_UNICODE(unistr); in encoder_encode_stateful()
1556 PyObject *unistr) in mbstreamwriter_iwrite() argument
1560 str = encoder_encode_stateful(STATEFUL_ECTX(self), unistr, 0); in mbstreamwriter_iwrite()
/external/icu/icu4c/source/test/perf/ustrperf/
Dstringperf.h37 UnicodeString unistr; variable
419 unistr = icu_assign_helper(src,srcLen); in assign()
424 unistr.setTo(src, srcLen); in assign1()
429 unistr = s0; in assign2()
/external/tcpdump/
Dsmbutil.c342 unistr(netdissect_options *ndo, in unistr() function
623 s = unistr(ndo, buf, &len, (*fmt == 'R') ? 0 : unicodestr); in smb_fdata1()
643 s = unistr(ndo, buf + 1, &len, (*fmt == 'Y') ? 0 : unicodestr); in smb_fdata1()
675 s = unistr(ndo, buf, &stringlen, unicodestr); in smb_fdata1()
/external/icu/icu4c/source/common/unicode/
Dstrenum.h216 UnicodeString unistr;
/external/python/cpython3/Doc/library/
Dunicodedata.rst104 .. function:: normalize(form, unistr)
106 Return the normal form *form* for the Unicode string *unistr*. Valid values for
/external/python/cpython2/Doc/library/
Dunicodedata.rst101 .. function:: normalize(form, unistr)
103 Return the normal form *form* for the Unicode string *unistr*. Valid values for
/external/icu/icu4c/source/test/hdrtst/
Dcxxfiles.txt119 unistr.h
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1176 final String unistr = "abcd\ud800\udc00\u1234\u00a5\u3000\r\n"; in TestAPISemantics() local
1206 CharBuffer uniVal = CharBuffer.wrap(unistr); in TestAPISemantics()
1217 CharBuffer chars = CharBuffer.allocate(unistr.length()); in TestAPISemantics()
1228 if (!equals(chars, unistr)) { in TestAPISemantics()
1232 printchars(unistr); in TestAPISemantics()
1243 CharBuffer chars = CharBuffer.allocate(unistr.length()); in TestAPISemantics()
1257 if (unistr.length() != (chars.limit())) { in TestAPISemantics()
1261 if (!equals(chars, unistr)) { in TestAPISemantics()
1274 CharBuffer chars = CharBuffer.allocate(unistr.length()); in TestAPISemantics()
1287 if (chars.limit() != unistr.length()) { in TestAPISemantics()
[all …]
/external/python/cpython2/Objects/
Dunicodeobject.c6089 Py_UNICODE *unistr; in convert_uc() local
6103 unistr = PyUnicode_AS_UNICODE(uniobj); in convert_uc()
6104 *fillcharloc = unistr[0]; in convert_uc()
8281 PyObject *unistr; in formatchar() local
8301 unistr = PyUnicode_Decode(str, 1, NULL, "strict"); in formatchar()
8302 if (unistr == NULL) in formatchar()
8304 buf[0] = PyUnicode_AS_UNICODE(unistr)[0]; in formatchar()
8305 Py_DECREF(unistr); in formatchar()
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt803 unistr.o # for CharString::appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode)
804 appendable.o stringpiece.o ustrtrns.o # for unistr.o
/external/skia/third_party/icu/
Dicu.gni296 "$_src/common/unicode/unistr.h",
329 "$_src/common/unistr.cpp",
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp1672 unistr=UnicodeString(testEnumStrings[i++], ""); in snext()
1673 return &unistr; in snext()
Dtzrulets.cpp105 unistr = UnicodeString(TESTZIDS[idx++], ""); in snext()
106 return &unistr; in snext()

12