Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Dgetrequest.c80 path = Strdup(file);
144 reqp->destination = Strdup(p);
153 reqp->form = Strdup(p);
173 reqp->alert = Strdup(p);
177 reqp->options = Strdup(p);
185 reqp->pages = Strdup(p);
190 reqp->charset = Strdup(p);
194 reqp->title = Strdup(p);
198 reqp->modes = Strdup(p);
202 reqp->input_type = Strdup(p);
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dpickfilter.c119 cp = Strdup(prs->request->modes); in pickfilter()
306 pc->printer_type = Strdup(prs->request->input_type); in pickfilter()
324 pc->printer_type = Strdup(*(pc->printer_types)); in pickfilter()
360 pc->printer_type = Strdup(*pl); in pickfilter()
390 pc->printer_type = Strdup(*(pc->printer_types)); in pickfilter()
477 pc->output_type = Strdup (output_type); in pickfilter()
483 if (prs->cpi) prs->cpi = Strdup(prs->cpi); in pickfilter()
484 if (prs->lpi) prs->lpi = Strdup(prs->lpi); in pickfilter()
485 if (prs->plen) prs->plen = Strdup(prs->plen); in pickfilter()
486 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.c124 rp->req_file = Strdup(req_file); in s_print_request()
133 rp->secure->slabel = Strdup(md->slabel); in s_print_request()
138 rp->secure->user = Strdup(pw->pw_name); in s_print_request()
140 rp->secure->user = Strdup(BIGGEST_NUMBER_S); in s_print_request()
227 Strdup(*rp->request->file_list); in s_print_request()
695 return (Strdup(crp->secure->req_id)); in _cancel()
709 creq_id = Strdup(crp->secure->req_id); in _cancel()
902 rp->request->destination = Strdup(dest); in mv_file()
1125 path = Strdup(cp); in reqpath()
1138 *idnumber = Strdup(cp); in reqpath()
[all …]
H A Dvalidate.c187 o_cpi = Strdup(*pl + 4); in _validate()
189 o_lpi = Strdup(*pl + 4); in _validate()
191 o_width = Strdup(*pl + 6); in _validate()
193 o_length = Strdup(*pl + 7); in _validate()
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Drdform.c85 formp->name = Strdup(name); in rdform()
95 formp->chset = Strdup(DCHSET); in rdform()
97 formp->rcolor = Strdup(DRCOLOR); in rdform()
98 formp->conttype = Strdup(DCONTYP); in rdform()
221 formp->chset = Strdup(p); in rdform()
227 formp->rcolor = Strdup(p); in rdform()
309 formp->conttype = Strdup(p); in rdform()
339 formp->paper = Strdup(p); in rdform()
/illumos-gate/usr/src/cmd/lp/lib/secure/
H A Dsecure.c58 path = Strdup(file); in getsecure()
83 secp->req_id = Strdup(buf); in getsecure()
91 secp->user = Strdup(buf); in getsecure()
107 secp->slabel = Strdup(buf); in getsecure()
154 path = Strdup(file); in putsecure()
/illumos-gate/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.c115 if (!(char_set_nm = Strdup(char_set_nm))) {
123 if ((p = tparm(select_char_set, cs)) && *p && (p = Strdup(p))) {
H A Dduplist.c64 if (!(dst[n] = Strdup(src[n]))) {
H A Dgetname.c85 logname = Strdup(l); in getname()
H A Dtidbit.c226 last_term = Strdup(term);
291 if (!(pt->term = Strdup(term))) {
H A Dnext.c83 if (!(ret = Strdup(direntp->d_name)))
/illumos-gate/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.c104 if ((ret.name = Strdup(str)))
143 ret.keyword = Strdup(str);
296 return (Strdup(t.name));
H A Dloadfilters.c110 pf->name = Strdup(filt[FL_NAME]); in loadfilters()
112 pf->command = Strdup(filt[FL_CMD]); in loadfilters()
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dgetprinter.c139 prp->name = Strdup(name); in getprinter()
263 *pp = Strdup(p); in getprinter()
399 prp->printer_type = Strdup(*prp->printer_types); in getprinter()
H A Dputprinter.c214 stty = (prbufp->stty? Strdup(prbufp->stty) : 0); in putprinter()
216 speed = Strdup(prbufp->speed); in putprinter()
251 speed = Strdup(p); in putprinter()
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmcreate.c65 md->file = Strdup(path);
/illumos-gate/usr/src/cmd/lp/lib/class/
H A Dgetclass.c89 if (!(clsp->name = Strdup(name))) { in getclass()
/illumos-gate/usr/src/cmd/lp/lib/access/
H A Dloadaccess.c167 list[nlist] = Strdup(buf); /* if fail, minor problem */ in _loadaccess()

12