80 | 106 | } xpmfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 1 | { | 67 | 1 | OUString sExecDir; | 68 | 1 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | | | 70 | 1 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 1 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 1 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 1 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 1 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 1 | sal_uInt64 aBytesWritten; | 76 | 1 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 1 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
xlsfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
schtmlfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
rtffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
rtf2pdffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
ww8fuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
wmffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
pdf2fodgfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
giffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 1 | { | 64 | 1 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 1 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 1 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 1 | } |
fodt2pdffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
pptxfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
dbffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
scrtffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
pctfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
lwpfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
zipfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
xbmfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
cgmfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 1 | { | 64 | 1 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 1 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 1 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 1 | } |
htmlfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
602fuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
pcxfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
sftfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
eotfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
wksfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
pcdfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
mmlfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
ww2fuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
diffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
ww6fuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
docxfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
psdfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
tiffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
svgfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
metfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
epsfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
fodpfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
Unexecuted instantiation: mtpfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) slkfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
webpfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
tgafuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
svmfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
fodtfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
pptfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
olefuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
hwpfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
jpgfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
dxffuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
ppmfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
pngfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
rasfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
bmpfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
qpwfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
fods2xlsfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
fodsfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
xlsxfuzzer.cxx:(anonymous namespace)::setFontConfigConf(rtl::OUString const&) Line | Count | Source | 63 | 2 | { | 64 | 2 | osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); | 65 | 2 | if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) | 66 | 0 | { | 67 | 0 | OUString sExecDir; | 68 | 0 | osl::FileBase::getSystemPathFromFileURL(execdir, sExecDir); | 69 | |
| 70 | 0 | OStringBuffer aBuffer("<?xml version=\"1.0\"?>\n<fontconfig><dir>"); | 71 | 0 | aBuffer.append(OUStringToOString(sExecDir, osl_getThreadTextEncoding())) | 72 | 0 | .append(OUStringToOString(getExecutableName(), osl_getThreadTextEncoding())).append(".fonts"); | 73 | 0 | aBuffer.append("</dir><cachedir>/tmp/cache/fontconfig</cachedir></fontconfig>"); | 74 | 0 | OString aConf = aBuffer.makeStringAndClear(); | 75 | 0 | sal_uInt64 aBytesWritten; | 76 | 0 | aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); | 77 | | assert(aBytesWritten == aConf.getLength()); | 78 | 0 | } | 79 | 2 | setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); | 80 | 2 | } |
|