Lines Matching defs:sym_match_arr
954 struct sym_match *sym_match_arr = NULL;
974 tmp = realloc(sym_match_arr, size * sizeof(struct sym_match));
977 sym_match_arr = tmp;
983 sym_match_arr[cnt].so = match[0].rm_so;
984 sym_match_arr[cnt].eo = match[0].rm_eo;
985 sym_match_arr[cnt++].sym = sym;
987 if (sym_match_arr) {
988 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp);
993 sym_arr[i] = sym_match_arr[i].sym;
997 /* sym_match_arr can be NULL if no match, but free(NULL) is OK */
998 free(sym_match_arr);