Searched refs:period_location (Results 1 – 1 of 1) sorted by relevance
57 int period_location, len, i, ext_num; in set_name() local71 period_location = len; in set_name()74 period_location = period - s_name; in set_name()75 ext_num = len - period_location - 1; in set_name()79 if (period_location < 8) { in set_name()80 memcpy(dirent->name, s_name, period_location); in set_name()81 for (i = period_location; i < 8; i++) in set_name()83 } else if (period_location == 8) { in set_name()84 memcpy(dirent->name, s_name, period_location); in set_name()92 memcpy(dirent->ext, s_name + period_location + 1, ext_num); in set_name()[all …]