Home
last modified time | relevance | path

Searched refs:curr_time (Results 1 – 21 of 21) sorted by relevance

/external/python/oauth2client/tests/contrib/
Dtest_xsrfutil.py80 curr_time = 1440449755.74
87 time.time = mock.MagicMock(name='time', return_value=curr_time)
102 mock.call.update(_helpers._to_bytes(str(int(curr_time)))),
108 _helpers._to_bytes(str(int(curr_time))))
140 curr_time = token_time + xsrfutil.DEFAULT_TIMEOUT_SECS + 1
145 time.time = mock.MagicMock(name='time', return_value=curr_time)
151 curr_time = token_time + xsrfutil.DEFAULT_TIMEOUT_SECS + 1
156 current_time=curr_time))
161 curr_time = token_time + xsrfutil.DEFAULT_TIMEOUT_SECS - 1
174 current_time=curr_time,
[all …]
/external/llvm-project/lldb/examples/python/
Ddelta.py111 curr_time = float(match.group(2))
114 delta = curr_time - last_time
116 base_time = curr_time
118 print('%s%.6f %+.6f%s' % (match.group(1), curr_time - base_time, delta, match.group(3)))
119 last_time = curr_time
Ddisasm-stress-test.py213 curr_time = time.time() variable
214 elapsed_time = curr_time - start_time
Dgdbremote.py1469 curr_time = float(match.group(2))
1471 delta = curr_time - last_time
1475 delta = curr_time - last_time
1477 base_time = curr_time
1496 curr_time - base_time,
1499 last_time = curr_time
/external/ltp/testcases/kernel/syscalls/utime/
Dutime01.c91 time_t curr_time; /* current time in seconds */ variable
157 if (modf_time <= curr_time || in main()
159 access_time <= curr_time || in main()
202 curr_time = time(NULL); in setup()
Dutime02.c94 time_t curr_time; /* current time in seconds */ variable
163 if (modf_time <= curr_time || in main()
165 access_time <= curr_time || in main()
217 curr_time = time(NULL); in setup()
Dutime03.c101 time_t curr_time; /* current time in seconds */ variable
190 if (modf_time <= curr_time || in main()
192 access_time <= curr_time || in main()
277 curr_time = time(NULL); in setup()
/external/ltp/testcases/kernel/syscalls/stime/
Dstime02.c47 time_t curr_time; in setup() local
55 if ((curr_time = time(NULL)) < 0) in setup()
58 new_time = curr_time + 10; in setup()
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dtime_log.h110 const float curr_time = in PrintTimeLog() local
113 const float avg_time = UpdateAverage(this_time->id, curr_time); in PrintTimeLog()
116 LOGD("%32s: %6.3fms %6.4fms", this_time->id, curr_time, avg_time); in PrintTimeLog()
/external/ltp/testcases/kernel/io/disktest/
Dstats.c60 time_t curr_time = 0, hwrite_time = 0, hread_time = 0, write_time = in print_stats() local
64 curr_time = time(NULL); in print_stats()
66 if ((curr_time - env->start_time) == 0) in print_stats()
67 curr_time++; in print_stats()
175 (curr_time - env->start_time)); in print_stats()
361 format_time((curr_time - in print_stats()
365 (curr_time - global_start_time), in print_stats()
/external/python/pyfakefs/pyfakefs/tests/
Dtest_utils.py34 def __init__(self, curr_time, increment): argument
35 self.curr_time = curr_time
44 self.curr_time += self.increment
45 return self.curr_time
/external/llvm-project/lldb/scripts/
Ddisasm-gdb-remote.pl30 our $curr_time = 0.0;
1986 $packet_times{$curr_full_cmd} += $curr_time - $packet_start_time;
1990 $packet_times{$curr_cmd} += $curr_time - $packet_start_time;
2089 $curr_time = $2;
2093 $base_time = $curr_time;
2097 $delta_time = $curr_time - $last_time;
2099 printf ("(%.6f, %+.6f): ", $curr_time - $base_time, $delta_time);
2100 $last_time = $curr_time;
2104 $curr_time = 0.0
2111 $packet_start_time = $curr_time;
[all …]
/external/tensorflow/tensorflow/core/util/
Dstat_summarizer.cc189 const int64 curr_time = ns.all_end_rel_micros(); in ProcessStepStats() local
190 curr_total_us += curr_time; in ProcessStepStats()
196 int64_t rel_end_us = curr_time; in ProcessStepStats()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.cc827 const Costs::Duration& curr_time, in GetOutputNodes() argument
859 output_state.time_ready = curr_time; in GetOutputNodes()
918 auto curr_time = device.GetCurrTime(); in MarkNodeExecuted() local
919 node_state.time_finished = curr_time; in MarkNodeExecuted()
931 node_state.time_no_references[port_num] = curr_time; in MarkNodeExecuted()
963 GetOutputNodes(node, curr_time, &new_nodes); in MarkNodeExecuted()
990 input_state.time_no_references[port] = curr_time; in MarkNodeExecuted()
Dvirtual_scheduler.h416 void GetOutputNodes(const NodeDef* node, const Costs::Duration& curr_time,
/external/autotest/site_utils/
Dtest_push.py463 curr_time = datetime.datetime.now()
469 and start_time <= _parse(log_prefix, l) <= curr_time)
/external/autotest/client/cros/power/
Dpower_dashboard.py275 curr_time = i * power_dict['sample_duration']
278 while checkpoint_event_list[event_index][1] <= curr_time:
/external/libfuse/lib/
Dfuse.c551 static void curr_time(struct timespec *now);
568 curr_time(&lnode->forget_time); in set_forget_time()
2483 static void curr_time(struct timespec *now) in curr_time() function
2505 curr_time(&node->stat_updated); in update_stat()
3234 curr_time(&now); in open_auto_cache()
4426 curr_time(&now); in fuse_clean_cache()
4523 curr_time(&now); in fuse_session_loop_remember()
4528 curr_time(&now); in fuse_session_loop_remember()
4551 curr_time(&now); in fuse_session_loop_remember()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc3095 const time_t curr_time = time(NULL); in Segment() local
3096 seed_ = static_cast<unsigned int>(curr_time); in Segment()
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc3095 const time_t curr_time = time(NULL); in Segment() local
3096 seed_ = static_cast<unsigned int>(curr_time); in Segment()
/external/libwebm/mkvmuxer/
Dmkvmuxer.cc3096 const time_t curr_time = time(NULL); in Segment() local
3097 seed_ = static_cast<unsigned int>(curr_time); in Segment()