Home
last modified time | relevance | path

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

/third_party/node/deps/icu-small/source/i18n/
Duregex.cpp87 static UBool validateRE(const RegularExpression *re, UBool requiresText, UErrorCode *status) { in validateRE() function
273 if (validateRE(re, false, &status) == false) { in uregex_close()
288 if (validateRE(source, false, status) == false) { in uregex_clone()
328 if (validateRE(regexp, false, status) == false) { in uregex_pattern()
359 if (validateRE(regexp, false, status) == false) { in uregex_flags()
378 if (validateRE(regexp, false, status) == false) { in uregex_setText()
411 if (validateRE(regexp, false, status) == false) { in uregex_setUText()
441 if (validateRE(regexp, false, status) == false) { in uregex_getText()
481 if (validateRE(regexp, false, status) == false) { in uregex_getUText()
498 if (validateRE(regexp, false, status) == false) { in uregex_refreshUText()
[all …]
/third_party/icu/icu4c/source/i18n/
Duregex.cpp87 static UBool validateRE(const RegularExpression *re, UBool requiresText, UErrorCode *status) { in validateRE() function
273 if (validateRE(re, false, &status) == false) { in uregex_close()
288 if (validateRE(source, false, status) == false) { in uregex_clone()
328 if (validateRE(regexp, false, status) == false) { in uregex_pattern()
359 if (validateRE(regexp, false, status) == false) { in uregex_flags()
378 if (validateRE(regexp, false, status) == false) { in uregex_setText()
411 if (validateRE(regexp, false, status) == false) { in uregex_setUText()
441 if (validateRE(regexp, false, status) == false) { in uregex_getText()
481 if (validateRE(regexp, false, status) == false) { in uregex_getUText()
498 if (validateRE(regexp, false, status) == false) { in uregex_refreshUText()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Duregex.cpp87 static UBool validateRE(const RegularExpression *re, UBool requiresText, UErrorCode *status) { in validateRE() function
273 if (validateRE(re, FALSE, &status) == FALSE) { in uregex_close()
288 if (validateRE(source, FALSE, status) == FALSE) { in uregex_clone()
328 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_pattern()
359 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_flags()
378 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_setText()
411 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_setUText()
441 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_getText()
481 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_getUText()
498 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_refreshUText()
[all …]
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java165 private static String validateRE(String regex) { in validateRE() method in BuildMetadataFromXml
166 return validateRE(regex, false); in validateRE()
170 static String validateRE(String regex, boolean removeWhitespace) { in validateRE() method in BuildMetadataFromXml
205 metadata.setLeadingDigits(validateRE(element.getAttribute(LEADING_DIGITS))); in loadTerritoryTagMetadata()
208 metadata.setInternationalPrefix(validateRE(element.getAttribute(INTERNATIONAL_PREFIX))); in loadTerritoryTagMetadata()
216 validateRE(element.getAttribute(NATIONAL_PREFIX_FOR_PARSING), true)); in loadTerritoryTagMetadata()
219 validateRE(element.getAttribute(NATIONAL_PREFIX_TRANSFORM_RULE))); in loadTerritoryTagMetadata()
289 format.setPattern(validateRE(numberFormatElement.getAttribute(PATTERN))); in loadNationalFormat()
316 carrierCodeFormattingRule = validateRE( in loadAvailableFormats()
344 format.setDomesticCarrierCodeFormattingRule(validateRE( in loadAvailableFormats()
[all …]
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java57 assertEquals("helloworld", BuildMetadataFromXml.validateRE(input, true)); in testValidateRERemovesWhiteSpaces()
59 assertEquals(" hello world ", BuildMetadataFromXml.validateRE(input, false)); in testValidateRERemovesWhiteSpaces()
67 BuildMetadataFromXml.validateRE(invalidPattern, false); in testValidateREThrowsException()
73 BuildMetadataFromXml.validateRE(invalidPattern, true); in testValidateREThrowsException()
83 BuildMetadataFromXml.validateRE(patternWithPipeFollowedByClosingParentheses, true); in testValidateREThrowsException()
90 BuildMetadataFromXml.validateRE(patternWithPipeFollowedByNewLineAndClosingParentheses, true); in testValidateREThrowsException()
100 assertEquals(validPattern, BuildMetadataFromXml.validateRE(validPattern, false)); in testValidateRE()