Lines Matching full:s
50 fprintf(out, "\t%s \\\n", file->name); in file_write_dep()
52 fprintf(out, "\t%s\n", file->name); in file_write_dep()
54 fprintf(out, "\n%s: \\\n" in file_write_dep()
68 fprintf(out, "ifneq \"$(%s)\" \"%s\"\n", env_sym->name, value); in file_write_dep()
69 fprintf(out, "%s: FORCE\n", conf_get_autoconfig_name()); in file_write_dep()
84 gs.s = xmalloc(sizeof(char) * 64); in str_new()
87 strcpy(gs.s, "\0"); in str_new()
94 if (gs->s) in str_free()
95 free(gs->s); in str_free()
96 gs->s = NULL; in str_free()
101 void str_append(struct gstr *gs, const char *s) in str_append() argument
104 if (s) { in str_append()
105 l = strlen(gs->s) + strlen(s) + 1; in str_append()
107 gs->s = realloc(gs->s, l); in str_append()
110 strcat(gs->s, s); in str_append()
118 char s[10000]; /* big enough... */ in str_printf() local
120 vsnprintf(s, sizeof(s), fmt, ap); in str_printf()
121 str_append(gs, s); in str_printf()
128 return gs->s; in str_get()