Home
last modified time | relevance | path

Searched refs:Strdup (Results 1 – 25 of 37) sorted by relevance

12

/titanic_50/usr/src/cmd/lp/lib/requests/
H A Dgetrequest.c82 path = Strdup(file);
146 reqp->destination = Strdup(p);
155 reqp->form = Strdup(p);
175 reqp->alert = Strdup(p);
179 reqp->options = Strdup(p);
187 reqp->pages = Strdup(p);
192 reqp->charset = Strdup(p);
196 reqp->title = Strdup(p);
200 reqp->modes = Strdup(p);
204 reqp->input_type = Strdup(p);
[all …]
/titanic_50/usr/src/cmd/lp/cmd/lpsched/
H A Dpickfilter.c120 cp = Strdup(prs->request->modes); in pickfilter()
307 pc->printer_type = Strdup(prs->request->input_type); in pickfilter()
325 pc->printer_type = Strdup(*(pc->printer_types)); in pickfilter()
361 pc->printer_type = Strdup(*pl); in pickfilter()
391 pc->printer_type = Strdup(*(pc->printer_types)); in pickfilter()
478 pc->output_type = Strdup (output_type); in pickfilter()
484 if (prs->cpi) prs->cpi = Strdup(prs->cpi); in pickfilter()
485 if (prs->lpi) prs->lpi = Strdup(prs->lpi); in pickfilter()
486 if (prs->plen) prs->plen = Strdup(prs->plen); in pickfilter()
487 if (prs->pwid) prs->pwid = Strdup(prs->pwid); in pickfilter()
H A Dstatus.c129 name = Strdup(buf); in load_pstatus()
164 dis_reason = Strdup(buf); in load_pstatus()
183 rej_reason = Strdup(buf); in load_pstatus()
191 pwheel_name = Strdup(buf); in load_pstatus()
225 Strdup(CUZ_LOGIN_PRINTER); in load_pstatus()
255 PStatus[i]->dis_reason = Strdup(CUZ_NEW_PRINTER); in load_pstatus()
256 PStatus[i]->rej_reason = Strdup(CUZ_NEW_DEST); in load_pstatus()
257 PStatus[i]->fault_reason = Strdup(CUZ_PRINTING_OK); in load_pstatus()
306 fault_reason = Strdup(buf); in load_fault_status()
379 name = Strdup(buf); in load_cstatus()
[all …]
H A Ddisp1.c123 rp->req_file = Strdup(req_file); in s_print_request()
132 rp->secure->slabel = Strdup(md->slabel); in s_print_request()
137 rp->secure->user = Strdup(pw->pw_name); in s_print_request()
139 rp->secure->user = Strdup(BIGGEST_NUMBER_S); in s_print_request()
226 Strdup(*rp->request->file_list); in s_print_request()
694 return (Strdup(crp->secure->req_id)); in _cancel()
708 creq_id = Strdup(crp->secure->req_id); in _cancel()
901 rp->request->destination = Strdup(dest); in mv_file()
1124 path = Strdup(cp); in reqpath()
1137 *idnumber = Strdup(cp); in reqpath()
[all …]
H A Dvalidate.c186 o_cpi = Strdup(*pl + 4); in _validate()
188 o_lpi = Strdup(*pl + 4); in _validate()
190 o_width = Strdup(*pl + 6); in _validate()
192 o_length = Strdup(*pl + 7); in _validate()
/titanic_50/usr/src/cmd/lp/lib/forms/
H A Drdform.c87 formp->name = Strdup(name); in rdform()
97 formp->chset = Strdup(DCHSET); in rdform()
99 formp->rcolor = Strdup(DRCOLOR); in rdform()
100 formp->conttype = Strdup(DCONTYP); in rdform()
223 formp->chset = Strdup(p); in rdform()
229 formp->rcolor = Strdup(p); in rdform()
311 formp->conttype = Strdup(p); in rdform()
341 formp->paper = Strdup(p); in rdform()
/titanic_50/usr/src/cmd/lp/lib/secure/
H A Dsecure.c60 path = Strdup(file); in getsecure()
85 secp->req_id = Strdup(buf); in getsecure()
93 secp->user = Strdup(buf); in getsecure()
109 secp->slabel = Strdup(buf); in getsecure()
156 path = Strdup(file); in putsecure()
/titanic_50/usr/src/cmd/lp/lib/lp/
H A Dappendlist.c67 (*plist)[n - 1] = Strdup(item);
77 (*plist)[0] = Strdup(item);
H A Daddlist.c74 (*plist)[n - 1] = Strdup(item);
86 (*plist)[0] = Strdup(item);
H A Disterminfo.c146 (void)tsearch (Strdup(type), (A2)&hit_cache, (A3)strcmp);
156 (void)tsearch (Strdup(type), (A2)&miss_cache, (A3)strcmp);
H A Dset_size.c315 && (sp1 = Strdup(p1))
351 && (sp1 = Strdup(p1))
355 && (sp2 = Strdup(p2))
H A Dset_charset.c117 if (!(char_set_nm = Strdup(char_set_nm))) {
125 if ((p = tparm(select_char_set, cs)) && *p && (p = Strdup(p))) {
H A Dduplist.c64 if (!(dst[n] = Strdup(src[n]))) {
H A Dgetname.c87 logname = Strdup(l); in getname()
H A Dnext.c83 if (!(ret = Strdup(direntp->d_name)))
H A Dtidbit.c226 last_term = Strdup(term);
291 if (!(pt->term = Strdup(term))) {
/titanic_50/usr/src/cmd/lp/lib/filters/
H A Dgetfilter.c81 flbuf.name = Strdup(pf->name);
82 flbuf.command = (pf->command? Strdup(pf->command) : 0);
H A Dputfilter.c67 _flbuf.name = Strdup(name);
68 _flbuf.command = (flbufp->command? Strdup(flbufp->command) : 0);
H A Dconv.c106 if ((ret.name = Strdup(str)))
145 ret.keyword = Strdup(str);
298 return (Strdup(t.name));
H A Dloadfilters.c112 pf->name = Strdup(filt[FL_NAME]); in loadfilters()
114 pf->command = Strdup(filt[FL_CMD]); in loadfilters()
/titanic_50/usr/src/cmd/lp/lib/printers/
H A Dgetprinter.c141 prp->name = Strdup(name); in getprinter()
265 *pp = Strdup(p); in getprinter()
401 prp->printer_type = Strdup(*prp->printer_types); in getprinter()
H A Dputprinter.c216 stty = (prbufp->stty? Strdup(prbufp->stty) : 0); in putprinter()
218 speed = Strdup(prbufp->speed); in putprinter()
253 speed = Strdup(p); in putprinter()
/titanic_50/usr/src/cmd/lp/lib/msgs/
H A Dmcreate.c68 md->file = Strdup(path);
/titanic_50/usr/src/cmd/lp/lib/class/
H A Dgetclass.c91 if (!(clsp->name = Strdup(name))) { in getclass()
/titanic_50/usr/src/cmd/lp/lib/access/
H A Dloadaccess.c169 list[nlist] = Strdup(buf); /* if fail, minor problem */ in _loadaccess()

12