Home
last modified time | relevance | path

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

/third_party/python/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 …]
/third_party/python/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
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
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_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
/third_party/ltp/testcases/kernel/fs/binfmt_misc/
Dbinfmt_misc02.sh80 [ "$ttype" = "E" ] && local tstring="This is test for extension"
81 [ "$ttype" = "M" ] && local tstring="This is test for magic"
83 [ "$valid" = "1" ] && recognised_unrecognised "$tfile" "$tstring"
84 [ "$valid" = "0" ] && unrecognised "$tfile" "$tstring"
/third_party/boost/libs/filesystem/example/
Dtchar.cpp17 typedef std::basic_string<TCHAR> tstring; typedef
30 tstring cp_as_tstring = cp.string<tstring>(); in main()
/third_party/glib/tests/
Dtestglib.c262 gchar *tstring, *cstring; in gnode_test() local
320 tstring = NULL; in gnode_test()
321 g_node_traverse (root, G_PRE_ORDER, G_TRAVERSE_ALL, -1, node_build_string, &tstring); in gnode_test()
322 g_assert_cmpstr (tstring, ==, "ABCDEFGHIJK"); in gnode_test()
323 g_free (tstring); tstring = NULL; in gnode_test()
324 g_node_traverse (root, G_POST_ORDER, G_TRAVERSE_ALL, -1, node_build_string, &tstring); in gnode_test()
325 g_assert_cmpstr (tstring, ==, "CDEBHIJKGFA"); in gnode_test()
326 g_free (tstring); tstring = NULL; in gnode_test()
327 g_node_traverse (root, G_IN_ORDER, G_TRAVERSE_ALL, -1, node_build_string, &tstring); in gnode_test()
328 g_assert_cmpstr (tstring, ==, "CBDEAHGIJKF"); in gnode_test()
[all …]
/third_party/boost/boost/archive/impl/
Dxml_iarchive_impl.ipp140 std::string tstring;
141 bool result = gimpl->parse_string(is, tstring);
146 std::memcpy(s, tstring.data(), tstring.size());
147 s[tstring.size()] = 0;
/third_party/glib/glib/
Dgscanner.c1506 gchar *tstring; in g_scanner_unexp_token() local
1543 tstring = "binary"; in g_scanner_unexp_token()
1545 scanner->token == expected_token ? "valid " : "", tstring); in g_scanner_unexp_token()
1548 tstring = "octal"; in g_scanner_unexp_token()
1550 scanner->token == expected_token ? "valid " : "", tstring); in g_scanner_unexp_token()
1553 tstring = "integer"; in g_scanner_unexp_token()
1555 scanner->token == expected_token ? "valid " : "", tstring); in g_scanner_unexp_token()
1558 tstring = "hexadecimal"; in g_scanner_unexp_token()
1560 scanner->token == expected_token ? "valid " : "", tstring); in g_scanner_unexp_token()
1563 tstring = "float"; in g_scanner_unexp_token()
[all …]
/third_party/node/deps/npm/node_modules/uri-js/dist/es5/
Duri.all.min.js.map1 …tresult = parts[0] + '@';\n\t\tstring = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatib…
Duri.all.js.map1 …tresult = parts[0] + '@';\n\t\tstring = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatib…