/external/icu4c/test/intltest/ |
H A D | tzregts.cpp | 150 dataerrln("Error creating date format %s", u_errorName(status)); 371 int32_t date = testCal->get(UCAL_DATE, status); local 375 --date; 380 ++date; 387 date, 1050 UDate date = 0; local 1053 fmt.format(date, strWith); 1055 fmt.format(date, strWithout);
|
H A D | caltest.cpp | 330 UDate when = date(90, UCAL_APRIL, 15); 434 if (cal->getTime(status) != date(84, 5, 24) || U_FAILURE(status)) 439 if (cal->getTime(status) != date(85, 3, 2, 11, 49) || U_FAILURE(status)) 444 if (cal->getTime(status) != date(95, 9, 12, 1, 39, 55) || U_FAILURE(status)) 520 if (gc->getTime(status) != (d =date(98, 10, 14, 21, 43) )|| U_FAILURE(status)) 527 if (gc->getTime(status) != (d=date(98, 10, 14, 21, 43, 55)) || U_FAILURE(status)) 617 int32_t year = 1997, month = UCAL_APRIL, date = 1; 618 gc->set(year, month, date); 627 gc->get(UCAL_DATE, status) != (date + i)) errln("FAIL: Date wrong"); 713 c->setGregorianChange(date( 879 UDate date; local [all...] |
H A D | loctest.cpp | 1329 UDate mydate = date(98,3,13); // A Monday 1356 LocaleTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:LocaleTest 2220 UDate date = uprv_getUTCtime(); local 2227 date = (UDate)-630720000000.0; // pre 1961 - no currency defined 2228 index = ucurr_countCurrencies("eo_AM", date, &status); 2233 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); 2239 date = (UDate)0.0; // 1970 - one currency defined 2240 index = ucurr_countCurrencies("eo_AM", date, &status); 2245 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); 2252 date [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | HeaderFactoryImpl.java | 424 * Creates a new DateHeader based on the newly supplied date value. 426 * @param date - the new Calender value of the date. 429 public DateHeader createDateHeader(Calendar date) { argument 431 if (date == null) 432 throw new NullPointerException("null date"); 433 d.setDate(date);
|
/external/chromium/third_party/libevent/ |
H A D | http.c | 425 char date[50]; local 437 if (strftime(date, sizeof(date), 439 evhttp_add_header(headers, "Date", date);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | httpcommon.cc | 347 bool HttpDateToSeconds(const std::string& date, unsigned long* seconds) { argument 366 if (7 != sscanf(date.c_str(), "%*3s, %d %3s %d %d:%d:%d %5c",
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | ChromeBrowserProvider.java | 1014 row.url, row.created, row.isBookmark, row.date, row.favicon, 1035 row.url, row.created, row.isBookmark, row.date, 1064 return nativeAddSearchTermFromAPI(mNativeChromeBrowserProvider, row.term, row.date); 1071 row.term, row.date, selection, selectionArgs); 1159 Long date; field in class:ChromeBrowserProvider.BookmarkRow 1177 row.date = values.getAsLong(BookmarkColumns.DATE); 1202 Long date; field in class:ChromeBrowserProvider.SearchRow 1210 row.date = values.getAsLong(SearchColumns.DATE); 1301 String url, Long created, Boolean isBookmark, Long date, byte[] favicon, 1308 String url, Long created, Boolean isBookmark, Long date, byt 1300 nativeAddBookmarkFromAPI(int nativeChromeBrowserProvider, String url, Long created, Boolean isBookmark, Long date, byte[] favicon, String title, Integer visits, long parentId) argument 1307 nativeUpdateBookmarkFromAPI(int nativeChromeBrowserProvider, String url, Long created, Boolean isBookmark, Long date, byte[] favicon, String title, Integer visits, long parentId, String selection, String[] selectionArgs) argument 1317 nativeAddSearchTermFromAPI(int nativeChromeBrowserProvider, String term, Long date) argument 1323 nativeUpdateSearchTermFromAPI(int nativeChromeBrowserProvider, String search, Long date, String selection, String[] selectionArgs) argument [all...] |
/external/chromium_org/chrome/browser/android/provider/ |
H A D | chrome_browser_provider.cc | 1078 jobject date, 1106 if (date) 1108 env, date))); 1132 jobject date, 1137 if (date) 1139 env, date))); 1232 jobject date, 1240 FillBookmarkRow(env, obj, url, created, isBookmark, date, favicon, title, 1314 jobject date, 1322 FillBookmarkRow(env, obj, url, created, isBookmark, date, favico 1073 FillBookmarkRow(JNIEnv* env, jobject obj, jstring url, jobject created, jobject isBookmark, jobject date, jbyteArray favicon, jstring title, jobject visits, jlong parent_id, history::HistoryAndBookmarkRow* row, BookmarkModel* model) argument 1129 FillSearchRow(JNIEnv* env, jobject obj, jstring search_term, jobject date, history::SearchRow* row) argument 1227 AddBookmarkFromAPI(JNIEnv* env, jobject obj, jstring url, jobject created, jobject isBookmark, jobject date, jbyteArray favicon, jstring title, jobject visits, jlong parent_id) argument 1309 UpdateBookmarkFromAPI(JNIEnv* env, jobject obj, jstring url, jobject created, jobject isBookmark, jobject date, jbyteArray favicon, jstring title, jobject visits, jlong parent_id, jstring selections, jobjectArray selection_args) argument 1368 AddSearchTermFromAPI(JNIEnv* env, jobject obj, jstring search_term, jobject date) argument 1443 UpdateSearchTermFromAPI( JNIEnv* env, jobject obj, jstring search_term, jobject date, jstring selections, jobjectArray selection_args) argument [all...] |
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_manager_unittest.cc | 393 std::string date; local 395 date = exp_year + "-" + exp_month; 397 ExpectFilledField("Expiration Date", "ccmonth", date.c_str(), "month",
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
H A D | scm_unittest.py | 47 from datetime import date namespace 258 git_failure_message="Merge conflict during commit: Your file or directory 'WebCore/ChangeLog' is probably out-of-date: resource out of date; try updating at /usr/local/libexec/git-core//git-svn line 469" 260 svn: File or directory 'ChangeLog' is out of date; try updating 261 svn: resource out of date; try updating 543 # svn-apply will update ChangeLog entries with today's date (as in Cupertino, CA, US) 545 return changelog_entry.replace('DATE_HERE', date.today().isoformat()) 1620 MOCK run_command: ['git', 'log', '-1', '--grep=git-svn-id:', '--date=iso', './MOCK output of child process/MOCK output of child process'], cwd=%(checkout)s
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | timezone.cpp | 608 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, argument 616 date += rawOffset; // now in local standard millis 619 // When local == TRUE, date might not be in local standard 623 // does not exist. When 'date' is in this time range 633 double day = uprv_floor(date / U_MILLIS_PER_DAY); 634 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); 648 date -= dstOffset; 1075 // Set a fixed date (July 1) in this Gregorian year 1083 // Get July 1 date
|
H A D | ucurr.cpp | 1837 UDate date, 1871 // process each currency to see which one is valid for the given date 1879 // get the from date 1898 if ((fromDate <= date) && (date < toDate)) 1907 if (fromDate <= date) 1945 UDate date, 1986 // process each currency to see which one is valid for the given date 2003 // get the from date 2022 if ((fromDate <= date) 1836 ucurr_countCurrencies(const char* locale, UDate date, UErrorCode* ec) argument 1944 ucurr_forLocaleAndDate(const char* locale, UDate date, int32_t index, UChar* buff, int32_t buffCapacity, UErrorCode* ec) argument [all...] |
H A D | calendar.cpp | 213 //TODO: ULOC_FULL_NAME is out of date and too small.. 1009 * @param date the new time in UTC milliseconds from the epoch. 1065 Calendar::set(int32_t year, int32_t month, int32_t date) argument 1069 set(UCAL_DATE, date); 1075 Calendar::set(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute) argument 1079 set(UCAL_DATE, date); 1087 Calendar::set(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second) argument 1091 set(UCAL_DATE, date); 1177 * the allowable range for the date to which this calendar is set. 1275 // Compute time-related fields. These are indepent of the date an 2162 isWeekend(UDate date, UErrorCode &status) const argument 2750 int32_t date = 1 - first + dowLocal; local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | loctest.cpp | 1308 UDate mydate = date(98,3,13); // A Monday 1335 LocaleTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:LocaleTest 2195 UDate date = uprv_getUTCtime(); local 2202 date = (UDate)-630720000000.0; // pre 1961 - no currency defined 2203 index = ucurr_countCurrencies("eo_AM", date, &status); 2208 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); 2214 date = (UDate)0.0; // 1970 - one currency defined 2215 index = ucurr_countCurrencies("eo_AM", date, &status); 2220 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); 2227 date [all...] |
/external/chromium_org/third_party/libevent/ |
H A D | http.c | 425 char date[50]; local 437 if (strftime(date, sizeof(date), 439 evhttp_add_header(headers, "Date", date);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | httpcommon.cc | 347 bool HttpDateToSeconds(const std::string& date, time_t* seconds) { argument 366 if (7 != sscanf(date.c_str(), "%*3s, %d %3s %d %d:%d:%d %5c",
|
/external/chromium_org/third_party/libxslt/libexslt/ |
H A D | date.c | 2 * date.c: Implementation of the EXSLT -- Dates and Times module 5 * http://www.exslt.org/date/date.html 15 * date-format 17 * format-date 18 * parse-date 66 * types of date and/or time (from schema datatypes) 111 exsltDateValDate date; member in union:_exsltDateVal::__anon11722 193 * @dt: pointer to a date structure 371 * @dt: pointer to a date structur 683 exsltDateFreeDate(exsltDateValPtr date) argument [all...] |
/external/icu4c/i18n/ |
H A D | smpdtfmt.cpp | 565 // if the pattern should include both date and time information, use the date/time 566 // pattern string as a guide to tell use how to glue together the appropriate date 644 // Get proper date time format 651 // if the pattern includes just time data or just date date, load the appropriate 891 // ch is a date-time pattern character to be interpreted 1449 UDate date = cal.getTime(status); local 1454 tzFormat()->format(UTZFMT_STYLE_SPECIFIC_SHORT, tz, date, zoneString); 1458 tzFormat()->format(UTZFMT_STYLE_SPECIFIC_LONG, tz, date, zoneStrin [all...] |
H A D | timezone.cpp | 600 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, argument 608 date += rawOffset; // now in local standard millis 611 // When local == TRUE, date might not be in local standard 615 // does not exist. When 'date' is in this time range 625 double day = uprv_floor(date / U_MILLIS_PER_DAY); 626 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); 640 date -= dstOffset; 1226 UDate date = Calendar::getNow(); local 1239 tzfmt->format(UTZFMT_STYLE_GENERIC_LOCATION, *this, date, result, &timeType); 1242 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, *this, date, resul [all...] |
H A D | tzgnames.cpp | 278 UDate date, UnicodeString& name) const; 310 UDate date, UnicodeString& name) const; 470 TZGNCore::getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const { argument 483 formatGenericNonLocationName(tz, type, date, name); 621 TZGNCore::formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const { argument 642 fTimeZoneNames->getMetaZoneID(tzID, date, mzID); 648 tz.getOffset(date, FALSE, raw, sav, status); 668 UBool beforTrs = btz->getPreviousTransition(date, TRUE, before); 670 && (date - before.getTime() < kDstCheckRange) 675 UBool afterTrs = btz->getNextTransition(date, FALS 1348 getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const argument [all...] |
H A D | tznames_impl.cpp | 1029 TimeZoneNamesImpl::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { argument 1030 ZoneMeta::getMetazoneID(tzID, date, mzID);
|
H A D | ucurr.cpp | 1876 // get from date 1889 // get to date 2003 UDate date, 2036 // process each currency to see which one is valid for the given date 2044 // get the from date 2063 if ((fromDate <= date) && (date < toDate)) 2072 if (fromDate <= date) 2110 UDate date, 2151 // process each currency to see which one is valid for the given date 2002 ucurr_countCurrencies(const char* locale, UDate date, UErrorCode* ec) argument 2109 ucurr_forLocaleAndDate(const char* locale, UDate date, int32_t index, UChar* buff, int32_t buffCapacity, UErrorCode* ec) argument [all...] |
/external/icu4c/test/cintltst/ |
H A D | ccaltst.c | 326 /*Testing the current time and date using ucal_getnow()*/ 329 /* open the date format and format the date to check the output */ 335 log_verbose("PASS: The current date and time fetched is %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datdef, now)) ); 505 /* this is supposed to open default date format, but later on it treats it like it is "en_US" 516 log_verbose("\nTesting the date and time fetched in millis for a calendar using getMillis\n"); 523 log_verbose("\nTesting the set date and time function using setMillis\n"); 529 /*testing if the calendar date is set properly or not */ 675 log_err("error in setting the calendar date : %s\n", u_errorName(status)); 677 /*checking if the calendar date i 1499 UDate date; local [all...] |
/external/kernel-headers/original/linux/ |
H A D | msdos_fs.h | 166 __le16 cdate; /* Creation date */ 167 __le16 adate; /* Last access date */ 169 __le16 time,date,start;/* time, date and first cluster */ member in struct:msdos_dir_entry 438 extern int date_dos2unix(unsigned short time, unsigned short date); 439 extern void fat_date_unix2dos(int unix_date, __le16 *time, __le16 *date);
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
H A D | HttpResponseCacheTest.java | 597 // expires: 10 seconds from served date = 5 seconds from now 615 // expires: 10 seconds from served date = 5 seconds ago 628 // expires: 10 days from served date = 5 days from now 1719 * @param delta the offset from the current date to use. Negative 1727 private String formatDate(Date date) { argument 1730 return rfc1123.format(date);
|