Home
last modified time | relevance | path

Searched refs:unistr (Results 1 – 25 of 27) 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 …]
DAndroid.bp166 "unistr.cpp",
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.cpp162 int32_t NumberStringBuilder::append(const UnicodeString &unistr, Field field, UErrorCode &status) { in append() argument
163 return insert(fLength, unistr, field, status); in append()
166 int32_t NumberStringBuilder::insert(int32_t index, const UnicodeString &unistr, Field field, in insert() argument
168 if (unistr.length() == 0) { in insert()
171 } else if (unistr.length() == 1) { in insert()
173 return insertCodePoint(index, unistr.charAt(0), field, status); in insert()
175 return insert(index, unistr, 0, unistr.length(), field, status); in insert()
180 NumberStringBuilder::insert(int32_t index, const UnicodeString &unistr, int32_t start, int32_t end, in insert() argument
188 getCharPtr()[position + i] = unistr.charAt(start + i); in insert()
Dnumber_stringbuilder.h73 int32_t append(const UnicodeString &unistr, Field field, UErrorCode &status);
75 int32_t insert(int32_t index, const UnicodeString &unistr, Field field, UErrorCode &status);
77 …int32_t insert(int32_t index, const UnicodeString &unistr, int32_t start, int32_t end, Field field,
Dtimezone.cpp750 unistr.truncate(0); in getID()
753 unistr.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getID()
935 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/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
58 c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]]
64 c1 = unistr(line.split(';')[0])
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c736 PyObject *unistr, int final) in encoder_encode_stateful() argument
742 if (PyUnicode_Check(unistr)) in encoder_encode_stateful()
745 unistr = ucvt = PyObject_Unicode(unistr); in encoder_encode_stateful()
746 if (unistr == NULL) in encoder_encode_stateful()
748 else if (!PyUnicode_Check(unistr)) { in encoder_encode_stateful()
756 datalen = PyUnicode_GET_SIZE(unistr); in encoder_encode_stateful()
771 PyUnicode_AS_UNICODE(unistr), in encoder_encode_stateful()
778 inbuf = (Py_UNICODE *)PyUnicode_AS_UNICODE(unistr); in encoder_encode_stateful()
1558 PyObject *unistr) in mbstreamwriter_iwrite() argument
1562 str = encoder_encode_stateful(STATEFUL_ECTX(self), unistr, 0); in mbstreamwriter_iwrite()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c745 PyObject *unistr, int final) in encoder_encode_stateful() argument
752 if (PyUnicode_Check(unistr)) in encoder_encode_stateful()
755 unistr = ucvt = PyObject_Str(unistr); in encoder_encode_stateful()
756 if (unistr == NULL) in encoder_encode_stateful()
758 else if (!PyUnicode_Check(unistr)) { in encoder_encode_stateful()
774 PyUnicode_Append(&inbuf_tmp, unistr); in encoder_encode_stateful()
783 Py_INCREF(unistr); in encoder_encode_stateful()
784 inbuf = unistr; in encoder_encode_stateful()
1606 PyObject *unistr) in mbstreamwriter_iwrite() argument
1610 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.txt116 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/skqp/third_party/icu/
DBUILD.gn165 "../externals/icu/source/common/unistr.cpp",
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt769 unistr.o # for CharString::appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode)
770 appendable.o stringpiece.o ustrtrns.o # for unistr.o
/external/python/cpython2/Objects/
Dunicodeobject.c6094 Py_UNICODE *unistr; in convert_uc() local
6108 unistr = PyUnicode_AS_UNICODE(uniobj); in convert_uc()
6109 *fillcharloc = unistr[0]; in convert_uc()
8285 PyObject *unistr; in formatchar() local
8305 unistr = PyUnicode_Decode(str, 1, NULL, "strict"); in formatchar()
8306 if (unistr == NULL) in formatchar()
8308 buf[0] = PyUnicode_AS_UNICODE(unistr)[0]; in formatchar()
8309 Py_DECREF(unistr); in formatchar()
/external/skia/third_party/icu/
DBUILD.gn166 "../externals/icu/source/common/unistr.cpp",
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp1673 unistr=UnicodeString(testEnumStrings[i++], ""); in snext()
1674 return &unistr; in snext()
Dtzrulets.cpp105 unistr = UnicodeString(TESTZIDS[idx++], ""); in snext()
106 return &unistr; in snext()

12