Home
last modified time | relevance | path

Searched refs:compareResult (Results 1 – 17 of 17) sorted by relevance

/external/icu4c/test/cintltst/
Dccolltst.c86 UCollationResult compareResult, in reportCResult() argument
97 if (compareResult != expectedResult) in reportCResult()
100 getCompareResult(compareResult), getCompareResult(expectedResult) ); in reportCResult()
115 if (keyResult != compareResult) in reportCResult()
118 getCompareResult(keyResult), getCompareResult(compareResult)); in reportCResult()
121 if(keyResult != expectedResult || keyResult != compareResult) in reportCResult()
Dccurrtst.c108 UCollationResult compareResult, keyResult; in currTest() local
140 compareResult = ucol_strcoll(c, source, u_strlen(source), target, u_strlen(target)); in currTest()
157 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expect… in currTest()
Dccolltst.h29 UCollationResult compareResult,
Dcallcoll.c272 UCollationResult compareResult, compareResulta, keyResult, compareResultIter = result; in doTestVariant() local
362 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen); in doTestVariant()
364 if (compareResult != compareResulta) { in doTestVariant()
413 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, re… in doTestVariant()
Dcmsccoll.c6796 int compareResult = uprv_strcmp((char *)sortKeyA, (char *)sortKeyB); in TestCaseLevelBufferOverflow() local
6797 if (compareResult >= 0) { in TestCaseLevelBufferOverflow()
6798 … log_err("ERROR in sort key comparison result, expected -1, got %d\n", compareResult); in TestCaseLevelBufferOverflow()
/external/icu4c/test/intltest/
Dcurrcoll.cpp114 Collator::EComparisonResult compareResult = c->compare(source, target); in currencyTest() local
137 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in currencyTest()
Dtscoll.cpp148 Collator::EComparisonResult compareResult = col->compare(source, target); in doTestVariant() local
158 reportCResult(source, target, srckey, tgtkey, compareResult, keyResult, result, result); in doTestVariant()
286 Collator::EComparisonResult compareResult, in reportCResult() argument
297 UBool ok1 = (compareResult == expectedResult); in reportCResult()
312 appendCompareResult(compareResult, sResult); in reportCResult()
Dtscoll.h39 Collator::EComparisonResult compareResult,
Dregcoll.cpp1253 Collator::EComparisonResult compareResult = c.compare(source, target); in compareArray() local
1276 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in compareArray()
Dutxttest.cpp803 int compareResult = us.compare(buf, -1); in TestAccessNoClone() local
804 TEST_ASSERT(compareResult == 0); in TestAccessNoClone()
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_data_model.js251 var compareResult = compareFunction.call(null, item1, item2);
252 if (compareResult != 0)
253 return dirMultiplier * compareResult;
/external/chromium/chrome/browser/resources/net_internals/
Deventsview.js165 var compareResult = source1Text.localeCompare(source2Text);
166 if (compareResult != 0)
167 return compareResult;
203 var compareResult = source1Text.localeCompare(source2Text);
204 if (compareResult != 0)
205 return compareResult;
/external/guava/guava/src/com/google/common/collect/
DCut.java94 int compareResult = compareTo(that); in equals() local
95 return compareResult == 0; in equals()
/external/webkit/Source/JavaScriptCore/runtime/
DArrayPrototype.cpp525 double compareResult; in arrayProtoFuncSort() local
527compareResult = 1; // don't check minObj because there's no need to differentiate == (0) from > (1) in arrayProtoFuncSort()
529 compareResult = -1; in arrayProtoFuncSort()
534compareResult = call(exec, function, callType, callData, exec->globalThisValue(), l).toNumber(exec… in arrayProtoFuncSort()
536 compareResult = (jObj.toString(exec) < minObj.toString(exec)) ? -1 : 1; in arrayProtoFuncSort()
538 if (compareResult < 0) { in arrayProtoFuncSort()
DJSArray.cpp1039 double compareResult; in compare_key_key() local
1044 compareResult = m_cachedCall->call().toNumber(m_cachedCall->newCallFrame(m_exec)); in compare_key_key()
1049compareResult = call(m_exec, m_compareFunction, m_compareCallType, *m_compareCallData, m_globalThi… in compare_key_key()
1051 …return (compareResult < 0) ? -1 : 1; // Not passing equality through, because we need to store all… in compare_key_key()
/external/icu4c/i18n/
Dalphaindex.cpp1063 int32_t compareResult = col->compare(name, (*HACK_PINYIN_LOOKUP)[index]); in hackName() local
1064 if (compareResult < 0) { in hackName()
1067 if (compareResult <= 0) { in hackName()
/external/webkit/Source/WebCore/editing/
DSelectionController.cpp259 Range::CompareResults compareResult = range->compareNode(node, ec); in respondToNodeModification() local
260 …if (!ec && (compareResult == Range::NODE_BEFORE_AND_AFTER || compareResult == Range::NODE_INSIDE))… in respondToNodeModification()