Searched refs:retcode (Results 1 - 25 of 253) sorted by relevance

1234567891011

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/testsuite/sim/cris/c/
H A Dex1.c37 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 Dthread3.c28 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 Dclone1.c33 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 Dclone5.c27 int retcode; local
30 retcode = clone (process, (char *) stack + sizeof (stack) - 64, 0, "cba");
31 if (retcode == -1 && errno == ENOSYS)
H A Drtsigprocmask1.c29 int retcode; local
37 retcode = pthread_create (&th_a, NULL, process, NULL);
38 if (retcode != 0)
42 retcode
46 if (retcode == ENOSYS)
H A Dthread4.c35 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 Dpipe6.c48 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 Dpipe2.c62 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 Dex1.c37 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 Dthread3.c28 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 Dclone1.c33 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 Dclone5.c27 int retcode; local
30 retcode = clone (process, (char *) stack + sizeof (stack) - 64, 0, "cba");
31 if (retcode == -1 && errno == ENOSYS)
H A Drtsigprocmask1.c29 int retcode; local
37 retcode = pthread_create (&th_a, NULL, process, NULL);
38 if (retcode != 0)
42 retcode
46 if (retcode == ENOSYS)
H A Dthread4.c35 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 Dpipe6.c48 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 Dex1.c37 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 Dthread3.c28 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 Dclone1.c33 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 Dclone5.c27 int retcode; local
30 retcode = clone (process, (char *) stack + sizeof (stack) - 64, 0, "cba");
31 if (retcode == -1 && errno == ENOSYS)
H A Drtsigprocmask1.c29 int retcode; local
37 retcode = pthread_create (&th_a, NULL, process, NULL);
38 if (retcode != 0)
42 retcode
46 if (retcode == ENOSYS)
H A Dthread4.c35 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 Dpipe6.c48 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 Djimsh.c50 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 Djimsh.c50 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 Djimsh.c50 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...]

Completed in 120 milliseconds

1234567891011