Home
last modified time | relevance | path

Searched refs:inputfile (Results 1 – 5 of 5) sorted by relevance

/trunk/main/l10ntools/scripts/tool/
H A Dl10ntool.py59 def extract_file(self, inputfile): argument
95 filelist = self._options.inputfile
97 for inputfile in filelist:
98 ref = self.parse_file(inputfile)
104 …[self.merge_file(inputfile, self.format_outputfile(inputfile, lang), ref, lang, True, sdfdata) fo…
107 …self.merge_one_big_file(inputfile, self.format_outputfile(inputfile, lang), ref, ((langset & found…
110 return self._options.inputfile[0] == '@'
132 f.write(self.extract_file(self._options.inputfile))
201 f = open(self._options.inputfile[1:], "r")
210 def get_filename_string(self, inputfile): argument
[all …]
H A Dxhtex.py33 def extract_topic(self, list, inputfile): argument
37 …re_sdf_line(id=elem.getAttribute("id").strip(), text=elem.childNodes[0].data, inputfile=inputfile))
40 def extract_title(self, list, inputfile): argument
44 …(id=elem.getAttribute("id").strip(), text=elem.getAttribute("title").strip(), inputfile=inputfile))
58 …obj = self.prepare_sdf_line(inputfile=inputfilename, lang=lang, id=elem.getAttribute("id").strip())
115 def extract_file(self, inputfile): argument
117 dom = self.parse_file(inputfile)
118 sdf_data.extend(self.extract_topic(dom.getElementsByTagName("topic"), inputfile))
119 sdf_data.extend(self.extract_title(dom.getElementsByTagName("help_section"), inputfile))
120 sdf_data.extend(self.extract_title(dom.getElementsByTagName("node"), inputfile))
[all …]
H A Dxtxex.py59 def extract_file(self, inputfile): argument
62 f = open(inputfile, "r")
65 print("ERROR: Can not open file " + inputfile)
76 sdf_entity = self.prepare_sdf_line(inputfile);
82 def prepare_sdf_line(self, inputfile="", lang=""): argument
85 …turn SdfEntity(project=self._options.project_name, source_file=self.get_filename_string(inputfile),
/trunk/main/solenv/bin/
H A Dmacosx-create-bundle59 inputfile=`echo "$1" | awk -F= '{print $1}'`
64 inputfilename=`basename "$inputfile"`
65 outputdir=`dirname "$inputfile"`
74 filetype=`file -L "$inputfile"`
96 printf "macosx-create-bundle: error: \"$inputfile\" is not an executable or shared library.\n" >&2
H A Dpchdelta.py146 inputfile = file(pchname, "r+") variable
147 inputdata = inputfile.read()
148 inputfile.close()

Completed in 30 milliseconds