• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/

Lines Matching refs:filename

2376 	fprintf(stderr, "%s validates\n", sctxt->filename);
2378 fprintf(stderr, "%s fails to validate\n", sctxt->filename);
2381 sctxt->filename);
2439 * @filename: the file name
2444 * loads a new document specified by the filename
2449 xmlShellLoad(xmlShellCtxtPtr ctxt, char *filename,
2456 if ((ctxt == NULL) || (filename == NULL)) return(-1);
2462 doc = htmlParseFile(filename, NULL);
2468 doc = xmlReadFile(filename,NULL,0);
2478 xmlFree(ctxt->filename);
2484 ctxt->filename = (char *) xmlCanonicPath((xmlChar *) filename);
2494 * @filename: the file name
2499 * Write the current node to the filename, it saves the serialization
2505 xmlShellWrite(xmlShellCtxtPtr ctxt, char *filename, xmlNodePtr node,
2510 if ((filename == NULL) || (filename[0] == 0)) {
2514 if (access((char *) filename, W_OK)) {
2516 "Cannot write to %s\n", filename);
2522 if (xmlSaveFile((char *) filename, ctxt->doc) < -1) {
2524 "Failed to write to %s\n", filename);
2530 if (htmlSaveFile((char *) filename, ctxt->doc) < 0) {
2532 "Failed to write to %s\n", filename);
2536 if (xmlSaveFile((char *) filename, ctxt->doc) < -1) {
2538 "Failed to write to %s\n", filename);
2546 f = fopen((char *) filename, "w");
2549 "Failed to write to %s\n", filename);
2562 * @filename: the file name (optional)
2567 * Write the current document to the filename, or it's original name
2572 xmlShellSave(xmlShellCtxtPtr ctxt, char *filename,
2578 if ((filename == NULL) || (filename[0] == 0))
2579 filename = ctxt->filename;
2580 if (filename == NULL)
2583 if (access((char *) filename, W_OK)) {
2585 "Cannot save to %s\n", filename);
2591 if (xmlSaveFile((char *) filename, ctxt->doc) < 0) {
2593 "Failed to save to %s\n", filename);
2598 if (htmlSaveFile((char *) filename, ctxt->doc) < 0) {
2600 "Failed to save to %s\n", filename);
2603 if (xmlSaveFile((char *) filename, ctxt->doc) < 0) {
2605 "Failed to save to %s\n", filename);
2789 * @filename: the output buffer
2798 xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
2812 if (filename == NULL)
2825 ctxt->filename = (char *) xmlStrdup((xmlChar *) filename);
2919 fprintf(ctxt->output, "\twrite [name] write the current node to the filename\n");
2944 "Write command requires a filename argument\n");
3254 if (ctxt->filename != NULL)
3255 xmlFree(ctxt->filename);