Searched refs:need_slash (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.0-release/contrib/groff/src/libs/libgroff/
H A Dsearchpath.cpp116 int need_slash = end > p && strchr(DIR_SEPS, end[-1]) == 0; local
117 char *origpath = new char[(end - p) + need_slash + namelen + 1];
119 if (need_slash)
121 strcpy(origpath + (end - p) + need_slash, name);
173 int need_slash = end > p && strchr(DIR_SEPS, end[-1]) == 0; local
174 char *origpath = new char[(end - p) + need_slash + namelen + 1];
176 if (need_slash)
178 strcpy(origpath + (end - p) + need_slash, name);
H A Dtmpfile.cpp84 int need_slash = strchr(DIR_SEPS, *tem_end) == NULL ? 1 : 0; local
85 char *tem2 = new char[tem_len + need_slash + 1];
87 if (need_slash)
94 tmpfile_prefix_len = tem_len + need_slash + strlen(tem3);
H A Drelocate.cpp105 int need_slash = end > p && strchr(DIR_SEPS, end[-1]) == 0; local
106 path = new char[end - p + need_slash + namelen + 1];
108 if (need_slash)
110 strcpy(path + (end - p) + need_slash, name);
/freebsd-10.0-release/contrib/groff/src/libs/libbib/
H A Dindex.cpp445 int need_slash = (cwd[0] != 0 local
447 int len = strlen(cwd) + strlen(filename) + need_slash + 1;
454 if (need_slash)
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_pax.c1395 int need_slash = 0; /* Was there a trailing slash? */ local
1419 need_slash = 1; /* Remember to restore trailing '/'. */
1425 need_slash = 1; /* "foo/." will become "foo/" */
1430 if (need_slash)
1489 if (need_slash)

Completed in 149 milliseconds