Lines Matching refs:arg
1818 xmlShellPrintXPathError(int errorType, const char *arg) in xmlShellPrintXPathError() argument
1822 if (!arg) in xmlShellPrintXPathError()
1823 arg = default_arg; in xmlShellPrintXPathError()
1828 "%s: no such node\n", arg); in xmlShellPrintXPathError()
1833 "%s is a Boolean\n", arg); in xmlShellPrintXPathError()
1837 "%s is a number\n", arg); in xmlShellPrintXPathError()
1841 "%s is a string\n", arg); in xmlShellPrintXPathError()
1846 "%s is a point\n", arg); in xmlShellPrintXPathError()
1850 "%s is a range\n", arg); in xmlShellPrintXPathError()
1854 "%s is a range\n", arg); in xmlShellPrintXPathError()
1859 "%s is user-defined\n", arg); in xmlShellPrintXPathError()
1863 "%s is an XSLT value tree\n", arg); in xmlShellPrintXPathError()
1869 arg); in xmlShellPrintXPathError()
1998 char *arg ATTRIBUTE_UNUSED, xmlNodePtr node, in xmlShellList()
2041 char *arg ATTRIBUTE_UNUSED, xmlNodePtr node, in xmlShellBase()
2078 char *arg ATTRIBUTE_UNUSED, xmlNodePtr node, in xmlShellSetBase()
2081 xmlNodeSetBase(node, (xmlChar*) arg); in xmlShellSetBase()
2101 xmlShellRegisterNamespace(xmlShellCtxtPtr ctxt, char *arg, in xmlShellRegisterNamespace() argument
2109 nsListDup = xmlStrdup((xmlChar *) arg); in xmlShellRegisterNamespace()
2157 xmlShellRegisterRootNamespaces(xmlShellCtxtPtr ctxt, char *arg ATTRIBUTE_UNUSED, in xmlShellRegisterRootNamespaces()
2191 char *arg, xmlNodePtr node, xmlNodePtr node2 ATTRIBUTE_UNUSED) in xmlShellGrep() argument
2197 if (arg == NULL) in xmlShellGrep()
2200 if ((xmlStrchr((xmlChar *) arg, '?')) || in xmlShellGrep()
2201 (xmlStrchr((xmlChar *) arg, '*')) || in xmlShellGrep()
2202 (xmlStrchr((xmlChar *) arg, '.')) || in xmlShellGrep()
2203 (xmlStrchr((xmlChar *) arg, '['))) { in xmlShellGrep()
2208 if (xmlStrstr(node->content, (xmlChar *) arg)) { in xmlShellGrep()
2214 if (xmlStrstr(node->content, (xmlChar *) arg)) { in xmlShellGrep()
2269 char *arg ATTRIBUTE_UNUSED, xmlNodePtr node, in xmlShellDir()
2398 xmlShellCat(xmlShellCtxtPtr ctxt, char *arg ATTRIBUTE_UNUSED, in xmlShellCat()
2671 char *arg ATTRIBUTE_UNUSED, xmlNodePtr tree, in xmlShellDu()
2800 char arg[400]; in xmlShell() local
2876 arg[i++] = *cur++; in xmlShell()
2878 arg[i] = 0; in xmlShell()
2926 xmlShellValidate(ctxt, arg, NULL, NULL); in xmlShell()
2929 xmlShellLoad(ctxt, arg, NULL, NULL); in xmlShell()
2932 xmlShellRNGValidate(ctxt, arg, NULL, NULL); in xmlShell()
2936 xmlShellSave(ctxt, arg, NULL, NULL); in xmlShell()
2938 if (arg[0] == 0) in xmlShell()
2942 xmlShellWrite(ctxt, arg, ctxt->node, NULL); in xmlShell()
2945 xmlShellGrep(ctxt, arg, ctxt->node, NULL); in xmlShell()
2947 if (arg[0] == 0) { in xmlShell()
2952 sscanf(arg, "%d", &len); in xmlShell()
2961 if (arg[0] == 0) { in xmlShell()
2967 list = xmlXPathEval((xmlChar *) arg, ctxt->pctxt); in xmlShell()
2975 "%s: no such node\n", arg); in xmlShell()
2993 "%s is a Boolean\n", arg); in xmlShell()
2997 "%s is a number\n", arg); in xmlShell()
3001 "%s is a string\n", arg); in xmlShell()
3006 "%s is a point\n", arg); in xmlShell()
3010 "%s is a range\n", arg); in xmlShell()
3014 "%s is a range\n", arg); in xmlShell()
3019 "%s is user-defined\n", arg); in xmlShell()
3024 arg); in xmlShell()
3032 "%s: no such node\n", arg); in xmlShell()
3039 xmlShellSetContent(ctxt, arg, ctxt->node, NULL); in xmlShell()
3042 if (arg[0] == 0) { in xmlShell()
3046 xmlShellRegisterNamespace(ctxt, arg, NULL, NULL); in xmlShell()
3054 if (arg[0] == 0) { in xmlShell()
3059 list = xmlXPathEval((xmlChar *) arg, ctxt->pctxt); in xmlShell()
3066 xmlShellSetBase(ctxt, arg, ctxt->node, NULL); in xmlShell()
3071 if (arg[0] == 0) { in xmlShell()
3080 list = xmlXPathEval((xmlChar *) arg, ctxt->pctxt); in xmlShell()
3088 "%s: no such node\n", arg); in xmlShell()
3112 "%s is a Boolean\n", arg); in xmlShell()
3116 "%s is a number\n", arg); in xmlShell()
3120 "%s is a string\n", arg); in xmlShell()
3125 "%s is a point\n", arg); in xmlShell()
3129 "%s is a range\n", arg); in xmlShell()
3133 "%s is a range\n", arg); in xmlShell()
3138 "%s is user-defined\n", arg); in xmlShell()
3143 arg); in xmlShell()
3151 "%s: no such node\n", arg); in xmlShell()
3158 if (arg[0] == 0) { in xmlShell()
3164 list = xmlXPathEval((xmlChar *) arg, ctxt->pctxt); in xmlShell()
3172 "%s: no such node\n", arg); in xmlShell()
3191 "%s is a Boolean\n", arg); in xmlShell()
3195 "%s is a number\n", arg); in xmlShell()
3199 "%s is a string\n", arg); in xmlShell()
3204 "%s is a point\n", arg); in xmlShell()
3208 "%s is a range\n", arg); in xmlShell()
3212 "%s is a range\n", arg); in xmlShell()
3217 "%s is user-defined\n", arg); in xmlShell()
3222 arg); in xmlShell()
3230 "%s: no such node\n", arg); in xmlShell()
3235 if (arg[0] == 0) { in xmlShell()
3242 l = strlen(arg); in xmlShell()
3243 if ((l >= 2) && (arg[l - 1] == '/')) in xmlShell()
3244 arg[l - 1] = 0; in xmlShell()
3245 list = xmlXPathEval((xmlChar *) arg, ctxt->pctxt); in xmlShell()
3253 "%s: no such node\n", arg); in xmlShell()
3269 arg, in xmlShell()
3274 arg); in xmlShell()
3278 "%s is a Boolean\n", arg); in xmlShell()
3282 "%s is a number\n", arg); in xmlShell()
3286 "%s is a string\n", arg); in xmlShell()
3291 "%s is a point\n", arg); in xmlShell()
3295 "%s is a range\n", arg); in xmlShell()
3299 "%s is a range\n", arg); in xmlShell()
3304 "%s is user-defined\n", arg); in xmlShell()
3309 arg); in xmlShell()
3317 "%s: no such node\n", arg); in xmlShell()
3323 if (arg[0] == 0) { in xmlShell()
3329 list = xmlXPathEval((xmlChar *) arg, ctxt->pctxt); in xmlShell()
3337 "%s: no such node\n", arg); in xmlShell()
3358 "%s is a Boolean\n", arg); in xmlShell()
3362 "%s is a number\n", arg); in xmlShell()
3366 "%s is a string\n", arg); in xmlShell()
3371 "%s is a point\n", arg); in xmlShell()
3375 "%s is a range\n", arg); in xmlShell()
3379 "%s is a range\n", arg); in xmlShell()
3384 "%s is user-defined\n", arg); in xmlShell()
3389 arg); in xmlShell()
3397 "%s: no such node\n", arg); in xmlShell()