• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libxml2-src/

Lines Matching +defs:last +defs:depth

180  * arbitrary depth limit for the XML documents that we allow to
211 void *user_data, int depth, const xmlChar *URL,
1569 "Excessive depth in document: %d use XML_PARSE_HUGE option\n",
2493 const xmlChar *last;
2500 last = str + len;
2502 if (((ctxt->depth > 40) &&
2504 (ctxt->depth > 1024)) {
2520 if (str < last)
2559 ctxt->depth++;
2562 ctxt->depth--;
2603 ctxt->depth++;
2606 ctxt->depth--;
2629 if (str < last)
5332 xmlEnumerationPtr ret = NULL, last = NULL, cur, tmp;
5367 if (last == NULL) ret = last = cur;
5369 last->next = cur;
5370 last = cur;
5402 xmlEnumerationPtr ret = NULL, last = NULL, cur, tmp;
5437 if (last == NULL) ret = last = cur;
5439 last->next = cur;
5440 last = cur;
5808 * @depth: the level of recursion
5830 * be empty, and neither the first nor last non-blank character of
5838 int depth) {
5839 xmlElementContentPtr ret = NULL, cur = NULL, last = NULL, op = NULL;
5843 if (((depth > 128) && ((ctxt->options & XML_PARSE_HUGE) == 0)) ||
5844 (depth > 2048)) {
5846 "xmlParseElementChildrenContentDecl : depth %d too deep, use XML_PARSE_HUGE\n",
5847 depth);
5859 depth + 1);
5904 if ((last != NULL) && (last != ret))
5905 xmlFreeDocElementContent(ctxt->myDoc, last);
5914 if ((last != NULL) && (last != ret))
5915 xmlFreeDocElementContent(ctxt->myDoc, last);
5919 if (last == NULL) {
5928 op->c1 = last;
5929 if (last != NULL)
5930 last->parent = op;
5932 last = NULL;
5944 if ((last != NULL) && (last != ret))
5945 xmlFreeDocElementContent(ctxt->myDoc, last);
5954 if ((last != NULL) && (last != ret))
5955 xmlFreeDocElementContent(ctxt->myDoc, last);
5960 if (last == NULL) {
5969 op->c1 = last;
5970 if (last != NULL)
5971 last->parent = op;
5973 last = NULL;
5977 if ((last != NULL) && (last != ret))
5978 xmlFreeDocElementContent(ctxt->myDoc, last);
5991 last = xmlParseElementChildrenContentDeclPriv(ctxt, inputid,
5992 depth + 1);
6002 last = xmlNewDocElementContent(ctxt->myDoc, elem, XML_ELEMENT_CONTENT_ELEMENT);
6003 if (last == NULL) {
6009 last->ocur = XML_ELEMENT_CONTENT_OPT;
6012 last->ocur = XML_ELEMENT_CONTENT_MULT;
6015 last->ocur = XML_ELEMENT_CONTENT_PLUS;
6018 last->ocur = XML_ELEMENT_CONTENT_ONCE;
6024 if ((cur != NULL) && (last != NULL)) {
6025 cur->c2 = last;
6026 if (last != NULL)
6027 last->parent = cur;
6126 * be empty, and neither the first nor last non-blank character of
6373 int depth = 0;
6405 while ((depth >= 0) && (RAW != 0)) {
6407 depth++;
6412 if (--depth >= 0) SKIP(3);
6462 * or the last character of a markup declaration (markupdecl above) is
6800 ctxt->depth++;
6803 ctxt->depth--;
6806 ctxt->depth++;
6808 user_data, ctxt->depth, ent->URI,
6810 ctxt->depth--;
6854 ent->last = list;
6868 ent->last = list;
6915 ctxt->depth++;
6918 ctxt->depth--;
6921 ctxt->depth++;
6923 ctxt->sax, user_data, ctxt->depth,
6925 ctxt->depth--;
7003 if (cur == ent->last) {
7023 xmlNodePtr nw = NULL, cur, next, last,
7033 last = ent->last;
7034 ent->last = NULL;
7049 if (cur == last)
7071 if ((ent->last != ent->children) &&
7072 (ent->last->type == XML_TEXT_NODE))
7073 ent->last->name = nbktext;
8456 const xmlChar *in = NULL, *start, *end, *last;
8519 last = in;
8523 while ((last[-1] == 0x20) && (last > start)) last--;
8535 last = last + delta;
8556 last = in;
8561 *len = last - start;
8565 ret = xmlStrndup(start, last - start);
9434 "Excessive depth in document: %d use XML_PARSE_HUGE option\n",
10334 ctxt->depth = 0;
10444 * @lastlt: pointer to store the last '<' from the input
10445 * @lastgt: pointer to store the last '>' from the input
10447 * Lookup the last < and > in the current chunk
10568 * @terminate: last chunk indicator
11510 * @terminate: last chunk indicator
12191 if (((ctx->depth > 40) && ((ctx->options & XML_PARSE_HUGE) == 0)) ||
12192 (ctx->depth > 1024)) {
12285 ctxt->depth = ctx->depth + 1;
12362 * @depth: Used for loop detection, use 0
12376 void *user_data, int depth, const xmlChar *URL,
12386 if (((depth > 40) &&
12388 (depth > 1024)) {
12489 ctxt->depth = depth;
12541 * And record the last error if any
12568 * @depth: Used for loop detection, use 0
12585 int depth, const xmlChar *URL, const xmlChar *ID, xmlNodePtr *lst) {
12586 return(xmlParseExternalEntityPrivate(doc, NULL, sax, user_data, depth, URL,
12595 * @depth: Used for loop detection, use 0
12612 void *user_data, int depth, const xmlChar *string, xmlNodePtr *lst) {
12614 depth, string, lst, 0 );
12647 xmlNodePtr last = NULL;
12654 if (((oldctxt->depth > 40) && ((oldctxt->options & XML_PARSE_HUGE) == 0)) ||
12655 (oldctxt->depth > 1024)) {
12708 last = ctxt->myDoc->last;
12721 ctxt->myDoc->last = NULL;
12725 ctxt->depth = oldctxt->depth + 1;
12784 ctxt->myDoc->last = last;
12795 * Also record the last error if any
12900 * we must wait until the last moment to free the original one.
13006 node->last = fake;
13044 * @depth: Used for loop detection, use 0
13066 void *user_data, int depth, const xmlChar *string, xmlNodePtr *lst,
13075 if (depth > 40) {
13139 ctxt->depth = depth;
13950 * @lastNode : A valid last node of children entity
14075 xmlCleanupThreads(); /* must be last if called not from the main thread */
14172 ctxt->depth = 0;