Home
last modified time | relevance | path

Searched refs:tstring (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Tools/i18n/
Dpygettext.py321 def __call__(self, ttype, tstring, stup, etup, line): argument
326 self.__state(ttype, tstring, stup[0])
328 def __waiting(self, ttype, tstring, lineno): argument
334 if ttype == tokenize.STRING and is_literal_string(tstring):
335 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
341 if ttype == tokenize.NAME and tstring in ('class', 'def'):
344 if ttype == tokenize.NAME and tstring in opts.keywords:
347 def __suiteseen(self, ttype, tstring, lineno): argument
350 if tstring == ':' and self.__enclosurecount == 0:
353 elif tstring in '([{':
[all …]
/external/python/cpython3/Lib/test/
Dtest_codecencodings_jp.py11 tstring = multibytecodec_support.load_teststring('shift_jis') variable in Test_CP932
45 tstring = multibytecodec_support.load_teststring('euc_jisx0213') variable in Test_EUC_JIS_2004
55 tstring = multibytecodec_support.load_teststring('euc_jisx0213') variable in Test_EUC_JISX0213
65 tstring = multibytecodec_support.load_teststring('euc_jp') variable in Test_EUC_JP_COMPAT
79 tstring = multibytecodec_support.load_teststring('shift_jis') variable in Test_SJIS_COMPAT
93 tstring = multibytecodec_support.load_teststring('shift_jis') variable in Test_SJIS_2004
111 tstring = multibytecodec_support.load_teststring('shift_jisx0213') variable in Test_SJISX0213
Dtest_codecencodings_cn.py11 tstring = multibytecodec_support.load_teststring('gb2312') variable in Test_GB2312
24 tstring = multibytecodec_support.load_teststring('gbk') variable in Test_GBK
38 tstring = multibytecodec_support.load_teststring('gb18030') variable in Test_GB18030
62 tstring = multibytecodec_support.load_teststring('hz') variable in Test_HZ
Dtest_codecencodings_iso2022.py15 tstring = multibytecodec_support.load_teststring('iso2022_jp') variable in Test_ISO2022_JP
22 tstring = multibytecodec_support.load_teststring('iso2022_jp') variable in Test_ISO2022_JP2
29 tstring = multibytecodec_support.load_teststring('iso2022_kr') variable in Test_ISO2022_KR
Dmultibytecodec_support.py18 tstring = None # must set. 2 strings to test StreamReader variable in TestBase
38 for b in self.tstring:
177 istream = UTF8Reader(BytesIO(self.tstring[1]))
191 self.assertEqual(ostream.getvalue(), self.tstring[0])
197 istream = BytesIO(self.tstring[0])
208 self.assertEqual(ostream.getvalue(), self.tstring[1])
235 istream = self.reader(BytesIO(self.tstring[0]))
247 self.assertEqual(ostream.getvalue(), self.tstring[1])
255 istream = UTF8Reader(BytesIO(self.tstring[1]))
271 self.assertEqual(ostream.getvalue(), self.tstring[0])
Dtest_codecencodings_kr.py11 tstring = multibytecodec_support.load_teststring('cp949') variable in Test_CP949
23 tstring = multibytecodec_support.load_teststring('euc_kr') variable in Test_EUCKR
54 tstring = multibytecodec_support.load_teststring('johab') variable in Test_JOHAB
Dtest_codecencodings_hk.py11 tstring = multibytecodec_support.load_teststring('big5hkscs') variable in Test_Big5HKSCS
Dtest_codecencodings_tw.py11 tstring = multibytecodec_support.load_teststring('big5') variable in Test_Big5
/external/python/cpython2/Tools/i18n/
Dpygettext.py356 def __call__(self, ttype, tstring, stup, etup, line): argument
361 self.__state(ttype, tstring, stup[0])
363 def __waiting(self, ttype, tstring, lineno): argument
370 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
376 if ttype == tokenize.NAME and tstring in ('class', 'def'):
379 if ttype == tokenize.NAME and tstring in opts.keywords:
382 def __suiteseen(self, ttype, tstring, lineno): argument
384 if ttype == tokenize.OP and tstring == ':':
387 def __suitedocstring(self, ttype, tstring, lineno): argument
390 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
[all …]
/external/python/cpython2/Lib/test/
Dtest_codecencodings_jp.py12 tstring = multibytecodec_support.load_teststring('shift_jis') variable in Test_CP932
28 tstring = multibytecodec_support.load_teststring('euc_jisx0213') variable in Test_EUC_JISX0213
58 tstring = multibytecodec_support.load_teststring('euc_jp') variable in Test_EUC_JP_COMPAT
75 tstring = multibytecodec_support.load_teststring('shift_jis') variable in Test_SJIS_COMPAT
83 tstring = multibytecodec_support.load_teststring('shift_jisx0213') variable in Test_SJISX0213
Dtest_codecencodings_cn.py12 tstring = multibytecodec_support.load_teststring('gb2312') variable in Test_GB2312
25 tstring = multibytecodec_support.load_teststring('gbk') variable in Test_GBK
39 tstring = multibytecodec_support.load_teststring('gb18030') variable in Test_GB18030
60 tstring = multibytecodec_support.load_teststring('hz') variable in Test_HZ
Dtest_codecencodings_kr.py12 tstring = multibytecodec_support.load_teststring('cp949') variable in Test_CP949
24 tstring = multibytecodec_support.load_teststring('euc_kr') variable in Test_EUCKR
54 tstring = multibytecodec_support.load_teststring('johab') variable in Test_JOHAB
Dmultibytecodec_support.py17 tstring = '' # string to test StreamReader variable in TestBase
37 for f in self.tstring]):
163 istream = UTF8Reader(StringIO(self.tstring[1]))
177 self.assertEqual(ostream.getvalue(), self.tstring[0])
183 istream = StringIO(self.tstring[0])
194 self.assertEqual(ostream.getvalue(), self.tstring[1])
221 istream = self.reader(StringIO(self.tstring[0]))
233 self.assertEqual(ostream.getvalue(), self.tstring[1])
241 istream = UTF8Reader(StringIO(self.tstring[1]))
257 self.assertEqual(ostream.getvalue(), self.tstring[0])
Dtest_codecencodings_iso2022.py16 tstring = multibytecodec_support.load_teststring('iso2022_jp') variable in Test_ISO2022_JP
23 tstring = multibytecodec_support.load_teststring('iso2022_jp') variable in Test_ISO2022_JP2
30 tstring = multibytecodec_support.load_teststring('iso2022_kr') variable in Test_ISO2022_KR
Dtest_codecencodings_tw.py12 tstring = multibytecodec_support.load_teststring('big5') variable in Test_Big5
Dtest_codecencodings_hk.py12 tstring = multibytecodec_support.load_teststring('big5hkscs') variable in Test_Big5HKSCS
/external/tcpdump/
Dsmbutil.c731 const char *tstring; in smb_fdata1() local
765 tstring = asctime(lt); in smb_fdata1()
767 tstring = "(Can't convert time)\n"; in smb_fdata1()
769 tstring = "NULL\n"; in smb_fdata1()
770 ND_PRINT((ndo, "%s", tstring)); in smb_fdata1()
/external/webrtc/webrtc/base/
Dproxydetect.cc193 typedef std::wstring tstring; typedef
194 std::string Utf8String(const tstring& str) { return ToUtf8(str); } in Utf8String()
198 typedef std::string tstring;
199 std::string Utf8String(const tstring& str) { return str; }