• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/libxml2-26/libxml2/

Lines Matching defs:insert

135     xmlNodePtr insert;	/* the insertion point */
671 xmlNodePtr insert = ctxt->insert, cur;
679 if (ctxt->insert != NULL)
680 xmlAddChild(ctxt->insert, cur);
681 ctxt->insert = cur;
684 ctxt->insert = insert;
717 if (ctxt->insert != NULL)
718 xmlAddChild(ctxt->insert, cur);
719 ctxt->insert = cur;
735 if (ctxt->insert != NULL)
736 xmlAddChild(ctxt->insert, cur);
737 ctxt->insert = cur;
746 if (ctxt->insert != NULL)
747 xmlAddChild(ctxt->insert, cur);
748 ctxt->insert = cur;
770 xmlNodePtr insert = ctxt->insert, last, choice;
772 ctxt->insert = NULL;
774 last = ctxt->insert;
781 ctxt->insert = NULL;
784 xmlAddChild(choice, ctxt->insert);
788 xmlAddChild(insert, last);
790 ctxt->insert = insert;
851 ctxt->insert = xmlNewNode(NULL, BAD_CAST "value");
853 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
854 xmlNodeAddContent(ctxt->insert, token->token);
865 ctxt->insert = xmlNewNode(NULL, BAD_CAST "value");
867 if (ctxt->insert == NULL) {
871 ctxt->insert->properties = attrs;
872 xmlNodeAddContent(ctxt->insert, token->token);
875 ctxt->insert = xmlNewNode(NULL, BAD_CAST "data");
877 if (ctxt->insert == NULL) {
881 ctxt->insert->properties = attrs;
884 ctxt->insert = xmlNewNode(NULL, BAD_CAST "data");
886 if (ctxt->insert == NULL) {
890 ctxt->insert->properties = attrs;
891 xmlNodeAddContent(ctxt->insert, token->token);
915 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
917 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
922 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
924 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
929 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
931 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
934 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
936 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
939 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
941 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
943 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
945 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
947 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
949 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
951 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
953 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
956 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) token->token);
958 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
961 ctxt->insert = xmlNewNode(NULL, BAD_CAST "externalRef");
963 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
969 ctxt->insert = xmlNewNodeEatName(NULL, (xmlChar *) ctxt->key_ref);
970 if (ctxt->insert == NULL) CRNG_MEM_ERROR0();
971 xmlSetProp(ctxt->insert, BAD_CAST "name", token->token);
1003 xmlNodePtr insert = ctxt->insert, res, tmp = NULL;
1005 ctxt->insert = NULL;
1007 res = ctxt->insert;
1026 if (insert != NULL) {
1027 xmlAddChild(insert, res);
1028 ctxt->insert = insert;
1030 ctxt->insert = res;
1046 xmlNodePtr insert = ctxt->insert, prev, grp;
1048 ctxt->insert = NULL;
1050 prev = ctxt->insert;
1065 ctxt->insert = NULL;
1068 xmlAddChild(grp, ctxt->insert);
1072 if (insert != NULL) {
1073 xmlAddChild(insert, prev);
1074 ctxt->insert = insert;
1076 ctxt->insert = prev;
1094 xmlNodePtr insert = ctxt->insert;
1105 if (ctxt->insert != NULL)
1106 xmlAddChild(ctxt->insert, start);
1107 ctxt->insert = start;
1164 if (ctxt->insert != NULL)
1165 xmlAddChild(ctxt->insert, define);
1166 ctxt->insert = define;
1171 ctxt->insert = insert;
1222 ctxt->insert = grammar;
1239 ctxt->insert = grammar;