/external/icu4c/samples/strsrch/ |
Makefile | 12 TARGET=strsrch 15 OBJECTS=strsrch.o
|
/external/icu4c/i18n/ |
usearch.cpp | 148 * @param strsrch string search data 153 inline int32_t getCE(const UStringSearch *strsrch, uint32_t sourcece) 158 sourcece &= strsrch->ceMask; 160 if (strsrch->toShift) { 166 if (strsrch->variableTop > sourcece) { 167 if (strsrch->strength >= UCOL_QUATERNARY) { 174 } else if (strsrch->strength >= UCOL_QUATERNARY && sourcece == UCOL_IGNORABLE) { 290 * @param strsrch string search data 296 inline uint16_t initializePatternCETable(UStringSearch *strsrch, 299 UPattern *pattern = &(strsrch->pattern) [all...] |
usrchimp.h | 98 * @param strsrch string search data 103 UBool usearch_handleNextExact(UStringSearch *strsrch, UErrorCode *status); 109 * @param strsrch string search data 114 UBool usearch_handleNextCanonical(UStringSearch *strsrch, UErrorCode *status); 119 * @param strsrch string search data 124 UBool usearch_handlePreviousExact(UStringSearch *strsrch, UErrorCode *status); 130 * @param strsrch string search data 135 UBool usearch_handlePreviousCanonical(UStringSearch *strsrch,
|
/external/chromium_org/third_party/icu/source/i18n/ |
usearch.cpp | 148 * @param strsrch string search data 153 inline int32_t getCE(const UStringSearch *strsrch, uint32_t sourcece) 158 sourcece &= strsrch->ceMask; 160 if (strsrch->toShift) { 166 if (strsrch->variableTop > sourcece) { 167 if (strsrch->strength >= UCOL_QUATERNARY) { 174 } else if (strsrch->strength >= UCOL_QUATERNARY && sourcece == UCOL_IGNORABLE) { 290 * @param strsrch string search data 296 inline uint16_t initializePatternCETable(UStringSearch *strsrch, 299 UPattern *pattern = &(strsrch->pattern) [all...] |
usrchimp.h | 98 * @param strsrch string search data 103 UBool usearch_handleNextExact(UStringSearch *strsrch, UErrorCode *status); 109 * @param strsrch string search data 114 UBool usearch_handleNextCanonical(UStringSearch *strsrch, UErrorCode *status); 119 * @param strsrch string search data 124 UBool usearch_handlePreviousExact(UStringSearch *strsrch, UErrorCode *status); 130 * @param strsrch string search data 135 UBool usearch_handlePreviousCanonical(UStringSearch *strsrch,
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
usearch.h | 325 * @param strsrch search iterator data struct 332 U_STABLE void U_EXPORT2 usearch_setOffset(UStringSearch *strsrch, 340 * @param strsrch search iterator data struct 344 U_STABLE int32_t U_EXPORT2 usearch_getOffset(const UStringSearch *strsrch); 350 * @param strsrch search iterator data struct 357 U_STABLE void U_EXPORT2 usearch_setAttribute(UStringSearch *strsrch, 364 * @param strsrch search iterator data struct 371 const UStringSearch *strsrch, 383 * @param strsrch search iterator data struct 394 const UStringSearch *strsrch); [all...] |
/external/icu4c/i18n/unicode/ |
usearch.h | 325 * @param strsrch search iterator data struct 332 U_STABLE void U_EXPORT2 usearch_setOffset(UStringSearch *strsrch, 340 * @param strsrch search iterator data struct 344 U_STABLE int32_t U_EXPORT2 usearch_getOffset(const UStringSearch *strsrch); 350 * @param strsrch search iterator data struct 357 U_STABLE void U_EXPORT2 usearch_setAttribute(UStringSearch *strsrch, 364 * @param strsrch search iterator data struct 371 const UStringSearch *strsrch, 383 * @param strsrch search iterator data struct 394 const UStringSearch *strsrch); [all...] |
/external/icu4c/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/chromium_org/third_party/icu/source/test/cintltst/ |
usrchtst.c | 336 static UBool assertEqualWithUStringSearch( UStringSearch *strsrch, 346 usearch_setAttribute(strsrch, USEARCH_ELEMENT_COMPARISON, search.elemCompare, &status); 352 if (usearch_getMatchedStart(strsrch) != USEARCH_DONE || 353 usearch_getMatchedLength(strsrch) != 0) { 359 usearch_next(strsrch, &status); 360 if (matchindex != usearch_getMatchedStart(strsrch) || 361 matchlength != (uint32_t)usearch_getMatchedLength(strsrch)) { 362 char *str = toCharString(usearch_getText(strsrch, &textlength)); 364 str = toCharString(usearch_getPattern(strsrch, &textlength)); 367 usearch_getMatchedStart(strsrch), usearch_getMatchedLength(strsrch) 450 UStringSearch *strsrch; local 481 UStringSearch *strsrch; local 522 UStringSearch *strsrch; local 625 UStringSearch *strsrch; local 784 UStringSearch *strsrch; local 833 UStringSearch *strsrch; local 913 UStringSearch *strsrch; local 1020 UStringSearch *strsrch; local 1120 UStringSearch *strsrch; local 1221 UStringSearch *strsrch; local 1310 UStringSearch *strsrch; local 1417 UStringSearch *strsrch; local 1490 UStringSearch *strsrch; local 1559 UStringSearch *strsrch; local 1601 UStringSearch *strsrch; local 1643 UStringSearch *strsrch = NULL; local 1768 UStringSearch *strsrch; local 1885 UStringSearch *strsrch; local 1936 UStringSearch *strsrch; local 2003 UStringSearch *strsrch; local 2078 UStringSearch *strsrch; local 2169 UStringSearch *strsrch; local 2287 UStringSearch *strsrch = NULL; local 2327 UStringSearch *strsrch = NULL; local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
srchtest.cpp | 254 UBool StringSearchTest::assertEqualWithStringSearch(StringSearch *strsrch, 262 strsrch->setAttribute(USEARCH_ELEMENT_COMPARISON, search->elemCompare, status); 268 if (strsrch->getMatchedStart() != USEARCH_DONE || 269 strsrch->getMatchedLength() != 0) { 275 strsrch->next(status); 276 if (matchindex != strsrch->getMatchedStart() || 277 matchlength != strsrch->getMatchedLength()) { 278 char *str = toCharString(strsrch->getText()); 280 str = toCharString(strsrch->getPattern()); 283 strsrch->getMatchedStart(), strsrch->getMatchedLength() 363 StringSearch *strsrch, *strsrch2; local 420 StringSearch *strsrch; local 473 StringSearch *strsrch; local 776 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 807 StringSearch *strsrch; local 910 StringSearch *strsrch = new StringSearch(pattern, text, local 953 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1029 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1123 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1188 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, local 1265 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1334 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1397 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, local 1457 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1515 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL, local 1555 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL, local 1585 StringSearch *strsrch = NULL; local 1674 StringSearch *strsrch = new StringSearch(pattern, text, collator, local 1777 StringSearch *strsrch = new StringSearch(pattern, text, collator, local 1818 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, local 1884 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 1947 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 2013 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local 2120 StringSearch *strsrch = new StringSearch(pattern, text, collator, NULL, local 2154 StringSearch *strsrch = new StringSearch(pattern, text, m_en_us_, NULL, local [all...] |
srchtest.h | 44 UBool assertEqualWithStringSearch( StringSearch *strsrch,
|
/external/icu4c/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...] |