/external/chromium/third_party/icu/source/test/intltest/ |
D | dcfmapts.cpp | 74 DecimalFormat pat(pattern, status); in testAPI() local 99 DecimalFormat copy(pat); in testAPI() 105 if( ! (copy == pat) || copy != pat) { in testAPI() 135 res2 = pat.format(l, res2, pos2); in testAPI() 161 pat.applyPattern(patt, status); in testAPI() 165 pat.parse(text, result1, pos); in testAPI() 172 pat.parse(text, result2, status); in testAPI() 185 const DecimalFormatSymbols *syms = pat.getDecimalFormatSymbols(); in testAPI() 189 if( *(pat.getDecimalFormatSymbols()) != *(def.getDecimalFormatSymbols())) { in testAPI() 194 pat.setPositivePrefix("+"); in testAPI() [all …]
|
D | msfmrgts.cpp | 158 UnicodeString pat; in Test4058973() local 159 pat = fmt->toPattern(pat); in Test4058973() 161 if (pat != exp) { in Test4058973() 164 errln("Got: " + pat); in Test4058973() 533 UnicodeString pat; in Test4114739() local 535 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4114739() 563 UnicodeString pat; in Test4113018() local 564 logln("pattern before: \"" + mf->toPattern(pat) + "\""); in Test4113018() 586 UnicodeString pat; in Test4106661() local 587 logln("Formatter Pattern : " + fmt->toPattern(pat)); in Test4106661() [all …]
|
D | sdtfmtts.cpp | 65 SimpleDateFormat pat(pattern, status); in testAPI() local 114 SimpleDateFormat copy(pat); in testAPI() 120 if( ! (copy == pat) || copy != pat) { in testAPI() 176 const DateFormatSymbols *syms = pat.getDateFormatSymbols(); in testAPI() 187 if( *(pat.getDateFormatSymbols()) != *(def.getDateFormatSymbols())) { in testAPI() 192 UDate startDate = pat.get2DigitYearStart(status); in testAPI() 217 pat.applyPattern(p1); in testAPI() 220 s2 = pat.toPattern(s2); in testAPI() 228 pat.applyLocalizedPattern(p1, status); in testAPI() 234 s3 = pat.toLocalizedPattern(s3, status); in testAPI()
|
D | numfmtst.cpp | 202 const char* pat[] = { "#.#", "#.", ".#", "#" }; in TestPatterns() local 203 int32_t pat_length = (int32_t)(sizeof(pat) / sizeof(pat[0])); in TestPatterns() 209 DecimalFormat fmt(pat[i], sym, status); in TestPatterns() 210 …tatus)) { errln((UnicodeString)"FAIL: DecimalFormat constructor failed for " + pat[i]); continue; } in TestPatterns() 213 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + in TestPatterns() 219 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should format zero as " + num[i] + in TestPatterns() 259 const char* pat[] = { "0.####E0", "00.000E00", "##0.######E000", "0.###E0;[0.###E0]" }; in TestExponential() local 260 int32_t pat_length = (int32_t)(sizeof(pat) / sizeof(pat[0])); in TestExponential() 344 DecimalFormat fmt(pat[p], sym, status); in TestExponential() 347 logln((UnicodeString)"Pattern \"" + pat[p] + "\" -toPattern-> \"" + in TestExponential() [all …]
|
D | numfmtst.h | 189 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 192 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() argument 194 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); in expectPad() 197 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 200 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() argument 202 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); in expectPad() 211 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 214 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() argument 216 expectPad(fmt, pat, pos, 0, (UChar)0); in expectPad()
|
/external/icu4c/test/intltest/ |
D | dcfmapts.cpp | 81 DecimalFormat pat(pattern, status); in testAPI() local 106 DecimalFormat copy(pat); in testAPI() 112 if( ! (copy == pat) || copy != pat) { in testAPI() 142 res2 = pat.format(l, res2, pos2); in testAPI() 168 pat.applyPattern(patt, status); in testAPI() 172 pat.parse(text, result1, pos); in testAPI() 179 pat.parse(text, result2, status); in testAPI() 192 const DecimalFormatSymbols *syms = pat.getDecimalFormatSymbols(); in testAPI() 196 if( *(pat.getDecimalFormatSymbols()) != *(def.getDecimalFormatSymbols())) { in testAPI() 201 pat.setPositivePrefix("+"); in testAPI() [all …]
|
D | msfmrgts.cpp | 159 UnicodeString pat; in Test4058973() local 160 pat = fmt->toPattern(pat); in Test4058973() 162 if (pat != exp) { in Test4058973() 165 errln("Got: " + pat); in Test4058973() 534 UnicodeString pat; in Test4114739() local 536 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4114739() 564 UnicodeString pat; in Test4113018() local 565 logln("pattern before: \"" + mf->toPattern(pat) + "\""); in Test4113018() 587 UnicodeString pat; in Test4106661() local 588 logln("Formatter Pattern : " + fmt->toPattern(pat)); in Test4106661() [all …]
|
D | sdtfmtts.cpp | 65 SimpleDateFormat pat(pattern, status); in testAPI() local 114 SimpleDateFormat copy(pat); in testAPI() 120 if( ! (copy == pat) || copy != pat) { in testAPI() 176 const DateFormatSymbols *syms = pat.getDateFormatSymbols(); in testAPI() 187 if( *(pat.getDateFormatSymbols()) != *(def.getDateFormatSymbols())) { in testAPI() 192 UDate startDate = pat.get2DigitYearStart(status); in testAPI() 217 pat.applyPattern(p1); in testAPI() 220 s2 = pat.toPattern(s2); in testAPI() 228 pat.applyLocalizedPattern(p1, status); in testAPI() 234 s3 = pat.toLocalizedPattern(s3, status); in testAPI()
|
D | numfmtst.h | 199 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 202 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() argument 204 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); in expectPad() 207 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 210 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() argument 212 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); in expectPad() 221 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 224 void expectPad(DecimalFormat& fmt, const char *pat, in expectPad() argument 226 expectPad(fmt, pat, pos, 0, (UChar)0); in expectPad()
|
D | numfmtst.cpp | 208 const char* pat[] = { "#.#", "#.", ".#", "#" }; in TestPatterns() local 209 int32_t pat_length = (int32_t)(sizeof(pat) / sizeof(pat[0])); in TestPatterns() 215 DecimalFormat fmt(pat[i], sym, status); in TestPatterns() 216 …tatus)) { errln((UnicodeString)"FAIL: DecimalFormat constructor failed for " + pat[i]); continue; } in TestPatterns() 219 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + in TestPatterns() 225 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should format zero as " + num[i] + in TestPatterns() 265 const char* pat[] = { "0.####E0", "00.000E00", "##0.######E000", "0.###E0;[0.###E0]" }; in TestExponential() local 266 int32_t pat_length = (int32_t)(sizeof(pat) / sizeof(pat[0])); in TestExponential() 350 DecimalFormat fmt(pat[p], sym, status); in TestExponential() 353 logln((UnicodeString)"Pattern \"" + pat[p] + "\" -toPattern-> \"" + in TestExponential() [all …]
|
/external/chromium/third_party/icu/source/test/testdata/ |
D | NumberFormatTestCases.txt | 17 pat: - "#0.####" 19 pat: - "#0.####" 22 pat: - "#0" 28 pat: - - 30 pat: - "#,@@@" 33 pat: - - 39 pat: - - 44 pat: - - 49 pat: - - 54 pat: - - [all …]
|
/external/icu4c/test/testdata/ |
D | NumberFormatTestCases.txt | 17 pat: - "#0.####" 19 pat: - "#0.####" 22 pat: - "#0" 28 pat: - - 30 pat: - "#,@@@" 33 pat: - - 39 pat: - - 44 pat: - - 49 pat: - - 54 pat: - - [all …]
|
/external/chromium/third_party/icu/source/common/ |
D | uset_props.cpp | 34 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPattern() local 35 UnicodeSet* set = new UnicodeSet(pat, *ec); in uset_openPattern() 54 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPatternOptions() local 55 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec); in uset_openPatternOptions() 90 UnicodeString pat(pattern, patternLength); in uset_applyPattern() local 94 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status); in uset_applyPattern() 121 UnicodeString pat(pattern, patternLength); in uset_resemblesPattern() local 123 return ((pos+1) < pat.length() && in uset_resemblesPattern() 124 pat.charAt(pos) == (UChar)91/*[*/) || in uset_resemblesPattern() 125 UnicodeSet::resemblesPattern(pat, pos); in uset_resemblesPattern() [all …]
|
/external/icu4c/common/ |
D | uset_props.cpp | 34 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPattern() local 35 UnicodeSet* set = new UnicodeSet(pat, *ec); in uset_openPattern() 54 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPatternOptions() local 55 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec); in uset_openPatternOptions() 90 UnicodeString pat(pattern, patternLength); in uset_applyPattern() local 94 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status); in uset_applyPattern() 121 UnicodeString pat(pattern, patternLength); in uset_resemblesPattern() local 123 return ((pos+1) < pat.length() && in uset_resemblesPattern() 124 pat.charAt(pos) == (UChar)91/*[*/) || in uset_resemblesPattern() 125 UnicodeSet::resemblesPattern(pat, pos); in uset_resemblesPattern() [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Expressions/ |
D | instanceof-002.js | 73 var pat = new Engineer() variable 78 pat.__proto__ == Engineer.prototype ); 83 pat.__proto__.__proto__ == WorkerBee.prototype ); 88 pat.__proto__.__proto__.__proto__ == Employee.prototype ); 93 … pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype ); 98 pat.__proto__.__proto__.__proto__.__proto__.__proto__ == null ); 103 pat instanceof Engineer ); 108 pat instanceof WorkerBee ); 113 pat instanceof Employee ); 118 pat instanceof Object ); [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
D | proto_10.js | 100 var pat = new Engineer() variable 105 pat.__proto__ == Engineer.prototype ); 110 pat.__proto__.__proto__ == WorkerBee.prototype ); 115 pat.__proto__.__proto__.__proto__ == Employee.prototype ); 120 … pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype ); 125 pat.__proto__.__proto__.__proto__.__proto__.__proto__ == null ); 131 InstanceOf( pat, Engineer ) ); 136 InstanceOf( pat, WorkerBee ) ); 141 InstanceOf( pat, Employee ) ); 146 InstanceOf( pat, Object ) ); [all …]
|
D | proto_7.js | 81 var pat = new Engineer( "Toonces, Pat", variable 93 pat.name ); 98 pat.dept ); 103 pat.projects.length ); 108 pat.projects[0] ); 113 pat.projects[1] ); 118 pat.machine ); 123 pat.specialty );
|
D | proto_8.js | 79 var pat = new Engineer( "Toonces, Pat", variable 91 pat.name ); 96 pat.dept ); 101 pat.projects.length ); 106 pat.projects[0] ); 111 pat.projects[1] ); 116 pat.machine ); 121 pat.specialty );
|
D | proto_6.js | 94 var pat = new Engineer( "Toonces, Pat", variable 110 pat.name ); 115 pat.dept ); 120 pat.projects.length ); 125 pat.projects[0] ); 130 pat.projects[1] ); 135 pat.machine );
|
/external/bzip2/ |
D | bzgrep | 17 pat="" 20 -e | -f) opt="$opt $1"; shift; pat="$1" 26 *) if test -z "$pat"; then 27 pat="$1" 35 if test -z "$pat"; then 52 bzip2 -cdfq | $grep $opt "$pat" 60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i 63 bzip2 -cdfq "$i" | $grep $opt "$pat" 70 bzip2 -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${j}:|"
|
/external/icu4c/test/cintltst/ |
D | usettest.c | 258 char *pat; in expectContainment() local 268 pat=aescstrdup(ustr, length); in expectContainment() 285 log_verbose("Ok: %s %s \"%s\"\n", pat, in expectContainment() 289 log_data_err("FAIL: %s %s \"%s\" (Are you missing data?)\n", pat, in expectContainment() 302 log_verbose("Ok: %s %s '%c'\n", pat, in expectContainment() 306 log_data_err("FAIL: %s %s '%c' (Are you missing data?)\n", pat, in expectContainment() 317 log_verbose("Ok: %s %s U+%04X-U+%04X\n", pat, in expectContainment() 321 log_data_err("FAIL: %s %s U+%04X-U+%04X (Are you missing data?)\n", pat, in expectContainment() 335 log_verbose("Ok: %s %s U+%04X-U+%04X\n", pat, in expectContainment() 339 log_data_err("FAIL: %s %s U+%04X-U+%04X (Are you missing data?)\n", pat, in expectContainment() [all …]
|
/external/chromium/third_party/icu/source/test/cintltst/ |
D | usettest.c | 258 char *pat; in expectContainment() local 268 pat=aescstrdup(ustr, length); in expectContainment() 285 log_verbose("Ok: %s %s \"%s\"\n", pat, in expectContainment() 289 log_data_err("FAIL: %s %s \"%s\" (Are you missing data?)\n", pat, in expectContainment() 302 log_verbose("Ok: %s %s '%c'\n", pat, in expectContainment() 306 log_data_err("FAIL: %s %s '%c' (Are you missing data?)\n", pat, in expectContainment() 317 log_verbose("Ok: %s %s U+%04X-U+%04X\n", pat, in expectContainment() 321 log_data_err("FAIL: %s %s U+%04X-U+%04X (Are you missing data?)\n", pat, in expectContainment() 335 log_verbose("Ok: %s %s U+%04X-U+%04X\n", pat, in expectContainment() 339 log_data_err("FAIL: %s %s U+%04X-U+%04X (Are you missing data?)\n", pat, in expectContainment() [all …]
|
D | cnmdptst.c | 68 const char* pat[] = { "#.#", "#.", ".#", "#" }; in TestPatterns() local 73 pat_length = sizeof(pat) / sizeof(pat[0]); in TestPatterns() 77 u_uastrcpy(upat, pat[i]); in TestPatterns() 80 …s(status, "FAIL: Number format constructor failed for pattern %s -> %s\n", pat[i], u_errorName(sta… in TestPatterns() 91 log_err("FAIL: Number format extracting the pattern failed for %s\n", pat[i]); in TestPatterns() 95 …log_err("FAIL: Pattern %s should be transmute to %s; %s seen instead\n", pat[i], newpat[i], aust… in TestPatterns() 110 …log_err("FAIL: Pattern %s should format zero as %s; %s Seen instead\n", pat[i], num[i], austrdup(s… in TestPatterns() 124 UChar pat[15]; in TestQuotes() local 130 u_uastrcpy(pat, "a'fo''o'b#"); in TestQuotes() 131 fmt =unum_open(UNUM_IGNORE,pat, u_strlen(pat), "en_US",NULL, &status); in TestQuotes() [all …]
|
/external/libpng/contrib/gregbook/ |
D | rpng2-x.c | 193 static int pat = 6; /* must be less than num_bgpat */ variable 406 pat = atoi(*argv); in main() 407 if (pat >= 0 && pat < num_bgpat) { in main() 661 if (++pat >= num_bgpat) in main() 662 pat = 0; in main() 1081 int invert_gradient2 = (bg[pat].type & 0x08); in rpng2_x_load_bg_image() 1101 bgscale = (pat == 0)? 8 : bgscale_default; in rpng2_x_load_bg_image() 1109 if ((bg[pat].type & 0x07) == 0) { in rpng2_x_load_bg_image() 1110 uch r1_min = rgb[bg[pat].rgb1_min].r; in rpng2_x_load_bg_image() 1111 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_x_load_bg_image() [all …]
|
D | rpng2-win.c | 162 static int pat = 6; /* must be less than num_bgpat */ variable 388 pat = atoi(*argv) - 1; in WinMain() 389 if (pat < 0 || pat >= num_bgpat) in WinMain() 816 int invert_gradient2 = (bg[pat].type & 0x08); in rpng2_win_load_bg_image() 839 if ((bg[pat].type & 0x07) == 0) { in rpng2_win_load_bg_image() 840 uch r1_min = rgb[bg[pat].rgb1_min].r; in rpng2_win_load_bg_image() 841 uch g1_min = rgb[bg[pat].rgb1_min].g; in rpng2_win_load_bg_image() 842 uch b1_min = rgb[bg[pat].rgb1_min].b; in rpng2_win_load_bg_image() 843 uch r2_min = rgb[bg[pat].rgb2_min].r; in rpng2_win_load_bg_image() 844 uch g2_min = rgb[bg[pat].rgb2_min].g; in rpng2_win_load_bg_image() [all …]
|