Searched refs:cbp (Results 1 – 1 of 1) sorted by relevance
123 struct regex_callback_priv *cbp = (struct regex_callback_priv *)priv; in regex_callback() local132 if (slre_match(&slre, cbp->searched_for, in regex_callback()133 strlen(cbp->searched_for), caps)) { in regex_callback()134 free(cbp->regex); in regex_callback()139 cbp->regex = malloc(strlen(regex) + 1); in regex_callback()140 if (cbp->regex) { in regex_callback()141 strcpy(cbp->regex, regex); in regex_callback()147 free(cbp->attributes); in regex_callback()148 cbp->attributes = malloc(strlen(attributes) + 1); in regex_callback()149 if (cbp->attributes) { in regex_callback()[all …]