Lines Matching defs:in
76 // incompatible in too many ways
118 ICUCollateData::Strxfrm(char* out, const char* in,
121 if (in == NULL) {
128 // incompatible in too many ways
129 requiredSize = strlcpy(out, in, outSize);
130 for (const char* inIter = in; *inIter != 0; ++inIter) {
138 if (_ToUnicodeString(in, unicodeIn) != B_OK)
143 // Do not include terminating NULL byte in the required-size.
159 // incompatible in too many ways
186 ICUCollateData::Wcsxfrm(wchar_t* out, const wchar_t* in, size_t outSize,
189 if (in == NULL) {
196 // incompatible in too many ways
197 requiredSize = wcslcpy(out, in, outSize);
198 for (const wchar_t* inIter = in; *inIter != 0; ++inIter) {
205 UnicodeString unicodeIn = UnicodeString::fromUTF32((UChar32*)in, -1);
218 // Do not include terminating NULL character in the required-size.
230 ICUCollateData::_ToUnicodeString(const char* in, UnicodeString& out)
234 if (in == NULL)
237 size_t inLen = strlen(in);
247 int32_t outLen = ucnv_toUChars(converter, NULL, 0, in, inLen, &icuStatus);
258 = ucnv_toUChars(converter, outBuf, outLen + 1, in, inLen, &icuStatus);