Searched refs:ctl (Results 1 - 25 of 58) sorted by relevance

123

/haiku-fatelf/src/bin/findutils/lib/
H A Dbuildcmd.c112 bc_do_insert (const struct buildcmd_control *ctl, argument
123 size_t bytes_left = ctl->arg_max - 1; /* Bytes left on the command line. */
126 /* XXX: on systems lacking an upper limit for exec args, ctl->arg_max
132 insertbuf = (char *) xmalloc (ctl->arg_max + 1);
138 char *s = mbstrstr (arg, ctl->replace_pat);
173 arg += ctl->rplen;
174 arglen -= ctl->rplen;
182 bc_push_arg (ctl, state,
189 void do_exec(const struct buildcmd_control *ctl, argument
192 (ctl
204 bc_argc_limit_reached(int initial_args, const struct buildcmd_control *ctl, struct buildcmd_state *state) argument
227 bc_push_arg(const struct buildcmd_control *ctl, struct buildcmd_state *state, const char *arg, size_t len, const char *prefix, size_t pfxlen, int initial_args) argument
396 cb_exec_noop(const struct buildcmd_control *ctl, struct buildcmd_state *state) argument
422 bc_init_controlinfo(struct buildcmd_control *ctl) argument
465 bc_use_sensible_arg_max(struct buildcmd_control *ctl) argument
483 bc_init_state(const struct buildcmd_control *ctl, struct buildcmd_state *state, void *context) argument
506 bc_clear_args(const struct buildcmd_control *ctl, struct buildcmd_state *state) argument
[all...]
H A Dbuildcmd.h106 extern void bc_do_insert (const struct buildcmd_control *ctl,
113 extern void bc_push_arg (const struct buildcmd_control *ctl,
119 extern void bc_init_state(const struct buildcmd_control *ctl,
122 extern enum BC_INIT_STATUS bc_init_controlinfo(struct buildcmd_control *ctl);
124 extern void bc_use_sensible_arg_max(struct buildcmd_control *ctl);
125 extern void bc_clear_args(const struct buildcmd_control *ctl,
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/
H A D4-1.c86 pid_t child, ctl; local
92 ctl = getpid();
102 if (ctl != getppid())
112 ctl = waitpid(child, &status, 0);
113 if (ctl != child) { UNRESOLVED(errno, "Waitpid returned the wrong PID"); }
H A D21-1.c115 pid_t child, ctl; local
121 ctl = getpid();
135 ret = pthread_create( &th, NULL, threaded, &ctl );
174 ctl = waitpid( child, &status, 0 );
176 if ( ctl != child )
H A D9-1.c89 pid_t child, ctl; local
129 ctl = waitpid( child, &status, 0 );
131 if ( ctl != child )
H A D11-1.c109 pid_t child, ctl; local
154 ctl = waitpid( child, &status, 0 );
156 if ( ctl != child )
H A D17-1.c91 pid_t child, ctl; local
155 ctl = waitpid( child, &status, 0 );
157 if ( ctl != child )
H A D17-2.c91 pid_t child, ctl; local
155 ctl = waitpid( child, &status, 0 );
157 if ( ctl != child )
H A D3-1.c88 pid_t child, ctl; local
105 ctl = waitpid(child, &status, 0);
106 if (ctl != child) { UNRESOLVED(errno, "Waitpid returned the wrong PID"); }
H A D6-1.c112 pid_t child, ctl; local
170 ctl = waitpid( child, &status, 0 );
172 if ( ctl != child )
H A D7-1.c128 pid_t child, ctl; local
186 ctl = waitpid( child, &status, 0 );
188 if ( ctl != child )
H A D1-1.c94 pid_t child, ctl; local
150 ctl = waitpid(child, &status, 0);
151 if (ctl != child) { UNRESOLVED(errno, "Waitpid returned the wrong PID"); }
H A D13-1.c93 pid_t child, ctl; local
185 ctl = waitpid( child, &status, 0 );
187 if ( ctl != child )
H A D14-1.c89 pid_t child, ctl; local
156 ctl = waitpid( child, &status, 0 );
158 if ( ctl != child )
H A D16-1.c95 pid_t child, ctl; local
182 ctl = waitpid( child, &status, 0 );
184 if ( ctl != child )
H A D18-1.c104 pid_t child, ctl; local
173 ctl = waitpid( child, &status, 0 );
175 if ( ctl != child )
H A D19-1.c92 pid_t child, ctl; local
180 ctl = waitpid( child, &status, 0 );
182 if ( ctl != child )
H A D22-1.c87 pid_t child, ctl; local
216 ctl = waitpid( child, &status, 0 );
218 if ( ctl != child )
H A D8-1.c91 pid_t child, ctl; local
182 ctl = waitpid( child, &status, 0 );
184 if ( ctl != child )
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap-enet.c154 struct eniocb ctl; local
174 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) {
182 ctl.en_rtout = 1 * ctl.en_hz;
183 ctl.en_tr_etherhead = 1;
184 ctl.en_tap_network = 1;
185 ctl.en_multi_packet = 1;
186 ctl.en_maxlen = BUFSPACE;
188 ctl.en_rtout = 64; /* randomly picked value for HZ */
190 if (ioctl(if_fd, EIOCSETP, &ctl)
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sem_unlink/
H A D2-2.c140 pid_t p1, p2, p3, ctl; local
237 ctl = waitpid( p1, &status, 0 );
239 if ( ctl != p1 )
249 ctl = waitpid( p2, &status, 0 );
251 if ( ctl != p2 )
261 ctl = waitpid( p3, &status, 0 );
263 if ( ctl != p3 )
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_exit/
H A D5-1.c148 int ctl=0; local
172 ctl=0;
174 ret = pthread_create(&child, &scenarii[i].ta, threaded, &ctl);
206 if (ctl != 3) { FAILED("The TLD destructors were not called"); }
H A D6-1.c109 int * ctl; variable
114 *ctl = 1;
126 *ctl = 0;
178 if (*ctl != 1)
241 ctl = (int *) mmaped;
256 ret = pthread_create(&child, &scenarii[sc].ta, threaded, &ctl);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/
H A D1-2.c120 pid_t child, ctl; local
173 ctl = waitpid( child, &status, 0 );
175 if ( ctl != child )
H A D3-2.c107 pid_t child, ctl; local
160 ctl = waitpid( child, &status, 0 );
162 if ( ctl != child )

Completed in 134 milliseconds

123