Searched refs:tv (Results 1 - 25 of 514) sorted by relevance

1234567891011>>

/macosx-10.10.1/ksh-23/ksh/src/lib/libast/tm/
H A Dtmxgettime.c31 #include <tv.h>
40 Tv_t tv; local
42 tvgettime(&tv);
43 return tmxsns(tv.tv_sec, tv.tv_nsec);
H A Dtmxsettime.c31 #include <tv.h>
40 Tv_t tv; local
42 tv.tv_sec = tmxsec(t);
43 tv.tv_nsec = tmxnsec(t);
44 return tvsettime(&tv);
H A Dtvgettime.c24 #include <tv.h>
30 tvgettime(Tv_t* tv) argument
38 tv->tv_sec = s.tv_sec;
39 tv->tv_nsec = s.tv_nsec;
48 tv->tv_sec = v.tv_sec;
49 tv->tv_nsec = v.tv_usec * 1000;
56 if ((tv->tv_sec = time(NiL)) != s)
58 s = tv->tv_sec;
63 tv->tv_nsec = n;
H A Dtmsleep.c32 #include <tv.h>
37 Tv_t tv; local
39 tv.tv_sec = sec;
40 tv.tv_nsec = nsec;
41 return tvsleep(&tv, NiL);
H A Dtmxsleep.c31 #include <tv.h>
36 Tv_t tv; local
38 tv.tv_sec = tmxsec(t);
39 tv.tv_nsec = tmxnsec(t);
40 return tvsleep(&tv, NiL);
H A Dtvsettime.c24 #include <tv.h>
31 tvsettime(const Tv_t* tv) argument
38 s.tv_sec = tv->tv_sec;
39 s.tv_nsec = tv->tv_nsec;
48 v.tv_sec = tv->tv_sec;
49 v.tv_usec = tv->tv_nsec / 1000;
58 s = tv->tv_sec + (tv->tv_nsec != 0);
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/unix/
H A Dstdtime.c41 fix_tv_usec(struct timeval *tv) { argument
44 if (tv->tv_usec < 0) {
47 tv->tv_sec -= 1;
48 tv->tv_usec += US_PER_S;
49 } while (tv->tv_usec < 0);
50 } else if (tv->tv_usec >= US_PER_S) {
53 tv->tv_sec += 1;
54 tv->tv_usec -= US_PER_S;
55 } while (tv->tv_usec >=US_PER_S);
67 struct timeval tv; local
[all...]
/macosx-10.10.1/ntp-92/lib/isc/unix/
H A Dstdtime.c41 fix_tv_usec(struct timeval *tv) { argument
44 if (tv->tv_usec < 0) {
47 tv->tv_sec -= 1;
48 tv->tv_usec += US_PER_S;
49 } while (tv->tv_usec < 0);
50 } else if (tv->tv_usec >= US_PER_S) {
53 tv->tv_sec += 1;
54 tv->tv_usec -= US_PER_S;
55 } while (tv->tv_usec >=US_PER_S);
67 struct timeval tv; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Dtimeflow.cpp42 struct timeval tv; local
43 gettimeofday(&tv, NULL);
44 return tv.tv_sec + double(tv.tv_usec) / 1E6;
51 Absolute::Absolute(const struct timeval &tv) argument
52 { mValue = tv.tv_sec + double(tv.tv_usec) / 1E6; }
54 Absolute::Absolute(const struct timespec &tv) argument
55 { mValue = tv.tv_sec + double(tv
59 struct timeval tv; local
87 struct timeval tv; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dtimeflow.cpp42 struct timeval tv; local
43 gettimeofday(&tv, NULL);
44 return tv.tv_sec + double(tv.tv_usec) / 1E6;
51 Absolute::Absolute(const struct timeval &tv) argument
52 { mValue = tv.tv_sec + double(tv.tv_usec) / 1E6; }
54 Absolute::Absolute(const struct timespec &tv) argument
55 { mValue = tv.tv_sec + double(tv
59 struct timeval tv; local
87 struct timeval tv; local
[all...]
/macosx-10.10.1/sudo-73/src/
H A Dgettime.c34 gettime(tv)
35 struct timeval *tv;
39 rval = gettimeofday(tv, NULL);
41 rval = (int)time(&tv->tv_sec);
42 tv->tv_usec = 0;
H A Dboottime.c64 get_boottime(tv)
65 struct timeval *tv;
77 tv->tv_sec = atoi(line + 6);
78 tv->tv_usec = 0;
92 get_boottime(tv)
93 struct timeval *tv;
100 size = sizeof(*tv);
101 if (sysctl(mib, 2, tv, &size, NULL, 0) != -1)
110 get_boottime(tv)
111 struct timeval *tv;
[all...]
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dutime.c45 struct timeval tv[2], *tvp; local
48 tv[0].tv_sec = times->actime;
49 tv[1].tv_sec = times->modtime;
50 tv[0].tv_usec = tv[1].tv_usec = 0;
51 tvp = tv;
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/string/
H A Dfmttv.c24 #include <tv.h>
32 fmttv(const char* fmt, Tv_t* tv) argument
38 s = fmttime(fmt, (time_t)tv->tv_sec);
39 if (!tv->tv_nsec || tv->tv_nsec == TV_NSEC_IGNORE)
42 sfsprintf(t, n, "%s.%09lu", s, (unsigned long)tv->tv_nsec);
/macosx-10.10.1/ntp-92/libntp/
H A Dbuftvtots.c21 struct timeval tv; local
26 memcpy(&tv, bufp, sizeof(tv));
31 ts->l_ui = tv.tv_sec + (u_long)JAN_1970;
32 if (tv.tv_usec > 999999)
34 TVUTOTSF(tv.tv_usec, ts->l_uf);
/macosx-10.10.1/tcl-105/tk/tk/tests/ttk/
H A Dtreeview.test4 # [7Jun2005] TO CHECK: [$tv see {}] -- shouldn't work (at least, shouldn't do
16 # Since [$tv children] follows ->next links and [$tv index]
19 proc consistencyCheck {tv {item {}}} {
21 foreach child [$tv children $item] {
22 assert {[$tv parent $child] == $item} "parent $child = $item"
23 assert {[$tv index $child] == $i} "index $child [$tv index $child]=$i"
25 consistencyCheck $tv $child
38 ttk::treeview .tv
[all...]
H A Dtreetags.test19 proc itemConstraints {tv item} {
20 # $tag in [$tv item $item -tags] <==> [$tv tag has $tag $item]
21 foreach tag [$tv item $item -tags] {
22 assert {[in $item [$tv tag has $tag]]}
24 foreach child [$tv children $item] {
25 itemConstraints $tv $child
29 proc treeConstraints {tv} {
30 # $item in [$tv tag has $tag] <==> [$tv ta
[all...]
/macosx-10.10.1/apache-793/httpd/test/
H A Dtest_select.c34 struct timeval tv; local
39 tv.tv_sec = waittime/1000000;
40 tv.tv_usec = waittime%1000000;
42 srv = select(0, NULL, NULL, NULL, &tv);
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dgettime.c42 struct timeval tv;
43 gettimeofday (&tv, NULL);
44 ts->tv_sec = tv.tv_sec;
45 ts->tv_nsec = tv.tv_usec * 1000;
/macosx-10.10.1/lukemftp-14/tnftp/libnetbsd/
H A Dusleep.c47 struct timeval tv;
49 tv.tv_sec = 0;
50 tv.tv_usec = usec;
51 return (select(1, NULL, NULL, NULL, &tv));
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/aso/
H A Dasorelax.c33 #include <tv.h>
42 Tv_t tv;
44 tv.tv_sec = 0;
45 tv.tv_nsec = nsec;
46 return tvsleep(&tv, 0);
/macosx-10.10.1/postfix-255/postfix/src/global/
H A Drec_type.h140 #define REC_TYPE_WARN_ARG(tv) ((long) (tv))
141 #define REC_TYPE_WARN_SCAN(cp, tv) ((tv) = atol(cp))
148 #define REC_TYPE_TIME_ARG(tv) (long) (tv).tv_sec, (long) (tv).tv_usec
149 #define REC_TYPE_TIME_SCAN(cp, tv) \
152 (tv).tv_sec = atol(_p); \
155 (tv)
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/
H A Dtest_time.c43 struct timeval tv; local
47 gettimeofday(&tv, NULL);
49 ret = krb5_set_real_time(context, tv.tv_sec + diff, tv.tv_usec);
57 diff2 = abs(sec - tv.tv_sec);
61 abs(sec - tv.tv_sec));
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Ddoze.c46 struct timeval tv; local
50 tv.tv_sec = delay / MILLION;
51 tv.tv_usec = delay % MILLION;
52 while (select(0, (fd_set *) 0, (fd_set *) 0, (fd_set *) 0, &tv) < 0)
/macosx-10.10.1/tcl-105/tk/tk/generic/ttk/
H A DttkTreeview.c521 Tcl_Interp *interp, Treeview *tv, Tcl_Obj *columnIDObj)
529 &tv->tree.columnNames, Tcl_GetString(columnIDObj));
537 if (columnIndex < 0 || columnIndex >= tv->tree.nColumns) {
547 return tv->tree.columns + columnIndex;
560 Tcl_Interp *interp, Treeview *tv, Tcl_Obj *columnIDObj)
566 if (colno >= 0 && colno < tv->tree.nDisplayColumns) {
567 return tv->tree.displayColumns[colno];
577 return GetColumn(interp, tv, columnIDObj);
585 Tcl_Interp *interp, Treeview *tv, Tcl_Obj *itemNameObj)
588 Tcl_HashEntry *entryPtr = Tcl_FindHashEntry(&tv
520 GetColumn( Tcl_Interp *interp, Treeview *tv, Tcl_Obj *columnIDObj) argument
559 FindColumn( Tcl_Interp *interp, Treeview *tv, Tcl_Obj *columnIDObj) argument
584 FindItem( Tcl_Interp *interp, Treeview *tv, Tcl_Obj *itemNameObj) argument
605 GetItemListFromObj( Tcl_Interp *interp, Treeview *tv, Tcl_Obj *objPtr) argument
631 ItemName(Treeview *tv, TreeItem *item) argument
640 ItemID(Treeview *tv, TreeItem *item) argument
652 TreeviewFreeColumns(Treeview *tv) argument
671 TreeviewInitColumns(Tcl_Interp *interp, Treeview *tv) argument
724 TreeviewInitDisplayColumns(Tcl_Interp *interp, Treeview *tv) argument
771 TreeWidth(Treeview *tv) argument
784 RecomputeSlack(Treeview *tv) argument
795 PickupSlack(Treeview *tv, int extra) argument
810 DepositSlack(Treeview *tv, int extra) argument
835 ShoveLeft(Treeview *tv, int i, int n) argument
852 ShoveRight(Treeview *tv, int i, int n) argument
871 DistributeWidth(Treeview *tv, int n) argument
905 ResizeColumns(Treeview *tv, int newWidth) argument
917 DragColumn(Treeview *tv, int i, int delta) argument
940 Treeview *tv = clientData; local
992 Treeview *tv = recordPtr; local
1059 Treeview *tv = recordPtr; local
1092 Treeview *tv = recordPtr; local
1130 ConfigureItem( Tcl_Interp *interp, Treeview *tv, TreeItem *item, int objc, Tcl_Obj *const objv[]) argument
1212 ConfigureColumn( Tcl_Interp *interp, Treeview *tv, TreeColumn *column, int objc, Tcl_Obj *const objv[]) argument
1257 ConfigureHeading( Tcl_Interp *interp, Treeview *tv, TreeColumn *column, int objc, Tcl_Obj *const objv[]) argument
1319 IdentifyRow( Treeview *tv, TreeItem *item, int *ypos, int y) argument
1345 IdentifyItem(Treeview *tv, int y) argument
1356 IdentifyDisplayColumn(Treeview *tv, int x, int *x1) argument
1380 RowNumber(Treeview *tv, TreeItem *item) argument
1424 ItemRow(Treeview *tv, TreeItem *p) argument
1452 BoundingBox( Treeview *tv, TreeItem *item, TreeColumn *column, Ttk_Box *bbox_rtn) argument
1514 IdentifyRegion(Treeview *tv, int x, int y) argument
1570 Treeview *tv = recordPtr; local
1619 Treeview *tv = clientData; local
1656 Treeview *tv = clientData; local
1676 ItemState(Treeview *tv, TreeItem *item) argument
1689 DrawHeadings(Treeview *tv, Drawable d) argument
1710 PrepareItem( Treeview *tv, TreeItem *item, DisplayItem *displayItem) argument
1723 DrawCells( Treeview *tv, TreeItem *item, DisplayItem *displayItem, Drawable d, int x, int y) argument
1760 DrawItem( Treeview *tv, TreeItem *item, Drawable d, int depth, int row) argument
1809 DrawSubtree( Treeview *tv, TreeItem *item, Drawable d, int depth, int row) argument
1829 DrawForest( Treeview *tv, TreeItem *item, Drawable d, int depth, int row) argument
1844 Treeview *tv = clientData; local
1886 EndPosition(Treeview *tv, TreeItem *parent) argument
1911 AncestryCheck( Tcl_Interp *interp, Treeview *tv, TreeItem *item, TreeItem *parent) argument
1959 Treeview *tv = recordPtr; local
2039 Treeview *tv = recordPtr; local
2067 Treeview *tv = recordPtr; local
2092 Treeview *tv = recordPtr; local
2117 Treeview *tv = recordPtr; local
2145 Treeview *tv = recordPtr; local
2164 Treeview *tv = recordPtr; local
2198 TreeviewHorribleIdentify( Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], Treeview *tv) argument
2278 Treeview *tv = recordPtr; local
2380 Treeview *tv = recordPtr; local
2408 Treeview *tv = recordPtr; local
2436 Treeview *tv = recordPtr; local
2466 Treeview *tv = recordPtr; local
2558 Treeview *tv = recordPtr; local
2636 Treeview *tv = recordPtr; local
2681 Treeview *tv = recordPtr; local
2734 Treeview *tv = recordPtr; local
2797 Treeview *tv = recordPtr; local
2804 Treeview *tv = recordPtr; local
2814 Treeview *tv = recordPtr; local
2861 Treeview *tv = recordPtr; local
2906 Treeview *tv = recordPtr; local
2938 Treeview *tv = recordPtr; local
3008 Treeview *tv = recordPtr; local
3061 Treeview *tv = recordPtr; local
3092 Treeview *tv = recordPtr; local
3128 Treeview *tv = recordPtr; local
3152 Treeview *tv = recordPtr; local
3190 Treeview *tv = recordPtr; local
[all...]

Completed in 258 milliseconds

1234567891011>>