Home
last modified time | relevance | path

Searched refs:tss (Results 1 – 25 of 42) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dthrd_yield.c24 double ustimer(struct timespec tss, struct timespec tse) in ustimer() argument
26 double sd = difftime(tse.tv_sec, tss.tv_sec); in ustimer()
27 long nsd = tse.tv_nsec - tss.tv_nsec; in ustimer()
37 struct timespec tss, tse; in yieldfunc() local
38 timespec_get(&tss, TIME_UTC); in yieldfunc()
42 } while (ustimer(tss, tse) < 100.0); in yieldfunc()
53 struct timespec tss, tse; in thrd_yield_0100() local
55 result = timespec_get(&tss, TIME_UTC); in thrd_yield_0100()
69 if ((ustimer(tss, tse) - 100.0) < 0) { in thrd_yield_0100()
/third_party/grpc/test/core/iomgr/
Dbuffer_list_test.cc80 struct grpc_core::scm_timestamping tss; in TestVerifierCalledOnAck() local
81 tss.ts[0].tv_sec = 123; in TestVerifierCalledOnAck()
82 tss.ts[0].tv_nsec = 456; in TestVerifierCalledOnAck()
89 grpc_core::TracedBuffer::ProcessTimestamp(&list, &serr, nullptr, &tss); in TestVerifierCalledOnAck()
101 struct grpc_core::scm_timestamping tss; in TestRepeatedShutdown() local
102 tss.ts[0].tv_sec = 123; in TestRepeatedShutdown()
103 tss.ts[0].tv_nsec = 456; in TestRepeatedShutdown()
110 grpc_core::TracedBuffer::ProcessTimestamp(&list, &serr, nullptr, &tss); in TestRepeatedShutdown()
/third_party/python/Lib/test/
Dtest_thread.py89 for tss in (262144, 0x100000, 0):
90 thread.stack_size(tss)
91 self.assertEqual(thread.stack_size(), tss, fail_msg % tss)
92 verbose_print("successfully set stack_size(%d)" % tss)
94 for tss in (262144, 0x100000):
95 verbose_print("trying stack_size = (%d)" % tss)
/third_party/boost/libs/log/src/
Dseverity_level.cpp62 boost::log::aux::thread_specific< uintmax_t* >& tss = severity_level_holder::get(); in get_severity_level() local
63 uintmax_t* p = tss.get(); in get_severity_level()
67 tss.set(ptr.get()); in get_severity_level()
/third_party/ffmpeg/libavformat/
Dmpegts.c418 MpegTSSectionFilter *tss = &tss1->u.section_filter; in write_section_data() local
423 memcpy(tss->section_buf, buf, buf_size); in write_section_data()
424 tss->section_index = buf_size; in write_section_data()
425 tss->section_h_size = -1; in write_section_data()
426 tss->end_of_section_reached = 0; in write_section_data()
428 if (tss->end_of_section_reached) in write_section_data()
430 len = MAX_SECTION_SIZE - tss->section_index; in write_section_data()
433 memcpy(tss->section_buf + tss->section_index, buf, len); in write_section_data()
434 tss->section_index += len; in write_section_data()
438 cur_section_buf = tss->section_buf; in write_section_data()
[all …]
/third_party/musl/src/thread/
Dtss_create.c4 int tss_create(tss_t *tss, tss_dtor_t dtor) in tss_create() argument
9 return __pthread_key_create(tss, dtor) ? thrd_error : thrd_success; in tss_create()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/
Dthreads_scenarii.c200 long tsa, tss, tps; in scenar_init() local
205 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init()
211 output(" TSS: %li\n", tss); in scenar_init()
379 if ((tss > 0) && (tsa > 0)) { in scenar_init()
433 if (tss > 0) { in scenar_init()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
Dthreads_scenarii.c147 long tsa, tss, tps; in scenar_init() local
152 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init()
158 output(" TSS: %li\n", tss); in scenar_init()
332 if ((tss > 0) && (tsa > 0)) { /* This routine is dependent on the Thread Stack Address Attribute in scenar_init()
386 if (tss > 0) { /* This routine is dependent on the Thread Stack Size Attribute option */ in scenar_init()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
Dthreads_scenarii.c147 long tsa, tss, tps; in scenar_init() local
152 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init()
158 output(" TSS: %li\n", tss); in scenar_init()
332 if ((tss > 0) && (tsa > 0)) { /* This routine is dependent on the Thread Stack Address Attribute in scenar_init()
386 if (tss > 0) { /* This routine is dependent on the Thread Stack Size Attribute option */ in scenar_init()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
Dthreads_scenarii.c214 long tsa, tss, tps; in scenar_init() local
219 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init()
225 output(" TSS: %li\n", tss); in scenar_init()
399 if ((tss > 0) && (tsa > 0)) { /* This routine is dependent on the Thread Stack Address Attribute in scenar_init()
453 if (tss > 0) { /* This routine is dependent on the Thread Stack Size Attribute option */ in scenar_init()
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dttmlparse.c449 ttml_update_style_set (GstSubtitleStyleSet * style_set, TtmlStyleSet * tss, in ttml_update_style_set() argument
454 if ((attr = ttml_style_set_get_attr (tss, "textDirection"))) { in ttml_update_style_set()
461 if ((attr = ttml_style_set_get_attr (tss, "fontFamily"))) { in ttml_update_style_set()
471 if ((attr = ttml_style_set_get_attr (tss, "fontSize"))) { in ttml_update_style_set()
476 if ((attr = ttml_style_set_get_attr (tss, "lineHeight"))) { in ttml_update_style_set()
483 if ((attr = ttml_style_set_get_attr (tss, "textAlign"))) { in ttml_update_style_set()
496 if ((attr = ttml_style_set_get_attr (tss, "color"))) { in ttml_update_style_set()
500 if ((attr = ttml_style_set_get_attr (tss, "backgroundColor"))) { in ttml_update_style_set()
504 if ((attr = ttml_style_set_get_attr (tss, "fontStyle"))) { in ttml_update_style_set()
511 if ((attr = ttml_style_set_get_attr (tss, "fontWeight"))) { in ttml_update_style_set()
[all …]
/third_party/python/Lib/email/
D_parseaddr.py120 tss = '0'
122 [thh, tmm, tss] = tm
128 tss = 0
130 [thh, tmm, tss] = tm
140 tss = int(tss)
175 return [yy, mm, dd, thh, tmm, tss, 0, 1, -1, tzoffset]
/third_party/boost/libs/thread/example/
DJamfile.v221 exe tss : tss.cpp ;
/third_party/grpc/src/core/lib/iomgr/
Dbuffer_list.cc227 struct scm_timestamping* tss) { in ProcessTimestamp() argument
238 &(tss->ts[0])); in ProcessTimestamp()
244 fill_gpr_from_timestamp(&(elem->ts_.sent_time.time), &(tss->ts[0])); in ProcessTimestamp()
250 fill_gpr_from_timestamp(&(elem->ts_.acked_time.time), &(tss->ts[0])); in ProcessTimestamp()
Dbuffer_list.h133 struct scm_timestamping* tss);
/third_party/weston/libweston/
Dtde-render-part.cpp661 struct tde_surface_state_t *tss = ps->tde; in tde_unref_image_hook() local
662 if (tss->renderer == NULL || tss->buffer == NULL) { in tde_unref_image_hook()
666 BufferHandle *bh = tss->buffer->attributes.buffer_handle; in tde_unref_image_hook()
671 if (tss->renderer->use_dmabuf == 1) { in tde_unref_image_hook()
672 tss->renderer->display_gralloc->Unmap(*bh); in tde_unref_image_hook()
/third_party/python/Python/
Dthread_pthread.h261 size_t tss; in PyThread_start_new_thread() local
275 tss = (stacksize != 0) ? stacksize : THREAD_STACK_SIZE; in PyThread_start_new_thread()
276 if (tss != 0) { in PyThread_start_new_thread()
277 if (pthread_attr_setstacksize(&attrs, tss) != 0) { in PyThread_start_new_thread()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_dump.h47 nine_dump_D3DTSS_value(unsigned ch, D3DTEXTURESTAGESTATETYPE tss, DWORD value) in nine_dump_D3DTSS_value() argument
/third_party/boost/boost/asio/detail/impl/
Dposix_tss_ptr.ipp37 boost::asio::detail::throw_error(ec, "tss");
Dwin_tss_ptr.ipp46 boost::asio::detail::throw_error(ec, "tss");
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dposix_tss_ptr.ipp37 boost::asio::detail::throw_error(ec, "tss");
Dwin_tss_ptr.ipp46 boost::asio::detail::throw_error(ec, "tss");
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_tss.c321 svga_queue_tss(struct ts_queue *q, unsigned unit, unsigned tss, unsigned value) in svga_queue_tss() argument
325 q->ts[q->ts_count].name = tss; in svga_queue_tss()
/third_party/pulseaudio/src/utils/
Dpacat.c1123 char tss[PA_SAMPLE_SPEC_SNPRINT_MAX], tcm[PA_CHANNEL_MAP_SNPRINT_MAX]; in main() local
1127 pa_sample_spec_snprint(tss, sizeof(tss), &sample_spec), in main()
/third_party/boost/libs/thread/test/
Dtest_tss.cpp10 #define BOOST_TEST_MODULE Boost.Threads: tss test suite

12