Lines Matching defs:string
34 #include <string.h>
405 /* Replace the new line character at the end of string with '\0' */
862 * (Which should be the first character of the string).
927 concat(&rec->name, n->string);
955 temp = estrdup(n->string);
957 easprintf(&buf, "%s(%s)", temp, n->string);
962 concat(&rec->name_desc, n->string);
1014 size_t len = strlen(sn->string);
1016 memcpy(buf, sn->string, len);
1018 buf[len + 1] = n->string[0];
1071 mdoc_parse_section(n->sec, n->string, rec);
1103 * 2. string is the string which we need to append to the secbuff for this
1105 * The function appends string to the global section buffer and returns.
1108 mdoc_parse_section(enum mdoc_sec sec, const char *string, mandb_rec *rec)
1119 append(&rec->lib, string);
1122 append(&rec->return_vals, string);
1125 append(&rec->env, string);
1128 append(&rec->files, string);
1131 append(&rec->exit_status, string);
1134 append(&rec->diagnostics, string);
1137 append(&rec->errors, string);
1148 append(&rec->desc, string);
1190 char *tmp = parse_escape(n->string);
1262 if (strcmp(head->string, mapping[i].header) == 0) {
1268 if (strcmp(head->string, "NAME") == 0) {
1349 if (strcmp(head->string, "RETURN") == 0 &&
1351 (strcmp(head->next->string, "VALUE") == 0 ||
1352 strcmp(head->next->string, "VALUES") == 0)) {
1361 if (strcmp(head->string, "EXIT") == 0 &&
1363 strcmp(head->next->string, "STATUS") == 0) {
1384 append(s, n->string);