Searched refs:ts (Results 26 - 50 of 951) sorted by relevance

1234567891011>>

/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/tkextlib/iwidgets/sample/
H A Dtabset.rb21 ts = Tk::Iwidgets::Tabset.new(:command=>selectItem)
22 ts.add(:label=>1)
23 ts.add(:label=>2)
24 ts.select(0)
25 ts.pack(:fill=>:x, :expand=>true)
29 selectTab = proc{|y| ts.select(l.nearest(y)) }
/macosx-10.10.1/ruby-106/ruby/sample/drb/
H A Drindas.rb12 ts = Rinda::TupleSpaceProxy.new(DRbObject.new(nil, uri))
15 r = ts.take(['sum', nil, nil])
17 ts.write(['ans', r[1], r[2], v])
H A Drindac.rb7 ts = Rinda::TupleSpaceProxy.new(DRbObject.new(nil, uri))
10 ts.write(['sum', DRb.uri, n])
14 ans = ts.take(['ans', DRb.uri, n, nil])
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dlb_mmtest.c156 tsd_t *ts = (tsd_t *)tsd; local
158 request = (mach_msg_header_t *)ts->request_msg;
160 reply = (mach_msg_header_t *)ts->reply_msg;
166 if (ts->verbose) printf("Awaiting message\n");
171 ts->request_msg_size,
172 ts->server_port,
183 if (ts->verbose) printf("Received message\n");
187 complex_request = (ipc_complex_message *)ts->request_msg;
193 if (ts->verbose) printf("Sending reply\n");
195 reply->msgh_size = ts
243 tsd_t *ts = (tsd_t *)tsd; local
331 tsd_t *ts = (tsd_t *)tsd; local
508 tsd_t *ts = (tsd_t *)tsd; local
[all...]
H A Dcreate_file.c163 // tsd_t *ts = (tsd_t *)tsd;
164 // debug("benchmark_initworker: ts_once = %i\n",ts->ts_once);
175 tsd_t *ts = (tsd_t *)tsd; local
177 ts->ts_once++;
178 ts->ts_once--;
179 debug("benchmark_initbatch: ts_once = %i\n",ts->ts_once);
191 // tsd_t *ts = (tsd_t *)tsd;
194 debug("in to benchmark - optB = %i : ts_once = %i\n", lm_optB, ts->ts_once);
200 debug("out of benchmark - optB = %i : ts_once = %i\n", lm_optB, ts->ts_once);
208 // tsd_t *ts
216 tsd_t *ts = (tsd_t *)tsd; local
[all...]
H A Dlmbench_write.c108 tsd_t *ts = (tsd_t *)tsd; local
111 if (ts->ts_buf == NULL) {
112 ts->ts_buf = malloc(opts);
113 ts->ts_fd = open(optf, O_WRONLY);
117 (void) directio(ts->ts_fd, DIRECTIO_ON);
125 ts->ts_buf[i] = 0;
128 (void) lseek(ts->ts_fd, 0, SEEK_SET);
136 tsd_t *ts = (tsd_t *)tsd; local
150 if (write(ts->ts_fd, ts
[all...]
H A Dlmbench_bw_mem.c155 tsd_t *ts = (tsd_t *)cookie; local
159 ts->buf = (TYPE *)valloc(ts->nbytes);
160 ts->buf2_orig = NULL;
161 ts->lastone = (TYPE*)ts->buf - 1;
162 ts->lastone = (TYPE*)((char *)ts->buf + ts->nbytes - 512);
163 ts
192 tsd_t *ts = (tsd_t *)cookie; local
203 tsd_t *ts = (tsd_t *)cookie; local
228 tsd_t *ts = (tsd_t *)cookie; local
249 tsd_t *ts = (tsd_t *)cookie; local
272 tsd_t *ts = (tsd_t *)cookie; local
297 tsd_t *ts = (tsd_t *)cookie; local
337 tsd_t *ts = (tsd_t *)cookie; local
378 tsd_t *ts = (tsd_t *)cookie; local
417 tsd_t *ts = (tsd_t *)cookie; local
429 tsd_t *ts = (tsd_t *)cookie; local
448 tsd_t *ts = (tsd_t *)tsd; local
544 tsd_t *ts = (tsd_t *)tsd; local
589 tsd_t *ts = (tsd_t *)tsd; local
611 tsd_t *ts = (tsd_t *)tsd; local
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/Shared/mac/
H A DRemoteLayerTreeTransaction.mm622 static void dumpProperty(RemoteLayerTreeTextStream& ts, String name, T value)
624 ts << "\n";
625 ts.increaseIndent();
626 ts.writeIndent();
627 ts << "(" << name << " ";
628 ts << value << ")";
629 ts.decreaseIndent();
634 RemoteLayerTreeTextStream& ts = *this;
635 ts << "\n";
636 ts
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/comp/
H A Dgetdate.c61 static struct tm ts;
71 ts.tm_sec = tm->tm_sec;
72 ts.tm_min = tm->tm_min;
73 ts.tm_hour = tm->tm_hour;
74 ts.tm_mday = tm->tm_mday;
75 ts.tm_mon = tm->tm_mon;
76 ts.tm_year = tm->tm_year;
77 ts.tm_wday = tm->tm_wday;
78 ts.tm_yday = tm->tm_yday;
79 ts
[all...]
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/
H A Dstrftime.c95 tsd_t *ts = (tsd_t *)tsd; local
100 (void) localtime_r(&clock1, &ts->ts_tm1);
101 (void) localtime_r(&clock2, &ts->ts_tm2);
111 tsd_t *ts = (tsd_t *)tsd; local
115 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm1);
116 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm2);
117 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm1);
118 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm2);
119 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm1);
120 (void) strftime(s, MAXSIZE, optf, &ts
[all...]
H A Dmemset.c101 tsd_t *ts = (tsd_t *)tsd; local
106 ts->ts_size = 1024 * 1024 * 64;
107 ts->ts_offset = opta;
109 ts->ts_size = opta + opts;
110 ts->ts_offset = opta;
113 if ((ts->ts_buff = (char *)valloc(ts->ts_size)) == NULL)
116 for (i = 0; i < ts->ts_size; i++)
117 ts->ts_buff[i] = 0;
126 tsd_t *ts local
[all...]
H A Ddup.c94 tsd_t *ts = (tsd_t *)tsd; local
98 if (ts->ts_once++ == 0) {
99 ts->ts_fds = (int *)malloc(lm_optB * sizeof (int));
100 if (ts->ts_fds == NULL) {
104 ts->ts_fds[i] = -1;
114 tsd_t *ts = (tsd_t *)tsd; local
118 ts->ts_fds[i] = dup(fd);
119 if (ts->ts_fds[i] == -1) {
131 tsd_t *ts = (tsd_t *)tsd; local
135 (void) close(ts
[all...]
H A Dfork.c78 tsd_t *ts = (tsd_t *)tsd; local
81 if (ts->ts_once++ == 0) {
82 ts->ts_pids = (int *)malloc(lm_optB * sizeof (pid_t));
83 if (ts->ts_pids == NULL) {
94 tsd_t *ts = (tsd_t *)tsd; local
98 ts->ts_pids[i] = fork();
99 switch (ts->ts_pids[i]) {
121 tsd_t *ts = (tsd_t *)tsd; local
125 if (ts->ts_pids[i] > 0) {
126 (void) waitpid(ts
[all...]
H A Dopen.c93 tsd_t *ts = (tsd_t *)tsd; local
97 if (ts->ts_once++ == 0) {
98 ts->ts_fds = (int *)malloc(lm_optB * sizeof (int));
99 if (ts->ts_fds == NULL) {
103 ts->ts_fds[i] = -1;
113 tsd_t *ts = (tsd_t *)tsd; local
117 ts->ts_fds[i] = open(optf, O_RDONLY);
118 if (ts->ts_fds[i] < 0) {
130 tsd_t *ts = (tsd_t *)tsd; local
134 (void) close(ts
[all...]
H A Dsocket.c114 tsd_t *ts = (tsd_t *)tsd; local
116 if (ts->ts_once++ == 0) {
117 ts->ts_fds = (int *)malloc(lm_optB * sizeof (int));
118 if (ts->ts_fds == NULL) {
122 ts->ts_fds[i] = -1;
133 tsd_t *ts = (tsd_t *)tsd; local
136 ts->ts_fds[i] = socket(family, SOCK_STREAM, 0);
137 if (ts->ts_fds[i] == -1) {
150 tsd_t *ts = (tsd_t *)tsd; local
153 (void) close(ts
[all...]
H A Dwrite.c105 tsd_t *ts = (tsd_t *)tsd; local
108 if (ts->ts_buf == NULL) {
109 ts->ts_buf = malloc(opts);
110 ts->ts_fd = open(optf, O_WRONLY);
114 (void) directio(ts->ts_fd, DIRECTIO_ON);
122 ts->ts_buf[i] = 0;
125 (void) lseek(ts->ts_fd, 0, SEEK_SET);
133 tsd_t *ts = (tsd_t *)tsd; local
137 if (write(ts->ts_fd, ts
[all...]
H A Dstrcasecmp.c87 tsd_t *ts = (tsd_t *)tsd; local
92 if (ts->ts_once++ == 0) {
96 ts->ts_a = malloc(opts + 1);
97 ts->ts_b = malloc(opts + 1 + unaligned);
98 ts->ts_b += unaligned;
101 ts->ts_a[i] = ts->ts_b[i] = demo[i%l];
103 ts->ts_a[opts] = 0;
104 ts->ts_b[opts] = 0;
113 tsd_t *ts local
[all...]
H A Dstrcmp.c86 tsd_t *ts = (tsd_t *)tsd; local
90 if (ts->ts_once++ == 0) {
94 ts->ts_a = malloc(opts + 1);
95 ts->ts_b = malloc(opts + 1 + unaligned);
96 ts->ts_b += unaligned;
99 ts->ts_a[i] = ts->ts_b[i] = demo[i%l];
101 ts->ts_a[opts] = 0;
102 ts->ts_b[opts] = 0;
111 tsd_t *ts local
[all...]
H A Dsigaction.c70 tsd_t *ts = (tsd_t *)tsd; local
71 ts->ts_act.sa_handler = nop;
72 ts->ts_act.sa_flags = 0;
73 (void) sigemptyset(&ts->ts_act.sa_mask);
82 tsd_t *ts = (tsd_t *)tsd; local
88 if (sigaction(SIGUSR1, &ts->ts_act, &oact))
H A Dsiglongjmp.c57 tsd_t *ts = (tsd_t *)tsd; local
65 (void) sigsetjmp(ts->ts_env, 1);
68 siglongjmp(ts->ts_env, 0);
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/stream/
H A Dtiffstream.cpp93 TiffStream* ts = reinterpret_cast<TiffStream*>(fd); local
94 if(ts->m_inStream != NULL) {
95 istr = ts->m_inStream;
96 } else if(ts->m_ioStream != NULL) {
97 istr = ts->m_ioStream;
100 int remain = ts->m_streamLength - ts->tell(fd);
109 TiffStream* ts = reinterpret_cast<TiffStream*>(fd); local
111 if(ts->m_outStream != NULL) {
112 ostr = ts
125 TiffStream* ts = reinterpret_cast<TiffStream*>(fd); local
133 TiffStream* ts = reinterpret_cast<TiffStream*>(fd); local
150 TiffStream* ts = reinterpret_cast<TiffStream*>(fd); local
181 TiffStream* ts = reinterpret_cast<TiffStream*>(fd); local
210 TiffStream* ts = reinterpret_cast<TiffStream*>(fd); local
228 TiffStream* ts = reinterpret_cast<TiffStream*>(fd); local
[all...]
/macosx-10.10.1/Heimdal-398.1.2/kadmin/
H A Dtest_util.c42 } ts[] = { variable in typeref:struct:__anon514
53 for (i = 0; i < sizeof(ts)/sizeof(ts[0]); i++) {
57 ret = str2time_t (ts[i].str, &t);
58 if (ret != ts[i].ret) {
62 else if (t != ts[i].t) {
/macosx-10.10.1/dtrace-147/test/tst/common/proc/
H A Dtst.sigwait.c40 struct itimerspec ts; local
58 ts.it_value.tv_sec = 1;
59 ts.it_value.tv_nsec = 0;
60 ts.it_interval.tv_sec = 0;
61 ts.it_interval.tv_nsec = NANOSEC / 2;
63 if (timer_settime(tid, TIMER_RELTIME, &ts, NULL) == -1) {
/macosx-10.10.1/dtrace-147/test/tst/common/speculation/
H A Derr.D_AGG_SPEC.SpeculateWithLquant.d45 self->ts = timestamp;
49 /self->ts/
54 @Lqauntus[execname] = lquantize(timestamp - self->ts, 0, 100, 1);
H A Derr.D_AGG_SPEC.SpeculateWithQuant.d45 self->ts = timestamp;
49 /self->ts/
54 @Qauntus[execname] = quantize(timestamp - self->ts);

Completed in 215 milliseconds

1234567891011>>