/external/icu/icu4c/source/samples/strsrch/ |
Makefile | 12 TARGET=strsrch 15 OBJECTS=strsrch.o
|
/external/icu/icu4c/source/i18n/ |
usearch.cpp | 142 * @param strsrch string search data 147 inline int32_t getCE(const UStringSearch *strsrch, uint32_t sourcece) 152 sourcece &= strsrch->ceMask; 154 if (strsrch->toShift) { 160 if (strsrch->variableTop > sourcece) { 161 if (strsrch->strength >= UCOL_QUATERNARY) { 168 } else if (strsrch->strength >= UCOL_QUATERNARY && sourcece == UCOL_IGNORABLE) { 284 * @param strsrch string search data 290 inline uint16_t initializePatternCETable(UStringSearch *strsrch, 293 UPattern *pattern = &(strsrch->pattern) [all...] |
usrchimp.h | 205 * @param strsrch string search data 210 UBool usearch_handleNextExact(UStringSearch *strsrch, UErrorCode *status); 216 * @param strsrch string search data 221 UBool usearch_handleNextCanonical(UStringSearch *strsrch, UErrorCode *status); 226 * @param strsrch string search data 231 UBool usearch_handlePreviousExact(UStringSearch *strsrch, UErrorCode *status); 237 * @param strsrch string search data 242 UBool usearch_handlePreviousCanonical(UStringSearch *strsrch,
|
/external/icu/icu4c/source/i18n/unicode/ |
usearch.h | 374 * @param strsrch search iterator data struct 381 U_STABLE void U_EXPORT2 usearch_setOffset(UStringSearch *strsrch, 389 * @param strsrch search iterator data struct 393 U_STABLE int32_t U_EXPORT2 usearch_getOffset(const UStringSearch *strsrch); 399 * @param strsrch search iterator data struct 406 U_STABLE void U_EXPORT2 usearch_setAttribute(UStringSearch *strsrch, 413 * @param strsrch search iterator data struct 420 const UStringSearch *strsrch, 432 * @param strsrch search iterator data struct 443 const UStringSearch *strsrch); [all...] |
/external/icu/icu4c/source/test/intltest/ |
srchtest.cpp | 254 UBool StringSearchTest::assertEqualWithStringSearch(StringSearch *strsrch, 263 strsrch->setAttribute(USEARCH_ELEMENT_COMPARISON, search->elemCompare, status); 269 if (strsrch->getMatchedStart() != USEARCH_DONE || 270 strsrch->getMatchedLength() != 0) { 277 strsrch->next(status); 278 if (matchindex != strsrch->getMatchedStart() || 279 matchlength != strsrch->getMatchedLength()) { 280 char *str = toCharString(strsrch->getText()); 282 str = toCharString(strsrch->getPattern()); 285 strsrch->getMatchedStart(), strsrch->getMatchedLength() 466 StringSearch *strsrch, *strsrch2; local 523 StringSearch *strsrch; local 576 StringSearch *strsrch; local 879 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 910 StringSearch *strsrch; local 1013 StringSearch *strsrch = new StringSearch(pattern, text, local 1056 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1122 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1216 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1281 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, local 1358 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1427 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1490 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, local 1550 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1608 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL, local 1648 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL, local 1678 StringSearch *strsrch = NULL; local 1767 StringSearch *strsrch = new StringSearch(pattern, text, collator, local 1870 StringSearch *strsrch = new StringSearch(pattern, text, collator, local 1911 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, local 1977 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 2040 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 2106 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 2213 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL, local 2247 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local [all...] |
srchtest.h | 44 UBool assertEqualWithStringSearch( StringSearch *strsrch,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/ |
SearchTest.java | 583 StringSearch strsrch; local 615 StringSearch strsrch; local 643 StringSearch strsrch; local 803 StringSearch strsrch = null; local 881 StringSearch strsrch = null; local 934 StringSearch strsrch = null; local 977 StringSearch strsrch = null; local 1048 StringSearch strsrch = null; local 1078 StringSearch strsrch = null; local 1102 StringSearch strsrch = null; local 1145 StringSearch strsrch = null; local 1186 StringSearch strsrch = null; local 1260 StringSearch strsrch = null; local 1340 StringSearch strsrch = null; local 1553 StringSearch strsrch = null; local 1599 StringSearch strsrch = new StringSearch(search.pattern, new StringCharacterIterator(search.text), collator, null); local 1624 StringSearch strsrch = new StringSearch(PATTERN[0].pattern, new StringCharacterIterator(PATTERN[0].text), m_en_us_, null); local 1694 StringSearch strsrch = new StringSearch(PATTERNCANONICAL[0].pattern, new StringCharacterIterator(PATTERNCANONICAL[0].text), local 1744 StringSearch strsrch = new StringSearch(pattern, text, m_en_us_, null); local 1764 StringSearch strsrch = new StringSearch(search.pattern, new StringCharacterIterator(search.text), local 1841 StringSearch strsrch = new StringSearch(TEXT[0].pattern, t, m_en_us_, null); local 1866 StringSearch strsrch = new StringSearch(TEXTCANONICAL[0].pattern, t, m_en_us_, null); local 2012 StringSearch strsrch = null; local [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/ |
SearchTest.java | 579 StringSearch strsrch; local 611 StringSearch strsrch; local 639 StringSearch strsrch; local 799 StringSearch strsrch = null; local 877 StringSearch strsrch = null; local 930 StringSearch strsrch = null; local 973 StringSearch strsrch = null; local 1044 StringSearch strsrch = null; local 1074 StringSearch strsrch = null; local 1098 StringSearch strsrch = null; local 1141 StringSearch strsrch = null; local 1182 StringSearch strsrch = null; local 1256 StringSearch strsrch = null; local 1336 StringSearch strsrch = null; local 1549 StringSearch strsrch = null; local 1595 StringSearch strsrch = new StringSearch(search.pattern, new StringCharacterIterator(search.text), collator, null); local 1620 StringSearch strsrch = new StringSearch(PATTERN[0].pattern, new StringCharacterIterator(PATTERN[0].text), m_en_us_, null); local 1690 StringSearch strsrch = new StringSearch(PATTERNCANONICAL[0].pattern, new StringCharacterIterator(PATTERNCANONICAL[0].text), local 1740 StringSearch strsrch = new StringSearch(pattern, text, m_en_us_, null); local 1760 StringSearch strsrch = new StringSearch(search.pattern, new StringCharacterIterator(search.text), local 1837 StringSearch strsrch = new StringSearch(TEXT[0].pattern, t, m_en_us_, null); local 1862 StringSearch strsrch = new StringSearch(TEXTCANONICAL[0].pattern, t, m_en_us_, null); local 2008 StringSearch strsrch = null; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
usrchtst.c | 336 static UBool assertEqualWithUStringSearch( UStringSearch *strsrch, 348 usearch_setAttribute(strsrch, USEARCH_ELEMENT_COMPARISON, search.elemCompare, &status); 354 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || 355 usearch_getMatchedLength(strsrch) != 0) { 361 usearch_next(strsrch, &status); 362 if (matchindex != usearch_getMatchedStart(strsrch) || 363 matchlength != (uint32_t)usearch_getMatchedLength(strsrch)) { 364 char *str = toCharString(usearch_getText(strsrch, &textlength)); 366 str = toCharString(usearch_getPattern(strsrch, &textlength)); 369 usearch_getMatchedStart(strsrch), usearch_getMatchedLength(strsrch) 549 UStringSearch *strsrch; local 580 UStringSearch *strsrch; local 621 UStringSearch *strsrch; local 724 UStringSearch *strsrch; local 883 UStringSearch *strsrch; local 932 UStringSearch *strsrch; local 1012 UStringSearch *strsrch; local 1119 UStringSearch *strsrch; local 1219 UStringSearch *strsrch; local 1320 UStringSearch *strsrch; local 1409 UStringSearch *strsrch; local 1516 UStringSearch *strsrch; local 1589 UStringSearch *strsrch; local 1658 UStringSearch *strsrch; local 1700 UStringSearch *strsrch; local 1742 UStringSearch *strsrch = NULL; local 1867 UStringSearch *strsrch; local 1984 UStringSearch *strsrch; local 2035 UStringSearch *strsrch; local 2102 UStringSearch *strsrch; local 2177 UStringSearch *strsrch; local 2268 UStringSearch *strsrch; local 2386 UStringSearch *strsrch = NULL; local 2426 UStringSearch *strsrch = NULL; local [all...] |