Lines Matching defs:n_matches
679 unsigned n_matches, len, mlen, buflen;
742 n_matches = buflen = 0;
853 * (n_matches + 1));
856 matches[n_matches] = XtMalloc(d_namlen + 2);
857 strcpy(matches[n_matches], ent->d_name);
858 strcat(matches[n_matches], "/");
862 matches[n_matches] = XtNewString(ent->d_name);
864 else if (mlen == 0 && n_matches >= 1) {
865 ++n_matches;
868 ++n_matches;
875 if (first || n_matches) {
876 Bool free_matches = True, add_slash = n_matches == 1 && isdir && !slash;
905 else if (n_matches != 1 || isdir) {
911 if (show_matches == SM_ALWAYS || (!changed && n_matches != 1)) {
921 * (n_matches + 2));
922 matches[n_matches++] = XtNewString("./");
923 matches[n_matches++] = XtNewString("../");
924 qsort(matches, n_matches, sizeof(char*), compar);
926 XtSetArg(args[1], XtNnumberStrings, n_matches);
943 while (--n_matches > -1)
944 XtFree(matches[n_matches]);