Lines Matching defs:output

876 xmlXPathDebugDumpNode(FILE *output, xmlNodePtr cur, int depth) {
884 fprintf(output, shift);
885 fprintf(output, "Node is NULL !\n");
892 fprintf(output, shift);
893 fprintf(output, " /\n");
895 xmlDebugDumpAttr(output, (xmlAttrPtr)cur, depth);
897 xmlDebugDumpOneNode(output, cur, depth);
900 xmlXPathDebugDumpNodeList(FILE *output, xmlNodePtr cur, int depth) {
909 fprintf(output, shift);
910 fprintf(output, "Node is NULL !\n");
918 xmlDebugDumpOneNode(output, tmp, depth);
923 xmlXPathDebugDumpNodeSet(FILE *output, xmlNodeSetPtr cur, int depth) {
932 fprintf(output, shift);
933 fprintf(output, "NodeSet is NULL !\n");
939 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr);
941 fprintf(output, shift);
942 fprintf(output, "%d", i + 1);
943 xmlXPathDebugDumpNode(output, cur->nodeTab[i], depth + 1);
949 xmlXPathDebugDumpValueTree(FILE *output, xmlNodeSetPtr cur, int depth) {
958 fprintf(output, shift);
959 fprintf(output, "Value Tree is NULL !\n");
964 fprintf(output, shift);
965 fprintf(output, "%d", i + 1);
966 xmlXPathDebugDumpNodeList(output, cur->nodeTab[0]->children, depth + 1);
970 xmlXPathDebugDumpLocationSet(FILE *output, xmlLocationSetPtr cur, int depth) {
979 fprintf(output, shift);
980 fprintf(output, "LocationSet is NULL !\n");
986 fprintf(output, shift);
987 fprintf(output, "%d : ", i + 1);
988 xmlXPathDebugDumpObject(output, cur->locTab[i], depth + 1);
995 * @output: the FILE * to dump the output
1002 xmlXPathDebugDumpObject(FILE *output, xmlXPathObjectPtr cur, int depth) {
1006 if (output == NULL) return;
1013 fprintf(output, shift);
1016 fprintf(output, "Object is empty (NULL)\n");
1021 fprintf(output, "Object is uninitialized\n");
1024 fprintf(output, "Object is a Node Set :\n");
1025 xmlXPathDebugDumpNodeSet(output, cur->nodesetval, depth);
1028 fprintf(output, "Object is an XSLT value tree :\n");
1029 xmlXPathDebugDumpValueTree(output, cur->nodesetval, depth);
1032 fprintf(output, "Object is a Boolean : ");
1033 if (cur->boolval) fprintf(output, "true\n");
1034 else fprintf(output, "false\n");
1039 fprintf(output, "Object is a number : Infinity\n");
1042 fprintf(output, "Object is a number : -Infinity\n");
1046 fprintf(output, "Object is a number : NaN\n");
1048 fprintf(output, "Object is a number : 0\n");
1050 fprintf(output, "Object is a number : %0g\n", cur->floatval);
1055 fprintf(output, "Object is a string : ");
1056 xmlDebugDumpString(output, cur->stringval);
1057 fprintf(output, "\n");
1060 fprintf(output, "Object is a point : index %d in node", cur->index);
1061 xmlXPathDebugDumpNode(output, (xmlNodePtr) cur->user, depth + 1);
1062 fprintf(output, "\n");
1067 fprintf(output, "Object is a collapsed range :\n");
1068 fprintf(output, shift);
1070 fprintf(output, "index %d in ", cur->index);
1071 fprintf(output, "node\n");
1072 xmlXPathDebugDumpNode(output, (xmlNodePtr) cur->user,
1075 fprintf(output, "Object is a range :\n");
1076 fprintf(output, shift);
1077 fprintf(output, "From ");
1079 fprintf(output, "index %d in ", cur->index);
1080 fprintf(output, "node\n");
1081 xmlXPathDebugDumpNode(output, (xmlNodePtr) cur->user,
1083 fprintf(output, shift);
1084 fprintf(output, "To ");
1086 fprintf(output, "index %d in ", cur->index2);
1087 fprintf(output, "node\n");
1088 xmlXPathDebugDumpNode(output, (xmlNodePtr) cur->user2,
1090 fprintf(output, "\n");
1095 fprintf(output, "Object is a Location Set:\n");
1096 xmlXPathDebugDumpLocationSet(output,
1101 fprintf(output, "Object is user defined\n");
1107 xmlXPathDebugDumpStepOp(FILE *output, xmlXPathCompExprPtr comp,
1116 fprintf(output, shift);
1118 fprintf(output, "Step is NULL\n");
1123 fprintf(output, "END"); break;
1125 fprintf(output, "AND"); break;
1127 fprintf(output, "OR"); break;
1130 fprintf(output, "EQUAL =");
1132 fprintf(output, "EQUAL !=");
1136 fprintf(output, "CMP <");
1138 fprintf(output, "CMP >");
1140 fprintf(output, "=");
1144 fprintf(output, "PLUS -");
1146 fprintf(output, "PLUS +");
1148 fprintf(output, "PLUS unary -");
1150 fprintf(output, "PLUS unary - -");
1154 fprintf(output, "MULT *");
1156 fprintf(output, "MULT div");
1158 fprintf(output, "MULT mod");
1161 fprintf(output, "UNION"); break;
1163 fprintf(output, "ROOT"); break;
1165 fprintf(output, "NODE"); break;
1167 fprintf(output, "RESET"); break;
1169 fprintf(output, "SORT"); break;
1177 fprintf(output, "COLLECT ");
1180 fprintf(output, " 'ancestors' "); break;
1182 fprintf(output, " 'ancestors-or-self' "); break;
1184 fprintf(output, " 'attributes' "); break;
1186 fprintf(output, " 'child' "); break;
1188 fprintf(output, " 'descendant' "); break;
1190 fprintf(output, " 'descendant-or-self' "); break;
1192 fprintf(output, " 'following' "); break;
1194 fprintf(output, " 'following-siblings' "); break;
1196 fprintf(output, " 'namespace' "); break;
1198 fprintf(output, " 'parent' "); break;
1200 fprintf(output, " 'preceding' "); break;
1202 fprintf(output, " 'preceding-sibling' "); break;
1204 fprintf(output, " 'self' "); break;
1208 fprintf(output, "'none' "); break;
1210 fprintf(output, "'type' "); break;
1212 fprintf(output, "'PI' "); break;
1214 fprintf(output, "'all' "); break;
1216 fprintf(output, "'namespace' "); break;
1218 fprintf(output, "'name' "); break;
1222 fprintf(output, "'node' "); break;
1224 fprintf(output, "'comment' "); break;
1226 fprintf(output, "'text' "); break;
1228 fprintf(output, "'PI' "); break;
1231 fprintf(output, "%s:", prefix);
1233 fprintf(output, "%s", (const char *) name);
1240 fprintf(output, "ELEM ");
1241 xmlXPathDebugDumpObject(output, object, 0);
1249 fprintf(output, "VARIABLE %s:%s", prefix, name);
1251 fprintf(output, "VARIABLE %s", name);
1260 fprintf(output, "FUNCTION %s:%s(%d args)",
1263 fprintf(output, "FUNCTION %s(%d args)", name, nbargs);
1266 case XPATH_OP_ARG: fprintf(output, "ARG"); break;
1267 case XPATH_OP_PREDICATE: fprintf(output, "PREDICATE"); break;
1268 case XPATH_OP_FILTER: fprintf(output, "FILTER"); break;
1270 case XPATH_OP_RANGETO: fprintf(output, "RANGETO"); break;
1273 fprintf(output, "UNKNOWN %d\n", op->op); return;
1275 fprintf(output, "\n");
1278 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[op->ch1], depth + 1);
1280 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[op->ch2], depth + 1);
1285 * @output: the FILE * for the output
1292 xmlXPathDebugDumpCompExpr(FILE *output, xmlXPathCompExprPtr comp,
1297 if ((output == NULL) || (comp == NULL)) return;
1303 fprintf(output, shift);
1305 fprintf(output, "Compiled Expression : %d elements\n",
1308 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[i], depth + 1);
2663 * @buffer: output buffer
2664 * @buffersize: size of output buffer
3917 * @output: a FILE * for the output
3923 xmlGenericErrorContextNodeSet(FILE *output, xmlNodeSetPtr obj) {
3926 if (output == NULL) output = xmlGenericErrorContext;
3928 fprintf(output, "NodeSet == NULL !\n");
3932 fprintf(output, "NodeSet is empty\n");
3936 fprintf(output, " nodeTab == NULL !\n");
3941 fprintf(output, " NULL !\n");
3946 fprintf(output, " /");
3948 fprintf(output, " noname!");
3949 else fprintf(output, " %s", obj->nodeTab[i]->name);
3951 fprintf(output, "\n");