Searched refs:last_nonslash (Results 1 – 1 of 1) sorted by relevance
2551 gssize last_nonslash; in g_path_get_basename() local2560 last_nonslash = strlen (file_name) - 1; in g_path_get_basename()2562 while (last_nonslash >= 0 && G_IS_DIR_SEPARATOR (file_name [last_nonslash])) in g_path_get_basename()2563 last_nonslash--; in g_path_get_basename()2565 if (last_nonslash == -1) in g_path_get_basename()2570 if (last_nonslash == 1 && in g_path_get_basename()2576 base = last_nonslash; in g_path_get_basename()2588 len = last_nonslash - base; in g_path_get_basename()