Home
last modified time | relevance | path

Searched refs:newstr (Results 1 – 25 of 30) sorted by relevance

12

/mirbsd/src/gnu/usr.bin/binutils/libiberty/
Dconcat.c154 char *newstr; in concat() local
159 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); in concat()
165 vconcat_copy (newstr, first, args); in concat()
168 return newstr; in concat()
191 char *newstr; in reconcat() local
197 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); in reconcat()
204 vconcat_copy (newstr, first, args); in reconcat()
209 return newstr; in reconcat()
/mirbsd/src/libexec/ld.so/
Dutil.c47 char *newstr; in _dl_strdup() local
51 newstr = _dl_malloc(len); in _dl_strdup()
52 _dl_strlcpy(newstr, orig, len); in _dl_strdup()
53 return (newstr); in _dl_strdup()
/mirbsd/src/gnu/usr.sbin/sendmail/sendmail/
Dreadcf.c640 Priorities[NumPriorities].pri_name = newstr(&bp[1]);
972 mn = newstr(macname(class));
1240 m->m_name = newstr(line);
1274 m->m_mailer = newstr(p);
1321 m->m_eol = newstr(p);
1356 m->m_execdir = newstr(p);
1363 m->m_defcharset = newstr(p);
1382 m->m_mtatype = newstr(p);
1496 m->m_rootdir = newstr(p);
1819 argv[i++] = newstr(q);
[all …]
Dmap.c269 map->map_app = newstr(map->map_app);
271 map->map_tapp = newstr(map->map_tapp);
273 map->map_keycolnm = newstr(map->map_keycolnm);
275 map->map_valcolnm = newstr(map->map_valcolnm);
284 map->map_file = newstr(map->map_file);
290 map->map_rebuild = newstr(p);
704 return newstr(buf); in sun_init_domain()
706 return newstr(autodomain); in sun_init_domain()
1158 map->map_file = newstr(p);
1172 map->map_app = newstr(map->map_app);
[all …]
Dmain.c595 SaveArgv[i++] = newstr(*av);
678 FullName = newstr(FullName);
836 BlankEnvelope.e_bodytype = newstr(optarg);
842 conffile = newstr(optarg);
863 from = newstr("<>");
865 from = newstr(denlstring(optarg, true, true));
872 FullName = newstr(optarg);
979 quarantining = newstr(optarg);
1023 queuegroup = newstr(&optarg[1]);
1028 new->queue_match = newstr(&optarg[1]);
[all …]
Ddaemon.c793 RealHostName = newstr(p);
1882 Daemons[NDaemons].d_inputfilterlist = newstr(Daemons[NDaemons].d_inputfilterlist);
1886 Daemons[NDaemons].d_name = newstr(Daemons[NDaemons].d_name);
1892 Daemons[NDaemons].d_name = newstr(num);
1955 ClientSettings[family].d_name = newstr(d.d_name);
1961 ClientSettings[family].d_name = newstr(num);
2864 mci->mci_heloname = newstr(name);
2881 mci->mci_heloname = newstr(HeloName);
3443 RealHostName = newstr(hostnamebyanyaddr(&RealHostAddr));
4217 map->map_app = newstr(map->map_app);
[all …]
Dmilter.c147 response = newstr(default); \
159 response = newstr(default); \
1246 m->mf_name = newstr(line);
1290 m->mf_conn = newstr(p);
1512 p = newstr(val);
3020 addheader(newstr(response), mh_value, H_USER, e,
3106 insheader(idx, newstr(field), mh_value, H_USER, e,
3228 addheader(newstr(field), mh_value, H_USER, e,
4497 response = newstr("");
Dqueue.c2695 w->w_name = newstr(d->d_name);
2720 w->w_name = newstr(d->d_name);
2826 w->w_host = newstr(&p[1]);
6193 qg->qg_qdir = newstr(basedir);
6286 newstr(relpath);
6289 newstr(d->d_name);
6346 qg->qg_qpaths[0].qp_name = newstr(qg->qg_qdir + blen);
6350 qg->qg_qpaths[0].qp_name = newstr(".");
7345 qg->qg_name = newstr(line);
7382 qg->qg_qdir = newstr(p);
[all …]
Dmci.c1003 mci->mci_status = newstr(&buf[1]);
1007 mci->mci_rstatus = newstr(&buf[1]);
Denvelope.c1104 FullName = newstr(FullName);
1138 FullName = newstr(user.mbdb_fullname);
Dsrvrsmtp.c1144 smtp.sm_quarmsg = newstr(e->e_quarmsg);
1759 auth_type = newstr(p);
1972 nullserver = newstr(MsgBuf);
2183 nullserver = newstr(response);
2217 smtp.sm_quarmsg = newstr(e->e_quarmsg);
4746 *user = newstr(auth_identity);
Dconf.c298 DefUser = newstr(pw->pw_name);
346 PidFile = newstr(_PATH_SENDMAILPID);
363 AuthMechanisms = newstr(AUTH_MECHANISMS);
1017 p = newstr(p);
2462 environ[i] = newstr(envp[i]);
Ddomain.c118 fbhosts[i] = newstr(fbhosts[i]);
Dalias.c920 ForwardPath = newstr("\201z/.forward");
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dmonitor.c70 static void monitor_printable_string (char *newstr, char *oldstr, int len);
178 monitor_printable_string (char *newstr, char *oldstr, int len) in monitor_printable_string() argument
193 *newstr++ = ch; in monitor_printable_string()
197 sprintf (newstr, "\\x%02x", ch & 0xff); in monitor_printable_string()
198 newstr += 4; in monitor_printable_string()
203 *newstr++ = '\\'; in monitor_printable_string()
204 *newstr++ = '\\'; in monitor_printable_string()
207 *newstr++ = '\\'; in monitor_printable_string()
208 *newstr++ = 'b'; in monitor_printable_string()
211 *newstr++ = '\\'; in monitor_printable_string()
[all …]
/mirbsd/src/gnu/usr.sbin/sendmail/rmail/
Drmail.c72 #define newstr(s) strcpy(xalloc(strlen(s) + 1), s) macro
215 from_sys = newstr(p);
255 from_user = newstr(addrp);
290 args[i++] = newstr(buf);
295 args[i++] = newstr(buf);
/mirbsd/src/usr.sbin/inetd/
Dinetd.c1156 char *newstr(char *);
1164 defhost = newstr("*"); in setconfig()
1223 sep->se_hostaddr = newstr(arg + 1); in getconfigent()
1225 sep->se_hostaddr = newstr("*"); in getconfigent()
1227 sep->se_hostaddr = newstr(arg); in getconfigent()
1237 defhost = newstr(sep->se_hostaddr); in getconfigent()
1242 sep->se_hostaddr = newstr(defhost); in getconfigent()
1244 sep->se_service = newstr(arg); in getconfigent()
1264 sep->se_proto = newstr(arg); in getconfigent()
1337 sep->se_user = newstr(arg); in getconfigent()
[all …]
/mirbsd/src/usr.bin/patch/
Dbackupfile.c154 char *newstr; in concat() local
156 if (asprintf(&newstr, "%s%s", str1, str2) == -1) in concat()
158 return newstr; in concat()
/mirbsd/src/gnu/usr.bin/binutils/bfd/
Dvms-misc.c430 char *newstr = bfd_malloc ((bfd_size_type) size + 1); in _bfd_vms_save_sized_string() local
432 if (newstr == NULL) in _bfd_vms_save_sized_string()
434 strncpy (newstr, (char *) str, (size_t) size); in _bfd_vms_save_sized_string()
435 newstr[size] = 0; in _bfd_vms_save_sized_string()
437 return newstr; in _bfd_vms_save_sized_string()
/mirbsd/src/usr.bin/less/
Dfilename.c151 char *newstr; local
197 newstr = p = (char *) ecalloc(len, sizeof(char));
200 snprintf(newstr, len, "%c%s%c", openquote, s, closequote);
210 strlcpy(p, esc, newstr + len - p);
217 return (newstr);
/mirbsd/src/usr.bin/sdiff/
Dsdiff.c808 char *newstr; in astrcat() local
843 newstr = realloc(*s, newsiz); in astrcat()
844 if (newstr == NULL) in astrcat()
846 *s = newstr; in astrcat()
/mirbsd/src/gnu/usr.bin/cvs/src/
Dsubr.c82 bool newstr = !*lenp; in xrealloc_and_strcat() local
83 expand_string (str, lenp, (newstr ? 0 : strlen (*str)) + strlen (src) + 1); in xrealloc_and_strcat()
84 if (newstr) in xrealloc_and_strcat()
/mirbsd/src/gnu/usr.sbin/sendmail/include/sm/
Dconf.h2810 # ifdef newstr
2811 # undef newstr
/mirbsd/src/usr.bin/host/
Dhost.c199 #define newstr(s) strncpy(newstring(s), s, (size_t)(strlen(s)+1)) macro
1335 for (q = "", p = newstr(option); *p != '\0'; p = q)
4936 zonename[zonecount] = newstr(subname);
4959 hostname(hostcount) = newstr(adrname);
5480 s->name = newstr(name);
5819 s->name = newstr(name);
/mirbsd/src/usr.sbin/ppp/ppp/
Dcommand.c432 subst(char *tgt, const char *oldstr, const char *newstr) in subst() argument
443 lnewstr = strlen(newstr); in subst()
457 memmove(word, newstr, lnewstr); in subst()

12