Lines Matching refs:cpv
57 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC() local
58 for (; -1 != cpv->k_id; ++cpv) { in FREE_FUNC()
59 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
60 switch (cpv->k_id) { in FREE_FUNC()
62 mod_evhost_free_path_pieces(cpv->v.v); in FREE_FUNC()
132 …mod_evhost_merge_config_cpv(plugin_config * const pconf, const config_plugin_value_t * const cpv) { in mod_evhost_merge_config_cpv() argument
133 switch (cpv->k_id) { /* index into static config_plugin_keys_t cpk[] */ in mod_evhost_merge_config_cpv()
135 if (cpv->vtype == T_CONFIG_LOCAL) in mod_evhost_merge_config_cpv()
136 pconf->path_pieces = cpv->v.v; in mod_evhost_merge_config_cpv()
143 static void mod_evhost_merge_config(plugin_config * const pconf, const config_plugin_value_t *cpv) { in mod_evhost_merge_config() argument
145 mod_evhost_merge_config_cpv(pconf, cpv); in mod_evhost_merge_config()
146 } while ((++cpv)->k_id != -1); in mod_evhost_merge_config()
175 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC() local
176 for (; -1 != cpv->k_id; ++cpv) { in SETDEFAULTS_FUNC()
177 switch (cpv->k_id) { in SETDEFAULTS_FUNC()
179 if (!buffer_is_blank(cpv->v.b)) { in SETDEFAULTS_FUNC()
180 const char * const ptr = cpv->v.b->ptr; in SETDEFAULTS_FUNC()
181 cpv->v.v = mod_evhost_parse_pattern(ptr); in SETDEFAULTS_FUNC()
182 if (NULL == cpv->v.v) { in SETDEFAULTS_FUNC()
187 cpv->vtype = T_CONFIG_LOCAL; in SETDEFAULTS_FUNC()
198 const config_plugin_value_t *cpv = p->cvlist + p->cvlist->v.u2[0]; in SETDEFAULTS_FUNC() local
199 if (-1 != cpv->k_id) in SETDEFAULTS_FUNC()
200 mod_evhost_merge_config(&p->defaults, cpv); in SETDEFAULTS_FUNC()