Lines Matching defs:child

95 #define DAV_INHERIT_VALUE(parent, child, field) \
96 ((child)->field ? (child)->field : (parent)->field)
137 dav_server_conf *child = overrides;
174 dav_dir_conf *child = overrides;
180 newconf->provider_name = DAV_INHERIT_VALUE(parent, child, provider_name);
181 newconf->provider = DAV_INHERIT_VALUE(parent, child, provider);
183 if (child->provider_name == NULL) {
188 else if (strcasecmp(child->provider_name,
196 newconf->locktimeout = DAV_INHERIT_VALUE(parent, child, locktimeout);
197 newconf->dir = DAV_INHERIT_VALUE(parent, child, dir);
198 newconf->allow_depthinfinity = DAV_INHERIT_VALUE(parent, child,
1293 apr_xml_elem *child;
1318 for (child = elem->first_child; child != NULL; child = child->next) {
1319 if (child->ns == APR_XML_NS_DAV_ID
1320 && strcmp(child->name, "supported-method") == 0) {
1324 for (attr = child->attr; attr != NULL; attr = attr->next) {
1360 apr_xml_elem *child;
1397 for (child = elem->first_child; child != NULL; child = child->next) {
1398 if (child->ns == APR_XML_NS_DAV_ID
1399 && strcmp(child->name, "supported-live-property") == 0) {
1404 for (attr = child->attr; attr != NULL; attr = attr->next) {
1448 apr_xml_elem *child;
1482 for (child = elem->first_child; child != NULL; child = child->next) {
1483 if (child->ns == APR_XML_NS_DAV_ID
1484 && strcmp(child->name, "supported-report") == 0) {
1489 for (attr = child->attr; attr != NULL; attr = attr->next) {
2089 "the required child elements (the specific command).");
2293 apr_xml_elem *child;
2362 for (child = doc->root->first_child; child; child = child->next) {
2368 if (child->ns != APR_XML_NS_DAV_ID
2369 || (!(is_remove = (strcmp(child->name, "remove") == 0))
2370 && strcmp(child->name, "set") != 0)) {
2374 /* make sure that a "prop" child exists for set/remove */
2375 if ((prop_group = dav_find_child(child, "prop")) == NULL) {
3328 const apr_xml_elem *child;
3339 if ((child = dav_find_child(doc->root, "version")) == NULL) {
3346 if ((child = dav_find_child(child, "href")) == NULL) {
3354 apr_xml_to_text(r->pool, child, APR_XML_X2T_INNER, NULL, NULL,
3535 const apr_xml_elem *child = aset->first_child;
3539 for (; child != NULL; child = child->next) {
3540 if (child->ns == APR_XML_NS_DAV_ID
3541 && strcmp(child->name, "href") == 0) {
3544 href = dav_xml_get_cdata(child, r->pool,
3769 apr_xml_elem *child;
3804 if ((child = dav_find_child(doc->root, "label-name")) != NULL)
3806 else if ((child = dav_find_child(doc->root, "version")) != NULL) {
3808 if ((child = dav_find_child(child, "href")) == NULL) {
3830 apr_xml_to_text(r->pool, child, APR_XML_X2T_INNER, NULL, NULL,
3977 apr_xml_elem *child;
4020 if ((child = dav_find_child(doc->root, "add")) != NULL) {
4023 else if ((child = dav_find_child(doc->root, "set")) != NULL) {
4026 else if ((child = dav_find_child(doc->root, "remove")) != NULL) {
4037 if ((child = dav_find_child(child, "label-name")) == NULL) {
4044 apr_xml_to_text(r->pool, child, APR_XML_X2T_INNER, NULL, NULL,