Lines Matching defs:str
103 ascii_to_int(char *str)
106 char *c = str;
183 replace_tab2space(char *str)
187 while ((str) && (str[i])) {
188 if (str[i] == '\t')
189 str[i] = ' ';
227 line->str = (char *)realloc(line->str, line->alloc);
229 if (line->str == NULL) {
3917 line->str[line->len++] = c;
3926 line->str[line->len++] = 0;
3929 if (line->str[0] == '\0')
3932 return (line->str);
3952 len = strlen(line->str);
3954 line->str[0] != '#' &&
3955 line->str[len-2] == '\\' && line->str[len-1] == '\n') {
3956 line->str[len-2] = 0;
3961 if (line->str[len-1] == '\n') {
3962 line->str[len-1] = 0;
3970 if (line->str[i] == '#') {
3971 line->str[i] = '\0';
3975 if (line->str[i] != ' ' && line->str[i] != '\t')
3984 if (len > 0 && !blankline(line->str))
4012 len = strlen(line->str);
4013 if (line->str[len-1] == '\n') {
4014 line->str[len-1] = 0;
4018 if (!blankline(line->str) &&
4019 line->str[0] != '+' && line->str[0] != '-' &&
4020 line->str[0] != '#')
4100 switch ((*(tt->genent))(line.str, addentry)) {
4112 line.str);
4114 free(line.str);
4121 line.str);
4123 free(line.str);
4129 free(line.str);