Home
last modified time | relevance | path

Searched refs:errorValue (Results 1 – 25 of 29) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c114 uint32_t initialValue, errorValue; in testTrieGetters() local
122 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieGetters()
199 if(errorValue!=value2) { in testTrieGetters()
201 typeName, testName, (long)start, (long)value2, (long)errorValue); in testTrieGetters()
213 value=errorValue; in testTrieGetters()
256 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
263 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
381 uint32_t initialValue, errorValue; in testTrieUTF8() local
387 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieUTF8()
394 values[countValues++]=errorValue; in testTrieUTF8()
[all …]
Ducptrietest.c187 uint32_t initialValue, errorValue; in testTrieGetters() local
195 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieGetters()
329 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
335 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
344 uint32_t initialValue, errorValue; in testBuilderGetters() local
352 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testBuilderGetters()
376 if(value!=errorValue || value2!=errorValue) { in testBuilderGetters()
393 uint32_t errorValue = ucptrie_get(trie, -1); in testTrieUTF16() local
446 expected = U_IS_SURROGATE(c) ? errorValue : values[i]; in testTrieUTF16()
474 expected = U_IS_SURROGATE(c) ? errorValue : values[i]; in testTrieUTF16()
[all …]
/external/icu/icu4c/source/common/
Dutf_impl.cpp96 errorValue(int32_t count, int8_t strict) { in errorValue() function
185 c=errorValue(i-*pi, strict); in utf8_nextCharSafeBody()
248 return errorValue(1, strict); in utf8_prevCharSafeBody()
265 return errorValue(2, strict); in utf8_prevCharSafeBody()
279 return errorValue(2, strict); in utf8_prevCharSafeBody()
292 return errorValue(3, strict); in utf8_prevCharSafeBody()
299 return errorValue(0, strict); in utf8_prevCharSafeBody()
Dutrie2.cpp67 return trie->errorValue; in utrie2_get32()
76 return trie->errorValue; in utrie2_get32FromLeadSurrogateCodeUnit()
219 trie->errorValue=trie->data16[UTRIE2_BAD_UTF8_DATA_OFFSET]; in utrie2_openFromSerialized()
225 trie->errorValue=trie->data32[UTRIE2_BAD_UTF8_DATA_OFFSET]; in utrie2_openFromSerialized()
240 uint32_t initialValue, uint32_t errorValue, in utrie2_openDummy() argument
296 trie->errorValue=errorValue; in utrie2_openDummy()
342 *dest16++=(uint16_t)errorValue; in utrie2_openDummy()
358 *p++=errorValue; in utrie2_openDummy()
645 return static_cast<uint16_t>(trie->errorValue); in previous16()
656 return static_cast<uint16_t>(trie->errorValue); in next16()
Dumutablecptrie.cpp67 MutableCodePointTrie(uint32_t initialValue, uint32_t errorValue, UErrorCode &errorCode);
112 uint32_t errorValue; member in __anon5a66f5c00111::MutableCodePointTrie
126 origInitialValue(iniValue), initialValue(iniValue), errorValue(errValue), in MutableCodePointTrie()
147 errorValue(other.errorValue), in MutableCodePointTrie()
180 uint32_t errorValue = ucpmap_get(map, -1); in fromUCPMap() local
183 new MutableCodePointTrie(initialValue, errorValue, errorCode), in fromUCPMap()
210 uint32_t errorValue; in fromUCPTrie() local
214 errorValue = trie->data.ptr16[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
218 errorValue = trie->data.ptr32[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
222 errorValue = trie->data.ptr8[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
[all …]
Dutrie2_builder.cpp116 utrie2_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_open() argument
139 trie->errorValue=errorValue; in utrie2_open()
148 newTrie->t3=umutablecptrie_open(initialValue, errorValue, pErrorCode); in utrie2_open()
152 newTrie->errorValue=errorValue; in utrie2_open()
167 newTrie->data[i]=errorValue; in utrie2_open()
291 trie->errorValue=other->errorValue; in cloneBuilder()
419 context.trie=utrie2_open(other->initialValue, other->errorValue, pErrorCode); in utrie2_cloneAsThawed()
447 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
458 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
1239 highValue=trie->errorValue; in compactTrie()
Dutrie2.h130 uint32_t initialValue, uint32_t errorValue,
211 utrie2_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode);
343 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode);
664 uint32_t errorValue; member
Dutrie2_impl.h150 uint32_t initialValue, errorValue; member
Dpropsvec.h164 int32_t errorValue; member
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCodePointTrieTest.java55 SpecialValues(int i, int initialValue, int errorValue) { in SpecialValues() argument
58 this.errorValue = errorValue; in SpecialValues()
63 final int errorValue; field in CodePointTrieTest.SpecialValues
97 int initialValue, errorValue; in getSpecialValues() local
99 errorValue=checkRanges[i++].value; in getSpecialValues()
101 errorValue=0xad; in getSpecialValues()
108 return new SpecialValues(i, initialValue, errorValue); in getSpecialValues()
286 if(value!=specials.errorValue || value2!=specials.errorValue) { in testTrieGetters()
327 if(value!=specials.errorValue || value2!=specials.errorValue) { in testBuilderGetters()
347 int errorValue = trie.get(-1); in testTrieUTF16() local
[all …]
DTrie2Test.java589 int errorValue = 0x0bad; in genTrieFromSetRanges() local
592 errorValue = ranges[i][2]; in genTrieFromSetRanges()
596 Trie2Writable trie = new Trie2Writable(initialValue, errorValue); in genTrieFromSetRanges()
629 int initialValue, errorValue; in trieGettersTest() local
635 errorValue = 0x0bad; in trieGettersTest()
695 if(value!=errorValue || value2!=errorValue) { in trieGettersTest()
697 errorValue + ", " + value + ", " + value2); in trieGettersTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCodePointTrieTest.java52 SpecialValues(int i, int initialValue, int errorValue) { in SpecialValues() argument
55 this.errorValue = errorValue; in SpecialValues()
60 final int errorValue; field in CodePointTrieTest.SpecialValues
94 int initialValue, errorValue; in getSpecialValues() local
96 errorValue=checkRanges[i++].value; in getSpecialValues()
98 errorValue=0xad; in getSpecialValues()
105 return new SpecialValues(i, initialValue, errorValue); in getSpecialValues()
283 if(value!=specials.errorValue || value2!=specials.errorValue) { in testTrieGetters()
324 if(value!=specials.errorValue || value2!=specials.errorValue) { in testBuilderGetters()
344 int errorValue = trie.get(-1); in testTrieUTF16() local
[all …]
DTrie2Test.java586 int errorValue = 0x0bad; in genTrieFromSetRanges() local
589 errorValue = ranges[i][2]; in genTrieFromSetRanges()
593 Trie2Writable trie = new Trie2Writable(initialValue, errorValue); in genTrieFromSetRanges()
626 int initialValue, errorValue; in trieGettersTest() local
632 errorValue = 0x0bad; in trieGettersTest()
692 if(value!=errorValue || value2!=errorValue) { in trieGettersTest()
694 errorValue + ", " + value + ", " + value2); in trieGettersTest()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java42 public MutableCodePointTrie(int initialValue, int errorValue) { in MutableCodePointTrie() argument
49 this.errorValue = errorValue; in MutableCodePointTrie()
77 builder.errorValue = errorValue; in clone()
99 int errorValue = map.get(-1); in fromCodePointMap() local
101 MutableCodePointTrie mutableTrie = new MutableCodePointTrie(initialValue, errorValue); in fromCodePointMap()
135 return errorValue; in get()
416 private int errorValue; field in MutableCodePointTrie
500 errorValue &= mask; in maskValues()
1475 data[dataLength++] = errorValue; in build()
1477 if (data[dataLength - 1] != errorValue || data[dataLength - 2] != highValue) { in build()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMutableCodePointTrie.java42 public MutableCodePointTrie(int initialValue, int errorValue) { in MutableCodePointTrie() argument
49 this.errorValue = errorValue; in MutableCodePointTrie()
76 builder.errorValue = errorValue; in clone()
97 int errorValue = map.get(-1); in fromCodePointMap() local
99 MutableCodePointTrie mutableTrie = new MutableCodePointTrie(initialValue, errorValue); in fromCodePointMap()
132 return errorValue; in get()
409 private int errorValue; field in MutableCodePointTrie
493 errorValue &= mask; in maskValues()
1468 data[dataLength++] = errorValue; in build()
1470 if (data[dataLength - 1] != errorValue || data[dataLength - 2] != highValue) { in build()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java37 this.errorValue = errorValueP; in init()
43 this.errorValue = errorValueP; in init()
59 data[i] = errorValue; in init()
148 init(source.initialValue, source.errorValue); in Trie2Writable()
346 this.errorValue = tempTrie.errorValue; in uncompact()
574 return errorValue; in get()
937 highValue=errorValue; in compactTrie()
1071 dest.errorValue = errorValue; in freeze()
DTrie2.java175 This.errorValue = This.index[This.data16+UTRIE2_BAD_UTF8_DATA_OFFSET]; in createFromSerialized()
180 This.errorValue = This.data32[UTRIE2_BAD_UTF8_DATA_OFFSET]; in createFromSerialized()
310 if (errorValue != OtherTrie.errorValue || in equals()
684 int errorValue; field in Trie2
DTrie2_16.java113 return errorValue; in get()
DTrie2_32.java112 return errorValue; in get()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java35 this.errorValue = errorValueP; in init()
41 this.errorValue = errorValueP; in init()
57 data[i] = errorValue; in init()
146 init(source.initialValue, source.errorValue); in Trie2Writable()
344 this.errorValue = tempTrie.errorValue; in uncompact()
572 return errorValue; in get()
935 highValue=errorValue; in compactTrie()
1069 dest.errorValue = errorValue; in freeze()
DTrie2.java173 This.errorValue = This.index[This.data16+UTRIE2_BAD_UTF8_DATA_OFFSET]; in createFromSerialized()
178 This.errorValue = This.data32[UTRIE2_BAD_UTF8_DATA_OFFSET]; in createFromSerialized()
308 if (errorValue != OtherTrie.errorValue || in equals()
678 int errorValue; field in Trie2
DTrie2_32.java110 return errorValue; in get()
DTrie2_16.java111 return errorValue; in get()
/external/libchrome/base/third_party/icu/
Dicu_utf.cc37 errorValue(int32_t count, int8_t strict) { in errorValue() function
126 c=errorValue(i-*pi, strict); in utf8_nextCharSafeBody()
/external/icu/icu4c/source/common/unicode/
Dumutablecptrie.h65 umutablecptrie_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode);

12