Searched refs:frname (Results 1 – 3 of 3) sorted by relevance
| /openbsd/src/gnu/gcc/gcc/config/ |
| D | darwin-c.c | 270 char *frname; in framework_construct_pathname() local 287 frname = XNEWVEC (char, strlen (fname) + dir->len + 2 in framework_construct_pathname() 289 strncpy (&frname[0], dir->name, dir->len); in framework_construct_pathname() 291 if (frname_len && frname[frname_len-1] != '/') in framework_construct_pathname() 292 frname[frname_len++] = '/'; in framework_construct_pathname() 293 strncpy (&frname[frname_len], fname, fname_len); in framework_construct_pathname() 295 strncpy (&frname[frname_len], ".framework/", strlen (".framework/")); in framework_construct_pathname() 300 frname[frname_len-1] = 0; in framework_construct_pathname() 301 if (stat (frname, &st) == 0) in framework_construct_pathname() 312 free (frname); in framework_construct_pathname() [all …]
|
| /openbsd/src/usr.bin/mg/ |
| D | dired.c | 478 char frname[NFILEN], toname[NFILEN], sname[NFILEN]; in d_copy() local 484 if (d_makename(curwp->w_dotp, frname, sizeof(frname)) != FALSE) { in d_copy() 495 (void)xbasename(sname, frname, NFILEN); in d_copy() 518 if (strcmp(frname, topath) == 0) { in d_copy() 519 ewprintf("Cannot copy to same file: %s", frname); in d_copy() 522 ret = (copy(frname, topath) >= 0) ? TRUE : FALSE; in d_copy() 536 char frname[NFILEN], toname[NFILEN]; in d_rename() local 543 if (d_makename(curwp->w_dotp, frname, sizeof(frname)) != FALSE) { in d_rename() 554 (void)xbasename(sname, frname, NFILEN); in d_rename() 577 if (strcmp(frname, topath) == 0) { in d_rename() [all …]
|
| D | fileio.c | 381 copy(char *frname, char *toname) in copy() argument 389 if ((ifd = open(frname, O_RDONLY)) == -1) in copy()
|