/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | lmbench_select_tcp.c | 137 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 D | tvtouch.c | 96 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 D | semop.c | 59 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 D | munmap.c | 118 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 D | win_db.h | 101 #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 D | tzdate.c | 111 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 D | ntp_unixtime.h | 71 #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 D | refclock_atom.h | 10 struct timespec ts; member in struct:refclock_atom
|
/macosx-10.10.1/ntp-92/sntp/ |
H A D | utilities.h | 17 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 D | ring_echo.rb | 22 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 D | ring_place.rb | 14 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 D | BaseAST.cpp | 193 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 D | test_rinda.rb | 23 @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 D | dcethread_pause.c | 136 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 D | tst.statusrate.d | 49 ts = timestamp; 53 /(this->delta = timestamp - ts) > 2 * NANOSEC/
|
/macosx-10.10.1/libffi-18.1/tests/testsuite/libffi.call/ |
H A D | struct3.c | 15 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 D | struct3.c | 15 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 D | struct3.c | 15 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 D | struct3.c | 15 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 D | nanosleep.c | 35 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 D | cdf_time.c | 105 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 D | prettydate.c | 142 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 D | combining.c | 52 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 D | IOHITablet.h | 38 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 D | rwinfo.d | 41 uint64_t ts; 53 i[probefunc].ts = timestamp; 61 /i[probefunc].ts != 0 && pid == 100551/ 63 i[probefunc].elapsed += timestamp - i[probefunc].ts;
|