Home
last modified time | relevance | path

Searched refs:strptr (Results 1 – 8 of 8) sorted by relevance

/openbsd/usr.sbin/tcpdump/
H A Dsavestr.c42 static char *strptr = NULL; in savestr() local
50 strptr = malloc(strsize); in savestr()
51 if (strptr == NULL) { in savestr()
56 (void)strlcpy(strptr, str, size); in savestr()
57 p = strptr; in savestr()
58 strptr += size; in savestr()
/openbsd/gnu/usr.bin/perl/os2/
H A Dperlrexx.c124 memcpy(buf, rargv[0].strptr, rargv[0].strlength); in PERL()
138 sprintf(retstr->strptr, "%s", "ok"); in PERL()
139 retstr->strlength = strlen (retstr->strptr); in PERL()
165 sprintf(retstr->strptr, "%s", "ok"); in PERLTERM()
166 retstr->strlength = strlen (retstr->strptr); in PERLTERM()
179 sprintf(retstr->strptr, "%s", "ok"); in PERLINIT()
180 retstr->strlength = strlen (retstr->strptr); in PERLINIT()
190 || !DosAllocMem((PPVOID)&retstr->strptr, len, in PERLLASTERROR()
192 memcpy(retstr->strptr, last_error, len); in PERLLASTERROR()
196 retstr->strlength = strlen(retstr->strptr); in PERLLASTERROR()
[all …]
/openbsd/gnu/usr.bin/perl/os2/OS2/OS2-REXX/
H A DREXX.xs199 memcpy(ret->strptr, str, len); in PERLCALLcv()
270 || !DosAllocMem((PPVOID)&retstr->strptr, len, in SubCommandPerlEval()
272 memcpy(retstr->strptr, str, len); in SubCommandPerlEval()
277 retstr->strlength = strlen(retstr->strptr); in SubCommandPerlEval()
431 namelen, var->shvvalue.strptr); in _fetch()
462 if (sv.shvvalue.strptr) { in _next()
463 DosFreeMem(sv.shvvalue.strptr); in _next()
480 namelen, sv.shvname.strptr, in _next()
481 valuelen, sv.shvvalue.strptr); in _next()
483 if (sv.shvvalue.strptr) { in _next()
[all …]
/openbsd/usr.bin/rdist/
H A Dmessage.c185 char *strptr, *word; in setmsgtypes() local
199 strptr = str; in setmsgtypes()
209 if ((cp = strchr(strptr, '=')) == NULL) in setmsgtypes()
214 if ((msgfac->mf_fptr = fopen(strptr, "w")) == NULL) in setmsgtypes()
216 strptr, SYSERR); in setmsgtypes()
217 msgfac->mf_filename = xstrdup(strptr); in setmsgtypes()
219 strptr = cp; in setmsgtypes()
238 while (strptr) { in setmsgtypes()
239 word = strptr; in setmsgtypes()
240 if ((cp = strchr(strptr, ',')) != NULL) in setmsgtypes()
[all …]
/openbsd/gnu/usr.bin/perl/os2/OS2/OS2-REXX/DLL/
H A DDLL.xs161 result.strlength, result.strptr); in call20_p()
164 if (result.strptr) in call20_p()
165 sv_setpvn(ST(0), result.strptr, result.strlength); in call20_p()
169 if (result.strptr && result.strptr != resbuf) in call20_p()
170 DosFreeMem(result.strptr); in call20_p()
/openbsd/gnu/usr.bin/cvs/src/
H A Dsubr.c99 expand_string (strptr, n, newsize) in expand_string() argument
100 char **strptr; in expand_string()
119 *strptr = xrealloc (*strptr, *n);
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Darchive.c1251 char *strptr; in _bfd_construct_extended_name_table() local
1306 strptr = *tabloc; in _bfd_construct_extended_name_table()
1325 strcpy (strptr, normal); in _bfd_construct_extended_name_table()
1327 strptr[thislen] = '\012'; in _bfd_construct_extended_name_table()
1330 strptr[thislen] = '/'; in _bfd_construct_extended_name_table()
1331 strptr[thislen + 1] = '\012'; in _bfd_construct_extended_name_table()
1335 strptr - *tabloc); in _bfd_construct_extended_name_table()
1336 strptr += thislen + 1; in _bfd_construct_extended_name_table()
1338 ++strptr; in _bfd_construct_extended_name_table()
/openbsd/gnu/usr.bin/binutils/bfd/
H A Darchive.c1196 char *strptr; in _bfd_construct_extended_name_table() local
1251 strptr = *tabloc; in _bfd_construct_extended_name_table()
1270 strcpy (strptr, normal); in _bfd_construct_extended_name_table()
1272 strptr[thislen] = '\012'; in _bfd_construct_extended_name_table()
1275 strptr[thislen] = '/'; in _bfd_construct_extended_name_table()
1276 strptr[thislen + 1] = '\012'; in _bfd_construct_extended_name_table()
1281 sprintf ((hdr->ar_name) + 1, "%-d", (unsigned) (strptr - *tabloc)); in _bfd_construct_extended_name_table()
1290 strptr += thislen + 1; in _bfd_construct_extended_name_table()
1292 ++strptr; in _bfd_construct_extended_name_table()