Lines Matching defs:sym_match_arr
910 struct sym_match *sym_match_arr = NULL;
930 tmp = realloc(sym_match_arr, size * sizeof(struct sym_match));
933 sym_match_arr = tmp;
939 sym_match_arr[cnt].so = match[0].rm_so;
940 sym_match_arr[cnt].eo = match[0].rm_eo;
941 sym_match_arr[cnt++].sym = sym;
943 if (sym_match_arr) {
944 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp);
949 sym_arr[i] = sym_match_arr[i].sym;
953 /* sym_match_arr can be NULL if no match, but free(NULL) is OK */
954 free(sym_match_arr);