Searched refs:tv (Results 151 - 175 of 1596) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/wpa_supplicant/tests/
H A Dtest_aes.c144 struct cbc_test_vector *tv = &vectors[i]; local
145 buf = malloc(tv->len);
150 memcpy(buf, tv->plain, tv->len);
151 aes_128_cbc_encrypt(tv->key, tv->iv, buf, tv->len);
152 if (memcmp(buf, tv->cipher, tv->len) != 0) {
156 memcpy(buf, tv
249 struct omac1_test_vector *tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/lltdc/src/
H A Dutil.h97 #define timeval_add_ms(tv, ms) \
99 (tv)->tv_usec += (ms) * 1000; \
100 while ((tv)->tv_usec > 1000000) \
102 (tv)->tv_sec++; \
103 (tv)->tv_usec -= 1000000; \
107 #define timeval_add_us(tv, us) \
109 (tv)->tv_usec += (us); \
110 while ((tv)->tv_usec > 1000000) \
112 (tv)->tv_sec++; \
113 (tv)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/lltdc/src/
H A Dutil.h97 #define timeval_add_ms(tv, ms) \
99 (tv)->tv_usec += (ms) * 1000; \
100 while ((tv)->tv_usec > 1000000) \
102 (tv)->tv_sec++; \
103 (tv)->tv_usec -= 1000000; \
107 #define timeval_add_us(tv, us) \
109 (tv)->tv_usec += (us); \
110 while ((tv)->tv_usec > 1000000) \
112 (tv)->tv_sec++; \
113 (tv)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/lltdc/src/
H A Dutil.h97 #define timeval_add_ms(tv, ms) \
99 (tv)->tv_usec += (ms) * 1000; \
100 while ((tv)->tv_usec > 1000000) \
102 (tv)->tv_sec++; \
103 (tv)->tv_usec -= 1000000; \
107 #define timeval_add_us(tv, us) \
109 (tv)->tv_usec += (us); \
110 while ((tv)->tv_usec > 1000000) \
112 (tv)->tv_sec++; \
113 (tv)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openvpn/src/openvpn/
H A Dschedule.c65 tv_string_abs (&e->tv, &gc),
94 if (e1->tv.tv_sec < e2->tv.tv_sec)
96 else if (e1->tv.tv_sec > e2->tv.tv_sec)
100 if (e1->tv.tv_usec < e2->tv.tv_usec)
102 else if (e1->tv.tv_usec > e2->tv.tv_usec)
439 ASSERT (tv_le (min, &e->tv));
481 tv_randomize(struct timeval *tv) argument
490 tv_randomize(struct timeval *tv) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openvpn/src/openvpn/
H A Dschedule.c65 tv_string_abs (&e->tv, &gc),
94 if (e1->tv.tv_sec < e2->tv.tv_sec)
96 else if (e1->tv.tv_sec > e2->tv.tv_sec)
100 if (e1->tv.tv_usec < e2->tv.tv_usec)
102 else if (e1->tv.tv_usec > e2->tv.tv_usec)
439 ASSERT (tv_le (min, &e->tv));
481 tv_randomize(struct timeval *tv) argument
490 tv_randomize(struct timeval *tv) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openvpn/src/openvpn/
H A Dschedule.c65 tv_string_abs (&e->tv, &gc),
94 if (e1->tv.tv_sec < e2->tv.tv_sec)
96 else if (e1->tv.tv_sec > e2->tv.tv_sec)
100 if (e1->tv.tv_usec < e2->tv.tv_usec)
102 else if (e1->tv.tv_usec > e2->tv.tv_usec)
439 ASSERT (tv_le (min, &e->tv));
481 tv_randomize(struct timeval *tv) argument
490 tv_randomize(struct timeval *tv) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/networking/
H A Dbrctl.c46 static ALWAYS_INLINE void strtotimeval(struct timeval *tv, argument
58 tv->tv_sec = secs;
59 tv->tv_usec = 1000000 * (secs - tv->tv_sec);
62 static ALWAYS_INLINE unsigned long tv_to_jiffies(const struct timeval *tv) argument
66 jif = 1000000ULL * tv->tv_sec + tv->tv_usec;
71 static void jiffies_to_tv(struct timeval *tv, unsigned long jiffies)
76 tv->tv_sec = tvusec/1000000;
77 tv
82 struct timeval tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/networking/
H A Dbrctl.c46 static ALWAYS_INLINE void strtotimeval(struct timeval *tv, argument
58 tv->tv_sec = secs;
59 tv->tv_usec = 1000000 * (secs - tv->tv_sec);
62 static ALWAYS_INLINE unsigned long tv_to_jiffies(const struct timeval *tv) argument
66 jif = 1000000ULL * tv->tv_sec + tv->tv_usec;
71 static void jiffies_to_tv(struct timeval *tv, unsigned long jiffies)
76 tv->tv_sec = tvusec/1000000;
77 tv
82 struct timeval tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/networking/
H A Dbrctl.c46 static ALWAYS_INLINE void strtotimeval(struct timeval *tv, argument
58 tv->tv_sec = secs;
59 tv->tv_usec = 1000000 * (secs - tv->tv_sec);
62 static ALWAYS_INLINE unsigned long tv_to_jiffies(const struct timeval *tv) argument
66 jif = 1000000ULL * tv->tv_sec + tv->tv_usec;
71 static void jiffies_to_tv(struct timeval *tv, unsigned long jiffies)
76 tv->tv_sec = tvusec/1000000;
77 tv
82 struct timeval tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/common/
H A Ddv-sockser.c246 struct timeval tv;
267 tv.tv_sec = 0;
268 tv.tv_usec = sockser_timeout;
270 numfds = select (sockser_listen_fd + 1, &readfds, 0, 0, &tv);
296 struct timeval tv;
323 tv.tv_sec = 0;
324 tv.tv_usec = sockser_timeout;
325 numrfds = select (sockser_fd + 1, &readfds, 0, 0, &tv);
326 tv.tv_sec = 0;
327 tv
243 struct timeval tv; local
293 struct timeval tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/common/
H A Ddv-sockser.c246 struct timeval tv;
267 tv.tv_sec = 0;
268 tv.tv_usec = sockser_timeout;
270 numfds = select (sockser_listen_fd + 1, &readfds, 0, 0, &tv);
296 struct timeval tv;
323 tv.tv_sec = 0;
324 tv.tv_usec = sockser_timeout;
325 numrfds = select (sockser_fd + 1, &readfds, 0, 0, &tv);
326 tv.tv_sec = 0;
327 tv
243 struct timeval tv; local
293 struct timeval tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/common/
H A Ddv-sockser.c246 struct timeval tv;
267 tv.tv_sec = 0;
268 tv.tv_usec = sockser_timeout;
270 numfds = select (sockser_listen_fd + 1, &readfds, 0, 0, &tv);
296 struct timeval tv;
323 tv.tv_sec = 0;
324 tv.tv_usec = sockser_timeout;
325 numrfds = select (sockser_fd + 1, &readfds, 0, 0, &tv);
326 tv.tv_sec = 0;
327 tv
243 struct timeval tv; local
293 struct timeval tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/kernel/
H A Dtime.c83 struct timespec tv; local
86 if (get_user(tv.tv_sec, tptr))
89 tv.tv_nsec = 0;
91 err = security_settime(&tv, NULL);
95 do_settimeofday(&tv);
101 SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv,
104 if (likely(tv != NULL)) {
107 if (copy_to_user(tv, &ktv, sizeof(ktv)))
153 int do_sys_settimeofday(struct timespec *tv, struct timezone *tz) argument
158 if (tv
411 struct timeval tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/kernel/
H A Dtime.c83 struct timespec tv; local
86 if (get_user(tv.tv_sec, tptr))
89 tv.tv_nsec = 0;
91 err = security_settime(&tv, NULL);
95 do_settimeofday(&tv);
101 SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv,
104 if (likely(tv != NULL)) {
107 if (copy_to_user(tv, &ktv, sizeof(ktv)))
153 int do_sys_settimeofday(struct timespec *tv, struct timezone *tz) argument
158 if (tv
411 struct timeval tv; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/avahi-0.6.31/avahi-common/
H A Dwatch.h80 callback function when the absolute time *tv is reached. If tv is
84 AvahiTimeout* (*timeout_new)(const AvahiPoll *api, const struct timeval *tv, AvahiTimeoutCallback callback, void *userdata);
86 /** Update the absolute expiration time for a timeout, If tv is
88 void (*timeout_update)(AvahiTimeout *, const struct timeval *tv);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/avahi-0.6.31/avahi-common/
H A Dwatch.h80 callback function when the absolute time *tv is reached. If tv is
84 AvahiTimeout* (*timeout_new)(const AvahiPoll *api, const struct timeval *tv, AvahiTimeoutCallback callback, void *userdata);
86 /** Update the absolute expiration time for a timeout, If tv is
88 void (*timeout_update)(AvahiTimeout *, const struct timeval *tv);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/avahi-0.6.31/avahi-common/
H A Dwatch.h80 callback function when the absolute time *tv is reached. If tv is
84 AvahiTimeout* (*timeout_new)(const AvahiPoll *api, const struct timeval *tv, AvahiTimeoutCallback callback, void *userdata);
86 /** Update the absolute expiration time for a timeout, If tv is
88 void (*timeout_update)(AvahiTimeout *, const struct timeval *tv);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wget/lib/
H A Dtempname.c85 struct timeval tv; \
86 __gettimeofday (&tv, NULL); \
87 value = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec; \
235 struct timeval tv; local
236 __gettimeofday (&tv, NULL);
237 random_time_bits = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/client/
H A Ddnsbrowse.c64 struct timeval tv; local
93 tv.tv_sec = 1;
94 tv.tv_usec = 0;
97 ret = sys_select(mdnsfd + 1, fdset, NULL, NULL, &tv);
166 struct timeval tv; local
199 tv.tv_sec = 1;
200 tv.tv_usec = 0;
203 ret = sys_select(mdnsfd + 1, fdset, NULL, NULL, &tv);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/client/
H A Ddnsbrowse.c64 struct timeval tv; local
93 tv.tv_sec = 1;
94 tv.tv_usec = 0;
97 ret = sys_select(mdnsfd + 1, fdset, NULL, NULL, &tv);
166 struct timeval tv; local
199 tv.tv_sec = 1;
200 tv.tv_usec = 0;
203 ret = sys_select(mdnsfd + 1, fdset, NULL, NULL, &tv);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wget/lib/
H A Dtempname.c85 struct timeval tv; \
86 __gettimeofday (&tv, NULL); \
87 value = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec; \
235 struct timeval tv; local
236 __gettimeofday (&tv, NULL);
237 random_time_bits = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/client/
H A Ddnsbrowse.c64 struct timeval tv; local
93 tv.tv_sec = 1;
94 tv.tv_usec = 0;
97 ret = sys_select(mdnsfd + 1, fdset, NULL, NULL, &tv);
166 struct timeval tv; local
199 tv.tv_sec = 1;
200 tv.tv_usec = 0;
203 ret = sys_select(mdnsfd + 1, fdset, NULL, NULL, &tv);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wget/lib/
H A Dtempname.c85 struct timeval tv; \
86 __gettimeofday (&tv, NULL); \
87 value = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec; \
235 struct timeval tv; local
236 __gettimeofday (&tv, NULL);
237 random_time_bits = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/torture/
H A Dmsgtest.c98 struct timeval tv = timeval_current(); local
103 while (timeval_elapsed(&tv) < timelimit) {
120 while (timeval_elapsed(&tv) < 30 && pong_count < ping_count) {
130 (ping_count+pong_count)/timeval_elapsed(&tv));

Completed in 312 milliseconds

1234567891011>>