Searched refs:sym_match_arr (Results 1 – 2 of 2) sorted by relevance
1043 struct sym_match *sym_match_arr = NULL; in sym_re_search() local1063 tmp = realloc(sym_match_arr, size * sizeof(struct sym_match)); in sym_re_search()1066 sym_match_arr = tmp; in sym_re_search()1072 sym_match_arr[cnt].so = match[0].rm_so; in sym_re_search()1073 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search()1074 sym_match_arr[cnt++].sym = sym; in sym_re_search()1076 if (sym_match_arr) { in sym_re_search()1077 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); in sym_re_search()1082 sym_arr[i] = sym_match_arr[i].sym; in sym_re_search()1087 free(sym_match_arr); in sym_re_search()
912 struct sym_match *sym_match_arr = NULL; in sym_re_search() local932 tmp = realloc(sym_match_arr, size * sizeof(struct sym_match)); in sym_re_search()935 sym_match_arr = tmp; in sym_re_search()941 sym_match_arr[cnt].so = match[0].rm_so; in sym_re_search()942 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search()943 sym_match_arr[cnt++].sym = sym; in sym_re_search()945 if (sym_match_arr) { in sym_re_search()946 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); in sym_re_search()951 sym_arr[i] = sym_match_arr[i].sym; in sym_re_search()956 free(sym_match_arr); in sym_re_search()