Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 67) sorted by relevance

123

/packages/modules/DnsResolver/
Dres_send.cpp168 const struct timespec timeout);
169 static int retrying_poll(const int sock, short events, const struct timespec* finish);
175 static int elapsedTimeInMs(const timespec& from);
202 static struct timespec evConsTime(time_t sec, long nsec) { in evConsTime()
203 struct timespec x; in evConsTime()
210 static struct timespec evAddTime(struct timespec addend1, struct timespec addend2) { in evAddTime()
211 struct timespec x; in evAddTime()
222 static struct timespec evSubTime(struct timespec minuend, struct timespec subtrahend) { in evSubTime()
223 struct timespec x; in evSubTime()
235 static int evCmpTime(struct timespec a, struct timespec b) { in evCmpTime()
[all …]
Dstats.h60 int res_stats_calculate_rtt(const timespec* t1, const timespec* t0);
Dres_stats.cpp27 int res_stats_calculate_rtt(const timespec* t1, const timespec* t0) { in res_stats_calculate_rtt()
Dresolv_private.h139 std::array<timespec, MAXNS> udpsocks_ts; // The creation time of the UDP sockets
144 timespec tcp_nssock_ts = {}; // The creation time of the TCP socket
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_host_transport.h53 timespec* data_position);
80 timespec data_position_;
100 timespec* data_position);
144 timespec* data_position);
Dle_audio_software_host_transport.cc83 timespec* data_position) { in GetPresentationPosition()
208 timespec* data_position) { in GetPresentationPosition()
282 timespec* data_position) { in GetPresentationPosition()
Da2dp_encoding_host.h53 timespec data_position;
/packages/modules/DnsResolver/doh/
Dboot_time.rs59 let mut t = libc::timespec { tv_sec: 0, tv_nsec: 0 }; in now()
63 if unsafe { libc::clock_gettime(libc::CLOCK_BOOTTIME, &mut t as *mut libc::timespec) } != 0 in now()
125 it_interval: libc::timespec { tv_sec: 0, tv_nsec: 0 }, in set()
126 it_value: libc::timespec { in set()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dle_audio_software_hidl.h71 timespec* data_position);
100 timespec data_position_;
123 timespec* data_position) override;
170 timespec* data_position) override;
Dle_audio_software_hidl.cc184 timespec* data_position) { in GetPresentationPosition()
315 timespec* data_position) { in GetPresentationPosition()
396 timespec* data_position) { in GetPresentationPosition()
Dhearing_aid_software_encoding_hidl.cc94 timespec* data_position) override { in GetPresentationPosition()
142 timespec data_position_;
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dhfp_client_interface_aidl.h61 timespec* data_position);
100 timespec* data_position);
143 timespec* data_position);
Dle_audio_software_aidl.h85 timespec* data_position);
120 timespec data_position_;
148 timespec* data_position) override;
208 timespec* data_position) override;
Da2dp_transport.h48 timespec* data_position) override;
69 timespec data_position_;
Dhfp_client_interface_aidl.cc147 timespec* data_position) { in GetPresentationPosition()
173 timespec* data_position) { in GetPresentationPosition()
227 timespec* data_position) { in GetPresentationPosition()
Dhearing_aid_software_encoding_aidl.cc93 timespec* data_position) override { in GetPresentationPosition()
148 timespec data_position_;
/packages/modules/Bluetooth/system/common/
Dtime_util_unittest.cc90 struct timespec delay = {}; in TEST()
111 struct timespec delay = {}; in TEST()
152 struct timespec delay = {}; in TEST()
Dtime_util.cc39 struct timespec ts_now = {}; in time_get_os_boottime_us()
54 struct timespec ts_now = {}; in time_get_os_monotonic_raw_us()
/packages/modules/Virtualization/tests/benchmark/src/jni/
Dio_vsock_host_jni.cpp33 struct timespec start; in measure_send_rate()
40 struct timespec finish; in measure_send_rate()
/packages/modules/Virtualization/authfs/tests/benchmarks/src/
Dmeasure_io.cpp58 struct timespec start; in main()
75 struct timespec finish; in main()
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy.h94 virtual bool GetPresentationPosition(uint64_t*, uint64_t*, timespec*) const { in GetPresentationPosition() argument
145 timespec* timestamp) const override;
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaTimer.cpp215 struct timespec time; in GetTimeInMicroSeconds()
228 struct timespec time; in GenerateRandom()
/packages/modules/Virtualization/tests/benchmark/src/native/
Dbenchmarkbinary.cpp121 struct timespec start; in measure_read_rate()
137 struct timespec finish; in measure_read_rate()
/packages/modules/StatsD/lib/libstatssocket/
Dstatsd_writer.cpp78 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr);
182 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite()
Dstatsd_writer.h42 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);

123