Searched refs:stem_arr (Results 1 - 2 of 2) sorted by relevance

/external/libselinux/src/
H A Dlabel_file.c58 stem_t *stem_arr; member in struct:saved_data
90 /* find the stem of a file spec, returns the index into stem_arr for a new
101 if (stem_len == data->stem_arr[i].len
102 && !strncmp(buf, data->stem_arr[i].buf, stem_len))
108 tmp_arr = (stem_t *) realloc(data->stem_arr,
112 data->stem_arr = tmp_arr;
114 data->stem_arr[num].len = stem_len;
115 data->stem_arr[num].buf = (char *) malloc(stem_len + 1);
116 if (!data->stem_arr[num].buf)
118 memcpy(data->stem_arr[nu
230 stem_t *stem_arr = data->stem_arr; local
[all...]
/external/qemu/distrib/libselinux/src/
H A Dlabel_file.c58 stem_t *stem_arr; member in struct:saved_data
90 /* find the stem of a file spec, returns the index into stem_arr for a new
101 if (stem_len == data->stem_arr[i].len
102 && !strncmp(buf, data->stem_arr[i].buf, stem_len))
108 tmp_arr = (stem_t *) realloc(data->stem_arr,
112 data->stem_arr = tmp_arr;
114 data->stem_arr[num].len = stem_len;
115 data->stem_arr[num].buf = (char *) malloc(stem_len + 1);
116 if (!data->stem_arr[num].buf)
118 memcpy(data->stem_arr[nu
230 stem_t *stem_arr = data->stem_arr; local
[all...]

Completed in 345 milliseconds