/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BytesTrie.java | 374 long uniqueValue=findUniqueValue(bytes_, pos+remainingMatchLength_+1, 0); in getUniqueValue() local 376 return (uniqueValue<<31)>>31; in getUniqueValue() 886 long uniqueValue) { 889 … uniqueValue=findUniqueValueFromBranch(bytes, jumpByDelta(bytes, pos), length>>1, uniqueValue); 890 if(uniqueValue==0) { 904 if(uniqueValue!=0) { 905 if(value!=(int)(uniqueValue>>1)) { 909 uniqueValue=((long)value<<1)|1; 912 uniqueValue=findUniqueValue(bytes, pos+value, uniqueValue); 913 if(uniqueValue==0) { [all …]
|
D | CharsTrie.java | 337 long uniqueValue=findUniqueValue(chars_, pos+remainingMatchLength_+1, 0); in getUniqueValue() local 339 return (uniqueValue<<31)>>31; in getUniqueValue() 823 long uniqueValue) { in findUniqueValueFromBranch() argument 826 … uniqueValue=findUniqueValueFromBranch(chars, jumpByDelta(chars, pos), length>>1, uniqueValue); in findUniqueValueFromBranch() 827 if(uniqueValue==0) { in findUniqueValueFromBranch() 842 if(uniqueValue!=0) { in findUniqueValueFromBranch() 843 if(value!=(int)(uniqueValue>>1)) { in findUniqueValueFromBranch() 847 uniqueValue=((long)value<<1)|1; in findUniqueValueFromBranch() 850 uniqueValue=findUniqueValue(chars, pos+value, uniqueValue); in findUniqueValueFromBranch() 851 if(uniqueValue==0) { in findUniqueValueFromBranch() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BytesTrie.java | 354 long uniqueValue=findUniqueValue(bytes_, pos+remainingMatchLength_+1, 0); in getUniqueValue() local 356 return (uniqueValue<<31)>>31; in getUniqueValue() 851 long uniqueValue) { 854 … uniqueValue=findUniqueValueFromBranch(bytes, jumpByDelta(bytes, pos), length>>1, uniqueValue); 855 if(uniqueValue==0) { 869 if(uniqueValue!=0) { 870 if(value!=(int)(uniqueValue>>1)) { 874 uniqueValue=((long)value<<1)|1; 877 uniqueValue=findUniqueValue(bytes, pos+value, uniqueValue); 878 if(uniqueValue==0) { [all …]
|
D | CharsTrie.java | 323 long uniqueValue=findUniqueValue(chars_, pos+remainingMatchLength_+1, 0); in getUniqueValue() local 325 return (uniqueValue<<31)>>31; in getUniqueValue() 797 long uniqueValue) { in findUniqueValueFromBranch() argument 800 … uniqueValue=findUniqueValueFromBranch(chars, jumpByDelta(chars, pos), length>>1, uniqueValue); in findUniqueValueFromBranch() 801 if(uniqueValue==0) { in findUniqueValueFromBranch() 816 if(uniqueValue!=0) { in findUniqueValueFromBranch() 817 if(value!=(int)(uniqueValue>>1)) { in findUniqueValueFromBranch() 821 uniqueValue=((long)value<<1)|1; in findUniqueValueFromBranch() 824 uniqueValue=findUniqueValue(chars, pos+value, uniqueValue); in findUniqueValueFromBranch() 825 if(uniqueValue==0) { in findUniqueValueFromBranch() [all …]
|
/external/icu/icu4c/source/common/ |
D | ucharstrie.cpp | 284 UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValueFromBranch() argument 287 … if(NULL==findUniqueValueFromBranch(jumpByDelta(pos), length>>1, haveUniqueValue, uniqueValue)) { in findUniqueValueFromBranch() 303 if(value!=uniqueValue) { in findUniqueValueFromBranch() 307 uniqueValue=value; in findUniqueValueFromBranch() 311 if(!findUniqueValue(pos+value, haveUniqueValue, uniqueValue)) { in findUniqueValueFromBranch() 321 UCharsTrie::findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue() argument 328 pos=findUniqueValueFromBranch(pos, node+1, haveUniqueValue, uniqueValue); in findUniqueValue() 347 if(value!=uniqueValue) { in findUniqueValue() 351 uniqueValue=value; in findUniqueValue()
|
D | bytestrie.cpp | 315 UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValueFromBranch() argument 318 … if(NULL==findUniqueValueFromBranch(jumpByDelta(pos), length>>1, haveUniqueValue, uniqueValue)) { in findUniqueValueFromBranch() 333 if(value!=uniqueValue) { in findUniqueValueFromBranch() 337 uniqueValue=value; in findUniqueValueFromBranch() 341 if(!findUniqueValue(pos+value, haveUniqueValue, uniqueValue)) { in findUniqueValueFromBranch() 351 BytesTrie::findUniqueValue(const uint8_t *pos, UBool haveUniqueValue, int32_t &uniqueValue) { in findUniqueValue() argument 358 pos=findUniqueValueFromBranch(pos, node+1, haveUniqueValue, uniqueValue); in findUniqueValue() 370 if(value!=uniqueValue) { in findUniqueValue() 374 uniqueValue=value; in findUniqueValue()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralSamples.java | 245 …rdStatus getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) { in getStatus() argument 246 if (uniqueValue != null) { in getStatus() 247 uniqueValue.value = null; in getStatus() 267 if (uniqueValue != null) { in getStatus() 268 uniqueValue.value = values.iterator().next(); in getStatus() 285 if (uniqueValue != null && subtractedSet.size() == 1) { in getStatus() 286 uniqueValue.value = subtractedSet.iterator().next(); in getStatus()
|
D | PluralRules.java | 2282 Output<Double> uniqueValue) { in getKeywordStatus() argument 2283 return getKeywordStatus(keyword, offset, explicits, uniqueValue, SampleType.INTEGER); in getKeywordStatus() 2306 Output<Double> uniqueValue, SampleType sampleType) { in getKeywordStatus() argument 2307 if (uniqueValue != null) { in getKeywordStatus() 2308 uniqueValue.value = null; in getKeywordStatus() 2331 if (uniqueValue != null) { in getKeywordStatus() 2332 uniqueValue.value = values.iterator().next(); in getKeywordStatus() 2349 if (uniqueValue != null && subtractedSet.size() == 1) { in getKeywordStatus() 2350 uniqueValue.value = subtractedSet.iterator().next(); in getKeywordStatus()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralSamples.java | 243 …rdStatus getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) { in getStatus() argument 244 if (uniqueValue != null) { in getStatus() 245 uniqueValue.value = null; in getStatus() 265 if (uniqueValue != null) { in getStatus() 266 uniqueValue.value = values.iterator().next(); in getStatus() 283 if (uniqueValue != null && subtractedSet.size() == 1) { in getStatus() 284 uniqueValue.value = subtractedSet.iterator().next(); in getStatus()
|
D | PluralRules.java | 2249 Output<Double> uniqueValue) { in getKeywordStatus() argument 2250 return getKeywordStatus(keyword, offset, explicits, uniqueValue, SampleType.INTEGER); in getKeywordStatus() 2272 Output<Double> uniqueValue, SampleType sampleType) { in getKeywordStatus() argument 2273 if (uniqueValue != null) { in getKeywordStatus() 2274 uniqueValue.value = null; in getKeywordStatus() 2297 if (uniqueValue != null) { in getKeywordStatus() 2298 uniqueValue.value = values.iterator().next(); in getKeywordStatus() 2315 if (uniqueValue != null && subtractedSet.size() == 1) { in getKeywordStatus() 2316 uniqueValue.value = subtractedSet.iterator().next(); in getKeywordStatus()
|
/external/icu/icu4c/source/common/unicode/ |
D | bytestrie.h | 222 inline UBool hasUniqueValue(int32_t &uniqueValue) const { in hasUniqueValue() argument 225 return pos!=NULL && findUniqueValue(pos+remainingMatchLength_+1, FALSE, uniqueValue); in hasUniqueValue() 415 UBool haveUniqueValue, int32_t &uniqueValue); 418 static UBool findUniqueValue(const uint8_t *pos, UBool haveUniqueValue, int32_t &uniqueValue);
|
D | ucharstrie.h | 237 inline UBool hasUniqueValue(int32_t &uniqueValue) const { in hasUniqueValue() argument 240 return pos!=NULL && findUniqueValue(pos+remainingMatchLength_+1, FALSE, uniqueValue); in hasUniqueValue() 471 UBool haveUniqueValue, int32_t &uniqueValue); 474 static UBool findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue);
|
/external/icu/icu4c/source/test/intltest/ |
D | bytestrietest.cpp | 310 int32_t uniqueValue; in TestHasUniqueValue() local 311 if(trie->hasUniqueValue(uniqueValue)) { in TestHasUniqueValue() 318 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=1) { in TestHasUniqueValue() 323 if(trie->hasUniqueValue(uniqueValue)) { in TestHasUniqueValue() 330 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=6) { in TestHasUniqueValue() 336 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=8) { in TestHasUniqueValue()
|
D | ucharstrietest.cpp | 467 int32_t uniqueValue; in TestHasUniqueValue() local 468 if(trie->hasUniqueValue(uniqueValue)) { in TestHasUniqueValue() 475 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=1) { in TestHasUniqueValue() 480 if(trie->hasUniqueValue(uniqueValue)) { in TestHasUniqueValue() 487 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=6) { in TestHasUniqueValue() 493 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=8) { in TestHasUniqueValue()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | BytesTrieTest.java | 251 long uniqueValue; in Test40GetUniqueValue() local 252 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 259 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { in Test40GetUniqueValue() 260 errln("not unique value 1 after \"jan\": instead "+uniqueValue); in Test40GetUniqueValue() 264 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 271 if((uniqueValue=trie.getUniqueValue())!=((6<<1)|1)) { in Test40GetUniqueValue() 277 if((uniqueValue=trie.getUniqueValue())!=((8<<1)|1)) { in Test40GetUniqueValue()
|
D | CharsTrieTest.java | 377 long uniqueValue; in Test40GetUniqueValue() local 378 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 385 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { in Test40GetUniqueValue() 386 errln("not unique value 1 after \"jan\": instead "+uniqueValue); in Test40GetUniqueValue() 390 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 397 if((uniqueValue=trie.getUniqueValue())!=((6<<1)|1)) { in Test40GetUniqueValue() 403 if((uniqueValue=trie.getUniqueValue())!=((8<<1)|1)) { in Test40GetUniqueValue()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | BytesTrieTest.java | 255 long uniqueValue; in Test40GetUniqueValue() local 256 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 263 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { in Test40GetUniqueValue() 264 errln("not unique value 1 after \"jan\": instead "+uniqueValue); in Test40GetUniqueValue() 268 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 275 if((uniqueValue=trie.getUniqueValue())!=((6<<1)|1)) { in Test40GetUniqueValue() 281 if((uniqueValue=trie.getUniqueValue())!=((8<<1)|1)) { in Test40GetUniqueValue()
|
D | CharsTrieTest.java | 381 long uniqueValue; in Test40GetUniqueValue() local 382 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 389 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { in Test40GetUniqueValue() 390 errln("not unique value 1 after \"jan\": instead "+uniqueValue); in Test40GetUniqueValue() 394 if((uniqueValue=trie.getUniqueValue())!=0) { in Test40GetUniqueValue() 401 if((uniqueValue=trie.getUniqueValue())!=((6<<1)|1)) { in Test40GetUniqueValue() 407 if((uniqueValue=trie.getUniqueValue())!=((8<<1)|1)) { in Test40GetUniqueValue()
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | PluralRules.java | 2257 Output<Double> uniqueValue) { in getKeywordStatus() argument 2258 return getKeywordStatus(keyword, offset, explicits, uniqueValue, SampleType.INTEGER); in getKeywordStatus() 2279 Output<Double> uniqueValue, SampleType sampleType) { in getKeywordStatus() argument 2280 if (uniqueValue != null) { in getKeywordStatus() 2281 uniqueValue.value = null; in getKeywordStatus() 2304 if (uniqueValue != null) { in getKeywordStatus() 2305 uniqueValue.value = values.iterator().next(); in getKeywordStatus() 2322 if (uniqueValue != null && subtractedSet.size() == 1) { in getKeywordStatus() 2323 uniqueValue.value = subtractedSet.iterator().next(); in getKeywordStatus()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 804 Output<Double> uniqueValue = new Output<Double>(); 817 … KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue); 819 uniqueValue.value); 824 … status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue, SampleType.DECIMAL); 826 uniqueExpected, uniqueValue.value); 832 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, null, uniqueValue); 834 assertNull("Invalid keyword " + keyword, uniqueValue.value);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRulesTest.java | 808 Output<Double> uniqueValue = new Output<Double>(); 821 … KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue); 823 uniqueValue.value); 828 … status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue, SampleType.DECIMAL); 830 uniqueExpected, uniqueValue.value); 836 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, null, uniqueValue); 838 assertNull("Invalid keyword " + keyword, uniqueValue.value);
|