Searched refs:nstr (Results 1 - 13 of 13) sorted by relevance

/freebsd-10.0-release/bin/pax/
H A Dpat_rep.h41 char *nstr; /* the new string we will substitute with */ member in struct:replace
H A Dpat_rep.c165 rep->nstr = pt1;
930 if ((res = resub(pt->rcmp,pt->nstr,outpt,endpt)) < 0) {
932 if ((res = resub(&(pt->rcmp),pm,inpt,pt->nstr,outpt,endpt))
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dsnprintf.c147 char nstr[64]; /* enough for <192 bit octal integers */ local
158 nstart = sizeof(nstr);
160 nstr[--nstart] = '\0';
163 nstr[--nstart] = rep[n % base];
194 if(prec <= nlen && nstr[nstart] != '0' && nstr[nstart] != '\0')
240 while(nstr[nstart] != '\0') {
241 (*state->append_char)(state, nstr[nstart++]);
/freebsd-10.0-release/contrib/bmake/
H A Dvar.c2486 ApplyModifiers(char *nstr, const char *tstr, argument
2544 nstr = ApplyModifiers(nstr, rval,
2547 if (nstr == var_Error
2548 || (nstr == varNoError && errnum == 0)
2568 *tstr, nstr);
2642 Error(emsg, nstr);
2686 newStr = VarModify(ctxt, &parsestate, nstr, VarLoopExpand,
2699 char *dp = bmake_strdup(nstr);
2763 newStr = nstr;
3642 char *nstr; /* New string, used during expansion */ local
[all...]
/freebsd-10.0-release/bin/sh/
H A Dmknodes.c89 static int nstr; /* number of structures */ variable
145 for (sp = str ; sp < str + nstr ; sp++) {
149 if (sp >= str + nstr) {
153 nstr++;
234 for (sp = str ; sp < &str[nstr] ; sp++) {
243 for (sp = str ; sp < &str[nstr] ; sp++) {
305 for (sp = str ; sp < &str[nstr] ; sp++) {
/freebsd-10.0-release/lib/libprocstat/
H A Dcore.c360 u_int i, nstr; local
368 nstr = pss.ps_nargvstr;
371 nstr = pss.ps_nenvstr;
373 if (addr == 0 || nstr == 0)
375 if (nstr > ARG_MAX) {
379 size = nstr * sizeof(char *);
401 if (i == nstr)
/freebsd-10.0-release/usr.sbin/bhyve/
H A Dpci_virtio_net.c509 char nstr[80]; local
590 snprintf(nstr, sizeof(nstr), "%d-%d-%s", pi->pi_slot,
594 MD5Update(&mdctx, nstr, strlen(nstr));
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Dconfig_file.c928 int nstr = 0; local
941 char **tmp2 = realloc(strings, (nstr + 1) * sizeof(*strings));
945 strings[nstr] = strdup(s);
946 nstr++;
947 if(strings[nstr-1] == NULL)
953 if(nstr){
954 char **tmp = realloc(strings, (nstr + 1) * sizeof(*strings));
958 strings[nstr] = NULL;
962 while(nstr--)
963 free(strings[nstr]);
[all...]
/freebsd-10.0-release/games/fortune/fortune/
H A Dfortune.c1393 int nstr, foundenv; local
1404 for (nstr = 2, pch = path; *pch != '\0'; pch++) {
1406 nstr++;
1409 ppch = Fortune_path_arr = (char **)calloc(nstr, sizeof(char *));
1411 nstr = 0;
1415 nstr++;
1421 if (nstr == 0) {
/freebsd-10.0-release/usr.bin/gencat/
H A Dgencat.c226 char *nstr; local
228 if ((nstr = strdup(str)) == NULL)
230 return (nstr);
/freebsd-10.0-release/contrib/nvi/common/
H A Dmsg.c369 CONST char *nstr; local
375 INT2CHAR(sp, str, STRLEN(str) + 1, nstr, nlen);
376 msgq_str(sp, mtype, nstr, fmt);
/freebsd-10.0-release/usr.bin/make/
H A Ddir.c1125 char *nstr; local
1132 nstr = str_concat(str, tstr, STR_ADDSPACE);
1135 str = nstr;
/freebsd-10.0-release/contrib/nvi/ex/
H A Dex.c1208 char *nstr; local
1211 nstr, nlen);
1214 nstr, KEY_NAME(sp, *np));

Completed in 115 milliseconds