Lines Matching refs:gl
157 grep_list_data_t * gl;
162 gl = (grep_list_data_t *)pattern_ptr->data;
164 ret = strstr(line, gl->pattern) != NULL;
172 if (!(gl->flg_mem_alocated_compiled & COMPILED)) {
173 gl->flg_mem_alocated_compiled |= COMPILED;
174 xregcomp(&(gl->preg), gl->pattern, reflags);
178 if (regexec(&(gl->preg), line, 1, ®match, 0) == 0) {
319 grep_list_data_t *gl = xmalloc(sizeof(grep_list_data_t));
320 gl->pattern = pattern;
322 gl->flg_mem_alocated_compiled = flg_used_mem;
324 gl->flg_mem_alocated_compiled = 0;
326 return (char *)gl;
515 grep_list_data_t *gl =
519 if ((gl->flg_mem_alocated_compiled & PATTERN_MEM_A))
520 free(gl->pattern);
521 if ((gl->flg_mem_alocated_compiled & COMPILED))
522 regfree(&(gl->preg));
523 free(gl);