Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 25 of 852) sorted by relevance

12345678910>>...35

/external/swiftshader/third_party/LLVM/test/CodeGen/CellSPU/useful-harnesses/
Dvecoperations.c14 } tv; in print_v16i8() local
15 tv.vec = v; in print_v16i8()
19 str, tv.elts[0], tv.elts[1], tv.elts[2], tv.elts[3], tv.elts[4], tv.elts[5], in print_v16i8()
20 tv.elts[6], tv.elts[7], tv.elts[8], tv.elts[9], tv.elts[10], tv.elts[11], in print_v16i8()
21 tv.elts[12], tv.elts[13], tv.elts[14], tv.elts[15]); in print_v16i8()
28 } tv; in print_v16i8_hex() local
29 tv.vec = v; in print_v16i8_hex()
33 str, tv.elts[0], tv.elts[1], tv.elts[2], tv.elts[3], tv.elts[4], tv.elts[5], in print_v16i8_hex()
34 tv.elts[6], tv.elts[7], tv.elts[8], tv.elts[9], tv.elts[10], tv.elts[11], in print_v16i8_hex()
35 tv.elts[12], tv.elts[13], tv.elts[14], tv.elts[15]); in print_v16i8_hex()
[all …]
/external/strace/tests-mx32/
Dxutimes.c48 print_tv(const TEST_STRUCT *const tv) in print_tv() argument
51 (long long) tv->tv_sec, in print_tv()
52 zero_extend_signed_to_ull(tv->tv_usec)); in print_tv()
53 print_time_t_usec(tv->tv_sec, in print_tv()
54 zero_extend_signed_to_ull(tv->tv_usec), 1); in print_tv()
75 TEST_STRUCT *const tv = tail_alloc(sizeof(*tv) * 2); in main() local
99 k_utimes(kfname, (uintptr_t) (tv + 1)); in main()
101 qname, tv + 1, errstr); in main()
103 k_utimes(kfname, (uintptr_t) (tv + 2)); in main()
105 qname, tv + 2, errstr); in main()
[all …]
Dfutimesat.c41 print_tv(const struct timeval *tv) in print_tv() argument
44 (long long) tv->tv_sec, in print_tv()
45 zero_extend_signed_to_ull(tv->tv_usec)); in print_tv()
46 print_time_t_usec(tv->tv_sec, in print_tv()
47 zero_extend_signed_to_ull(tv->tv_usec), 1); in print_tv()
74 struct timeval *const tv = tail_alloc(sizeof(*tv) * 2); in main() local
110 k_futimesat(kfdcwd, kfname, (uintptr_t) (tv + 1)); in main()
112 qname, tv + 1, errstr); in main()
114 k_futimesat(kfdcwd, kfname, (uintptr_t) (tv + 2)); in main()
116 qname, tv + 2, errstr); in main()
[all …]
Dxettimeofday.c40 TAIL_ALLOC_OBJECT_CONST_PTR(struct timeval, tv); in main()
43 if (syscall(__NR_gettimeofday, tv, NULL)) in main()
46 (long long) tv->tv_sec, in main()
47 zero_extend_signed_to_ull(tv->tv_usec)); in main()
49 if (syscall(__NR_gettimeofday, tv, tz)) in main()
53 (long long) tv->tv_sec, in main()
54 zero_extend_signed_to_ull(tv->tv_usec), in main()
57 tv->tv_sec = -1; in main()
58 tv->tv_usec = 1000000; in main()
59 assert(syscall(__NR_settimeofday, tv, tz) == -1); in main()
[all …]
Dxselect.c50 const kernel_ulong_t tv) in xselect() argument
54 F8ILL_KULONG_MASK | nfds, rs, ws, es, tv); in xselect()
99 struct timeval *const tv = tail_memdup(&tv_in, sizeof(tv_in)); in main() local
100 const uintptr_t a_tv = (uintptr_t) tv; in main()
170 memcpy(tv, &tv_in, sizeof(tv_in)); in main()
191 rc, (long long) tv->tv_sec, in main()
192 zero_extend_signed_to_ull(tv->tv_usec)); in main()
202 memcpy(tv, &tv_in, sizeof(tv_in)); in main()
223 rc, (long long) tv->tv_sec, in main()
224 zero_extend_signed_to_ull(tv->tv_usec)); in main()
[all …]
/external/strace/tests/
Dxutimes.c48 print_tv(const TEST_STRUCT *const tv) in print_tv() argument
51 (long long) tv->tv_sec, in print_tv()
52 zero_extend_signed_to_ull(tv->tv_usec)); in print_tv()
53 print_time_t_usec(tv->tv_sec, in print_tv()
54 zero_extend_signed_to_ull(tv->tv_usec), 1); in print_tv()
75 TEST_STRUCT *const tv = tail_alloc(sizeof(*tv) * 2); in main() local
99 k_utimes(kfname, (uintptr_t) (tv + 1)); in main()
101 qname, tv + 1, errstr); in main()
103 k_utimes(kfname, (uintptr_t) (tv + 2)); in main()
105 qname, tv + 2, errstr); in main()
[all …]
Dfutimesat.c41 print_tv(const struct timeval *tv) in print_tv() argument
44 (long long) tv->tv_sec, in print_tv()
45 zero_extend_signed_to_ull(tv->tv_usec)); in print_tv()
46 print_time_t_usec(tv->tv_sec, in print_tv()
47 zero_extend_signed_to_ull(tv->tv_usec), 1); in print_tv()
74 struct timeval *const tv = tail_alloc(sizeof(*tv) * 2); in main() local
110 k_futimesat(kfdcwd, kfname, (uintptr_t) (tv + 1)); in main()
112 qname, tv + 1, errstr); in main()
114 k_futimesat(kfdcwd, kfname, (uintptr_t) (tv + 2)); in main()
116 qname, tv + 2, errstr); in main()
[all …]
Dxettimeofday.c40 TAIL_ALLOC_OBJECT_CONST_PTR(struct timeval, tv); in main()
43 if (syscall(__NR_gettimeofday, tv, NULL)) in main()
46 (long long) tv->tv_sec, in main()
47 zero_extend_signed_to_ull(tv->tv_usec)); in main()
49 if (syscall(__NR_gettimeofday, tv, tz)) in main()
53 (long long) tv->tv_sec, in main()
54 zero_extend_signed_to_ull(tv->tv_usec), in main()
57 tv->tv_sec = -1; in main()
58 tv->tv_usec = 1000000; in main()
59 assert(syscall(__NR_settimeofday, tv, tz) == -1); in main()
[all …]
Dxselect.c50 const kernel_ulong_t tv) in xselect() argument
54 F8ILL_KULONG_MASK | nfds, rs, ws, es, tv); in xselect()
99 struct timeval *const tv = tail_memdup(&tv_in, sizeof(tv_in)); in main() local
100 const uintptr_t a_tv = (uintptr_t) tv; in main()
170 memcpy(tv, &tv_in, sizeof(tv_in)); in main()
191 rc, (long long) tv->tv_sec, in main()
192 zero_extend_signed_to_ull(tv->tv_usec)); in main()
202 memcpy(tv, &tv_in, sizeof(tv_in)); in main()
223 rc, (long long) tv->tv_sec, in main()
224 zero_extend_signed_to_ull(tv->tv_usec)); in main()
[all …]
/external/strace/tests-m32/
Dxutimes.c48 print_tv(const TEST_STRUCT *const tv) in print_tv() argument
51 (long long) tv->tv_sec, in print_tv()
52 zero_extend_signed_to_ull(tv->tv_usec)); in print_tv()
53 print_time_t_usec(tv->tv_sec, in print_tv()
54 zero_extend_signed_to_ull(tv->tv_usec), 1); in print_tv()
75 TEST_STRUCT *const tv = tail_alloc(sizeof(*tv) * 2); in main() local
99 k_utimes(kfname, (uintptr_t) (tv + 1)); in main()
101 qname, tv + 1, errstr); in main()
103 k_utimes(kfname, (uintptr_t) (tv + 2)); in main()
105 qname, tv + 2, errstr); in main()
[all …]
Dfutimesat.c41 print_tv(const struct timeval *tv) in print_tv() argument
44 (long long) tv->tv_sec, in print_tv()
45 zero_extend_signed_to_ull(tv->tv_usec)); in print_tv()
46 print_time_t_usec(tv->tv_sec, in print_tv()
47 zero_extend_signed_to_ull(tv->tv_usec), 1); in print_tv()
74 struct timeval *const tv = tail_alloc(sizeof(*tv) * 2); in main() local
110 k_futimesat(kfdcwd, kfname, (uintptr_t) (tv + 1)); in main()
112 qname, tv + 1, errstr); in main()
114 k_futimesat(kfdcwd, kfname, (uintptr_t) (tv + 2)); in main()
116 qname, tv + 2, errstr); in main()
[all …]
Dxettimeofday.c40 TAIL_ALLOC_OBJECT_CONST_PTR(struct timeval, tv); in main()
43 if (syscall(__NR_gettimeofday, tv, NULL)) in main()
46 (long long) tv->tv_sec, in main()
47 zero_extend_signed_to_ull(tv->tv_usec)); in main()
49 if (syscall(__NR_gettimeofday, tv, tz)) in main()
53 (long long) tv->tv_sec, in main()
54 zero_extend_signed_to_ull(tv->tv_usec), in main()
57 tv->tv_sec = -1; in main()
58 tv->tv_usec = 1000000; in main()
59 assert(syscall(__NR_settimeofday, tv, tz) == -1); in main()
[all …]
Dxselect.c50 const kernel_ulong_t tv) in xselect() argument
54 F8ILL_KULONG_MASK | nfds, rs, ws, es, tv); in xselect()
99 struct timeval *const tv = tail_memdup(&tv_in, sizeof(tv_in)); in main() local
100 const uintptr_t a_tv = (uintptr_t) tv; in main()
170 memcpy(tv, &tv_in, sizeof(tv_in)); in main()
191 rc, (long long) tv->tv_sec, in main()
192 zero_extend_signed_to_ull(tv->tv_usec)); in main()
202 memcpy(tv, &tv_in, sizeof(tv_in)); in main()
223 rc, (long long) tv->tv_sec, in main()
224 zero_extend_signed_to_ull(tv->tv_usec)); in main()
[all …]
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_widgets.py1301 self.tv = self.create(padding=0)
1350 self.tv.pack()
1351 self.assertEqual(self.tv.bbox(''), '')
1352 self.tv.wait_visibility()
1353 self.tv.update()
1355 item_id = self.tv.insert('', 'end')
1356 children = self.tv.get_children()
1359 bbox = self.tv.bbox(children[0])
1363 self.tv['columns'] = ['test']
1364 self.tv.column('test', width=50)
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py1120 self.tv = self.create(padding=0)
1168 self.tv.pack()
1169 self.assertEqual(self.tv.bbox(''), '')
1170 self.tv.wait_visibility()
1171 self.tv.update()
1173 item_id = self.tv.insert('', 'end')
1174 children = self.tv.get_children()
1177 bbox = self.tv.bbox(children[0])
1181 self.tv['columns'] = ['test']
1182 self.tv.column('test', width=50)
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DvettingView.css1 table.tv-table, table.tvs-table {
5 table.tv-table, th.tv-th, tr.tv-tr, td.tv-num, td.tv-code, td.tv-eng, td.tv-last,
6 td.tv-win, td.tv-fix, table.tvs-table, tr.tvs-tr, td.tvs-count, td.tvs-abb,
7 td.tvs-desc, td.tv-test {
11 td.tv-num, td.tv-code, td.tv-eng, td.tv-last, td.tv-fix, td.tvs-count,
16 td.tv-num, td.tvs-count {
20 th.tv-th, th.tvs-th {
24 td.tv-win {
28 td.tv-miss, td.tv-null {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D11-1.c46 struct timeval tv; in main() local
58 tv.tv_sec = 0; in main()
59 tv.tv_usec = 0; in main()
60 select(0, NULL, NULL, NULL, &tv); in main()
69 tv.tv_sec = 1; in main()
70 tv.tv_usec = 0; in main()
71 select(0, NULL, NULL, NULL, &tv); in main()
74 struct timeval tv; in main() local
82 tv.tv_sec = 1; in main()
83 tv.tv_usec = 0; in main()
[all …]
/external/tremolo/Tremolo/
Dmisc.c91 struct timeval tv; in _insert() local
95 gettimeofday(&tv,&tz); in _insert()
115 if(start_time==-1)start_time=(tv.tv_sec*1000)+(tv.tv_usec/1000); in _insert()
121 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _insert()
124 -start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _insert()
129 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _insert()
131 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _insert()
148 struct timeval tv; in _ripremove() local
155 gettimeofday(&tv,&tz); in _ripremove()
156 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000), in _ripremove()
[all …]
/external/libevent/
Devutil_time.c69 evutil_gettimeofday(struct timeval *tv, struct timezone *tz) in evutil_gettimeofday() argument
90 if (tv == NULL) in evutil_gettimeofday()
100 tv->tv_sec = (long) (ft.ft_64 / UNITS_PER_SEC); in evutil_gettimeofday()
101 tv->tv_usec = (long) ((ft.ft_64 / UNITS_PER_USEC) % USEC_PER_SEC); in evutil_gettimeofday()
110 evutil_tv_to_msec_(const struct timeval *tv) in evutil_tv_to_msec_() argument
112 if (tv->tv_usec > 1000000 || tv->tv_sec > MAX_SECONDS_IN_MSEC_LONG) in evutil_tv_to_msec_()
115 return (tv->tv_sec * 1000) + ((tv->tv_usec + 999) / 1000); in evutil_tv_to_msec_()
123 evutil_usleep_(const struct timeval *tv) in evutil_usleep_() argument
125 if (!tv) in evutil_usleep_()
129 long msec = evutil_tv_to_msec_(tv); in evutil_usleep_()
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_textview.py8 from idlelib import textview as tv unknown
35 class VW(tv.ViewWindow): # Used in ViewWindowTest.
78 cls.frame = tv.TextFrame(root, 'test text')
97 cls.orig_error = tv.showerror
98 tv.showerror = Mbox_func()
102 tv.showerror = cls.orig_error
106 view = tv.view_text(root, 'Title', 'test text', modal=False)
107 self.assertIsInstance(view, tv.ViewWindow)
108 self.assertIsInstance(view.viewframe, tv.ViewFrame)
112 view = tv.view_file(root, 'Title', __file__, 'ascii', modal=False)
[all …]
/external/toybox/toys/net/
Dsntp.c48 struct timespec tv; in lunchtime() local
50 clock_gettime(CLOCK_REALTIME, &tv); in lunchtime()
51 if (diff) nanomove(&tv, diff); in lunchtime()
53 if (television) *television = tv; in lunchtime()
58 return ((tv.tv_sec+SEVENTIES)<<32)+(((long long)tv.tv_nsec)<<32)/1000000000; in lunchtime()
62 static void doublyso(unsigned long long now, struct timespec *tv) in doublyso() argument
65 tv->tv_sec = (now>>32) + (1LL<<32)*!(now&(1LL<<63)); in doublyso()
66 tv->tv_sec -= SEVENTIES; // Force signed math for Y2038 fixup in doublyso()
67 tv->tv_nsec = ((now&0xFFFFFFFF)*1000000000)>>32; in doublyso()
72 struct timespec tv, tv2; in sntp_main() local
[all …]
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_linux_arm64.go102 func futimesat(dirfd int, path string, tv *[2]Timeval) (err error) {
103 if tv == nil {
108 NsecToTimespec(TimevalToNsec(tv[0])),
109 NsecToTimespec(TimevalToNsec(tv[1])),
115 var tv Timeval
116 err := Gettimeofday(&tv)
121 *t = Time_t(tv.Sec)
123 return Time_t(tv.Sec), nil
127 tv := []Timeval{
131 return Utimes(path, tv)
[all …]
Dtimestruct.go47 func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
70 func (tv *Timeval) Unix() (sec int64, nsec int64) {
71 return int64(tv.Sec), int64(tv.Usec) * 1000
80 func (tv *Timeval) Nano() int64 {
81 return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
/external/libevent/test/
Dtest-time.c63 struct timeval tv; in time_cb() local
71 tv.tv_sec = 0; in time_cb()
72 tv.tv_usec = rand_int(50000); in time_cb()
73 if (tv.tv_usec % 2 || called < NEVENT) in time_cb()
74 evtimer_add(ev[j], &tv); in time_cb()
84 struct timeval tv; in main() local
105 tv.tv_sec = 0; in main()
106 tv.tv_usec = rand_int(50000); in main()
107 evtimer_add(ev[i], &tv); in main()
/external/toybox/toys/pending/
Dbrctl.c175 static void strtotimeval(struct timeval *tv, char *time) in strtotimeval() argument
180 tv->tv_sec = secs; in strtotimeval()
181 tv->tv_usec = 1000000 * (secs - tv->tv_sec); in strtotimeval()
184 static unsigned long tv_to_jify(struct timeval *tv) in tv_to_jify() argument
188 jify = 1000000ULL * tv->tv_sec + tv->tv_usec; in tv_to_jify()
204 struct timeval tv; in br_set_ageing_time() local
206 strtotimeval(&tv, argv[1]); in br_set_ageing_time()
207 set_time(argv[0], BRCTL_SET_AGEING_TIME, tv_to_jify(&tv)); in br_set_ageing_time()
212 struct timeval tv; in br_set_fwd_delay() local
214 strtotimeval(&tv, argv[1]); in br_set_fwd_delay()
[all …]

12345678910>>...35