Lines Matching refs:last_slash
153 const gchar *last_slash; in convert_path() local
162 last_slash = strrchr (key, '/'); in convert_path()
166 (last_slash != NULL && in convert_path()
167 (*(last_slash + 1) == '\0' || in convert_path()
168 last_slash == key))) in convert_path()
176 …if (last_slash != NULL && (last_slash - key) == kfsb->root_group_len && memcmp (key, kfsb->root_gr… in convert_path()
182 if (last_slash == NULL) in convert_path()
188 if (last_slash != NULL) in convert_path()
190 *group = g_memdup2 (key, (last_slash - key) + 1); in convert_path()
191 (*group)[(last_slash - key)] = '\0'; in convert_path()
199 if (last_slash != NULL) in convert_path()
200 *basename = g_memdup2 (last_slash + 1, key_len - (last_slash - key)); in convert_path()