Lines Matching defs:xes
449 xes_pool(const svn_ra_serf__xml_estate_t *xes)
453 while (xes->state_pool == NULL)
454 xes = xes->prev;
455 return xes->state_pool;
460 ensure_pool(svn_ra_serf__xml_estate_t *xes)
462 if (xes->state_pool == NULL)
463 xes->state_pool = svn_pool_create(xes_pool(xes));
472 svn_ra_serf__xml_estate_t *xes = baton;
474 ensure_pool(xes);
475 return xes->state_pool;
534 svn_ra_serf__xml_estate_t *xes;
544 xes = apr_pcalloc(result_pool, sizeof(*xes));
550 xes->state_pool = result_pool;
552 xmlctx->current = xes;
559 svn_ra_serf__xml_gather_since(svn_ra_serf__xml_estate_t *xes,
565 ensure_pool(xes);
566 pool = xes->state_pool;
570 for (; xes != NULL; xes = xes->prev)
572 if (xes->attrs != NULL)
576 for (hi = apr_hash_first(pool, xes->attrs); hi;
589 if (xes->state == stop_state)
598 svn_ra_serf__xml_note(svn_ra_serf__xml_estate_t *xes,
605 for (scan = xes; scan != NULL && scan->state != state; scan = scan->prev)
627 svn_ra_serf__xml_state_pool(svn_ra_serf__xml_estate_t *xes)
630 ensure_pool(xes);
632 return xes->state_pool;
789 svn_ra_serf__xml_estate_t *xes = xmlctx->current;
797 if (xes->custom_close)
801 if (xes->cdata)
803 cdata = svn_stringbuf__morph_into_string(xes->cdata);
808 xes->cdata->pool = NULL;
815 SVN_ERR(xmlctx->closed_cb(xes, xmlctx->baton, xes->state,
816 cdata, xes->attrs,
823 xmlctx->current = xes->prev;
827 xes->prev = xmlctx->free_states;
828 xmlctx->free_states = xes;
833 if (xes->state_pool)
834 svn_pool_destroy(xes->state_pool);