Home
last modified time | relevance | path

Searched refs:errorValue (Results 1 - 25 of 49) sorted by relevance

12

/third_party/icu/icu4c/source/test/cintltst/
H A Dtrie2test.c45 * It may be preceded by an entry with negative limit and the errorValue.
117 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()
250 /* test errorValue */ in testTrieGetters()
259 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
260 log_err("error: %s(%s).get(out of range) != errorValue\ in testTrieGetters()
384 uint32_t initialValue, errorValue; testTrieUTF8() local
836 uint32_t initialValue, errorValue; makeTrieWithRanges() local
1147 uint32_t initialValue, errorValue; dummyTest() local
1298 uint32_t initialValue, errorValue; makeNewTrie1WithRanges() local
1351 uint32_t initialValue, errorValue; testTrie2FromTrie1() local
[all...]
H A Ducptrietest.c38 * It may be preceded by an entry with negative limit and the errorValue.
190 uint32_t initialValue, errorValue; in testTrieGetters() local
198 countSpecials=getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue); in testTrieGetters()
308 /* test errorValue */ in testTrieGetters()
332 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
333 log_err("error: %s(%s).get(out of range) != errorValue\n", in testTrieGetters()
338 if(value!=errorValue || value2!=errorValue) { in testTrieGetters()
339 log_err("error: %s(%s).get(out of range) != errorValue\ in testTrieGetters()
347 uint32_t initialValue, errorValue; testBuilderGetters() local
396 uint32_t errorValue = ucptrie_get(trie, -1); testTrieUTF16() local
521 uint32_t initialValue, errorValue; testTrieUTF8() local
1002 makeTrieWithRanges(const char *testName, UBool withClone, const SetRange setRanges[], int32_t countSetRanges, uint32_t initialValue, uint32_t errorValue) makeTrieWithRanges() argument
1057 uint32_t initialValue, errorValue; testTrieRanges() local
1525 uint32_t initialValue, errorValue; TrieTestGetRangesFixedSurr() local
[all...]
/third_party/icu/icu4c/source/common/
H A 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()
H A 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()
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()
239 utrie2_openDummy(UTrie2ValueBits valueBits, uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) utrie2_openDummy() argument
[all...]
H A Dumutablecptrie.cpp72 MutableCodePointTrie(uint32_t initialValue, uint32_t errorValue, UErrorCode &errorCode);
117 uint32_t errorValue; member in __anon3198::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 in fromUCPTrie()
1740 umutablecptrie_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) umutablecptrie_open() argument
[all...]
H A 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, pErrorCod in utrie2_cloneAsThawed()
449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) utrie2_fromUTrie() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A 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()
H A 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()
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()
239 utrie2_openDummy(UTrie2ValueBits valueBits, uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) utrie2_openDummy() argument
[all...]
H A Dumutablecptrie.cpp72 MutableCodePointTrie(uint32_t initialValue, uint32_t errorValue, UErrorCode &errorCode);
117 uint32_t errorValue; member in __anon11850::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 in fromUCPTrie()
1740 umutablecptrie_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) umutablecptrie_open() argument
[all...]
H A 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, pErrorCod in utrie2_cloneAsThawed()
449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) utrie2_fromUTrie() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A 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()
H A 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()
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()
239 utrie2_openDummy(UTrie2ValueBits valueBits, uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) utrie2_openDummy() argument
[all...]
H A Dumutablecptrie.cpp72 MutableCodePointTrie(uint32_t initialValue, uint32_t errorValue, UErrorCode &errorCode);
117 uint32_t errorValue; member in __anon21079::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 in fromUCPTrie()
1740 umutablecptrie_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) umutablecptrie_open() argument
[all...]
H A 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, pErrorCod in utrie2_cloneAsThawed()
449 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) utrie2_fromUTrie() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DMutableCodePointTrie.java37 * @param errorValue the value for out-of-range code points and ill-formed UTF-8/16
40 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()
97 MutableCodePointTrie mutableTrie = new MutableCodePointTrie(initialValue, errorValue); in fromCodePointMap()
130 return errorValue; in get()
407 private int errorValue; field in MutableCodePointTrie
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DMutableCodePointTrie.java38 * @param errorValue the value for out-of-range code points and ill-formed UTF-8/16
40 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()
95 MutableCodePointTrie mutableTrie = new MutableCodePointTrie(initialValue, errorValue); in fromCodePointMap()
127 return errorValue; in get()
399 private int errorValue; field in MutableCodePointTrie
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A 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
72 * It may be preceded by an entry with negative limit and the errorValue.
97 int initialValue, errorValue; in getSpecialValues()
99 errorValue=checkRanges[i++].value; in getSpecialValues()
101 errorValue=0xad; in getSpecialValues()
108 return new SpecialValues(i, initialValue, errorValue); in getSpecialValues()
283 /* test errorValue */ in testTrieGetters()
[all...]
H A DTrie2Test.java414 // It may be preceded by an entry with negative limit and the errorValue.
589 int errorValue = 0x0bad; in genTrieFromSetRanges()
592 errorValue = ranges[i][2]; in genTrieFromSetRanges()
596 Trie2Writable trie = new Trie2Writable(initialValue, errorValue); in genTrieFromSetRanges()
629 int initialValue, errorValue; in trieGettersTest()
634 countSpecials=0; /*getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue);*/ in trieGettersTest()
635 errorValue = 0x0bad; in trieGettersTest()
692 /* test errorValue */ in trieGettersTest()
695 if(value!=errorValue || value2!=errorValue) { in trieGettersTest()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A 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
69 * It may be preceded by an entry with negative limit and the errorValue.
94 int initialValue, errorValue; in getSpecialValues()
96 errorValue=checkRanges[i++].value; in getSpecialValues()
98 errorValue=0xad; in getSpecialValues()
105 return new SpecialValues(i, initialValue, errorValue); in getSpecialValues()
280 /* test errorValue */ in testTrieGetters()
[all...]
H A DTrie2Test.java411 // It may be preceded by an entry with negative limit and the errorValue.
586 int errorValue = 0x0bad; in genTrieFromSetRanges()
589 errorValue = ranges[i][2]; in genTrieFromSetRanges()
593 Trie2Writable trie = new Trie2Writable(initialValue, errorValue); in genTrieFromSetRanges()
626 int initialValue, errorValue; in trieGettersTest()
631 countSpecials=0; /*getSpecialValues(checkRanges, countCheckRanges, &initialValue, &errorValue);*/ in trieGettersTest()
632 errorValue = 0x0bad; in trieGettersTest()
689 /* test errorValue */ in trieGettersTest()
692 if(value!=errorValue || value2!=errorValue) { in trieGettersTest()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A 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()
[all...]
H A 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/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A 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()
[all...]
H A 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/gn/src/base/third_party/icu/
H A Dicu_utf.cc33 static UChar32 errorValue(int32_t count, int8_t strict) { in errorValue() function
124 c = errorValue(i - *pi, strict); in utf8_nextCharSafeBody()

Completed in 27 milliseconds

12