Lines Matching +defs:temp +defs:string
33 #include <string.h>
415 /* Replace the new line character at the end of string with '\0' */
904 * (Which should be the first character of the string).
942 char *escaped_name = parse_escape(n->string);
1001 easprintf(&buf, "%s(%s)", sn->string, n->string);
1080 mdoc_parse_section(n->sec, n->string, rec);
1109 * 2. string is the string which we need to append to the secbuff for this
1111 * The function appends string to the global section buffer and returns.
1114 mdoc_parse_section(enum roff_sec sec, const char *string, mandb_rec *rec)
1125 append(&rec->lib, string);
1128 append(&rec->return_vals, string);
1131 append(&rec->env, string);
1134 append(&rec->files, string);
1137 append(&rec->exit_status, string);
1140 append(&rec->diagnostics, string);
1143 append(&rec->errors, string);
1146 append(&rec->desc, string);
1195 char *tmp = parse_escape(n->string);
1267 if (strcmp(head->string, mapping[i].header) == 0) {
1273 if (strcmp(head->string, "NAME") == 0) {
1348 char *temp = parse_escape(name_desc);
1350 rec->name_desc = temp;
1351 temp = parse_escape(rec->name);
1353 rec->name = temp;
1358 if (strcmp(head->string, "RETURN") == 0 &&
1360 (strcmp(head->next->string, "VALUE") == 0 ||
1361 strcmp(head->next->string, "VALUES") == 0)) {
1370 if (strcmp(head->string, "EXIT") == 0 &&
1372 strcmp(head->next->string, "STATUS") == 0) {
1393 append(s, n->string);
2058 char *temp;
2061 temp = parse_escape(src);
2062 srclen = strlen(temp);
2081 memcpy(sbuff->data + sbuff->offset, temp, srclen);
2083 free(temp);