/macosx-10.10/dtrace-147/test/tst/common/printf/ |
H A D | tst.printcont.d | 39 uint64_t ts; 43 ts = 53114233149441; 44 printf("%u\n", ts); 45 printf("%u\n", ts); 46 printf("%u\n", ts); 47 printf("%u\n", ts); 48 printf("%u\n", ts); 49 printf("%u\n", ts); 50 printf("%u\n", ts); 51 printf("%u\n", ts); [all...] |
/macosx-10.10/ntfs-84/kext/ |
H A D | ntfs_time.h | 50 * @ts: OS X UTC time to convert to NTFS (little endian) time 52 * Convert the OS X UTC time @ts to its corresponding NTFS time and return that 64 static inline sle64 utc2ntfs(const struct timespec ts) argument 70 return cpu_to_sle64((s64)ts.tv_sec * 10000000 + ts.tv_nsec / 100 + 82 struct timespec ts; local 84 nanotime(&ts); 86 ts.tv_nsec -= ts.tv_nsec % 100; 87 return ts; 98 struct timespec ts; local 129 struct timespec ts; local [all...] |
/macosx-10.10/WebCore-7600.1.25/rendering/svg/ |
H A D | SVGRenderTreeAsText.cpp | 87 TextStream& operator<<(TextStream& ts, TextStreamSeparator& sep) argument 90 ts << sep.m_separator; 93 return ts; 97 static void writeNameValuePair(TextStream& ts, const char* name, ValueType value) argument 99 ts << " [" << name << "=" << value << "]"; 103 static void writeNameAndQuotedValue(TextStream& ts, const char* name, ValueType value) argument 105 ts << " [" << name << "=\"" << value << "\"]"; 108 static void writeIfNotEmpty(TextStream& ts, const char* name, const String& value) argument 111 writeNameValuePair(ts, name, value); 115 static void writeIfNotDefault(TextStream& ts, cons argument 121 operator <<(TextStream& ts, const FloatRect& r) argument 130 operator <<(TextStream& ts, const AffineTransform& transform) argument 146 operator <<(TextStream& ts, const WindRule rule) argument 160 operator <<(TextStream& ts, const SVGUnitTypes::SVGUnitType& unitType) argument 166 operator <<(TextStream& ts, const SVGMarkerUnitsType& markerUnit) argument 172 operator <<(TextStream& ts, const Color& c) argument 178 operator <<(TextStream& ts, const DashArray& a) argument 192 operator <<(TextStream& ts, LineCap style) argument 209 operator <<(TextStream& ts, LineJoin style) argument 225 operator <<(TextStream& ts, const SVGSpreadMethodType& type) argument 231 writeSVGPaintingResource(TextStream& ts, RenderSVGResource* resource) argument 252 writeStyle(TextStream& ts, const RenderElement& renderer) argument 309 writePositionAndStyle(TextStream& ts, const RenderElement& renderer) argument 316 operator <<(TextStream& ts, const RenderSVGShape& shape) argument 360 operator <<(TextStream& ts, const RenderSVGRoot& root) argument 365 writeRenderSVGTextBox(TextStream& ts, const RenderSVGText& text) argument 380 writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) argument 434 writeSVGInlineTextBoxes(TextStream& ts, const RenderText& text, int indent) argument 444 writeStandardPrefix(TextStream& ts, const RenderObject& object, int indent) argument 453 writeChildren(TextStream& ts, const RenderElement& parent, int indent) argument 459 writeCommonGradientProperties(TextStream& ts, SVGSpreadMethodType spreadMethod, const AffineTransform& gradientTransform, SVGUnitTypes::SVGUnitType gradientUnits) argument 470 writeSVGResourceContainer(TextStream& ts, const RenderSVGResourceContainer& resource, int indent) argument 554 writeSVGContainer(TextStream& ts, const RenderSVGContainer& container, int indent) argument 566 write(TextStream& ts, const RenderSVGRoot& root, int indent) argument 573 writeSVGText(TextStream& ts, const RenderSVGText& text, int indent) argument 582 writeSVGInlineText(TextStream& ts, const RenderSVGInlineText& text, int indent) argument 590 writeSVGImage(TextStream& ts, const RenderSVGImage& image, int indent) argument 598 write(TextStream& ts, const RenderSVGShape& shape, int indent) argument 605 writeSVGGradientStop(TextStream& ts, const RenderSVGGradientStop& stop, int indent) argument 612 writeResources(TextStream& ts, const RenderObject& renderer, int indent) argument [all...] |
/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | gettime.c | 30 gettime (struct timespec *ts) argument 33 nanotime (ts); 37 if (clock_gettime (CLOCK_REALTIME, ts) == 0) 44 ts->tv_sec = tv.tv_sec; 45 ts->tv_nsec = tv.tv_usec * 1000;
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/ |
H A D | mktime.c | 50 mktime(struct tm* ts) 55 tm.tm_sec = ts->tm_sec; 56 tm.tm_min = ts->tm_min; 57 tm.tm_hour = ts->tm_hour; 58 tm.tm_mday = ts->tm_mday; 59 tm.tm_mon = ts->tm_mon; 60 tm.tm_year = ts->tm_year; 61 tm.tm_wday = ts->tm_wday; 62 tm.tm_yday = ts->tm_yday; 63 tm.tm_isdst = ts [all...] |
H A D | strptime.c | 48 strptime(const char* s, const char* format, struct tm* ts) 56 tm.tm_sec = ts->tm_sec; 57 tm.tm_min = ts->tm_min; 58 tm.tm_hour = ts->tm_hour; 59 tm.tm_mday = ts->tm_mday; 60 tm.tm_mon = ts->tm_mon; 61 tm.tm_year = ts->tm_year; 62 tm.tm_wday = ts->tm_wday; 63 tm.tm_yday = ts->tm_yday; 64 tm.tm_isdst = ts [all...] |
/macosx-10.10/ntp-92/libntp/ |
H A D | buftvtots.c | 18 l_fp *ts 31 ts->l_ui = tv.tv_sec + (u_long)JAN_1970; 34 TVUTOTSF(tv.tv_usec, ts->l_uf); 45 l_fp *ts 49 UNUSED_ARG(ts);
|
/macosx-10.10/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | pthread_create.c | 81 tsd_t *ts = (tsd_t *)tsd; local 84 ts->ts_threads = calloc(lm_optB, sizeof (pthread_t)); 85 (void) pthread_mutex_init(&ts->ts_lock, NULL); 88 ts->ts_attr = malloc(sizeof (pthread_attr_t)); 89 (void) pthread_attr_init(ts->ts_attr); 90 if ((errors = pthread_attr_setstacksize(ts->ts_attr, opts)) 96 ts->ts_attr = NULL; 104 tsd_t *ts = (tsd_t *)tsd; local 106 (void) pthread_mutex_lock(&ts->ts_lock); 115 tsd_t *ts local 127 tsd_t *ts = (tsd_t *)tsd; local 148 tsd_t *ts = (tsd_t *)tsd; local [all...] |
H A D | pipe.c | 164 tsd_t *ts = (tsd_t *)tsd; local 170 result = prepare_socketpair(ts); 173 result = prepare_localtcp(ts); 176 result = prepare_fifos(ts); 180 result = prepare_pipes(ts); 189 result = pthread_create(&ts->ts_thread, NULL, loopback, tsd); 204 ts->ts_child = pid; 214 if (write(ts->ts_out, wbuf, opts) != opts) { 217 if (readall(ts->ts_in, rbuf, opts) != opts) { 227 tsd_t *ts local 251 tsd_t *ts = (tsd_t *)tsd; local 315 tsd_t *ts = (tsd_t *)arg; local 335 prepare_localtcp_once(tsd_t *ts) argument 384 prepare_localtcp(tsd_t *ts) argument 444 prepare_socketpair(tsd_t *ts) argument 466 prepare_fifos(tsd_t *ts) argument 498 cleanup_fifos(tsd_t *ts) argument 511 prepare_pipes(tsd_t *ts) argument [all...] |
H A D | mktime.c | 61 tsd_t *ts = (tsd_t *)tsd; local 69 (void) localtime_r(&clock1, &ts->ts_tm1); 70 (void) localtime_r(&clock2, &ts->ts_tm2); 80 tsd_t *ts = (tsd_t *)tsd; local 84 t1 = ts->ts_tm1; 85 t2 = ts->ts_tm2; 89 t1 = ts->ts_tm1; 90 t2 = ts->ts_tm2; 94 t1 = ts->ts_tm1; 95 t2 = ts [all...] |
H A D | memcpy.c | 102 tsd_t *ts = (tsd_t *)tsd; local 105 ts->ts_srcsize = 64 * 1024 * 1024; 107 ts->ts_srcsize = opts + opta; 110 ts->ts_destsize = 64 * 1024 * 1024; 112 ts->ts_destsize = (int)opts; 115 ts->ts_src = opta + (char *)valloc(ts->ts_srcsize); 116 ts->ts_dest = valloc(ts->ts_destsize); 124 tsd_t *ts local [all...] |
H A D | memmove.c | 102 tsd_t *ts = (tsd_t *)tsd; local 105 ts->ts_srcsize = 64 * 1024 * 1024; 107 ts->ts_srcsize = opts + opta; 110 ts->ts_destsize = 64 * 1024 * 1024; 112 ts->ts_destsize = (int)opts; 115 ts->ts_src = opta + (char *)valloc(ts->ts_srcsize); 116 ts->ts_dest = valloc(ts->ts_destsize); 124 tsd_t *ts local [all...] |
H A D | strchr.c | 85 tsd_t *ts = (tsd_t *)tsd; local 90 if (ts->ts_once++ == 0) { 94 ts->ts_string = malloc(opts + 1 + unaligned); 95 ts->ts_string += unaligned; 99 ts->ts_string[i] = demo[i%l]; 102 ts->ts_string[opts] = 0; 112 tsd_t *ts = (tsd_t *)tsd; local 113 char *src = ts->ts_string; 116 ts->ts_fakegcc = strchr(src, 'X'); 117 ts [all...] |
H A D | strlen.c | 85 tsd_t *ts = (tsd_t *)tsd; local 89 if (ts->ts_once++ == 0) { 93 ts->ts_string = malloc(opts + 1 + unaligned); 94 ts->ts_string += unaligned; 98 ts->ts_string[i] = demo[i%l]; 101 ts->ts_string[opts] = 0; 111 tsd_t *ts = (tsd_t *)tsd; local 112 char *src = ts->ts_string; 115 ts->ts_fakegcc += strlen(src); 116 ts [all...] |
H A D | cascade_fcntl.c | 161 tsd_t *ts = (tsd_t *)tsd; local 164 if (ts->ts_once == 0) { 175 ts->ts_id = us; 178 ts->ts_us0 = (us * 4); 179 ts->ts_us1 = (us * 4) + 2; 182 ts->ts_them0 = (them * 4); 183 ts->ts_them1 = (them * 4) + 2; 186 ts->ts_them0 = (them * 4) + 2; 187 ts->ts_them1 = (them * 4); 190 ts 202 tsd_t *ts = (tsd_t *)tsd; local [all...] |
H A D | cascade_flock.c | 157 tsd_t *ts = (tsd_t *)tsd; local 160 if (ts->ts_once == 0) { 171 ts->ts_id = us; 174 ts->ts_us0 = (us * 2); 175 ts->ts_us1 = (us * 2) + 1; 178 ts->ts_them0 = (them * 2); 179 ts->ts_them1 = (them * 2) + 1; 182 ts->ts_them0 = (them * 2) + 1; 183 ts->ts_them1 = (them * 2); 186 ts 198 tsd_t *ts = (tsd_t *)tsd; local [all...] |
H A D | cascade_lockf.c | 152 tsd_t *ts = (tsd_t *)tsd; local 155 if (ts->ts_once == 0) { 166 ts->ts_id = us; 169 ts->ts_us0 = (us * 2); 170 ts->ts_us1 = (us * 2) + 1; 173 ts->ts_them0 = (them * 2); 174 ts->ts_them1 = (them * 2) + 1; 177 ts->ts_them0 = (them * 2) + 1; 178 ts->ts_them1 = (them * 2); 181 ts 193 tsd_t *ts = (tsd_t *)tsd; local [all...] |
H A D | cascade_mutex.c | 156 tsd_t *ts = (tsd_t *)tsd; local 159 if (ts->ts_once == 0) { 170 ts->ts_id = us; 173 ts->ts_us0 = (us * 2); 174 ts->ts_us1 = (us * 2) + 1; 177 ts->ts_them0 = (them * 2); 178 ts->ts_them1 = (them * 2) + 1; 181 ts->ts_them0 = (them * 2) + 1; 182 ts->ts_them1 = (them * 2); 185 ts 197 tsd_t *ts = (tsd_t *)tsd; local [all...] |
H A D | close_tcp.c | 83 tsd_t *ts = (tsd_t *)tsd; local 89 ts->ts_lsns = (int *)malloc(lm_optB * sizeof (int)); 90 if (ts->ts_lsns == NULL) { 93 ts->ts_accs = (int *)malloc(lm_optB * sizeof (int)); 94 if (ts->ts_accs == NULL) { 97 ts->ts_cons = (int *)malloc(lm_optB * sizeof (int)); 98 if (ts->ts_cons == NULL) { 101 ts->ts_adds = (struct sockaddr_in *)malloc(lm_optB * 103 if (ts->ts_adds == NULL) { 109 ts 157 tsd_t *ts = (tsd_t *)tsd; local 205 tsd_t *ts = (tsd_t *)tsd; local 221 tsd_t *ts = (tsd_t *)tsd; local 234 tsd_t *ts = (tsd_t *)tsd; local [all...] |
/macosx-10.10/WebCore-7600.1.25/page/scrolling/ |
H A D | ScrollingStateStickyNode.cpp | 79 void ScrollingStateStickyNode::dumpProperties(TextStream& ts, int indent) const argument 81 ts << "(" << "Sticky node" << "\n"; 84 writeIndent(ts, indent + 1); 85 ts << "(anchor edges: "; 87 ts << "AnchorEdgeLeft "; 89 ts << "AnchorEdgeRight "; 91 ts << "AnchorEdgeTop "; 93 ts << "AnchorEdgeBottom"; 94 ts << ")\n"; 98 writeIndent(ts, inden [all...] |
/macosx-10.10/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | trivial.c | 172 tsd_t *ts = (tsd_t *)tsd; local 173 ts->ts_once = optt; 174 debug("benchmark_initworker: ts_once = %i\n",ts->ts_once); 185 tsd_t *ts = (tsd_t *)tsd; local 187 ts->ts_once++; 188 ts->ts_once--; 189 debug("benchmark_initbatch: ts_once = %i\n",ts->ts_once); 201 tsd_t *ts = (tsd_t *)tsd; local 204 debug("in to benchmark - optB = %i : ts_once = %i\n", lm_optB, ts->ts_once); 207 * just to show that ts reall 220 tsd_t *ts = (tsd_t *)tsd; local 232 tsd_t *ts = (tsd_t *)tsd; local [all...] |
H A D | lmbench_select_file.c | 122 tsd_t* ts = (tsd_t*)tsd; local 123 //(void) fprintf(stderr, "open_file: ts->fname = %s\n",ts->fname); 124 return (int) open(ts->fname, O_RDONLY); 131 tsd_t* ts = (tsd_t*)tsd; local 134 ts->pid = 0; 135 //(void) fprintf(stderr, "server: state->fid_f = %i\n",ts->fid_f); 137 if (ts->fid_f == open_file) { 139 sprintf(ts->fname, "/tmp/lat_selectXXXXXX"); 140 //(void) fprintf(stderr, "server: ts 260 tsd_t *ts = (tsd_t *)tsd; local 305 tsd_t *ts = (tsd_t *)tsd; local 383 tsd_t *ts = (tsd_t *)tsd; local [all...] |
/macosx-10.10/dtrace-147/test/tst/common/docsExamples/ |
H A D | rwtime.d | 42 ts[probefunc] = timestamp; 47 /(ts[probefunc] != 0) && (pid == 100551)/ 49 printf("%d nsecs\n", timestamp - ts[probefunc]);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/aso/ |
H A D | asorelax.c | 48 struct timespec ts; 50 ts.tv_sec = 0; 51 ts.tv_nsec = nsec; 52 return nanosleep(&ts, 0);
|
/macosx-10.10/webdavfs-367/webdav_fs.kextproj/webdav_fs.kmodproj/ |
H A D | webdav_utils.c | 59 void timespec_to_webdav_timespec64(struct timespec ts, struct webdav_timespec64 *wts) argument 61 wts->tv_sec = ts.tv_sec; 62 wts->tv_nsec = ts.tv_nsec; 65 void webdav_timespec64_to_timespec(struct webdav_timespec64 wts, struct timespec *ts) argument 68 ts->tv_sec = wts.tv_sec; 69 ts->tv_nsec = wts.tv_nsec; 71 ts->tv_sec = (uint32_t)wts.tv_sec; 72 ts->tv_nsec = (uint32_t)wts.tv_nsec;
|