/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
D | 15.9.3.2-2.js | 179 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 181 adjustResultArray(ResultArray); 185 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 186 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 188 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 189 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 190 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 191 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 192 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 193 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.2-1.js | 201 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 203 adjustResultArray(ResultArray); 207 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 208 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 210 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 211 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 212 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 213 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 214 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 215 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.2-3.js | 165 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 167 adjustResultArray(ResultArray); 171 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 172 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 174 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 175 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 176 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 177 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 178 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 179 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.1-2.js | 192 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 194 adjustResultArray(ResultArray); 198 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 199 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 201 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 202 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 203 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 204 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 205 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 206 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.2-4.js | 148 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 150 adjustResultArray(ResultArray); 154 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 155 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 157 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 158 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 159 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 160 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 161 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 162 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.8-1.js | 261 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 263 adjustResultArray(ResultArray, 'msMode'); 267 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 268 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 269 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 270 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 271 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 272 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 273 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 274 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.1-3.js | 170 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 172 adjustResultArray(ResultArray); 176 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 177 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 179 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 180 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 181 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 182 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 183 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 184 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.2-5.js | 130 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 132 adjustResultArray(ResultArray); 136 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 137 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 139 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 140 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 141 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 142 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 143 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 144 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.1-5.js | 131 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 133 adjustResultArray(ResultArray); 137 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 138 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 140 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 141 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 142 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 143 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 144 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 145 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.1-4.js | 154 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 156 adjustResultArray(ResultArray); 160 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 161 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 163 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 164 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 165 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 166 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 167 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 168 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.8-2.js | 236 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 238 adjustResultArray(ResultArray, 'msMode'); 242 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 243 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 244 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 245 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 246 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 247 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 248 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 249 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.8-3.js | 214 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 216 adjustResultArray(ResultArray, 'msMode'); 220 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 221 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 222 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 223 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 224 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 225 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 226 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 227 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.8-4.js | 183 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 185 adjustResultArray(ResultArray, 'msMode'); 189 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 190 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 191 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 192 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 193 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 194 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 195 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 196 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.8-5.js | 151 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 153 adjustResultArray(ResultArray, 'msMode'); 157 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 158 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 159 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 160 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 161 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 162 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 163 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 164 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.3.1-1.js | 234 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 236 adjustResultArray(ResultArray); 240 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 241 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 243 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YE… 244 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MO… 245 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DA… 246 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DA… 247 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HO… 248 …testcases[item++] = new TestCase( SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MI… [all …]
|
D | 15.9.4.2.js | 173 function addNewTestCase( DateCase, DateString, ResultArray ) { argument 178 …testcases[item++] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateC… 179 …testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateC… 180 …Case( SECTION, "Date.parse(" + DateCase.toString() +")", Math.floor(ResultArray[TIME]/1000)*100… 181 …Case( SECTION, "Date.parse(" + DateCase.toGMTString() +")", Math.floor(ResultArray[TIME]/1000)*100…
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ |
D | shell.js | 251 function adjustResultArray(ResultArray, msMode) argument 273 var t = ResultArray[TIME] + TZ_DIFF*msPerHour; 276 ResultArray[HOURS] = HourFromTime(t); 277 ResultArray[DAY] = WeekDay(t); 278 ResultArray[DATE] = DateFromTime(t); 279 ResultArray[MONTH] = MonthFromTime(t); 280 ResultArray[YEAR] = YearFromTime(t); 286 var t = ResultArray[TIME] - PST_DIFF*msPerHour; 289 ResultArray[TIME] = t; 290 ResultArray[UTC_HOURS] = HourFromTime(t); [all …]
|