/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | thrd_yield.c | 24 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/python/Lib/test/ |
H A D | test_thread.py | 91 for tss in (262144, 0x100000, 0): 92 thread.stack_size(tss) 93 self.assertEqual(thread.stack_size(), tss, fail_msg % tss) 94 verbose_print("successfully set stack_size(%d)" % tss) 96 for tss in (262144, 0x100000): 97 verbose_print("trying stack_size = (%d)" % tss)
|
/third_party/musl/src/thread/ |
H A D | tss_create.c | 4 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/ffmpeg/libavformat/ |
H A D | mpegts.c | 1016 MpegTSSectionFilter *tss = &tss1->u.section_filter; in write_section_data() local 1021 memcpy(tss->section_buf, buf, buf_size); in write_section_data() 1022 tss->section_index = buf_size; in write_section_data() 1023 tss->section_h_size = -1; in write_section_data() 1024 tss->end_of_section_reached = 0; in write_section_data() 1026 if (tss->end_of_section_reached) in write_section_data() 1028 len = MAX_SECTION_SIZE - tss->section_index; in write_section_data() 1031 memcpy(tss->section_buf + tss->section_index, buf, len); in write_section_data() 1032 tss in write_section_data() 2025 MpegTSFilter *tss; add_pes_stream() local 3402 MpegTSFilter *tss; handle_packet() local [all...] |
/third_party/python/Lib/email/ |
H A D | _parseaddr.py | 124 tss = '0' 126 [thh, tmm, tss] = tm 132 tss = 0 134 [thh, tmm, tss] = tm 144 tss = int(tss) 179 return [yy, mm, dd, thh, tmm, tss, 0, 1, -1, tzoffset]
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
H A D | threads_scenarii.c | 147 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_exit/ |
H A D | threads_scenarii.c | 147 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/conformance/interfaces/testfrmw/ |
H A D | threads_scenarii.c | 200 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_self/ |
H A D | threads_scenarii.c | 214 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/python/Python/ |
H A D | thread_pthread.h | 254 size_t tss; in PyThread_start_new_thread() local 268 tss = (stacksize != 0) ? stacksize : THREAD_STACK_SIZE; in PyThread_start_new_thread() 269 if (tss != 0) { in PyThread_start_new_thread() 270 if (pthread_attr_setstacksize(&attrs, tss) != 0) { in PyThread_start_new_thread()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_dump.h | 47 nine_dump_D3DTSS_value(unsigned ch, D3DTEXTURESTAGESTATETYPE tss, DWORD value) in nine_dump_D3DTSS_value() argument
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_tss.c | 321 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() 354 * Emit texture sampler state (tss) for one texture unit.
|
/third_party/pulseaudio/src/utils/ |
H A D | pacat.c | 1135 char tss[PA_SAMPLE_SPEC_SNPRINT_MAX], tcm[PA_CHANNEL_MAP_SNPRINT_MAX]; in main() local 1139 pa_sample_spec_snprint(tss, sizeof(tss), &sample_spec), in main()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_mestimate.c | 55 CONST("tss", "three step search", AV_ME_METHOD_TSS, "method"), 200 SEARCH_MV(tss); in filter_frame()
|
/third_party/ltp/testcases/kernel/kvm/ |
H A D | bootstrap_x86_64.S | 603 .section .bss.tss
|
H A D | bootstrap_x86.S | 449 .section .bss.tss
|
/third_party/ffmpeg/fftools/ |
H A D | ffplay.c | 3425 int tns, thh, tmm, tss; in event_loop() local 3429 tss = (tns % 60); in event_loop() 3437 hh, mm, ss, thh, tmm, tss); in event_loop()
|