Home
last modified time | relevance | path

Searched refs:need_sep (Results 1 – 3 of 3) sorted by relevance

/netbsd/external/bsd/pcc/dist/pcc/driver/
H A Dpath.c79 int need_sep; in find_file() local
84 need_sep = (lp && s->value[lp - 1] != '/') ? 1 : 0; in find_file()
85 f = xmalloc(lp + lf + need_sep + 1); in find_file()
87 if (need_sep) in find_file()
89 memcpy(f + lp + need_sep, file, lf + 1); in find_file()
126 int need_sep; in output_name() local
133 need_sep = 0; in output_name()
135 need_sep = 1; in output_name()
136 path = xmalloc(template_len + need_sep + 6 + 1); in output_name()
138 if (need_sep) in output_name()
[all …]
/netbsd/external/bsd/pcc/dist/pcc/cc/driver/
H A Ddriver.c233 int need_sep; in find_file() local
238 need_sep = (lp && s->value[lp - 1] != '/') ? 1 : 0; in find_file()
239 f = xmalloc(lp + lf + need_sep + 1); in find_file()
241 if (need_sep) in find_file()
243 memcpy(f + lp + need_sep, file, lf + 1); in find_file()
280 int need_sep; in output_name() local
287 need_sep = 0; in output_name()
289 need_sep = 1; in output_name()
290 path = xmalloc(template_len + need_sep + 6 + 1); in output_name()
292 if (need_sep) in output_name()
[all …]
/netbsd/external/bsd/pcc/dist/pcc/cc/cc/
H A Dcc.c1168 int need_sep; in find_file() local
1173 need_sep = (lp && s->value[lp - 1] != '/') ? 1 : 0; in find_file()
1174 f = xmalloc(lp + lf + need_sep + 1); in find_file()
1176 if (need_sep) in find_file()
1178 memcpy(f + lp + need_sep, file, lf + 1); in find_file()