/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/testsuite/sim/cris/c/ |
H A D | ex1.c | 37 int retcode; local 41 retcode = pthread_create (&th_a, NULL, process, (void *) "a"); 42 if (retcode != 0) 43 fprintf (stderr, "create a failed %d\n", retcode); 44 retcode = pthread_create (&th_b, NULL, process, (void *) "b"); 45 if (retcode != 0) 46 fprintf (stderr, "create b failed %d\n", retcode); 47 retcode = pthread_join (th_a, &retval); 48 if (retcode != 0) 49 fprintf (stderr, "join a failed %d\n", retcode); [all...] |
H A D | thread3.c | 28 int retcode; local 32 retcode = pthread_create (&th_a, NULL, process, (void *) "a"); 33 if (retcode != 0) 35 retcode = pthread_create (&th_b, NULL, process, (void *) "b"); 36 if (retcode != 0) 38 retcode = pthread_join (th_a, &retval); 39 if (retcode != 0) 41 retcode = pthread_join (th_b, &retval); 42 if (retcode != 0)
|
H A D | clone1.c | 33 int retcode; local 39 retcode = pipe (pip); 41 if (retcode != 0) 43 fprintf (stderr, "Bad pipe %d\n", retcode); 56 if ((retcode = read (pip[0], buf, 1)) != 1) 58 fprintf (stderr, "Bad read 1: %d\n", retcode); 62 retcode = read (pip[0], buf, 2); 63 if (retcode == 1) 65 retcode = read (pip[0], buf+1, 1); 66 if (retcode ! [all...] |
H A D | clone5.c | 27 int retcode; local 30 retcode = clone (process, (char *) stack + sizeof (stack) - 64, 0, "cba"); 31 if (retcode == -1 && errno == ENOSYS)
|
H A D | rtsigprocmask1.c | 29 int retcode; local 37 retcode = pthread_create (&th_a, NULL, process, NULL); 38 if (retcode != 0) 42 retcode 46 if (retcode == ENOSYS)
|
H A D | thread4.c | 35 int retcode; local 39 retcode = pthread_create (&th_a, NULL, process, NULL); 44 retcode = pthread_cancel (th_a); 45 retcode = pthread_join (th_a, &retval); 46 if (retcode != 0)
|
H A D | pipe6.c | 48 int retcode; local 54 retcode = pipe (pip); 56 if (retcode != 0) 58 fprintf (stderr, "Bad pipe %d\n", retcode); 83 while ((retcode = read (pip[0], buf, 1)) == 0) 86 if (retcode != 1) 88 fprintf (stderr, "Bad read 1: %d\n", retcode); 100 retcode = waitpid (pid, &st, __WALL); 102 if (retcode != pid || !WIFEXITED (st)) 104 fprintf (stderr, "Bad wait %d:%d %x\n", pid, retcode, s [all...] |
H A D | pipe2.c | 62 int retcode; local 73 retcode = pipe (pip); 75 if (retcode != 0) 77 fprintf (stderr, "Bad pipe %d\n", retcode); 102 while ((retcode = read (pip[0], buf, 1)) == 0) 105 if (retcode != 1) 107 fprintf (stderr, "Bad read 1: %d\n", retcode); 115 while ((retcode = read (pip[0], buf, 1)) == 0) 118 if (retcode != 1) 120 fprintf (stderr, "Bad read 2: %d\n", retcode); [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/testsuite/sim/cris/c/ |
H A D | ex1.c | 37 int retcode; local 41 retcode = pthread_create (&th_a, NULL, process, (void *) "a"); 42 if (retcode != 0) 43 fprintf (stderr, "create a failed %d\n", retcode); 44 retcode = pthread_create (&th_b, NULL, process, (void *) "b"); 45 if (retcode != 0) 46 fprintf (stderr, "create b failed %d\n", retcode); 47 retcode = pthread_join (th_a, &retval); 48 if (retcode != 0) 49 fprintf (stderr, "join a failed %d\n", retcode); [all...] |
H A D | thread3.c | 28 int retcode; local 32 retcode = pthread_create (&th_a, NULL, process, (void *) "a"); 33 if (retcode != 0) 35 retcode = pthread_create (&th_b, NULL, process, (void *) "b"); 36 if (retcode != 0) 38 retcode = pthread_join (th_a, &retval); 39 if (retcode != 0) 41 retcode = pthread_join (th_b, &retval); 42 if (retcode != 0)
|
H A D | clone1.c | 33 int retcode; local 39 retcode = pipe (pip); 41 if (retcode != 0) 43 fprintf (stderr, "Bad pipe %d\n", retcode); 56 if ((retcode = read (pip[0], buf, 1)) != 1) 58 fprintf (stderr, "Bad read 1: %d\n", retcode); 62 retcode = read (pip[0], buf, 2); 63 if (retcode == 1) 65 retcode = read (pip[0], buf+1, 1); 66 if (retcode ! [all...] |
H A D | clone5.c | 27 int retcode; local 30 retcode = clone (process, (char *) stack + sizeof (stack) - 64, 0, "cba"); 31 if (retcode == -1 && errno == ENOSYS)
|
H A D | rtsigprocmask1.c | 29 int retcode; local 37 retcode = pthread_create (&th_a, NULL, process, NULL); 38 if (retcode != 0) 42 retcode 46 if (retcode == ENOSYS)
|
H A D | thread4.c | 35 int retcode; local 39 retcode = pthread_create (&th_a, NULL, process, NULL); 44 retcode = pthread_cancel (th_a); 45 retcode = pthread_join (th_a, &retval); 46 if (retcode != 0)
|
H A D | pipe6.c | 48 int retcode; local 54 retcode = pipe (pip); 56 if (retcode != 0) 58 fprintf (stderr, "Bad pipe %d\n", retcode); 83 while ((retcode = read (pip[0], buf, 1)) == 0) 86 if (retcode != 1) 88 fprintf (stderr, "Bad read 1: %d\n", retcode); 100 retcode = waitpid (pid, &st, __WALL); 102 if (retcode != pid || !WIFEXITED (st)) 104 fprintf (stderr, "Bad wait %d:%d %x\n", pid, retcode, s [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/testsuite/sim/cris/c/ |
H A D | ex1.c | 37 int retcode; local 41 retcode = pthread_create (&th_a, NULL, process, (void *) "a"); 42 if (retcode != 0) 43 fprintf (stderr, "create a failed %d\n", retcode); 44 retcode = pthread_create (&th_b, NULL, process, (void *) "b"); 45 if (retcode != 0) 46 fprintf (stderr, "create b failed %d\n", retcode); 47 retcode = pthread_join (th_a, &retval); 48 if (retcode != 0) 49 fprintf (stderr, "join a failed %d\n", retcode); [all...] |
H A D | thread3.c | 28 int retcode; local 32 retcode = pthread_create (&th_a, NULL, process, (void *) "a"); 33 if (retcode != 0) 35 retcode = pthread_create (&th_b, NULL, process, (void *) "b"); 36 if (retcode != 0) 38 retcode = pthread_join (th_a, &retval); 39 if (retcode != 0) 41 retcode = pthread_join (th_b, &retval); 42 if (retcode != 0)
|
H A D | clone1.c | 33 int retcode; local 39 retcode = pipe (pip); 41 if (retcode != 0) 43 fprintf (stderr, "Bad pipe %d\n", retcode); 56 if ((retcode = read (pip[0], buf, 1)) != 1) 58 fprintf (stderr, "Bad read 1: %d\n", retcode); 62 retcode = read (pip[0], buf, 2); 63 if (retcode == 1) 65 retcode = read (pip[0], buf+1, 1); 66 if (retcode ! [all...] |
H A D | clone5.c | 27 int retcode; local 30 retcode = clone (process, (char *) stack + sizeof (stack) - 64, 0, "cba"); 31 if (retcode == -1 && errno == ENOSYS)
|
H A D | rtsigprocmask1.c | 29 int retcode; local 37 retcode = pthread_create (&th_a, NULL, process, NULL); 38 if (retcode != 0) 42 retcode 46 if (retcode == ENOSYS)
|
H A D | thread4.c | 35 int retcode; local 39 retcode = pthread_create (&th_a, NULL, process, NULL); 44 retcode = pthread_cancel (th_a); 45 retcode = pthread_join (th_a, &retval); 46 if (retcode != 0)
|
H A D | pipe6.c | 48 int retcode; local 54 retcode = pipe (pip); 56 if (retcode != 0) 58 fprintf (stderr, "Bad pipe %d\n", retcode); 83 while ((retcode = read (pip[0], buf, 1)) == 0) 86 if (retcode != 1) 88 fprintf (stderr, "Bad read 1: %d\n", retcode); 100 retcode = waitpid (pid, &st, __WALL); 102 if (retcode != pid || !WIFEXITED (st)) 104 fprintf (stderr, "Bad wait %d:%d %x\n", pid, retcode, s [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/usb-modeswitch-2.2.3/jim/ |
H A D | jimsh.c | 50 int retcode; local 70 retcode = Jim_initjimshInit(interp); 73 if (retcode == JIM_ERR) { 77 if (retcode != JIM_EXIT) { 79 retcode = Jim_InteractivePrompt(interp); 85 retcode = Jim_Eval(interp, argv[2]); 86 if (retcode != JIM_ERR) { 93 retcode = Jim_EvalFile(interp, argv[1]); 95 if (retcode == JIM_ERR) { 100 if (retcode [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/usb-modeswitch-2.2.3/jim/ |
H A D | jimsh.c | 50 int retcode; local 70 retcode = Jim_initjimshInit(interp); 73 if (retcode == JIM_ERR) { 77 if (retcode != JIM_EXIT) { 79 retcode = Jim_InteractivePrompt(interp); 85 retcode = Jim_Eval(interp, argv[2]); 86 if (retcode != JIM_ERR) { 93 retcode = Jim_EvalFile(interp, argv[1]); 95 if (retcode == JIM_ERR) { 100 if (retcode [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/usb-modeswitch-2.2.3/jim/ |
H A D | jimsh.c | 50 int retcode; local 70 retcode = Jim_initjimshInit(interp); 73 if (retcode == JIM_ERR) { 77 if (retcode != JIM_EXIT) { 79 retcode = Jim_InteractivePrompt(interp); 85 retcode = Jim_Eval(interp, argv[2]); 86 if (retcode != JIM_ERR) { 93 retcode = Jim_EvalFile(interp, argv[1]); 95 if (retcode == JIM_ERR) { 100 if (retcode [all...] |