Lines Matching refs:strict
96 errorValue(int32_t count, int8_t strict) { in errorValue() argument
97 if(strict>=0) { in errorValue()
99 } else if(strict==-3) { in errorValue()
131 utf8_nextCharSafeBody(const uint8_t *s, int32_t *pi, int32_t length, UChar32 c, UBool strict) { in utf8_nextCharSafeBody() argument
148 if(strict<=0 || !U_IS_UNICODE_NONCHAR(c)) { in utf8_nextCharSafeBody()
155 if(strict!=-2) { in utf8_nextCharSafeBody()
162 if(strict<=0 || !U_IS_UNICODE_NONCHAR(c)) { in utf8_nextCharSafeBody()
185 c=errorValue(i-*pi, strict); in utf8_nextCharSafeBody()
236 utf8_prevCharSafeBody(const uint8_t *s, int32_t start, int32_t *pi, UChar32 c, UBool strict) { in utf8_prevCharSafeBody() argument
248 return errorValue(1, strict); in utf8_prevCharSafeBody()
257 if(strict!=-2) { in utf8_prevCharSafeBody()
261 if(strict<=0 || !U_IS_UNICODE_NONCHAR(c)) { in utf8_prevCharSafeBody()
265 return errorValue(2, strict); in utf8_prevCharSafeBody()
279 return errorValue(2, strict); in utf8_prevCharSafeBody()
288 if(strict<=0 || !U_IS_UNICODE_NONCHAR(c)) { in utf8_prevCharSafeBody()
292 return errorValue(3, strict); in utf8_prevCharSafeBody()
299 return errorValue(0, strict); in utf8_prevCharSafeBody()