Lines Matching full:basename
1844 result = filename; /* neither file separator was found so basename is the whole filename */ in arg_basename()
1854 /* Returns ptr to the file extension within *basename */
1855 static const char * arg_extension(const char *basename) in arg_extension() argument
1857 /* find the last occurrence of '.' in basename */ in arg_extension()
1858 const char *result = (basename ? strrchr(basename, '.') : NULL); in arg_extension()
1860 /* if no '.' was found then return pointer to end of basename */ in arg_extension()
1861 if (basename && !result) in arg_extension()
1862 result = basename + strlen(basename); in arg_extension()
1865 if (basename && result == basename) in arg_extension()
1866 result = basename + strlen(basename); in arg_extension()
1869 if (basename && result && result[1] == '\0') in arg_extension()
1870 result = basename + strlen(basename); in arg_extension()
1895 parent->basename[parent->count] = arg_basename(argval); in arg_file_scanfn()
1897 …arg_extension(parent->basename[parent->count]); /* only seek extens… in arg_file_scanfn()
1984 + sizeof(char *) * maxcount /* storage for basename[maxcount] array */ in arg_filen()
2006 /* store the filename,basename,extension arrays immediately after the arg_file struct */ in arg_filen()
2008 result->basename = result->filename + maxcount; in arg_filen()
2009 result->extension = result->basename + maxcount; in arg_filen()
2016 result->basename[i] = ""; in arg_filen()