/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
D | datetime_utils.py | 6 timedelta, 36 return timedelta(0) 38 return timedelta(0) 54 day = timedelta(days=1) 55 week = timedelta(weeks=1) 56 hour = timedelta(hours=1) 57 minute = timedelta(minutes=1) 58 second = timedelta(seconds=1) 60 month = timedelta(days=30) 61 year = timedelta(days=365) [all …]
|
D | cookies.py | 11 timedelta, 218 if isinstance(v, timedelta): 232 v = timedelta(seconds=v) 233 if isinstance(v, timedelta): 446 elif isinstance(max_age, timedelta):
|
D | response.py | 4 timedelta, 775 if not max_age and isinstance(expires, timedelta): 914 elif isinstance(seconds, timedelta): 937 self.expires = datetime.utcnow() + timedelta(seconds=seconds)
|
/external/ltrace/ |
D | summary.h | 26 struct timedelta { struct 30 struct timedelta calc_time_spent(struct timeval start); argument 32 struct timedelta spent);
|
D | summary.c | 54 struct timedelta 69 struct timedelta ret = { diff }; in calc_time_spent() 155 summary_account_call(struct library_symbol *libsym, struct timedelta spent) in summary_account_call()
|
D | forward.h | 37 struct timedelta;
|
D | output.h | 32 struct timedelta *spent);
|
D | handle_event.c | 471 struct timedelta spent[proc->callstack_depth]; in account_current_callstack() 526 bool left, struct timedelta *spent) in output_syscall() 554 struct timedelta *spent) in output_syscall_right() 628 struct timedelta spent = calc_time_spent(elem->enter_time); in handle_x_sysret() 661 struct timedelta spent = calc_time_spent(elem->enter_time); in output_right_tos()
|
D | output.c | 640 struct timedelta *spent) in output_right()
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
D | datetimeutil.py | 56 from datetime import timedelta, time, date 81 return timedelta(hours=int(val), minutes=60*(val % 1.0)) 97 return timedelta(hours=hr, minutes=mi) 177 _one_day = timedelta(days=1) 238 now += timedelta(days=days)
|
/external/lldb/test/unittest2/test/ |
D | test_assertions.py | 55 second = first + datetime.timedelta(seconds=10) 57 delta=datetime.timedelta(seconds=20)) 59 delta=datetime.timedelta(seconds=5))
|
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
D | extras_i18n_test.py | 201 self.assertEqual(i18n.format_timedelta(datetime.timedelta(weeks=12)), u'3 mths') 204 self.assertEqual(i18n.format_timedelta(datetime.timedelta(seconds=1)), u'1 s') 206 … self.assertEqual(i18n.format_timedelta(datetime.timedelta(hours=3), granularity='day'), u'1 day') 207 … self.assertEqual(i18n.format_timedelta(datetime.timedelta(hours=23), threshold=0.9), u'1 day') 209 … self.assertEqual(i18n.format_timedelta(datetime.timedelta(hours=23), threshold=1.1), u'23 hrs') 210 …self.assertEqual(i18n.format_timedelta(datetime.datetime.now() - datetime.timedelta(days=5)), u'5 …
|
/external/android-clat/ |
D | clatd_microbenchmark.c | 127 double timedelta(const struct timespec tv1, const struct timespec tv2) { in timedelta() function 156 double seconds = timedelta(tv1, tv2); in benchmark()
|
/external/ipsec-tools/src/racoon/ |
D | misc.h | 51 extern double timedelta __P((struct timeval *, struct timeval *));
|
D | misc.c | 162 timedelta(t1, t2) in timedelta() function
|
D | algorithm.c | 434 f->name, buf->l, timedelta(&start, &end)); 546 f->name, key->l << 3, buf->l, timedelta(&start, &end)); 575 f->name, key->l << 3, buf->l, timedelta(&start, &end));
|
D | isakmp.c | 852 timedelta(&start, &end)); 860 timedelta(&iph1->start, &iph1->end)); 1014 timedelta(&start, &end)); 1109 timedelta(&start, &end)); 1232 timedelta(&start, &end)); 1407 timedelta(&start, &end)); 2267 timedelta(&start, &end));
|
D | oakley.c | 269 timedelta(&start, &end)); 316 timedelta(&start, &end)); 1631 timedelta(&start, &end));
|
D | pfkey.c | 1277 "phase2", "quick", timedelta(&iph2->start, &iph2->end));
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
D | session.py | 183 cleanup_cycle = datetime.timedelta(seconds=15*60) #15 min 238 exp_time = datetime.timedelta(seconds=self.expiration*60)
|
/external/gtest/test/ |
D | gtest_xml_output_unittest.py | 197 self.assertTrue(time_delta < datetime.timedelta(seconds=600),
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_xml_output_unittest.py | 187 self.assertTrue(time_delta < datetime.timedelta(seconds=600),
|
/external/lldb/examples/python/ |
D | disasm-stress-test.py | 156 print str(datetime.timedelta(seconds=remaining_time))
|
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/ |
D | index.txt | 230 to live in seconds (you may also use a timedelta object). The
|
D | reference.txt | 811 You can also use the `timedelta 812 <http://python.org/doc/current/lib/datetime-timedelta.html>`_
|