Home
last modified time | relevance | path

Searched refs:sIter (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dcitrtest.cpp857 UCharIterator sIter, cIter, rIter; in TestUCharIterator() local
859 uiter_setString(&sIter, s.getBuffer(), s.length()); in TestUCharIterator()
863 TestUCharIterator(&sIter, compareCI, moves, "uiter_setString"); in TestUCharIterator()
870 sIter.start=2; in TestUCharIterator()
871 sIter.index=3; in TestUCharIterator()
872 sIter.limit=5; in TestUCharIterator()
873 if( sIter.getIndex(&sIter, UITER_ZERO)!=0 || in TestUCharIterator()
874 sIter.getIndex(&sIter, UITER_START)!=2 || in TestUCharIterator()
875 sIter.getIndex(&sIter, UITER_CURRENT)!=3 || in TestUCharIterator()
876 sIter.getIndex(&sIter, UITER_LIMIT)!=5 || in TestUCharIterator()
[all …]
Dtscoll.cpp97 UCharIterator sIter, tIter; in compareUsingPartials() local
105 uiter_setString(&sIter, source, sLen); in compareUsingPartials()
107 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, &status); in compareUsingPartials()
154 UCharIterator sIter, tIter; in doTestVariant() local
155 uiter_setString(&sIter, src, sLen); in doTestVariant()
157 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); in doTestVariant()
173 UCharIterator sIter, tIter; in doTestVariant() local
175 uiter_setUTF8(&sIter, utf8Source, utf8SourceLen); in doTestVariant()
179 compareResultUTF8 = ucol_strcollIter(myCollation, &sIter, &tIter, &status); in doTestVariant()
181 sIter.move(&sIter, 0, UITER_START); in doTestVariant()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcallcoll.c234 UCharIterator sIter, tIter; in compareUsingPartials() local
248 uiter_setString(&sIter, source, sLen); in compareUsingPartials()
250 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); in compareUsingPartials()
283 UCharIterator sIter, tIter; in doTestVariant() local
296 uiter_setString(&sIter, source, sLen); in doTestVariant()
298 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); in doTestVariant()
338 uiter_setUTF8(&sIter, utf8Source, utf8SourceLen); in doTestVariant()
340 compareResultUTF8Iter = ucol_strcollIter(myCollation, &sIter, &tIter, &status); in doTestVariant()
343 sIter.move(&sIter, 0, UITER_START); in doTestVariant()
345 … compareResultUTF8IterNorm = ucol_strcollIter(myCollation, &sIter, &tIter, &status); in doTestVariant()
/external/icu/icu4c/source/i18n/
Ducol.cpp412 UCharIterator *sIter, in ucol_strcollIter() argument
421 UTRACE_DATA3(UTRACE_VERBOSE, "coll=%p, sIter=%p, tIter=%p", coll, sIter, tIter); in ucol_strcollIter()
423 if(sIter == NULL || tIter == NULL || coll == NULL) { in ucol_strcollIter()
429 UCollationResult result = Collator::fromUCollator(coll)->compare(*sIter, *tIter, *status); in ucol_strcollIter()
Dcoll.cpp525 UCharIterator sIter, tIter; in compareUTF8() local
526 uiter_setUTF8(&sIter, source.data(), source.length()); in compareUTF8()
528 return compare(sIter, tIter, status); in compareUTF8()
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h326 virtual UCollationResult compare(UCharIterator &sIter,
Dcoll.h458 virtual UCollationResult compare(UCharIterator &sIter,
Ducol.h664 UCharIterator *sIter,
/external/sqlite/dist/orig/
Dsqlite3.c72097 VdbeOpIter sIter;
72098 memset(&sIter, 0, sizeof(sIter));
72099 sIter.v = v;
72101 while( (pOp = opIterNext(&sIter))!=0 ){
72118 sqlite3DbFree(v->db, sIter.apSub);
162259 SnippetIter sIter; /* Iterates through snippet candidates */
162264 memset(&sIter, 0, sizeof(sIter));
162278 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
162279 if( !sIter.aPhrase ){
162282 memset(sIter.aPhrase, 0, nByte);
[all …]
/external/sqlite/dist/
Dsqlite3.c72097 VdbeOpIter sIter;
72098 memset(&sIter, 0, sizeof(sIter));
72099 sIter.v = v;
72101 while( (pOp = opIterNext(&sIter))!=0 ){
72118 sqlite3DbFree(v->db, sIter.apSub);
162272 SnippetIter sIter; /* Iterates through snippet candidates */
162277 memset(&sIter, 0, sizeof(sIter));
162291 sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc(nByte);
162292 if( !sIter.aPhrase ){
162295 memset(sIter.aPhrase, 0, nByte);
[all …]