Lines Matching defs:string

27 #include <string.h>
36 /* Maximum number of string expansions per line, to break infinite loops. */
289 * An incredibly-simple string buffer.
768 * the nil-terminated string name could be found.
1060 n->string = roff_strdup(man->roff, word);
1077 mandoc_asprintf(&newstr, "%s %s", n->string, addstr);
1079 free(n->string);
1080 n->string = newstr;
1202 free(n->string);
1230 cp = n->string;
1273 const char *start; /* start of the string to process */
1277 const char *res; /* the string to be substituted */
1343 * of the name of the string or register.
1403 * Retrieve the replacement string; if it is
1445 /* Replace the escape sequence by the string. */
1817 * At the beginning of a `de' macro, clear the existing string
2061 * Evaluate a string comparison condition.
2063 * Succeed if the string up to its second occurrence
2064 * matches the string up to its third occurence.
2076 s2 = s1 + 1; /* for scanning the first string */
2077 s3 = strchr(s2, *s1); /* for scanning the second string */
2105 * or string condition.
2258 char *string;
2270 * The first word is the name of the string.
2275 name = string = buf->buf + pos;
2279 namesz = roff_getname(r, &string, ln, pos);
2284 if (*string == '"')
2285 string++;
2288 roff_setstrn(&r->strtab, name, namesz, string, strlen(string),
3201 * Store *string into the user-defined string called *name.
3208 roff_setstr(struct roff *r, const char *name, const char *string,
3212 roff_setstrn(&r->strtab, name, strlen(name), string,
3213 string ? strlen(string) : 0, append);
3218 const char *string, size_t stringsz, int append)
3225 /* Search for an existing string with the same name. */
3233 /* Create a new string table entry. */
3247 if (NULL == string)
3275 if ('\\' == string[i] && '\\' == string[i + 1])
3277 *c++ = string[i++];
3337 * Duplicate an input string, making the appropriate character
3339 * Returns a heap-allocated string with all the replacements made.
3360 * and the string is >0 length.
3403 * Make sure to pass along the bogus string.