Home
last modified time | relevance | path

Searched refs:valueStatus (Results 1 – 5 of 5) sorted by relevance

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DPathChecker.java87 ValueStatus valueStatus = attrValueToStatus.get(attrValue); in checkAttribute() local
88 if (valueStatus == null) { in checkAttribute()
89 valueStatus = dtdData.getValueStatus(element, attribute, attrValue); in checkAttribute()
90 if (valueStatus != ValueStatus.valid) { in checkAttribute()
94 attrValueToStatus.putIfAbsent(attrValue, valueStatus); in checkAttribute()
97 if (errors != null && valueStatus != ValueStatus.valid) { in checkAttribute()
98 errors.put(Row.of(element, attribute, attrValue), valueStatus); in checkAttribute() local
100 return valueStatus != null; in checkAttribute()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestAttributeValues.java289 ValueStatus valueStatus = dtdData.getValueStatus(element, attribute, attrValue); in checkAttribute() local
290 if (valueStatus != ValueStatus.valid) { in checkAttribute()
295 valueStatusInfo.put(valueStatus, element, attribute, attrValue, Boolean.TRUE); in checkAttribute()
304 for (ValueStatus valueStatus : ValueStatus.values()) { in show()
305 if (valueStatus == ValueStatus.valid) { in show()
308 M4<String, String, String, Boolean> info = valueStatusInfo.get(valueStatus); in show()
327 ValueStatus valueStatus = entry.getKey(); in show() local
328 if (retain != null && !retain.contains(valueStatus)) { in show()
331 if (!verbose && haveProblems && valueStatus == ValueStatus.valid) { in show()
341 valueStatus in show()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DCheckCLDR.java221 ValueStatus valueStatus = getValueStatus(winner, ValueStatus.NONE, null); in getShowRowAction() local
229 valueStatus == ValueStatus.ERROR, in getShowRowAction()
245 if (valueStatus != ValueStatus.NONE) { in getShowRowAction()
295 …ValueStatus valueStatus = getValueStatus(enteredValue, ValueStatus.NONE, CheckStatus.crossCheckSub… in getAcceptNewItemAction() local
296 if (valueStatus == ValueStatus.ERROR) { in getAcceptNewItemAction()
306 valueStatus = ValueStatus.NONE; in getAcceptNewItemAction()
311 valueStatus = getValueStatus(value, valueStatus, CheckStatus.crossCheckSubtypes); in getAcceptNewItemAction()
315 if (valueStatus != ValueStatus.NONE) { in getAcceptNewItemAction()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp7313 UErrorCode valueStatus = U_ZERO_ERROR; in testFormattableAsUFormattable() local
7322 exactMatch = (f.getDate()==ufmt_getDate(u, &valueStatus)); in testFormattableAsUFormattable()
7327 exactMatch = (f.getDouble()==ufmt_getDouble(u, &valueStatus)); in testFormattableAsUFormattable()
7332 exactMatch = (f.getLong()==ufmt_getLong(u, &valueStatus)); in testFormattableAsUFormattable()
7341 const UChar* uch = ufmt_getUChars(u, &len, &valueStatus); in testFormattableAsUFormattable()
7342 if(U_SUCCESS(valueStatus)) { in testFormattableAsUFormattable()
7354 int32_t count = ufmt_getArrayLength(u, &valueStatus); in testFormattableAsUFormattable()
7360 for(int i=0;U_SUCCESS(valueStatus) && i<count;i++) { in testFormattableAsUFormattable()
7361 UFormattable *uu = ufmt_getArrayItemByIndex(u, i, &valueStatus); in testFormattableAsUFormattable()
7377 exactMatch = (f.getInt64()==ufmt_getInt64(u, &valueStatus)); in testFormattableAsUFormattable()
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Dnumfmtst.cpp7313 UErrorCode valueStatus = U_ZERO_ERROR; in testFormattableAsUFormattable() local
7322 exactMatch = (f.getDate()==ufmt_getDate(u, &valueStatus)); in testFormattableAsUFormattable()
7327 exactMatch = (f.getDouble()==ufmt_getDouble(u, &valueStatus)); in testFormattableAsUFormattable()
7332 exactMatch = (f.getLong()==ufmt_getLong(u, &valueStatus)); in testFormattableAsUFormattable()
7341 const UChar* uch = ufmt_getUChars(u, &len, &valueStatus); in testFormattableAsUFormattable()
7342 if(U_SUCCESS(valueStatus)) { in testFormattableAsUFormattable()
7354 int32_t count = ufmt_getArrayLength(u, &valueStatus); in testFormattableAsUFormattable()
7360 for(int i=0;U_SUCCESS(valueStatus) && i<count;i++) { in testFormattableAsUFormattable()
7361 UFormattable *uu = ufmt_getArrayItemByIndex(u, i, &valueStatus); in testFormattableAsUFormattable()
7377 exactMatch = (f.getInt64()==ufmt_getInt64(u, &valueStatus)); in testFormattableAsUFormattable()
[all …]