Home
last modified time | relevance | path

Searched refs:USEARCH_ON (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp362 UBool isOverlap = (strsrch->getAttribute(USEARCH_OVERLAP) == USEARCH_ON); in assertEqualWithStringSearch()
552 strsrch->setAttribute(USEARCH_CANONICAL_MATCH, USEARCH_ON, status); in assertCanonicalEqual()
990 USEARCH_ON)) { in TestOverlap()
1020 strsrch->setAttribute(USEARCH_OVERLAP, USEARCH_ON, status); in TestOverlap()
1022 strsrch->getAttribute(USEARCH_OVERLAP) != USEARCH_ON) { in TestOverlap()
1373 strsrch->setAttribute(USEARCH_OVERLAP, USEARCH_ON, status); in TestGetSetAttribute()
1375 strsrch->getAttribute(USEARCH_OVERLAP) != USEARCH_ON) { in TestGetSetAttribute()
1394 strsrch->setAttribute(USEARCH_CANONICAL_MATCH, USEARCH_ON, status); in TestGetSetAttribute()
1396 strsrch->getAttribute(USEARCH_CANONICAL_MATCH) != USEARCH_ON) { in TestGetSetAttribute()
1562 strsrch->setAttribute(USEARCH_OVERLAP, USEARCH_ON, status); in TestReset()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c443 isOverlap = (usearch_getAttribute(strsrch, USEARCH_OVERLAP) == USEARCH_ON); in assertEqualWithUStringSearch()
592 usearch_setAttribute(strsrch, USEARCH_CANONICAL_MATCH, USEARCH_ON, in assertCanonicalEqual()
866 USEARCH_ON)) { in TestOverlap()
899 usearch_setAttribute(strsrch, USEARCH_OVERLAP, USEARCH_ON, &status); in TestOverlap()
901 usearch_getAttribute(strsrch, USEARCH_OVERLAP) != USEARCH_ON) { in TestOverlap()
1350 usearch_setAttribute(strsrch, USEARCH_OVERLAP, USEARCH_ON, &status); in TestGetSetAttribute()
1352 usearch_getAttribute(strsrch, USEARCH_OVERLAP) != USEARCH_ON) { in TestGetSetAttribute()
1373 usearch_setAttribute(strsrch, USEARCH_CANONICAL_MATCH, USEARCH_ON, in TestGetSetAttribute()
1377 USEARCH_ON) { in TestGetSetAttribute()
1607 usearch_setAttribute(strsrch, USEARCH_OVERLAP, USEARCH_ON, &status); in TestReset()
[all …]
/external/icu/icu4c/source/i18n/
Dsearch.cpp58 m_search_->isOverlap = (value == USEARCH_ON ? TRUE : FALSE); in setAttribute()
61 m_search_->isCanonicalMatch = (value == USEARCH_ON ? TRUE : FALSE); in setAttribute()
84 return (m_search_->isOverlap == TRUE ? USEARCH_ON : USEARCH_OFF); in getAttribute()
86 return (m_search_->isCanonicalMatch == TRUE ? USEARCH_ON : in getAttribute()
Dusearch.cpp2844 strsrch->search->isOverlap = (value == USEARCH_ON ? TRUE : FALSE); in usearch_setAttribute()
2847 strsrch->search->isCanonicalMatch = (value == USEARCH_ON ? TRUE : in usearch_setAttribute()
2874 return (strsrch->search->isOverlap == TRUE ? USEARCH_ON : in usearch_getAttribute()
2877 return (strsrch->search->isCanonicalMatch == TRUE ? USEARCH_ON : in usearch_getAttribute()
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp245 usearch_setAttribute(search, USEARCH_OVERLAP, USEARCH_ON, &status); in processStringSearch()
248 usearch_setAttribute(search, USEARCH_CANONICAL_MATCH, USEARCH_ON, in processStringSearch()
/external/icu/icu4c/source/i18n/unicode/
Dusearch.h220 USEARCH_ON, enumerator