/third_party/lwip/src/netif/ppp/ |
H A D | vj.c | 168 struct tcp_hdr *th; in vj_compress_tcp() local 190 th = (struct tcp_hdr *)&((struct vj_u32_t*)ip)[ilen]; in vj_compress_tcp() 191 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) { in vj_compress_tcp() 196 hlen = ilen + TCPH_HDRLEN(th); in vj_compress_tcp() 223 || (*(struct vj_u32_t*)th).v != (((struct vj_u32_t*)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]).v) { in vj_compress_tcp() 244 && (*(struct vj_u32_t*)th).v == (((struct vj_u32_t*)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]).v) { in vj_compress_tcp() 282 * check is unnecessary but costless). The 4th line checks the TCP in vj_compress_tcp() 283 * header length. The 5th line checks IP options, if any. The 6th in vj_compress_tcp() 291 || TCPH_HDRLEN(th) ! in vj_compress_tcp() 500 struct tcp_hdr *th; vj_uncompress_tcp() local [all...] |
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cancel/ |
H A D | stress.c | 92 static void *th(void *arg) in th() function 119 ret = pthread_create(&child, NULL, th, arg); in threaded() 166 pthread_t th[NTHREADS]; in main() local 192 ret = pthread_create(&th[i], NULL, threaded, &b[i]); in main() 206 ret = pthread_join(th[i], NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
H A D | 3-1.c | 67 pthread_t th; in main() local 70 SAFE_PFUNC(pthread_create(&th, NULL, thread_func, NULL)); in main() 74 SAFE_PFUNC(pthread_cancel(th)); in main() 83 SAFE_PFUNC(pthread_join(th, NULL)); in main()
|
/third_party/curl/tests/libtest/ |
H A D | lib3026.c | 79 curl_win_thread_handle_t th; in test() local 82 th = CreateThread(NULL, 0, run_thread, &results[i], 0, NULL); in test() 84 th = _beginthreadex(NULL, 0, run_thread, &results[i], 0, NULL); in test() 86 if(!th) { in test() 93 ths[i] = th; in test()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
H A D | ThreadTest.java | 92 for (Thread th:threads) { in TestAnyTranslit() 93 th.start(); in TestAnyTranslit() 95 for (Thread th:threads) { in TestAnyTranslit() 97 th.join(); in TestAnyTranslit()
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | ThreadTest.java | 89 for (Thread th:threads) { in TestAnyTranslit() 90 th.start(); in TestAnyTranslit() 92 for (Thread th:threads) { in TestAnyTranslit() 94 th.join(); in TestAnyTranslit()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/ |
H A D | helper.c | 87 pthread_t th; in main() local 115 ret = pthread_create(&th, NULL, timer, NULL); in main() 154 (void)pthread_cancel(th); in main() 156 ret = pthread_join(th, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/ |
H A D | 5-1.c | 138 pthread_t th; in main() local 205 if ((ret = pthread_create(&th, NULL, threaded, NULL))) { in main() 232 if ((ret = pthread_kill(th, SIGUSR1))) { in main() 261 if ((ret = pthread_join(th, NULL))) { in main()
|
/third_party/musl/src/thread/powerpc64/ |
H A D | syscall_cp.s | 13 # at enter: r3 = pointer to self->cancel, r4: syscall no, r5: first arg, r6: 2nd, r7: 3rd, r8: 4th, r9: 5th, r10: 6th
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/ |
H A D | 2-2.c | 100 pthread_t th; in main() local 113 ret = pthread_create(&th, NULL, threaded, &sem); in main() 143 ret = pthread_join(th, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/ |
H A D | 5-1.c | 103 pthread_t th; in main() local 143 ret = pthread_create(&th, NULL, threaded, NULL); in main() 149 ret = pthread_join(th, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/ |
H A D | 1-3.c | 122 pthread_t th[NTHREADS]; in main() local 132 ret = pthread_create(&th[i], NULL, threaded, &myctl); in main() 141 ret = pthread_join(th[i], NULL); in main()
|
/third_party/libunwind/libunwind/tests/ |
H A D | Gtest-concurrent.c | 86 pthread_t th[NTHREADS]; in doit() local 94 if (pthread_create (th + i, &attr, worker, NULL)) in doit() 103 pthread_join (th[i], NULL); in doit()
|
/third_party/ltp/testcases/kernel/sched/pthreads/ |
H A D | pth_str02.c | 113 pthread_t th; in thread() local 136 pcrterr = pthread_create(&th, &attr, thread, (void *)(num + 1)); in thread() 152 pthread_join(th, NULL); in thread()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
H A D | 21-1.c | 72 pthread_t th; in main() local 87 ret = pthread_create(&th, NULL, threaded, &ctl); in main() 130 ret = pthread_join(th, NULL); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | flockfile.c | 77 pthread_t th; in flockfile_0100() local 79 if (pthread_create(&th, NULL, do_child_one, NULL) != 0) { in flockfile_0100() 84 if (pthread_join(th, &result) != 0) { in flockfile_0100()
|
/third_party/littlefs/scripts/ |
H A D | tailpipe.py | 18 import threading as th namespace 108 event = th.Event() 109 lock = th.Lock() 119 th.Thread(target=background, daemon=True).start()
|
/third_party/python/Lib/turtledemo/ |
H A D | penrose.py | 90 def draw(l, n, th=2): 93 shapesize(l/100.0, l/100.0, th) 135 def test(l=200, n=4, fun=sun, startpos=(0,0), th=2): 142 draw(l, n, th)
|
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_tiled_memcpy.c | 843 uint32_t tw, th, span; in linear_to_tiled() local 848 th = xtile_height; in linear_to_tiled() 853 th = ytile_height; in linear_to_tiled() 863 yt0 = ALIGN_DOWN(yt1, th); in linear_to_tiled() 864 yt3 = ALIGN_UP (yt2, th); in linear_to_tiled() 872 for (yt = yt0; yt < yt3; yt += th) { in linear_to_tiled() 880 uint32_t y1 = MIN2(yt2, yt + th); in linear_to_tiled() 901 dst + (ptrdiff_t)xt * th + (ptrdiff_t)yt * dst_pitch, in linear_to_tiled() 934 uint32_t tw, th, span; in tiled_to_linear() local 939 th in tiled_to_linear() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
H A D | s-c.c | 296 pthread_t *th; in do_threads_test() local 317 th = (pthread_t *) calloc(nthreads, sizeof(pthread_t)); in do_threads_test() 318 if (th == NULL) { in do_threads_test() 398 pthread_create(&th[i], &ta, waiter, in do_threads_test() 408 ret = pthread_cancel(th[j]); in do_threads_test() 423 ret = pthread_join(th[j], NULL); in do_threads_test() 429 free(th); in do_threads_test() 496 ret = pthread_join(th[i], NULL); in do_threads_test() 535 free(th); in do_threads_test()
|
/third_party/ltp/pan/cgi/ |
H A D | results.cgi | 120 print "<tr><th>Hostname<th>Date<th>Suite</tr>\n";
|
/third_party/musl/src/thread/powerpc/ |
H A D | syscall_cp.s | 31 # at enter: r3 = pointer to self->cancel, r4: syscall no, r5: first arg, r6: 2nd, r7: 3rd, r8: 4th, r9: 5th, r10: 6th
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 1-5.c | 230 pthread_t th; in threaded() local 232 ret = pthread_create(&th, &scenarii[sc].ta, overflow, NULL); /* Create a new thread with the same attributes */ in threaded() 239 ret = pthread_join(th, NULL); in threaded()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_once/ |
H A D | stress.c | 145 pthread_t th[NTHREADS]; in main() local 184 ret = pthread_create(&th[i], NULL, threaded, &bar); in main() 193 ret = pthread_join(th[i], NULL); in main()
|
/third_party/ffmpeg/libavcodec/alpha/ |
H A D | idctdsp_alpha_asm.S | 96 lda th, 8 156 subq th, 2, th 165 bne th, 1b
|