Lines Matching refs:newbfr
44 char * newbfr = NULL; in substitute_variable() local
62 newbfr = (char *) calloc(sizeof(char), l_buffer - l_prevar - l_postvar - l_varname + l_value + 1); in substitute_variable()
68 strncpy(newbfr, buffer, l_buffer - swstrlen(posptr)); // First part in substitute_variable()
69 strcat(newbfr, value); // Add value in substitute_variable()
72 strcat(newbfr, tmpptr + l_postvar); in substitute_variable()
74 strcat(newbfr, posptr + l_prevar + l_varname); in substitute_variable()
84 strncpy(newbfr, buffer, l_buffer - swstrlen(posptr)); // First part in substitute_variable()
85 strcat(newbfr, value); // Add value in substitute_variable()
88 strcat(newbfr, tmpptr + l_postvar); in substitute_variable()
90 strcat(newbfr, posptr + l_varname); in substitute_variable()
98 return newbfr; in substitute_variable()
100 free(newbfr); in substitute_variable()