Lines Matching refs:elements
46 pat->content.Set.elements = malloc(sizeof(char *)); in glob_fixed()
48 if(!pat->content.Set.elements) in glob_fixed()
51 pat->content.Set.elements[0] = malloc(len + 1); in glob_fixed()
52 if(!pat->content.Set.elements[0]) in glob_fixed()
55 memcpy(pat->content.Set.elements[0], fixed, len); in glob_fixed()
56 pat->content.Set.elements[0][len] = 0; in glob_fixed()
107 pat->content.Set.elements = NULL; in glob_set()
132 if(pat->content.Set.elements) { in glob_set()
133 char **new_arr = realloc(pat->content.Set.elements, in glob_set()
139 pat->content.Set.elements = new_arr; in glob_set()
142 pat->content.Set.elements = malloc(sizeof(char *)); in glob_set()
144 if(!pat->content.Set.elements) in glob_set()
147 pat->content.Set.elements[pat->content.Set.size] = in glob_set()
149 if(!pat->content.Set.elements[pat->content.Set.size]) in glob_set()
516 (glob->pattern[i].content.Set.elements)) { in glob_cleanup()
520 Curl_safefree(glob->pattern[i].content.Set.elements[elem]); in glob_cleanup()
522 Curl_safefree(glob->pattern[i].content.Set.elements); in glob_cleanup()
552 if((pat->content.Set.elements) && in glob_next_url()
588 if(pat->content.Set.elements) { in glob_next_url()
590 pat->content.Set.elements[pat->content.Set.ptr_s]); in glob_next_url()
661 if(pat->content.Set.elements) { in glob_match_url()
662 appendthis = pat->content.Set.elements[pat->content.Set.ptr_s]; in glob_match_url()
664 strlen(pat->content.Set.elements[pat->content.Set.ptr_s]); in glob_match_url()