Searched refs:ts (Results 76 - 100 of 951) sorted by relevance

1234567891011>>

/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dlmbench_select_tcp.c137 tsd_t* ts = (tsd_t*)tsd; local
138 return (int) open(ts->fname, O_RDONLY);
151 tsd_t *ts = (tsd_t *)tsd; local
154 ts->pid = 0;
156 if (ts->fid_f == open_file) {
158 sprintf(ts->fname, "lat_selectXXXXXX");
159 ts->fid = mkstemp(ts->fname);
160 if (ts->fid <= 0) {
162 sprintf(buf, "lat_select: Could not create temp file %s", ts
490 tsd_t *ts = (tsd_t *)tsd; local
533 tsd_t *ts = (tsd_t *)tsd; local
600 tsd_t *ts = (tsd_t *)tsd; local
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/tm/
H A Dtvtouch.c96 struct timespec ts[2]; local
112 ts[0].tv_sec = 0;
113 ts[0].tv_nsec = UTIME_NOW;
117 ts[0].tv_sec = 0;
118 ts[0].tv_nsec = UTIME_OMIT;
122 ts[0].tv_sec = av->tv_sec;
123 ts[0].tv_nsec = NS(av->tv_nsec);
127 ts[1].tv_sec = 0;
128 ts[1].tv_nsec = UTIME_NOW;
132 ts[
[all...]
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/
H A Dsemop.c59 tsd_t *ts = (tsd_t *)tsd; local
61 if ((ts->ts_semid = semget(IPC_PRIVATE, 2, 0600)) == -1) {
71 tsd_t *ts = (tsd_t *)tsd; local
73 (void) semctl(ts->ts_semid, 0, IPC_RMID);
82 tsd_t *ts = (tsd_t *)tsd; local
89 if (semop(ts->ts_semid, s, 1) == -1) {
95 if (semop(ts->ts_semid, s, 1) == -1) {
H A Dmunmap.c118 tsd_t *ts = (tsd_t *)tsd; local
122 if (ts->ts_once++ == 0) {
123 ts->ts_map = (vchar_t **)malloc(lm_optB * sizeof (void *));
124 if (ts->ts_map == NULL) {
131 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl,
136 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl,
142 if (ts->ts_map[i] == MAP_FAILED) {
148 ts->ts_foo += ts->ts_map[i][j];
153 ts
164 tsd_t *ts = (tsd_t *)tsd; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/dbinc/
H A Dwin_db.h101 #define TO_TSTRING(dbenv, s, ts, ret) do { \
103 ts = NULL; \
105 __len * sizeof(_TCHAR), &(ts))) == 0 && \
107 (s), -1, (ts), __len) == 0) \
111 #define FROM_TSTRING(dbenv, ts, s, ret) { \
112 int __len = WideCharToMultiByte(CP_UTF8, 0, ts, -1, \
117 (ts), -1, (s), __len, NULL, NULL) == 0) \
129 #define TO_TSTRING(dbenv, s, ts, ret) (ret) = 0, (ts) = (_TCHAR *)(s)
130 #define FROM_TSTRING(dbenv, ts,
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/test/compat/
H A Dtzdate.c111 struct tm ts; local
115 ts = *localtime(&now);
118 memset(&ts, 0, sizeof(ts));
119 ts.tm_year = year;
120 ts.tm_mon = month - OFFSET_MONTH;
121 ts.tm_mday = day;
122 ts.tm_hour = hour;
123 ts.tm_min = minute;
125 now = mktime(&ts);
[all...]
/macosx-10.10.1/ntp-92/include/
H A Dntp_unixtime.h71 #define TVTOTS(tv, ts) \
73 (ts)->l_ui = (u_long)(tv)->tv_sec; \
74 TVUTOTSF((tv)->tv_usec, (ts)->l_uf); \
77 #define sTVTOTS(tv, ts) \
81 (ts)->l_ui = (tv)->tv_sec; \
85 (ts)->l_ui = -(ts)->l_ui; \
88 TVUTOTSF(usec, (ts)->l_uf); \
90 L_NEG((ts)); \
119 #define TSTOTV(ts, t
[all...]
H A Drefclock_atom.h10 struct timespec ts; member in struct:refclock_atom
/macosx-10.10.1/ntp-92/sntp/
H A Dutilities.h17 void l_fp_output (l_fp *ts, FILE *output);
18 void l_fp_output_bin (l_fp *ts, FILE *output);
19 void l_fp_output_dec (l_fp *ts, FILE *output);
/macosx-10.10.1/ruby-106/ruby/sample/drb/
H A Dring_echo.rb22 ts = finder.lookup_ring_any
23 ts.read_all([:name, :RingEcho, nil, nil]).each do |tuple|
27 ts.write([:name, :RingEcho, RingEcho.new(DRb.uri), ''], renewer)
H A Dring_place.rb14 ts = Rinda::TupleSpace.new
15 place = Rinda::RingServer.new(ts)
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/
H A DBaseAST.cpp193 ANTLR_USE_NAMESPACE(std)string ts=""; local
197 ts+=" ( ";
198 ts+=toString();
199 ts+=getFirstChild()->toStringList();
200 ts+=" )";
204 ts+=" ";
205 ts+=toString();
209 ts+=getNextSibling()->toStringList();
211 return ts;
216 ANTLR_USE_NAMESPACE(std)string ts local
[all...]
/macosx-10.10.1/ruby-106/ruby/test/rinda/
H A Dtest_rinda.rb23 @ts = MyTS.new
24 @ts.write([2, :now])
37 now ,= @ts.take([nil, :now])
40 @ts.write([@now, :now])
52 now ,= @ts.take([nil, :now])
53 @ts.write([@inf, :now])
54 @ts.take([nil, :now])
56 @ts.write([2, :now])
60 now ,= @ts.read([nil, :now])
61 @ts
[all...]
/macosx-10.10.1/dcerpc-61/dcerpc/libdcethread/
H A Ddcethread_pause.c136 struct timespec ts; local
138 ts.tv_nsec = 100000000;
139 ts.tv_sec = 0;
142 MU_TRY_DCETHREAD( dcethread_delay(&ts) );
/macosx-10.10.1/dtrace-147/test/tst/common/rates/
H A Dtst.statusrate.d49 ts = timestamp;
53 /(this->delta = timestamp - ts) > 2 * NANOSEC/
/macosx-10.10.1/libffi-18.1/tests/testsuite/libffi.call/
H A Dstruct3.c15 static test_structure_3 struct3(test_structure_3 ts) argument
17 ts.si = -(ts.si*2);
19 return ts;
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/libffi-src/tests/testsuite/libffi.call/
H A Dstruct3.c15 static test_structure_3 struct3(test_structure_3 ts) argument
17 ts.si = -(ts.si*2);
19 return ts;
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libffi-src/tests/testsuite/libffi.call/
H A Dstruct3.c15 static test_structure_3 struct3(test_structure_3 ts) argument
17 ts.si = -(ts.si*2);
19 return ts;
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/libffi-src/tests/testsuite/libffi.call/
H A Dstruct3.c15 static test_structure_3 struct3(test_structure_3 ts) argument
17 ts.si = -(ts.si*2);
19 return ts;
/macosx-10.10.1/sudo-73/src/
H A Dnanosleep.c35 nanosleep(ts, rts)
36 const struct timespec *ts;
42 timeout.tv_sec = ts->tv_sec;
43 timeout.tv_usec = ts->tv_nsec / 1000;
/macosx-10.10.1/file-46/file/src/
H A Dcdf_time.c105 cdf_timestamp_to_timespec(struct timespec *ts, cdf_timestamp_t t) argument
114 ts->tv_nsec = (t % CDF_TIME_PREC) * 100;
143 ts->tv_sec = mktime(&tm);
144 if (ts->tv_sec == -1) {
153 cdf_timespec_to_timestamp(cdf_timestamp_t *t, const struct timespec *ts) argument
157 (void)&ts;
161 if (gmtime_r(&ts->ts_sec, &tm) == NULL) {
165 *t = (ts->ts_nsec / 100) * CDF_TIME_PREC;
179 struct timespec ts; local
184 cdf_timestamp_to_timespec(&ts, ts
[all...]
/macosx-10.10.1/ntp-92/libntp/
H A Dprettydate.c142 l_fp *ts,
153 sec = ts->l_ui;
154 msec = ts->l_uf / 4294967; /* fract / (2 ** 32 / 1000) */
159 (u_long)ts->l_ui, (u_long)ts->l_uf);
163 (u_long)ts->l_ui, (u_long)ts->l_uf, days[tm->tm_wday],
174 l_fp *ts
177 return common_prettydate(ts, 1);
183 l_fp *ts
141 common_prettydate( l_fp *ts, int local ) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/wind/
H A Dcombining.c52 struct translation ts = {code_point}; local
53 void *s = bsearch(&ts, _wind_combining_table, _wind_combining_table_size,
/macosx-10.10.1/IOHIDFamily-606.1.7/IOHIDSystem/IOKit/hidsystem/
H A DIOHITablet.h38 AbsoluteTime ts);
42 AbsoluteTime ts);
48 /* atTime */ AbsoluteTime ts,
55 /* atTime */ AbsoluteTime ts,
75 AbsoluteTime ts);
78 AbsoluteTime ts);
107 AbsoluteTime ts);
111 AbsoluteTime ts);
/macosx-10.10.1/dtrace-147/test/tst/common/docsExamples/
H A Drwinfo.d41 uint64_t ts;
53 i[probefunc].ts = timestamp;
61 /i[probefunc].ts != 0 && pid == 100551/
63 i[probefunc].elapsed += timestamp - i[probefunc].ts;

Completed in 412 milliseconds

1234567891011>>