OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nsec
(Results
1 - 25
of
378
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/prebuilts/go/darwin-x86/src/syscall/
syscall_nacl_386.go
9
Nsec
int32
17
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
19
func NsecToTimespec(
nsec
int64) (ts Timespec) {
20
ts.Sec = int64(
nsec
/ 1e9)
21
ts.
Nsec
= int32(
nsec
% 1e9)
27
func NsecToTimeval(
nsec
int64) (tv Timeval) {
28
nsec
+= 999 // round up to microsecond
29
tv.Usec = int32(
nsec
% 1e9 / 1e3)
30
tv.Sec = int64(
nsec
/ 1e9
[
all
...]
syscall_nacl_amd64p32.go
9
Nsec
int32
17
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
19
func NsecToTimespec(
nsec
int64) (ts Timespec) {
20
ts.Sec = int64(
nsec
/ 1e9)
21
ts.
Nsec
= int32(
nsec
% 1e9)
27
func NsecToTimeval(
nsec
int64) (tv Timeval) {
28
nsec
+= 999 // round up to microsecond
29
tv.Usec = int32(
nsec
% 1e9 / 1e3)
30
tv.Sec = int64(
nsec
/ 1e9
[
all
...]
syscall_nacl_arm.go
9
Nsec
int32
17
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
19
func NsecToTimespec(
nsec
int64) (ts Timespec) {
20
ts.Sec = int64(
nsec
/ 1e9)
21
ts.
Nsec
= int32(
nsec
% 1e9)
27
func NsecToTimeval(
nsec
int64) (tv Timeval) {
28
nsec
+= 999 // round up to microsecond
29
tv.Usec = int32(
nsec
% 1e9 / 1e3)
30
tv.Sec = int64(
nsec
/ 1e9
[
all
...]
syscall_netbsd_386.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int32(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_netbsd_amd64.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int64(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_netbsd_arm.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int32(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_openbsd_386.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int32(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_openbsd_amd64.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec =
nsec
/ 1e9
13
ts.
Nsec
=
nsec
% 1e9
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec =
nsec
% 1e9 / 1e3
22
tv.Sec =
nsec
/ 1e9
syscall_openbsd_arm.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int32(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_solaris_amd64.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec =
nsec
/ 1e9
13
ts.
Nsec
=
nsec
% 1e9
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec =
nsec
% 1e9 / 1e3
22
tv.Sec = int64(
nsec
/ 1e9)
/prebuilts/go/linux-x86/src/syscall/
syscall_nacl_386.go
9
Nsec
int32
17
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
19
func NsecToTimespec(
nsec
int64) (ts Timespec) {
20
ts.Sec = int64(
nsec
/ 1e9)
21
ts.
Nsec
= int32(
nsec
% 1e9)
27
func NsecToTimeval(
nsec
int64) (tv Timeval) {
28
nsec
+= 999 // round up to microsecond
29
tv.Usec = int32(
nsec
% 1e9 / 1e3)
30
tv.Sec = int64(
nsec
/ 1e9
[
all
...]
syscall_nacl_amd64p32.go
9
Nsec
int32
17
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
19
func NsecToTimespec(
nsec
int64) (ts Timespec) {
20
ts.Sec = int64(
nsec
/ 1e9)
21
ts.
Nsec
= int32(
nsec
% 1e9)
27
func NsecToTimeval(
nsec
int64) (tv Timeval) {
28
nsec
+= 999 // round up to microsecond
29
tv.Usec = int32(
nsec
% 1e9 / 1e3)
30
tv.Sec = int64(
nsec
/ 1e9
[
all
...]
syscall_nacl_arm.go
9
Nsec
int32
17
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
19
func NsecToTimespec(
nsec
int64) (ts Timespec) {
20
ts.Sec = int64(
nsec
/ 1e9)
21
ts.
Nsec
= int32(
nsec
% 1e9)
27
func NsecToTimeval(
nsec
int64) (tv Timeval) {
28
nsec
+= 999 // round up to microsecond
29
tv.Usec = int32(
nsec
% 1e9 / 1e3)
30
tv.Sec = int64(
nsec
/ 1e9
[
all
...]
syscall_netbsd_386.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int32(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_netbsd_amd64.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int64(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_netbsd_arm.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int32(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_openbsd_386.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int32(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_openbsd_amd64.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec =
nsec
/ 1e9
13
ts.
Nsec
=
nsec
% 1e9
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec =
nsec
% 1e9 / 1e3
22
tv.Sec =
nsec
/ 1e9
syscall_openbsd_arm.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec = int64(
nsec
/ 1e9)
13
ts.
Nsec
= int32(
nsec
% 1e9)
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec = int32(
nsec
% 1e9 / 1e3)
22
tv.Sec = int64(
nsec
/ 1e9)
syscall_solaris_amd64.go
9
func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.
Nsec
) }
11
func NsecToTimespec(
nsec
int64) (ts Timespec) {
12
ts.Sec =
nsec
/ 1e9
13
ts.
Nsec
=
nsec
% 1e9
19
func NsecToTimeval(
nsec
int64) (tv Timeval) {
20
nsec
+= 999 // round up to microsecond
21
tv.Usec =
nsec
% 1e9 / 1e3
22
tv.Sec = int64(
nsec
/ 1e9)
/external/tlsdate/src/compat/
clock-hurd.c
49
* @param
nsec
is the nanoseconds
52
long
nsec
)
58
time->tp.tv_nsec =
nsec
;
clock-linux.c
47
* @param
nsec
is the nanoseconds
50
long
nsec
)
55
time->tp.tv_nsec =
nsec
;
/frameworks/av/services/audioflinger/
FastThread.cpp
223
long
nsec
= newTs.tv_nsec - mOldTs.tv_nsec;
224
ALOGE_IF(sec < 0 || (sec == 0 &&
nsec
< 0),
227
if (
nsec
< 0) {
229
nsec
+= 1000000000;
240
mMeasuredWarmupTs.tv_nsec +=
nsec
;
246
if (mWarmupNsMin <=
nsec
&&
nsec
<= mWarmupNsMax) {
247
ALOGV("warmup cycle %d in range: %.03f ms", mWarmupCycles,
nsec
* 1e-9);
250
ALOGV("warmup cycle %d out of range: %.03f ms", mWarmupCycles,
nsec
* 1e-9);
262
if (sec > 0 ||
nsec
> mUnderrunNs)
[
all
...]
AudioWatchdog.cpp
68
long
nsec
= newTs.tv_nsec - mOldTs.tv_nsec;
local
69
if (
nsec
< 0) {
71
nsec
+= 1000000000;
74
// cycleNs is same as sec*1e9 +
nsec
, but limited to about 4 seconds
75
uint32_t cycleNs =
nsec
;
84
if ((mLogTs.tv_nsec +=
nsec
) >= 1000000000) {
/system/core/include/log/
logger.h
36
int32_t
nsec
; /* nanoseconds */
member in struct:logger_entry
51
int32_t
nsec
; /* nanoseconds */
member in struct:logger_entry_v2
62
int32_t
nsec
; /* nanoseconds */
member in struct:logger_entry_v3
73
uint32_t
nsec
; /* nanoseconds */
member in struct:logger_entry_v4
108
return (entry.sec == T.entry.sec) && (entry.
nsec
== T.entry.
nsec
);
118
&& (entry.
nsec
< T.entry.
nsec
));
128
&& (entry.
nsec
> T.entry.
nsec
));
134
uint64_t
nsec
() const
function in struct:log_msg
[
all
...]
Completed in 763 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>