Lines Matching refs:garg
1044 gid_cb_st *garg = arg; in gid_cb() local
1075 groups_to_add = garg->ctx->ext.supported_groups_default_len; in gid_cb()
1079 if (groups_to_add > garg->gidmax - garg->gidcnt) { in gid_cb()
1083 OPENSSL_realloc(garg->gid_arr, in gid_cb()
1084 (garg->gidmax + list_increment) * sizeof(*garg->gid_arr)); in gid_cb()
1089 garg->gidmax += list_increment; in gid_cb()
1090 garg->gid_arr = tmp; in gid_cb()
1096 for (j = 0; j < garg->ctx->ext.supported_groups_default_len; j++) { in gid_cb()
1097 gid = garg->ctx->ext.supported_groups_default[j]; in gid_cb()
1100 for (i = 0; i < garg->gidcnt; i++) { in gid_cb()
1101 if (garg->gid_arr[i] == gid) { in gid_cb()
1108 garg->gid_arr[garg->gidcnt++] = gid; in gid_cb()
1119 gid = tls1_group_name2id(garg->ctx, etmp); in gid_cb()
1125 for (i = 0; i < garg->gidcnt; i++) in gid_cb()
1126 if (garg->gid_arr[i] == gid) { in gid_cb()
1134 for (j = i + 1; j < garg->gidcnt; j++) in gid_cb()
1135 garg->gid_arr[j - 1] = garg->gid_arr[j]; in gid_cb()
1137 garg->gidcnt--; in gid_cb()
1141 garg->gid_arr[garg->gidcnt++] = gid; in gid_cb()