HomeSort by: relevance | last modified time | path
    Searched refs:replstr (Results 1 - 8 of 8) sorted by relevancy

  /src/usr.bin/xargs/
strnsubst.c 29 * replstr as many times as can be done before the constructed string is
33 * If replstr is NULL, then that internally is changed to a nil-string, so
38 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize)
61 if (replstr == NULL)
62 replstr = "";
64 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) {
73 if ((strlen(s2) + strlen(s1) + strlen(replstr) -
79 (void)strcat(s2, replstr);
strnsubst.c 29 * replstr as many times as can be done before the constructed string is
33 * If replstr is NULL, then that internally is changed to a nil-string, so
38 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize)
61 if (replstr == NULL)
62 replstr = "";
64 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) {
73 if ((strlen(s2) + strlen(s1) + strlen(replstr) -
79 (void)strcat(s2, replstr);
strnsubst.c 29 * replstr as many times as can be done before the constructed string is
33 * If replstr is NULL, then that internally is changed to a nil-string, so
38 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize)
61 if (replstr == NULL)
62 replstr = "";
64 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) {
73 if ((strlen(s2) + strlen(s1) + strlen(replstr) -
79 (void)strcat(s2, replstr);
strnsubst.c 29 * replstr as many times as can be done before the constructed string is
33 * If replstr is NULL, then that internally is changed to a nil-string, so
38 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize)
61 if (replstr == NULL)
62 replstr = "";
64 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) {
73 if ((strlen(s2) + strlen(s1) + strlen(replstr) -
79 (void)strcat(s2, replstr);
xargs.c 76 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable in typeref:typename:char ******
96 inpline = replstr = NULL;
146 replstr = optarg;
151 replstr = optarg;
215 if (replstr != NULL && *replstr == '\0')
216 errx(1, "replstr may not be empty");
236 if (Jflag && strcmp(*argv, replstr) == 0) {
469 * replstr, call strnsubst(), else just save the string.
475 if (repls && strstr(*tmp, replstr) != NULL)
    [all...]
xargs.c 76 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable in typeref:typename:char ******
96 inpline = replstr = NULL;
146 replstr = optarg;
151 replstr = optarg;
215 if (replstr != NULL && *replstr == '\0')
216 errx(1, "replstr may not be empty");
236 if (Jflag && strcmp(*argv, replstr) == 0) {
469 * replstr, call strnsubst(), else just save the string.
475 if (repls && strstr(*tmp, replstr) != NULL)
    [all...]
xargs.c 76 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable in typeref:typename:char ******
96 inpline = replstr = NULL;
146 replstr = optarg;
151 replstr = optarg;
215 if (replstr != NULL && *replstr == '\0')
216 errx(1, "replstr may not be empty");
236 if (Jflag && strcmp(*argv, replstr) == 0) {
469 * replstr, call strnsubst(), else just save the string.
475 if (repls && strstr(*tmp, replstr) != NULL)
    [all...]
xargs.c 76 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable in typeref:typename:char ******
96 inpline = replstr = NULL;
146 replstr = optarg;
151 replstr = optarg;
215 if (replstr != NULL && *replstr == '\0')
216 errx(1, "replstr may not be empty");
236 if (Jflag && strcmp(*argv, replstr) == 0) {
469 * replstr, call strnsubst(), else just save the string.
475 if (repls && strstr(*tmp, replstr) != NULL)
    [all...]

Completed in 82 milliseconds