Home | History | Annotate | Download | only in letest

Lines Matching refs:ustring

30 char *getCString(const UnicodeString *uString)
32 if (uString == NULL) {
36 le_int32 uLength = uString->length();
37 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV);
40 uString->extract(0, uLength, cString, cLength, US_INV);
52 const UnicodeString ustring(uChars);
54 return getCString(&ustring);
57 char *getUTF8String(const UnicodeString *uString)
59 if (uString == NULL) {
63 le_int32 uLength = uString->length();
64 le_int32 cLength = uString->extract(0, uLength, NULL, 0, "UTF-8");
67 uString->extract(0, uLength, cString, cLength, "UTF-8");