Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/jni/
DTimeUtils.h69 inline void set(int sec, int min, int hour, int mday, int mon, int year, in set() argument
76 this->t.tm_mon = mon; in set()
Dandroid_text_format_Time.cpp209 env->ReleaseStringUTFChars(js_mon[i], locale.mon[i]); in android_text_format_Time_format()
243 locale.mon[i] = env->GetStringUTFChars(js_mon[i], NULL); in android_text_format_Time_format()
/frameworks/base/media/libdrm/mobile1/src/parser/
Dparser_rel.c66 int32_t year, mon, day, hour, min, sec; in drm_getStartEndTime() local
91 mon = atoi((char *)pHead); in drm_getStartEndTime()
128 if (0 != drm_checkDate(year, mon, day, hour, min, sec)) in drm_getStartEndTime()
131 YMD_HMS_2_INT(year, mon, day, dateTime->date, hour, min, sec, in drm_getStartEndTime()
238 int32_t year, mon, day, hour, min, sec; in drm_getRightValue() local
360 mon = atoi((char *)pHead); in drm_getRightValue()
405 if (year < 0 || mon < 0 || day < 0 || hour < 0 in drm_getRightValue()
408 YMD_HMS_2_INT(year, mon, day, pConstraint->Interval.date, hour, in drm_getRightValue()
/frameworks/base/media/libdrm/mobile1/include/objmng/
Ddrm_inner.h26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ argument
28 mon = date % 10000 / 100;\
/frameworks/base/media/libdrm/mobile1/include/parser/
Dparser_rel.h43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ argument
44 date = year * 10000 + mon * 100 + day;\
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c390 int32_t year, mon, day, hour, min, sec, date, time; in drm_startConsumeRights() local
403 INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time); in drm_startConsumeRights()
418 mon += day / 31; in drm_startConsumeRights()
421 if (mon > 12) { in drm_startConsumeRights()
422 year += mon / 12; in drm_startConsumeRights()
423 mon %= 12; in drm_startConsumeRights()
425 if (day > (ret = drm_monthDays(year, mon))) { in drm_startConsumeRights()
427 mon++; in drm_startConsumeRights()
428 if (mon > 12) { in drm_startConsumeRights()
429 mon -= 12; in drm_startConsumeRights()
[all …]