Searched refs:dirpos (Results 1 – 2 of 2) sorted by relevance
430 char* dirpos = basepath + strlen(basepath); in lookup_media_dir() local432 if ((*(dirpos-1)) != '/') { in lookup_media_dir()433 *dirpos = '/'; in lookup_media_dir()434 dirpos++; in lookup_media_dir()440 if ((dirpos-basepath+strlen(dir)) >= (PATH_MAX-1)) { in lookup_media_dir()446 strcpy(dirpos, dir); in lookup_media_dir()454 *dirpos = 0; in lookup_media_dir()463 strcpy(dirpos, de->d_name); in lookup_media_dir()
345 char *dirpos; in free_cache() local364 dirpos = tmpdir + strlen(tmpdir); in free_cache()375 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) { in free_cache()376 strcpy(dirpos, name); in free_cache()390 dirpos = tmpdir + strlen(tmpdir); in free_cache()400 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) { in free_cache()401 strcpy(dirpos, name); in free_cache()