Searched refs:hash_pos (Results 1 – 1 of 1) sorted by relevance
220 char *hash_pos = strchr(name, '#'); in get_sensor_index_attr() local226 if (!hash_pos) in get_sensor_index_attr()229 dash_pos = strchr(hash_pos, '-'); in get_sensor_index_attr()233 copy_len = dash_pos - hash_pos - 1; in get_sensor_index_attr()237 memcpy(buf, hash_pos + 1, copy_len); in get_sensor_index_attr()