Lines Matching refs:result
275 int result = 0;
286 result = -1;
327 result = -1;
340 if (result == 0)
368 result = -1;
380 return result;
388 int result = 0;
429 result = -1;
455 if (result == 0
464 && (result = add_object (data, &st)) == 0))
465 result = ftw_dir (data, &st, dir);
468 result = (*data->func) (data->dirbuf, &st, data->cvt_arr[flag],
472 if ((data->flags & FTW_ACTIONRETVAL) && result == FTW_SKIP_SUBTREE)
473 result = 0;
475 return result;
485 int result;
490 result = open_dir_stream (old_dir == NULL ? NULL : &old_dir->streamfd,
492 if (result != 0)
496 result = (*data->func) (data->dirbuf, st, FTW_DNR, &data->ftw);
498 return result;
504 result = (*data->func) (data->dirbuf, st, FTW_D, &data->ftw);
505 if (result != 0)
517 return result;
526 result = -1;
542 result = process_entry (data, &dir, d->d_name, NAMLEN (d));
543 if (result != 0)
568 while (result == 0 && *runp != '\0')
573 result = process_entry (data, &dir, runp, endp - runp);
583 if ((data->flags & FTW_ACTIONRETVAL) && result == FTW_SKIP_SIBLINGS)
584 result = 0;
594 if (result == 0 && (data->flags & FTW_DEPTH))
595 result = (*data->func) (data->dirbuf, st, FTW_DP, &data->ftw);
599 && (result == 0
601 && (result != -1 && result != FTW_STOP))))
614 result = -1;
618 result = -1;
622 return result;
635 int result = 0;
680 and get the correct result since the stack layout for a function
720 result = __chdir ("/");
725 result = __chdir (data.dirbuf);
732 if (result == 0)
753 result = (*data.func) (data.dirbuf, &st, data.cvt_arr[FTW_SLN],
758 result = -1;
770 result = add_object (&data, &st);
772 if (result == 0)
773 result = ftw_dir (&data, &st, NULL);
779 result = (*data.func) (data.dirbuf, &st, data.cvt_arr[flag],
785 && (result == FTW_SKIP_SUBTREE || result == FTW_SKIP_SIBLINGS))
786 result = 0;
812 return result;