Home
last modified time | relevance | path

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

/external/hyphenation/
Dsubstrings.pl131 my $pat1, $pat2;
134 $pat1 = join ('', map { $_ =~ /\d/ ? () : $_ } @exp);
137 $begcorr = ($pat1 =~ /^[.]/) ? 1 : 0;
139 for $i (0..length ($pat1) - length ($pat2)) {
140 if (substr ($pat1, $i, length $pat2) eq $subpat) {
144 if (defined $newrepltab{$pat2} && !defined $newrepltab{$pat1}) {
145 $ss = substr ($pat1, 0, $i);
146 $newrepltab{$pat1} = $newrepltab{$pat2};
147 $newreplbeg{$pat1} = $newreplbeg{$pat2} + enclen($ss) - $begcorr;
148 $newrepllen{$pat1} = $newrepllen{$pat2};
[all …]
/external/icu4c/test/intltest/
Dregextst.cpp1509 RegexPattern *pat1 = RegexPattern::compile(re1, 0, pe, status); in API_Pattern() local
1512 REGEX_ASSERT(*pat1 == *pat1); in API_Pattern()
1513 REGEX_ASSERT(*pat1 != pata); in API_Pattern()
1516 patb = *pat1; in API_Pattern()
1517 REGEX_ASSERT(patb == *pat1); in API_Pattern()
1520 RegexPattern patc(*pat1); in API_Pattern()
1521 REGEX_ASSERT(patc == *pat1); in API_Pattern()
1523 REGEX_ASSERT(pat1 != pat2); in API_Pattern()
1530 REGEX_ASSERT(*pat1a == *pat1); in API_Pattern()
1544 RegexPattern *pat1c = pat1->clone(); in API_Pattern()
[all …]
Dtsdtfmsy.cpp344 UnicodeString localPattern, pat1, pat2; in TestSymbols() local
347 if( en.getLocalPatternChars(pat1) != fr.getLocalPatternChars(pat2)) { in TestSymbols()
Dusettest.cpp851 UnicodeString pat0, pat1; in TestStrings() local
853 testList[i+1]->toPattern(pat1, TRUE); in TestStrings()
855 logln((UnicodeString)"Ok: " + pat0 + " == " + pat1); in TestStrings()
857 logln((UnicodeString)"FAIL: " + pat0 + " != " + pat1); in TestStrings()
Ddtfmttst.cpp3615 UnicodeString pat1 ("yyyy-MM-dd'T'HH:mm:ss'Z'", -1, US_INV ); in TestFormalChineseDate() local
3616 SimpleDateFormat *usf = new SimpleDateFormat(pat1,Locale::getEnglish(),status); in TestFormalChineseDate()