Home
last modified time | relevance | path

Searched refs:last_component (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libselinux/src/
Dmatchpathcon.c351 char *last_component; in realpath_not_final() local
370 last_component = strrchr(tmp_path, '/'); in realpath_not_final()
372 if (last_component == tmp_path) { in realpath_not_final()
373 last_component++; in realpath_not_final()
375 } else if (last_component) { in realpath_not_final()
376 *last_component = '\0'; in realpath_not_final()
377 last_component++; in realpath_not_final()
380 last_component = tmp_path; in realpath_not_final()
392 if (len + strlen(last_component) + 2 > PATH_MAX) { in realpath_not_final()
403 strcpy(resolved_path, last_component); in realpath_not_final()
/external/bison/lib/
Dstripslash.c33 char *base = last_component (file); in strip_trailing_slashes()
Ddirname.h42 char *last_component (char const *file) _GL_ATTRIBUTE_PURE;
Dbasename.c30 char const *base = last_component (name); in base_name()
Dbasename-lgpl.c30 last_component (char const *name) in last_component() function
Ddirname-lgpl.c48 for (length = last_component (file) - file; in dir_len()
/external/bison/src/
Dfiles.c207 *base = last_component (file_name); in file_name_split()
265 last_component (spec_file_prefix) - spec_file_prefix); in compute_file_name_parts()
Dscan-skel.l187 fputs (last_component (at_directive_argv[1]), yyout);
Dscan-skel.c2307 fputs (last_component (at_directive_argv[1]), skel_out); in at_directive_perform()
/external/bison/
DChangeLog-20126390 Parse a new @basename command that invokes last_component.
7681 (file_name_split): Use last_component, not base_name, to adjust
7688 (BASE_QPUTS): Use last_component, not base_name.