/titanic_41/usr/src/lib/libc/port/rt/ |
H A D | pos4obj.c | 131 char *dfile; in __pos4obj_name() local 176 if ((dfile = malloc(len)) == NULL) in __pos4obj_name() 179 (void) memset(dfile, 0, len); in __pos4obj_name() 180 (void) strcpy(dfile, objroot); in __pos4obj_name() 183 (void) strcat(dfile, type); in __pos4obj_name() 184 (void) strcat(dfile, path + 1); in __pos4obj_name() 185 return (dfile); in __pos4obj_name() 195 free(dfile); in __pos4obj_name() 201 (void) strcat(dfile, "."); in __pos4obj_name() 202 (void) strcat(dfile, (const char *)hashbuf); in __pos4obj_name() [all …]
|
/titanic_41/usr/src/uts/common/io/usb/ |
H A D | usbdevs2h.awk | 198 function dump_dfile(dfile) 200 printf("\n") > dfile 201 printf("const struct usb_knowndev usb_knowndevs[] = {\n") > dfile 203 printf("\t{\n") > dfile 205 products[i, 1], products[i, 1], products[i, 2]) > dfile 206 printf("\t ") > dfile 207 printf("0") > dfile 208 printf(",\n") > dfile 211 printf("\t \"") > dfile 216 printf(" ") > dfile [all …]
|
/titanic_41/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.c | 94 FILE *dfile; /* debug file */ variable 110 DPRINT((dfile, "Transmission queue max length set to %ld\n", in set_transq_count_max() 115 DPRINT((dfile, "Setting the transmission queue max length failed\n")); in set_transq_count_max() 133 DPRINT((dfile, "unable to get default port number\n")); in get_port_default() 136 DPRINT((dfile, "low on buffer\n")); in get_port_default() 142 DPRINT((dfile, "default port: %d\n", *port_default)); in get_port_default() 224 DPRINT((dfile, "parsing %s\n", hosts_str)); in parsehosts() 234 DPRINT((dfile, "parsing host:port:mech %s\n", hostportmech)); in parsehosts() 277 DPRINT((dfile, "resolving address for %s\n", hostname)); in parsehosts() 294 DPRINT((dfile, "hostentry: h_name=%s, addr_len=%d, addr=%s\n", in parsehosts() [all …]
|
H A D | transport.c | 187 DPRINT((dfile, "Protocol version proposal (size=%d): %.*s\n", in prot_ver_negotiate() 191 DPRINT((dfile, "Sending protocol version token failed\n")); in prot_ver_negotiate() 196 DPRINT((dfile, "Receiving protocol version token failed\n")); in prot_ver_negotiate() 207 DPRINT((dfile, "Verification of the protocol version strings " in prot_ver_negotiate() 224 DPRINT((dfile, "Memory allocation failed: %s\n", in prot_ver_negotiate() 232 DPRINT((dfile, "Concatenated version strings: %s\n", ver_str_concat)); in prot_ver_negotiate() 234 DPRINT((dfile, "Protocol version agreed.\n")); in prot_ver_negotiate() 253 DPRINT((dfile, "Creating socket for %s\n", host->h_name)); in sock_prepare() 280 DPRINT((dfile, "Socket created, fd=%d, connecting..\n", sock)); in sock_prepare() 288 DPRINT((dfile, "Connected to %s via fd=%d\n", host->h_name, in sock_prepare() [all …]
|
H A D | audit_remote.h | 124 #define DPRINT(x) { (void) fprintf x; (void) fflush(dfile); } 130 extern FILE *dfile;
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | uux.c | 87 char dfile[NAMESIZE]; /* used for all data files from here */ local 454 gename(DATAPRE, Myname, 'B', dfile); 456 ASSERT(access(dfile, 0) != 0, Fl_EXISTS, dfile, errno); 457 fpd = fdopen(ret = creat(dfile, DFILEMODE), "w"); 458 ASSERT(ret >= 0 && fpd != NULL, Ct_OPEN, dfile, errno); 466 dfile, errno); 468 ASSERT(fflush(fpd) != EOF && ferror(fpd) == 0, Ct_WRITE, dfile, errno); 476 GENSEND(fpc, dfile, dfile, dfile); 482 (void) fprintf(fprx, "%c %s\n", X_RQDFILE, dfile); 483 (void) fprintf(fprx, "%c %s\n", X_STDIN, dfile); [all …]
|
H A D | uucp.c | 488 char dfile[NAMESIZE]; local 586 gename(DATAPRE, s2, Grade, dfile); 596 0777, Nuser, dfile); 638 gename(DATAPRE, s2, Grade, dfile); 642 if (uidxcp(file1, dfile)) 645 (void) chmod(dfile, DFILEMODE); 650 file1, file2, User, Optns, dfile,
|
H A D | uuxqt.c | 833 char dfile[MAXFULLNAME], cfile[MAXFULLNAME], incmd[BUFSIZ]; local 1034 (void) strcpy(dfile, "/dev/null"); 1037 (void) snprintf(dfile, sizeof (dfile), "%s/%s", WORKSPACE, 1136 ret = shio(_Cmd, fin, dfile, errDfile); 1190 if ((xmv(dfile, fout)) != 0) { 1196 if (putinpub(fout, dfile, origuser) == 0) 1216 bname = BASENAME(dfile, '/'); 1223 wfcommit(dfile, BASENAME(dfile, '/'), sendsys);
|
H A D | cntrl.c | 202 Pname(fileid, dfile, direct) in Pname() argument 204 char *dfile; 220 if (p = strrchr(dfile, '/')) { /* find the last slash */ 225 DEBUG(7, "Point file (direct) =%s\n", dfile); 229 strcpy(dfile, RemSpool); 230 strcat(dfile, "/"); 231 p = dfile + strlen(Dfile); 232 strcat(dfile, fileid); 234 DEBUG(7, "Point file=%s\n", dfile);
|
/titanic_41/usr/src/cmd/look/ |
H A D | look.c | 21 FILE *dfile; variable 74 dfile = fopen(filenam,"r"); in main() 75 if(dfile==NULL) { in main() 87 fseek(dfile,0L,2); in main() 88 top = ftell(dfile); in main() 91 fseek(dfile,mid,0); in main() 93 c = getc(dfile); in main() 114 fseek(dfile,bot,0); in main() 115 while(ftell(dfile)<top) { in main() 164 c = getc(dfile); in getword() [all …]
|
/titanic_41/usr/src/cmd/mail/ |
H A D | legal.c | 54 char dfile[MAXFILENAME]; local 67 strcpy(dfile, "."); 69 strcpy(dfile, "/"); 73 strncpy(dfile, file, sp - file); 74 dfile[sp - file] = '\0'; 76 if (access(dfile, A_WRITE) == CERROR)
|
/titanic_41/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 138 char *dfile; in main() local 151 dfile = NULL; in main() 188 dfile = optarg; in main() 258 if (eflag && ((dfile == NULL) || qflag)) { in main() 291 if (!dfile && !vname) in main() 297 if (dfile) { in main() 298 if (strcmp(dfile, "-") == 0) { in main() 305 if ((fp = fopen(dfile, "r")) == NULL) { in main() 307 dfile); in main()
|
/titanic_41/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 543 char *dfile = NULL, *plugin_path = NULL; in main() local 586 dfile = optarg; in main() 597 if (dfile != NULL) { in main() 598 if (strcmp(dfile, "-") == 0) { in main() 605 dfp = fopen(dfile, "a"); in main() 608 dfile, strerror(errno)); in main()
|
/titanic_41/usr/src/ucbcmd/ls/ |
H A D | ls.c | 584 static char dfile[BUFSIZ]; in cat() local 591 (void) strcpy(dfile, file); in cat() 592 return (dfile); in cat() 594 (void) strcpy(dfile, dir); in cat() 596 (void) strcat(dfile, "/"); in cat() 597 (void) strcat(dfile, file); in cat() 598 return (dfile); in cat()
|
/titanic_41/usr/src/cmd/file/ |
H A D | file.c | 104 static char *dfile; variable 241 add_to_mlist(dfile, 0); in main() 303 if (f_mkmtab(dfile, cflg, 0) == -1) { in main() 324 if (f_mkmtab(dfile, cflg, 0) == -1) { in main() 1716 if ((dfile = malloc(strlen(msg_locale) + 35)) == NULL) { in default_magic() 1722 (void) snprintf(dfile, strlen(msg_locale) + 35, in default_magic() 1724 if (stat(dfile, &statbuf) != 0) { in default_magic() 1725 (void) strcpy(dfile, "/etc/magic"); in default_magic()
|
/titanic_41/usr/src/cmd/sgs/liblddbg/common/ |
H A D | bindings.c | 202 Dbg_bind_pltpad_to(Rt_map *lmp, Addr pltpad, const char *dfile, in Dbg_bind_pltpad_to() argument 211 NAME(lmp), dfile, sname); in Dbg_bind_pltpad_to()
|
H A D | relocate.c | 442 const char *dfile, const char *symname) in Dbg64_pltpad_to() argument 450 dfile, symname); in Dbg64_pltpad_to()
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.glob.c | 924 static char dfile[MAXNAMLEN]; in makename() local 928 dp = dfile; in makename() 932 if (dp > dfile && *(dp - 1) != '/') in makename() 942 return (rindex(dfile, '/') + 1); in makename()
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | collect.c | 748 char *dfile; local 752 dfile = queuename(e, DATAFL_LETTER); 753 if (stat(dfile, &st) < 0) 757 dfile, (long) st.st_size);
|
/titanic_41/usr/src/cmd/avs/sdbc/ |
H A D | sd_diag.c | 79 FILE *dfile; in read_parts() local 83 dfile = fopen(config_file, "r"); in read_parts() 84 if (dfile == NULL) { in read_parts() 90 if (fscanf(dfile, "%s %x", name[i], (uint_t *)&pattern[i]) == in read_parts() 100 (void) fclose(dfile); in read_parts()
|
/titanic_41/usr/src/cmd/units/ |
H A D | units.c | 23 char *dfile = "/usr/share/lib/unittab"; variable 108 file = dfile; in main()
|
/titanic_41/usr/src/cmd/lms/ |
H A D | Protocol.cpp | 1771 std::ofstream dfile(inFileName, std::ios_base::out | std::ios_base::trunc); local 1772 if (!dfile.is_open()) { 1777 dfile << sfile.rdbuf(); 1778 if (dfile.bad()) { 1780 dfile.close(); 1789 dfile.close();
|
/titanic_41/usr/src/cmd/ls/ |
H A D | ls.c | 2158 static char dfile[PATH_MAX + 1 + MAXNAMLEN + 1]; in makename() local 2161 dp = dfile; in makename() 2165 if (dp > dfile && *(dp - 1) != '/') in makename() 2171 return (dfile); in makename()
|
/titanic_41/usr/src/uts/common/io/scsi/targets/ |
H A D | st.c | 15634 int dfile = un->un_pos.fileno; /* save current file */ in st_space_records() local 15642 st_cmd(un, SCMD_SPACE, Fmk(dfile), SYNC_CMD))) { in st_space_records() 15658 st_cmd(un, SCMD_SPACE, Fmk(dfile), SYNC_CMD) || in st_space_records()
|