/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | BytesTrie.java | 356 long uniqueValue=findUniqueValue(bytes_, pos+remainingMatchLength_+1, 0); 358 return (uniqueValue<<31)>>31; 854 // uniqueValue: On input, same as for getUniqueValue()/findUniqueValue(). 857 long uniqueValue) { 860 uniqueValue=findUniqueValueFromBranch(bytes, jumpByDelta(bytes, pos), length>>1, uniqueValue); 861 if(uniqueValue==0) { 875 if(uniqueValue!=0) { 876 if(value!=(int)(uniqueValue>>1)) { 880 uniqueValue 856 findUniqueValueFromBranch(byte[] bytes, int pos, int length, long uniqueValue) argument 896 findUniqueValue(byte[] bytes, int pos, long uniqueValue) argument [all...] |
H A D | CharsTrie.java | 325 long uniqueValue=findUniqueValue(chars_, pos+remainingMatchLength_+1, 0); 327 return (uniqueValue<<31)>>31; 800 // uniqueValue: On input, same as for getUniqueValue()/findUniqueValue(). 803 long uniqueValue) { 806 uniqueValue=findUniqueValueFromBranch(chars, jumpByDelta(chars, pos), length>>1, uniqueValue); 807 if(uniqueValue==0) { 822 if(uniqueValue!=0) { 823 if(value!=(int)(uniqueValue>>1)) { 827 uniqueValue 802 findUniqueValueFromBranch(CharSequence chars, int pos, int length, long uniqueValue) argument 843 findUniqueValue(CharSequence chars, int pos, long uniqueValue) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | BytesTrie.java | 376 long uniqueValue=findUniqueValue(bytes_, pos+remainingMatchLength_+1, 0); 378 return (uniqueValue<<31)>>31; 889 // uniqueValue: On input, same as for getUniqueValue()/findUniqueValue(). 892 long uniqueValue) { 895 uniqueValue=findUniqueValueFromBranch(bytes, jumpByDelta(bytes, pos), length>>1, uniqueValue); 896 if(uniqueValue==0) { 910 if(uniqueValue!=0) { 911 if(value!=(int)(uniqueValue>>1)) { 915 uniqueValue 891 findUniqueValueFromBranch(byte[] bytes, int pos, int length, long uniqueValue) argument 931 findUniqueValue(byte[] bytes, int pos, long uniqueValue) argument [all...] |
H A D | CharsTrie.java | 339 long uniqueValue=findUniqueValue(chars_, pos+remainingMatchLength_+1, 0); 341 return (uniqueValue<<31)>>31; 826 // uniqueValue: On input, same as for getUniqueValue()/findUniqueValue(). 829 long uniqueValue) { 832 uniqueValue=findUniqueValueFromBranch(chars, jumpByDelta(chars, pos), length>>1, uniqueValue); 833 if(uniqueValue==0) { 848 if(uniqueValue!=0) { 849 if(value!=(int)(uniqueValue>>1)) { 853 uniqueValue 828 findUniqueValueFromBranch(CharSequence chars, int pos, int length, long uniqueValue) argument 869 findUniqueValue(CharSequence chars, int pos, long uniqueValue) argument [all...] |
/external/icu/icu4c/source/common/ |
H A D | bytestrie.cpp | 317 UBool haveUniqueValue, int32_t &uniqueValue) { 320 if(NULL==findUniqueValueFromBranch(jumpByDelta(pos), length>>1, haveUniqueValue, uniqueValue)) { 335 if(value!=uniqueValue) { 339 uniqueValue=value; 343 if(!findUniqueValue(pos+value, haveUniqueValue, uniqueValue)) { 353 BytesTrie::findUniqueValue(const uint8_t *pos, UBool haveUniqueValue, int32_t &uniqueValue) { 360 pos=findUniqueValueFromBranch(pos, node+1, haveUniqueValue, uniqueValue); 372 if(value!=uniqueValue) { 376 uniqueValue=value;
|
H A D | ucharstrie.cpp | 286 UBool haveUniqueValue, int32_t &uniqueValue) { 289 if(NULL==findUniqueValueFromBranch(jumpByDelta(pos), length>>1, haveUniqueValue, uniqueValue)) { 305 if(value!=uniqueValue) { 309 uniqueValue=value; 313 if(!findUniqueValue(pos+value, haveUniqueValue, uniqueValue)) { 323 UCharsTrie::findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) { argument 330 pos=findUniqueValueFromBranch(pos, node+1, haveUniqueValue, uniqueValue); 349 if(value!=uniqueValue) { 353 uniqueValue=value; 285 findUniqueValueFromBranch(const UChar *pos, int32_t length, UBool haveUniqueValue, int32_t &uniqueValue) argument
|
/external/icu/icu4c/source/common/unicode/ |
H A D | bytestrie.h | 218 * @param uniqueValue Receives the unique value, if this function returns TRUE. 224 inline UBool hasUniqueValue(int32_t &uniqueValue) const { 227 return pos!=NULL && findUniqueValue(pos+remainingMatchLength_+1, FALSE, uniqueValue); 416 UBool haveUniqueValue, int32_t &uniqueValue); 419 static UBool findUniqueValue(const uint8_t *pos, UBool haveUniqueValue, int32_t &uniqueValue);
|
H A D | ucharstrie.h | 233 * @param uniqueValue Receives the unique value, if this function returns TRUE. 239 inline UBool hasUniqueValue(int32_t &uniqueValue) const { 242 return pos!=NULL && findUniqueValue(pos+remainingMatchLength_+1, FALSE, uniqueValue); 473 UBool haveUniqueValue, int32_t &uniqueValue); 476 static UBool findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | PluralSamples.java | 247 public KeywordStatus getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) { argument 248 if (uniqueValue != null) { 249 uniqueValue.value = null; 269 if (uniqueValue != null) { 270 uniqueValue.value = values.iterator().next(); 287 if (uniqueValue != null && subtractedSet.size() == 1) { 288 uniqueValue.value = subtractedSet.iterator().next();
|
H A D | PluralRules.java | 2297 * @param uniqueValue 2303 Output<Double> uniqueValue) { 2304 return getKeywordStatus(keyword, offset, explicits, uniqueValue, SampleType.INTEGER); 2318 * @param uniqueValue 2327 Output<Double> uniqueValue, SampleType sampleType) { 2328 if (uniqueValue != null) { 2329 uniqueValue.value = null; 2352 if (uniqueValue != null) { 2353 uniqueValue.value = values.iterator().next(); 2370 if (uniqueValue ! 2302 getKeywordStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) argument 2326 getKeywordStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue, SampleType sampleType) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | PluralSamples.java | 245 public KeywordStatus getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) { argument 246 if (uniqueValue != null) { 247 uniqueValue.value = null; 267 if (uniqueValue != null) { 268 uniqueValue.value = values.iterator().next(); 285 if (uniqueValue != null && subtractedSet.size() == 1) { 286 uniqueValue.value = subtractedSet.iterator().next();
|
H A D | PluralRules.java | 2263 * @param uniqueValue 2270 Output<Double> uniqueValue) { 2271 return getKeywordStatus(keyword, offset, explicits, uniqueValue, SampleType.INTEGER); 2285 * @param uniqueValue 2293 Output<Double> uniqueValue, SampleType sampleType) { 2294 if (uniqueValue != null) { 2295 uniqueValue.value = null; 2318 if (uniqueValue != null) { 2319 uniqueValue.value = values.iterator().next(); 2336 if (uniqueValue ! 2269 getKeywordStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) argument 2292 getKeywordStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue, SampleType sampleType) argument [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | bytestrietest.cpp | 314 int32_t uniqueValue; local 315 if(trie->hasUniqueValue(uniqueValue)) { 322 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=1) { 327 if(trie->hasUniqueValue(uniqueValue)) { 334 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=6) { 340 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=8) {
|
H A D | ucharstrietest.cpp | 469 int32_t uniqueValue; local 470 if(trie->hasUniqueValue(uniqueValue)) { 477 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=1) { 482 if(trie->hasUniqueValue(uniqueValue)) { 489 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=6) { 495 if(!trie->hasUniqueValue(uniqueValue) || uniqueValue!=8) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 264 long uniqueValue; 265 if((uniqueValue=trie.getUniqueValue())!=0) { 272 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { 273 errln("not unique value 1 after \"jan\": instead "+uniqueValue); 277 if((uniqueValue=trie.getUniqueValue())!=0) { 284 if((uniqueValue=trie.getUniqueValue())!=((6<<1)|1)) { 290 if((uniqueValue=trie.getUniqueValue())!=((8<<1)|1)) {
|
H A D | CharsTrieTest.java | 393 long uniqueValue; 394 if((uniqueValue=trie.getUniqueValue())!=0) { 401 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { 402 errln("not unique value 1 after \"jan\": instead "+uniqueValue); 406 if((uniqueValue=trie.getUniqueValue())!=0) { 413 if((uniqueValue=trie.getUniqueValue())!=((6<<1)|1)) { 419 if((uniqueValue=trie.getUniqueValue())!=((8<<1)|1)) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 263 long uniqueValue; 264 if((uniqueValue=trie.getUniqueValue())!=0) { 271 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { 272 errln("not unique value 1 after \"jan\": instead "+uniqueValue); 276 if((uniqueValue=trie.getUniqueValue())!=0) { 283 if((uniqueValue=trie.getUniqueValue())!=((6<<1)|1)) { 289 if((uniqueValue=trie.getUniqueValue())!=((8<<1)|1)) {
|
H A D | CharsTrieTest.java | 392 long uniqueValue; 393 if((uniqueValue=trie.getUniqueValue())!=0) { 400 if((uniqueValue=trie.getUniqueValue())!=((1<<1)|1)) { 401 errln("not unique value 1 after \"jan\": instead "+uniqueValue); 405 if((uniqueValue=trie.getUniqueValue())!=0) { 412 if((uniqueValue=trie.getUniqueValue())!=((6<<1)|1)) { 418 if((uniqueValue=trie.getUniqueValue())!=((8<<1)|1)) {
|
/external/messageformat/java/com/ibm/icu/simple/ |
H A D | PluralRules.java | 2250 * @param uniqueValue 2257 Output<Double> uniqueValue) { 2258 return getKeywordStatus(keyword, offset, explicits, uniqueValue, SampleType.INTEGER); 2272 * @param uniqueValue 2279 Output<Double> uniqueValue, SampleType sampleType) { 2280 if (uniqueValue != null) { 2281 uniqueValue.value = null; 2304 if (uniqueValue != null) { 2305 uniqueValue.value = values.iterator().next(); 2322 if (uniqueValue ! 2256 getKeywordStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) argument 2278 getKeywordStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue, SampleType sampleType) argument [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 828 Output<Double> uniqueValue = new Output<Double>(); 841 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue); 843 uniqueValue.value); 848 status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue, SampleType.DECIMAL); 850 uniqueExpected, uniqueValue.value); 856 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, null, uniqueValue); 858 assertNull("Invalid keyword " + keyword, uniqueValue.value);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 827 Output<Double> uniqueValue = new Output<Double>(); 840 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue); 842 uniqueValue.value); 847 status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue, SampleType.DECIMAL); 849 uniqueExpected, uniqueValue.value); 855 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, null, uniqueValue); 857 assertNull("Invalid keyword " + keyword, uniqueValue.value);
|