Home
last modified time | relevance | path

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

/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.bp182 "unistr.cpp",
DMakefile.in97 appendable.o ustr_cnv.o unistr_cnv.o unistr.o unistr_case.o unistr_props.o \
/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/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/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/icu/icu4c/source/common/unicode/
Dstrenum.h216 UnicodeString unistr;
/external/tcpdump/
Dsmbutil.c341 unistr(netdissect_options *ndo, in unistr() function
622 s = unistr(ndo, buf, &len, (*fmt == 'R') ? 0 : unicodestr); in smb_fdata1()
642 s = unistr(ndo, buf + 1, &len, (*fmt == 'Y') ? 0 : unicodestr); in smb_fdata1()
674 s = unistr(ndo, buf, &stringlen, unicodestr); in smb_fdata1()
/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.txt111 unistr.h
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1173 final String unistr = "abcd\ud800\udc00\u1234\u00a5\u3000\r\n"; in TestAPISemantics() local
1203 CharBuffer uniVal = CharBuffer.wrap(unistr); in TestAPISemantics()
1214 CharBuffer chars = CharBuffer.allocate(unistr.length()); in TestAPISemantics()
1225 if (!equals(chars, unistr)) { in TestAPISemantics()
1229 printchars(unistr); in TestAPISemantics()
1240 CharBuffer chars = CharBuffer.allocate(unistr.length()); in TestAPISemantics()
1254 if (unistr.length() != (chars.limit())) { in TestAPISemantics()
1258 if (!equals(chars, unistr)) { in TestAPISemantics()
1271 CharBuffer chars = CharBuffer.allocate(unistr.length()); in TestAPISemantics()
1284 if (chars.limit() != unistr.length()) { in TestAPISemantics()
[all …]
/external/icu/icu4c/source/i18n/
Dtimezone.cpp750 unistr.truncate(0); in getID()
753 unistr.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getID()
935 return &unistr; in snext()
Dtransreg.cpp847 unistr = *(const UnicodeString*)reg.availableIDs[index++]; in snext()
848 return &unistr; in snext()
Dtznames_impl.cpp882 unistr.setTo((const UChar*)fMetaZoneIDs->elementAt(fPos++), -1); in snext()
883 return &unistr; in snext()
/external/skia/third_party/icu/
DBUILD.gn163 "../externals/icu/source/common/unistr.cpp",
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt754 unistr.o # for CharString::appendInvariantChars(const UnicodeString &s, UErrorCode &errorCode)
755 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/icu/icu4c/source/test/intltest/
Dustrtest.cpp1664 unistr=UnicodeString(testEnumStrings[i++], ""); in snext()
1665 return &unistr; in snext()
Dtzrulets.cpp104 unistr = UnicodeString(TESTZIDS[idx++], ""); in snext()
105 return &unistr; in snext()
/external/python/cpython2/Doc/whatsnew/
D2.0.rst234 unistr = u'\u0660\u2000ab ...'
240 output.write( unistr )