Home
last modified time | relevance | path

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

12

/third_party/icu/icu4c/source/test/cintltst/
Dtrie2test.c117 uint32_t initialValue, errorValue; in testTrieGetters() local
125 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieGetters()
202 if(errorValue!=value2) { in testTrieGetters()
204 typeName, testName, (long)start, (long)value2, (long)errorValue); in testTrieGetters()
216 value=errorValue; in testTrieGetters()
259 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
266 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
384 uint32_t initialValue, errorValue; in testTrieUTF8() local
390 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieUTF8()
397 values[countValues++]=errorValue; in testTrieUTF8()
[all …]
Ducptrietest.c190 uint32_t initialValue, errorValue; in testTrieGetters() local
198 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieGetters()
332 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
338 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
347 uint32_t initialValue, errorValue; in testBuilderGetters() local
355 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testBuilderGetters()
379 if(value!=errorValue || value2!=errorValue) { in testBuilderGetters()
396 uint32_t errorValue = ucptrie_get(trie, -1); in testTrieUTF16() local
449 expected = U_IS_SURROGATE(c) ? errorValue : values[i]; in testTrieUTF16()
477 expected = U_IS_SURROGATE(c) ? errorValue : values[i]; in testTrieUTF16()
[all …]
/third_party/node/deps/icu-small/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.cpp72 MutableCodePointTrie(uint32_t initialValue, uint32_t errorValue, UErrorCode &errorCode);
117 uint32_t errorValue; member in __anon8ffebab80111::MutableCodePointTrie
131 origInitialValue(iniValue), initialValue(iniValue), errorValue(errValue), in MutableCodePointTrie()
152 errorValue(other.errorValue), in MutableCodePointTrie()
185 uint32_t errorValue = ucpmap_get(map, -1); in fromUCPMap() local
188 new MutableCodePointTrie(initialValue, errorValue, errorCode), in fromUCPMap()
215 uint32_t errorValue; in fromUCPTrie() local
219 errorValue = trie->data.ptr16[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
223 errorValue = trie->data.ptr32[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
227 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()
421 context.trie=utrie2_open(other->initialValue, other->errorValue, pErrorCode); in utrie2_cloneAsThawed()
449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
1241 highValue=trie->errorValue; in compactTrie()
/third_party/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.cpp72 MutableCodePointTrie(uint32_t initialValue, uint32_t errorValue, UErrorCode &errorCode);
117 uint32_t errorValue; member in __anonad8ca0090111::MutableCodePointTrie
131 origInitialValue(iniValue), initialValue(iniValue), errorValue(errValue), in MutableCodePointTrie()
152 errorValue(other.errorValue), in MutableCodePointTrie()
185 uint32_t errorValue = ucpmap_get(map, -1); in fromUCPMap() local
188 new MutableCodePointTrie(initialValue, errorValue, errorCode), in fromUCPMap()
215 uint32_t errorValue; in fromUCPTrie() local
219 errorValue = trie->data.ptr16[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
223 errorValue = trie->data.ptr32[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
227 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()
421 context.trie=utrie2_open(other->initialValue, other->errorValue, pErrorCode); in utrie2_cloneAsThawed()
449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
1241 highValue=trie->errorValue; in compactTrie()
/third_party/skia/third_party/externals/icu/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.cpp72 MutableCodePointTrie(uint32_t initialValue, uint32_t errorValue, UErrorCode &errorCode);
117 uint32_t errorValue; member in __anon5b4be1d70111::MutableCodePointTrie
131 origInitialValue(iniValue), initialValue(iniValue), errorValue(errValue), in MutableCodePointTrie()
152 errorValue(other.errorValue), in MutableCodePointTrie()
185 uint32_t errorValue = ucpmap_get(map, -1); in fromUCPMap() local
188 new MutableCodePointTrie(initialValue, errorValue, errorCode), in fromUCPMap()
215 uint32_t errorValue; in fromUCPTrie() local
219 errorValue = trie->data.ptr16[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
223 errorValue = trie->data.ptr32[trie->dataLength - UCPTRIE_ERROR_VALUE_NEG_DATA_OFFSET]; in fromUCPTrie()
227 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()
421 context.trie=utrie2_open(other->initialValue, other->errorValue, pErrorCode); in utrie2_cloneAsThawed()
449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
460 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
1241 highValue=trie->errorValue; in compactTrie()
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java40 public MutableCodePointTrie(int initialValue, int errorValue) { in MutableCodePointTrie() argument
47 this.errorValue = errorValue; in MutableCodePointTrie()
74 builder.errorValue = errorValue; in clone()
95 int errorValue = map.get(-1); in fromCodePointMap() local
97 MutableCodePointTrie mutableTrie = new MutableCodePointTrie(initialValue, errorValue); in fromCodePointMap()
130 return errorValue; in get()
407 private int errorValue; field in MutableCodePointTrie
491 errorValue &= mask; in maskValues()
1466 data[dataLength++] = errorValue; in build()
1468 if (data[dataLength - 1] != errorValue || data[dataLength - 2] != highValue) { in build()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DMutableCodePointTrie.java40 public MutableCodePointTrie(int initialValue, int errorValue) { in MutableCodePointTrie() argument
47 this.errorValue = errorValue; in MutableCodePointTrie()
73 builder.errorValue = errorValue; in clone()
93 int errorValue = map.get(-1); in fromCodePointMap() local
95 MutableCodePointTrie mutableTrie = new MutableCodePointTrie(initialValue, errorValue); in fromCodePointMap()
127 return errorValue; in get()
399 private int errorValue; field in MutableCodePointTrie
483 errorValue &= mask; in maskValues()
1458 data[dataLength++] = errorValue; in build()
1460 if (data[dataLength - 1] != errorValue || data[dataLength - 2] != highValue) { in build()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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
/third_party/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
/third_party/gn/src/base/third_party/icu/
Dicu_utf.cc33 static UChar32 errorValue(int32_t count, int8_t strict) { in errorValue() function
124 c = errorValue(i - *pi, strict); in utf8_nextCharSafeBody()

12