Home
last modified time | relevance | path

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

12

/dports/print/py-reportlab/reportlab-3.5.68/tests/
H A Dtest_lib_utils.py16 asUnicode, asUnicodeEx, asBytes
216 self.assertEqual(asUnicode(u'abc'),u'abc')
217 self.assertEqual(asUnicode(b'abc'),u'abc')
218 self.assertRaises(AttributeError,asUnicode,['abc'])
219 …sesRegex(AttributeError,r"asUnicode\(.*'list' object has no attribute 'decode'", asUnicode,['abc'])
H A Dtest_platypus_index.py15 from reportlab.lib.utils import commajoin, asUnicode
102 words = [asUnicode(w) for w in words]
/dports/print/py-reportlab/reportlab-3.5.68/src/reportlab/lib/
H A Dpygments2xpre.py12 from reportlab.lib.utils import isPy3, asBytes, getBytesIO, getStringIO, asUnicode, isUnicode
42 rconv = asUnicode
H A Dtestutils.py21 from reportlab.lib.utils import isCompactDistro, __rl_loader__, rl_isdir, asUnicode
347 return a==b if type(a)==type(b) else asUnicode(a,enc)==asUnicode(b,enc)
H A Dutils.py82 def asUnicode(v,enc='utf8'): function
97 return asUnicode(v,enc=enc)
211 def asUnicode(v,enc='utf8'): function
1312 lines = asUnicode(text).split(u'\n')
1428 return u','.join([ u' ' + asUnicode(i).replace(u',', u',,') + u' ' for i in l ])
H A Drl_accel.py34 …from reportlab.lib.utils import isBytes, isUnicode, isSeq, isPy3, rawBytes, asNative, asUnicode, a…
/dports/print/py-reportlab/reportlab-3.5.68/docs/userguide/
H A Dgenuserguide.py13 from reportlab.lib.utils import open_and_read, asUnicode
55 exec(asUnicode(open_and_read(f+'.py')), G, G)
/dports/audio/carla/Carla-2.4.1/source/modules/water/files/
H A DFile.h616 bool asUnicode = false,
636 bool asUnicode = false,
H A DFile.cpp767 const bool asUnicode, in appendText() argument
773 out.writeText (text, asUnicode, writeUnicodeHeaderBytes); in appendText()
778 const bool asUnicode, in replaceWithText() argument
782 tempFile.getFile().appendText (textToWrite, asUnicode, writeUnicodeHeaderBytes); in replaceWithText()
/dports/devel/juce/JUCE-f37e9a1/modules/juce_core/files/
H A Djuce_File.h737 bool asUnicode = false,
758 bool asUnicode = false,
H A Djuce_File.cpp770 bool File::appendText (const String& text, bool asUnicode, bool writeHeaderBytes, const char* lineF… in appendText() argument
777 return fout.writeText (text, asUnicode, writeHeaderBytes, lineFeed); in appendText()
780 bool File::replaceWithText (const String& textToWrite, bool asUnicode, bool writeHeaderBytes, const… in replaceWithText() argument
783 tempFile.getFile().appendText (textToWrite, asUnicode, writeHeaderBytes, lineFeed); in replaceWithText()
/dports/audio/carla/Carla-2.4.1/source/modules/juce_core/files/
H A Djuce_File.h737 bool asUnicode = false,
758 bool asUnicode = false,
H A Djuce_File.cpp770 bool File::appendText (const String& text, bool asUnicode, bool writeHeaderBytes, const char* lineF… in appendText() argument
777 return fout.writeText (text, asUnicode, writeHeaderBytes, lineFeed); in appendText()
780 bool File::replaceWithText (const String& textToWrite, bool asUnicode, bool writeHeaderBytes, const… in replaceWithText() argument
783 tempFile.getFile().appendText (textToWrite, asUnicode, writeHeaderBytes, lineFeed); in replaceWithText()
/dports/audio/libopenshot-audio/libopenshot-audio-0.2.2/JuceLibraryCode/modules/juce_core/files/
H A Djuce_File.h728 bool asUnicode = false,
749 bool asUnicode = false,
H A Djuce_File.cpp771 bool File::appendText (const String& text, bool asUnicode, bool writeHeaderBytes, const char* lineF… in appendText() argument
778 return out.writeText (text, asUnicode, writeHeaderBytes, lineFeed); in appendText()
781 bool File::replaceWithText (const String& textToWrite, bool asUnicode, bool writeHeaderBytes, const… in replaceWithText() argument
784 tempFile.getFile().appendText (textToWrite, asUnicode, writeHeaderBytes, lineFeed); in replaceWithText()
/dports/audio/supercollider/SuperCollider-3.11.0-Source/SCClassLibrary/Common/Core/
H A DChar.sc31 asUnicode { ^this.ascii }
/dports/devel/py-orange-widget-base/orange-widget-base-4.13.0/orangewidget/utils/
H A DSVGExporter.py20 from pyqtgraph.python2_3 import asUnicode
78 fh.write(asUnicode(xml).encode('utf-8'))
/dports/print/py-reportlab/reportlab-3.5.68/tools/docco/
H A Drl_doc_utils.py13 from reportlab.lib.utils import asUnicode
134 text=u'<bullet><font name="Symbol">\u2022</font></bullet>' + asUnicode(quickfix(text))
/dports/print/py-reportlab/reportlab-3.5.68/src/reportlab/platypus/
H A Dtableofcontents.py49 ….lib.utils import commasplit, escapeOnce, encode_label, decode_label, strTypes, asUnicode, asNative
427 _tempEntries = [(tuple(asUnicode(t) for t in texts),pageNumbers)
/dports/print/py-reportlab/reportlab-3.5.68/src/reportlab/pdfgen/
H A Dtextobject.py15 from reportlab.lib.utils import isBytes, isStr, asUnicode
454 lines = asUnicode(stuff).strip().split(u'\n')
/dports/lang/smalltalk/smalltalk-3.2.5/packages/seaside/
H A DPORTING105 -r'(``@obj asUnicode)->
/dports/audio/supercollider/SuperCollider-3.11.0-Source/SCClassLibrary/Common/Math/
H A DInteger.sc81 asUnicode { ^this }
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/tests/css/tools/w3ctestlib/
H A DSources.py621 def getMetadata(self, asUnicode = False): argument
645 …return str.encode('utf-8') if asUnicode else intern(escapeToNamedASCII(str)) if andIntern else esc…
827 def getMetadata(self, asUnicode = False): argument
/dports/lang/spidermonkey60/firefox-60.9.0/testing/web-platform/tests/css/tools/w3ctestlib/
H A DSources.py619 def getMetadata(self, asUnicode = False): argument
643 …return str.encode('utf-8') if asUnicode else intern(escapeToNamedASCII(str)) if andIntern else esc…
824 def getMetadata(self, asUnicode = False): argument
/dports/www/firefox/firefox-99.0/testing/web-platform/tests/css/tools/w3ctestlib/
H A DSources.py621 def getMetadata(self, asUnicode = False): argument
645 …return str.encode('utf-8') if asUnicode else intern(escapeToNamedASCII(str)) if andIntern else esc…
827 def getMetadata(self, asUnicode = False): argument

12