Home
last modified time | relevance | path

Searched refs:tzdiff (Results 1 – 2 of 2) sorted by relevance

/external/qemu/telephony/
Dsms.c231 int tzdiff = 0; in sms_timestamp_now() local
240 tzdiff = (local.tm_hour*4 + local.tm_min/15) - (gm.tm_hour*4 + gm.tm_min/15); in sms_timestamp_now()
242 tzdiff += 24*4; in sms_timestamp_now()
244 tzdiff -= 24*4; in sms_timestamp_now()
246 stamp->data[6] = gsm_int_to_bcdi( tzdiff >= 0 ? tzdiff : -tzdiff ); in sms_timestamp_now()
247 if (tzdiff < 0) in sms_timestamp_now()
254 int tzdiff; in sms_timestamp_to_tm() local
267 tzdiff = gsm_int_from_bcdi( stamp->data[6] & 0xf7 ); in sms_timestamp_to_tm()
269 tzdiff = -tzdiff; in sms_timestamp_to_tm()
271 return tzdiff; in sms_timestamp_to_tm()
Dandroid_modem.c1303 long tzdiff; in handleEndOfInit() local
1319 tzdiff = e_local - e_utc; /* timezone offset in minutes */ in handleEndOfInit()
1350 (tzdiff >= 0) ? '+' : '-', (tzdiff >= 0 ? tzdiff : -tzdiff) / 15, in handleEndOfInit()