Home
last modified time | relevance | path

Searched refs:inputChars (Results 1 – 5 of 5) sorted by relevance

/external/icu/android_icu4j/libcore_bridge/src/native/
DMatcherState.cpp51 ScopedStringChars inputChars(env, input); in updateInput() local
52 if (inputChars.get() == nullptr) { in updateInput()
59 mUChars.reset(new (std::nothrow) UChar[inputChars.size()]); in updateInput()
66 memcpy(mUChars.get(), inputChars.get(), inputChars.size() * sizeof(jchar)); in updateInput()
70 mUText = utext_openUChars(nullptr, mUChars.get(), inputChars.size(), &mStatus); in updateInput()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRFileTransformer.java59 private final UnicodeSet inputChars; field in CLDRFileTransformer.LocaleTransform
74 this.inputChars = new UnicodeSet(inputCharPattern); in LocaleTransform()
118 return inputChars; in getInputChars()
/external/icu/icu4c/source/i18n/
Drematch.cpp331 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16+1)); in appendReplacement() local
332 if (inputChars == NULL) { in appendReplacement()
336 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status); in appendReplacement()
337 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status); in appendReplacement()
338 uprv_free(inputChars); in appendReplacement()
531 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16)); in appendTail() local
532 if (inputChars == NULL) { in appendTail()
535 …utext_extract(fInputText, fAppendPosition, fInputLength, inputChars, len16, &status); // untermina… in appendTail()
537 utext_replace(dest, destLen, destLen, inputChars, len16, &status); in appendTail()
538 uprv_free(inputChars); in appendTail()
[all …]
Duregex.cpp456 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(regexp->fTextLength+1)); in uregex_getText() local
458 … utext_extract(inputText, 0, inputNativeLength, inputChars, regexp->fTextLength+1, status); in uregex_getText()
459 regexp->fText = inputChars; in uregex_getText()
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp3350 char *patternChars = NULL, *inputChars = NULL; in regex_find() local
3558 inputChars = new char[inputUTF8Length+1]; in regex_find()
3559 deTaggedInput.extract(inputChars, inputUTF8Length+1, UTF8Converter, status); in regex_find()
3560 utext_openUTF8(&inputText, inputChars, inputUTF8Length, &status); in regex_find()
3796 delete[] inputChars; in regex_find()
4392 char *inputChars = NULL; in PerlTestsUTF8() local
4586 … inputLength = matchString.extract(inputChars, inputCapacity, UTF8Converter.getAlias(), status); in PerlTestsUTF8()
4589 delete[] inputChars; in PerlTestsUTF8()
4591 inputChars = new char[inputCapacity]; in PerlTestsUTF8()
4592 matchString.extract(inputChars, inputCapacity, UTF8Converter.getAlias(), status); in PerlTestsUTF8()
[all …]