Searched refs:period_location (Results 1 – 1 of 1) sorted by relevance
58 int period_location, len, i, ext_num; in set_name() local72 period_location = len; in set_name()75 period_location = period - s_name; in set_name()76 ext_num = len - period_location - 1; in set_name()80 if (period_location < 8) { in set_name()81 memcpy(dirent->name, s_name, period_location); in set_name()82 for (i = period_location; i < 8; i++) in set_name()84 } else if (period_location == 8) { in set_name()85 memcpy(dirent->name, s_name, period_location); in set_name()93 memcpy(dirent->ext, s_name + period_location + 1, ext_num); in set_name()[all …]