HomeSort by relevance Sort by last modified time
    Searched refs:fileOrPath (Results 1 - 4 of 4) sorted by null

  /external/fonttools/Lib/fontTools/misc/
xmlWriter.py 13 def __init__(self, fileOrPath, indentwhite=INDENT, idlefunc=None):
14 if not hasattr(fileOrPath, "write"):
17 self.file = open(fileOrPath, "w", encoding="utf-8")
19 self.file = open(fileOrPath, "w")
22 self.file = fileOrPath
  /external/skia/tools/bookmaker/
parserCommon.cpp 17 bool ParserCommon::parseFile(const char* fileOrPath, const char* suffix) {
18 if (!sk_isdir(fileOrPath)) {
19 if (!this->parseFromFile(fileOrPath)) {
20 SkDebugf("failed to parse %s\n", fileOrPath);
24 SkOSFile::Iter it(fileOrPath, suffix);
26 SkString p = SkOSPath::Join(fileOrPath, file.c_str());
  /external/skqp/tools/bookmaker/
parserCommon.cpp 17 bool ParserCommon::parseFile(const char* fileOrPath, const char* suffix) {
18 if (!sk_isdir(fileOrPath)) {
19 if (!this->parseFromFile(fileOrPath)) {
20 SkDebugf("failed to parse %s\n", fileOrPath);
24 SkOSFile::Iter it(fileOrPath, suffix);
26 SkString p = SkOSPath::Join(fileOrPath, file.c_str());
  /external/fonttools/Lib/fontTools/ttLib/
__init__.py 224 def saveXML(self, fileOrPath, progress=None, quiet=False,
228 files when splitTables is true. In the latter case, the 'fileOrPath'
254 writer = xmlWriter.XMLWriter(fileOrPath, idlefunc=idlefunc)
262 # 'fileOrPath' must now be a path
263 path, ext = os.path.splitext(fileOrPath)

Completed in 220 milliseconds