Searched refs:filename_or_stream (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/tools/grit/grit/ |
D | grd_reader.py | 141 def Parse(filename_or_stream, dir=None, stop_after=None, first_ids_file=None, argument 179 if dir is None and isinstance(filename_or_stream, types.StringType): 180 dir = util.dirname(filename_or_stream) 186 xml.sax.parse(filename_or_stream, handler) 214 handler.root.AssignFirstIds(filename_or_stream, defines)
|
/external/chromium_org/tools/grit/grit/node/ |
D | misc.py | 419 def AssignFirstIds(self, filename_or_stream, defines): argument 425 if type(filename_or_stream) not in (str, unicode): 438 abs_filename = os.path.abspath(filename_or_stream) 440 filename = os.path.basename(filename_or_stream)
|