Lines Matching refs:Set
42 pat->content.Set.size = 1; in glob_fixed()
43 pat->content.Set.ptr_s = 0; in glob_fixed()
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()
105 pat->content.Set.size = 0; in glob_set()
106 pat->content.Set.ptr_s = 0; in glob_set()
107 pat->content.Set.elements = NULL; in glob_set()
125 if(multiply(amount, pat->content.Set.size + 1)) in glob_set()
132 if(pat->content.Set.elements) { in glob_set()
133 char **new_arr = realloc(pat->content.Set.elements, in glob_set()
134 (size_t)(pat->content.Set.size + 1) * 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()
151 ++pat->content.Set.size; in glob_set()
516 (glob->pattern[i].content.Set.elements)) { in glob_cleanup()
517 for(elem = glob->pattern[i].content.Set.size - 1; 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()
553 (++pat->content.Set.ptr_s == pat->content.Set.size)) { in glob_next_url()
554 pat->content.Set.ptr_s = 0; 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()