Lines Matching refs:strs_data
13 void *strs_data; member
25 const char *str = s->strs_data + key; in strset_hash_fn()
33 const char *str1 = s->strs_data + key1; in strset_equal_fn()
34 const char *str2 = s->strs_data + key2; in strset_equal_fn()
58 set->strs_data = malloc(init_data_sz); in strset__new()
59 if (!set->strs_data) in strset__new()
62 memcpy(set->strs_data, init_data, init_data_sz); in strset__new()
66 for (off = 0; off < set->strs_data_len; off += strlen(set->strs_data + off) + 1) { in strset__new()
90 free(set->strs_data); in strset__free()
101 return set->strs_data; in strset__data()
106 return libbpf_add_mem(&set->strs_data, &set->strs_data_cap, 1, in strset_add_str_mem()