Lines Matching refs:my_err
13 int i, my_err;
50 my_err = stat( the_pathp, &my_sb );
51 if ( my_err != 0 ) {
82 int create_test_file, my_err, my_result;
98 my_err = stat( my_pathp, &my_sb );
99 if ( my_err != 0 ) {
110 my_err = rmdir( my_pathp );
111 if ( my_err == -1 ) {
121 my_err = unlink( my_pathp );
122 if ( my_err == -1 ) {
168 int my_err = 0, my_status;
188 my_err = execve(path, argv, envp);
189 if ( my_err != 0 ) { /* TODO: execve() on x86_64 inca returns weird error codes, see rdar://4655612 */
191 my_err, errno, strerror( errno), path );
204 my_err = kill( my_pid, SIGKILL );
205 if ( my_err == -1 ) {
228 my_err = 0;
232 my_err = 1;
235 return( my_err );
244 int my_err, my_pid, my_status;
250 my_err = posix_spawnattr_init(&attr);
251 if (my_err != 0) {
257 my_err = posix_spawnattr_setbinpref_np(&attr, 1, &arch, &my_size);
258 if (my_err != 0 || my_size != 1) {
264 my_err = posix_spawn(&my_pid, args[0], NULL, &attr, args, NULL);
266 if( my_err == 0) {
270 my_err = 0;
273 if (my_err != 0) {
278 my_err = wait4(my_pid, &my_status, 0, NULL);
279 if (my_err == -1) {
283 my_err = 0;
289 my_err = -1;
295 return my_err;
307 int my_err, buf;
311 if (my_err = sysctlbyname("hw.cputype", NULL, &length, NULL, 0)) goto finished; /* get length of data */
313 if (my_err = sysctlbyname("hw.cputype", &buf, &length, NULL, 0)) goto finished; /* copy data */
344 int my_err, buf;
353 if ((my_err = sysctlbyname("hw.optional.64bitops", NULL, &len, NULL, 0))) goto x86_64check; /* Request size */
355 if ((my_err = sysctlbyname("hw.optional.64bitops", &buf, &len, NULL, 0))) goto x86_64check; /* Copy value out from kernel */
361 if ((my_err = sysctlbyname("hw.optional.x86_64", NULL, &len, NULL, 0))) goto finished; /* Request size */
363 if ((my_err = sysctlbyname("hw.optional.x86_64", &buf, &len, NULL, 0))) goto finished; /* Copy value out from kernel */