Home
last modified time | relevance | path

Searched refs:getpath (Results 1 – 25 of 25) sorted by relevance

/external/fonttools/Tests/subset/
Dsubset_test.py32 def getpath(testfile): member in SubsetTest
78 _, fontpath = self.compile_font(self.getpath("TestOTF-Regular.ttx"), ".otf")
82 self.expect_ttx(subsetfont, self.getpath("expect_no_notdef_outline_otf.ttx"), ["CFF "])
85 _, fontpath = self.compile_font(self.getpath("TestCID-Regular.ttx"), ".otf")
89 self.expect_ttx(subsetfont, self.getpath("expect_no_notdef_outline_cid.ttx"), ["CFF "])
92 _, fontpath = self.compile_font(self.getpath("TestTTF-Regular.ttx"), ".ttf")
96 … self.expect_ttx(subsetfont, self.getpath("expect_no_notdef_outline_ttf.ttx"), ["glyf", "hmtx"])
99 _, fontpath = self.compile_font(self.getpath("TestANKR.ttx"), ".ttf")
103 self.expect_ttx(subsetfont, self.getpath("expect_ankr.ttx"), ["ankr"])
106 _, fontpath = self.compile_font(self.getpath("TestANKR.ttx"), ".ttf")
[all …]
/external/fonttools/Tests/ttx/
Dttx_test.py45 def getpath(testfile): member in TTXTest
83 font_path = self.getpath(file_name)
97 font_path = self.getpath(file_name)
112 font_path = self.getpath(file_name)
126 font_path = self.getpath(file_name)
141 font_paths = [self.getpath(file_name) for file_name in file_names]
163 font_paths = [self.getpath(file_name) for file_name in file_names]
184 font_path = self.getpath(file_name)
214 font_path = self.getpath(file_name)
257 font_path = self.getpath(file_name)
[all …]
/external/fonttools/Tests/ttLib/tables/
Dtables_test.py244 def getpath(testfile): function
251 xml_expected_path = getpath("%s.ttx.%s" % (name, tagToXML(tableTag)))
274 font = TTFont(getpath(testfile))
308 setupfile = getpath("%s.ttx.%s.setup" % (name, tagToXML(tableTag)))
/external/fonttools/Tests/feaLib/
Dlexer_test.py148 def getpath(filename): member in IncludingLexerTest
153 lexer = IncludingLexer(self.getpath("include/include4.fea"))
172 lexer = IncludingLexer(self.getpath("include/include6.fea"))
176 lexer = IncludingLexer(self.getpath("include/includeself.fea"))
180 lexer = IncludingLexer(self.getpath("include/includemissingfile.fea"))
Dbuilder_test.py93 def getpath(testfile): member in BuilderTest
135 addOpenTypeFeatures(font, self.getpath("%s.fea" % name))
136 self.expect_ttx(font, self.getpath("%s.ttx" % name))
145 p = parser(self.getpath(fname), glyphNames=font.getGlyphOrder())
148 with open(self.getpath(base or fname), "r", encoding="utf-8") as ofile:
Dparser_test.py1443 doc = Parser(self.getpath("spec5fi1.fea"), GLYPHNAMES).parse()
1676 def getpath(testfile): member in ParserTest
/external/fonttools/Tests/mtiLib/
Dmti_test.py144 def getpath(testfile): member in MtiTest
166 … xml_expected_path = self.getpath("%s.ttx" % name + ('.'+tableTag if tableTag is not None else ''))
172 with open(self.getpath("%s.txt" % name), 'rt', encoding="utf-8") as f:
/external/python/cpython2/Lib/
Dmhlib.py126 def getpath(self): member in MH
132 context = pickline(os.path.join(self.getpath(), 'context'),
139 fn = os.path.join(self.getpath(), 'context')
147 path = self.getpath()
222 os.mkdir(os.path.join(self.getpath(), name), mode)
227 fullname = os.path.join(self.getpath(), name)
/external/fonttools/Tests/cffLib/
DcffLib_test.py51 font_path = self.getpath(file_name)
/external/fonttools/Lib/fontTools/misc/
DtestTools.py174 def getpath(self, testfile): member in DataFilesHandler
/external/python/cpython2/Doc/library/
Dmhlib.rst56 .. method:: MH.getpath()
/external/python/cpython2/Lib/test/
Dtest_mhlib.py154 eq(mh.getpath(), os.path.abspath(_mhpath))
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt18 # Modules/getpath.c
/external/python/cpython2/
DMakefile.pre.in228 Modules/getpath.o \
499 # sys.path fixup -- see Modules/getpath.c.
650 Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
656 -o $@ $(srcdir)/Modules/getpath.c
DAndroid.bp267 "Modules/getpath.c",
DREADME986 Modules/getpath.o.
/external/python/cpython3/
DMakefile.pre.in274 Modules/getpath.o \
585 # sys.path fixup -- see Modules/getpath.c.
766 Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
772 -o $@ $(srcdir)/Modules/getpath.c
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a2.rst673 Fix memory corruption due to allocator mix in getpath.c between Py_GetPath()
D3.6.4rc1.rst1126 Fix memory corruption due to allocator mix in getpath.c between Py_GetPath()
/external/python/cpython3/Doc/c-api/
Dintro.rst650 :c:func:`Py_GetProgramFullPath` (all defined in :file:`Modules/getpath.c`).
/external/python/cpython2/Doc/c-api/
Dintro.rst567 :c:func:`Py_GetProgramFullPath` (all defined in :file:`Modules/getpath.c`).
/external/python/cpython2/PC/os2vacpp/
Dmakefile.omk546 getpath.obj: abstract.h ceval.h classobject.h cobject.h complexobject.h \
Dmakefile688 getpath.obj: $(PY_INCLUDE)\abstract.h $(PY_INCLUDE)\ceval.h $(PY_INCLUDE)\classobject.h \
/external/python/cpython3/Misc/
DHISTORY8637 - Issue #11320: fix bogus memory management in Modules/getpath.c, leading to
20943 - Bug #978645: Modules/getpath.c now builds properly in --disable-framework
/external/python/cpython2/Misc/
DHISTORY3559 - Bug #978645: Modules/getpath.c now builds properly in --disable-framework