Lines Matching refs:ptr
46 excludes **ptr; member
101 exb->ptr = malloc(exb->size * sizeof(*exb->ptr)); in excludes_buffer_append()
104 exb->ptr[i] = calloc(1, sizeof(**exb->ptr)); in excludes_buffer_append()
109 exb->ptr = realloc(exb->ptr, exb->size * sizeof(*exb->ptr)); in excludes_buffer_append()
112 exb->ptr[i] = calloc(1, sizeof(**exb->ptr)); in excludes_buffer_append()
117 if (NULL == (exb->ptr[exb->used]->regex = pcre_compile(string->ptr, 0, in excludes_buffer_append()
122 exb->ptr[exb->used]->string = buffer_init(); in excludes_buffer_append()
123 buffer_copy_string_buffer(exb->ptr[exb->used]->string, string); in excludes_buffer_append()
141 if (exb->ptr[i]->regex) pcre_free(exb->ptr[i]->regex); in excludes_buffer_free()
142 if (exb->ptr[i]->string) buffer_free(exb->ptr[i]->string); in excludes_buffer_free()
143 free(exb->ptr[i]); in excludes_buffer_free()
146 if (exb->ptr) free(exb->ptr); in excludes_buffer_free()
660 if (0 >= (name_max = pathconf(dir->ptr, _PC_NAME_MAX))) { in http_list_directory()
676 strcpy(path, dir->ptr); in http_list_directory()
725 pcre *regex = p->conf.excludes->ptr[i]->regex; in http_list_directory()
844 if (0 == strncasecmp(DIRLIST_ENT_NAME(tmp) + tmp->namelen - ct_len, ds->key->ptr, ct_len)) { in http_list_directory()
845 content_type = ds->value->ptr; in http_list_directory()
916 if (con->uri.path->ptr[con->uri.path->used - 2] != '/') return HANDLER_GO_ON; in URIHANDLER_FUNC()