Home
last modified time | relevance | path

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

12

/external/selinux/sepolgen/src/sepolgen/
Drefpolicy.py138 return str(self.comment) + "\n" + self.to_string()
140 return self.to_string()
143 return "<%s(%s)>" % (self.__class__.__name__, self.to_string())
145 def to_string(self): member in Node
155 return str(self.comment) + "\n" + self.to_string()
157 return self.to_string()
160 return "<%s(%s)>" % (self.__class__.__name__, self.to_string())
162 def to_string(self): member in Leaf
309 def to_string(self, default_level=None): member in SecurityContext
360 def to_string(self): member in TypeAttribute
[all …]
Daccess.py130 return self.to_string()
132 def to_string(self): member in AccessVector
Daudit.py239 tcontext = self.tcontext.to_string()
240 scontext = self.scontext.to_string()
/external/libcxx/test/std/strings/string.conversions/
Dto_string.pass.cpp31 std::string s = std::to_string(T(0)); in test_signed()
37 std::string s = std::to_string(T(12345)); in test_signed()
43 std::string s = std::to_string(T(-12345)); in test_signed()
49 std::string s = std::to_string(std::numeric_limits<T>::max()); in test_signed()
57 std::string s = std::to_string(std::numeric_limits<T>::min()); in test_signed()
70 std::string s = std::to_string(T(0)); in test_unsigned()
76 std::string s = std::to_string(T(12345)); in test_unsigned()
82 std::string s = std::to_string(std::numeric_limits<T>::max()); in test_unsigned()
96 std::string s = std::to_string(T(0)); in test_float()
102 std::string s = std::to_string(T(12345)); in test_float()
[all …]
/external/libcxx/test/std/utilities/template.bitset/bitset.members/
Dto_string.pass.cpp47 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string()
55 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >(); in test_to_string()
63 std::string s = v.template to_string<char>(); in test_to_string()
71 std::string s = v.to_string(); in test_to_string()
82 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string()
90 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >('0'); in test_to_string()
98 std::string s = v.template to_string<char>('0'); in test_to_string()
106 std::string s = v.to_string('0'); in test_to_string()
117 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string()
125 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >('0', '1'); in test_to_string()
[all …]
/external/libcxx/src/
Dstring.cpp441 string to_string(int val) in to_string() function
446 string to_string(unsigned val) in to_string() function
451 string to_string(long val) in to_string() function
456 string to_string(unsigned long val) in to_string() function
461 string to_string(long long val) in to_string() function
466 string to_string(unsigned long long val) in to_string() function
471 string to_string(float val) in to_string() function
476 string to_string(double val) in to_string() function
481 string to_string(long double val) in to_string() function
/external/selinux/sepolgen/tests/
Dtest_refpolicy.py49 self.assertEquals(sc.to_string(default_level="s1"), context + ":s1")
59 self.assertEquals(sc.to_string(), context)
95 self.assertEquals(a.to_string(), "allow foo_t bar_t:file read;")
103 self.assertEquals(a.to_string(),
121 self.assertEquals(a.to_string(), "type_transition foo_t bar_exec_t:process bar_t;")
Dtest_access.py86 self.assertEquals(a.to_string(), "allow foo bar:file { read write };")
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/resources/jinja2_templates_compiled/
Dtmpl_3a79873b1b49be244fd5444b1258ce348be26de8.py2 …mplateRuntimeError, missing, concat, escape, markup_join, unicode_join, to_string, TemplateNotFound
8 yield to_string(l_message)
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DMismatchedTokenException.pm8 '""' => \&to_string,
26 sub to_string { method in ANTLR::Runtime::MismatchedTokenException
DMissingTokenException.pm6 '""' => \&to_string;
20 sub to_string { subroutine
DUnwantedTokenException.pm6 '""' => \&to_string;
15 sub to_string { method in ANTLR::Runtime::UnwantedTokenException
DCommonTokenStream.pm341 return $self->to_string();
344 sub to_string { subroutine
354 return $self->to_string(0, $#{$self->tokens});
DBitSet.pm216 return $self->to_string();
219 sub to_string : method { subroutine
/external/openfst/src/include/fst/script/
Dweight-class.h37 virtual string to_string() const = 0;
58 virtual string to_string() const { in to_string() function
101 string to_string() const { in to_string() function
109 return impl_->to_string(); in to_string()
/external/llvm/lib/Fuzzer/
DFuzzerUtil.cpp45 return std::to_string(h1) + std::to_string(h2); in Hash()
DFuzzerDriver.cpp131 std::string Log = "fuzz-" + std::to_string(C) + ".log"; in WorkerThread()
/external/libcxx/test/std/experimental/string.view/string.view.ops/
Dto_string.pass.cpp34 auto str2 = sv1.to_string(min_allocator<CharT>()); in test()
48 auto str2 = sv1.to_string(min_allocator<CharT>()); in test()
/external/llvm/utils/lit/lit/
DTestRunner.py10 from lit.util import to_bytes, to_string
224 def to_string(bytes): function
238 out = to_string(out.decode('utf-8'))
242 err = to_string(err.decode('utf-8'))
385 yield (line_number, to_string(keyword[:-1].decode('utf-8')),
386 to_string(ln.decode('utf-8')))
Dutil.py14 def to_string(bytes): function
21 return to_string(bytes.decode('utf-8'))
/external/libcxx/include/
Dbitset74 …basic_string<charT, traits, Allocator> to_string(charT zero = charT('0'), charT one = charT('1')) …
76 …basic_string<charT, traits, allocator<charT> > to_string(charT zero = charT('0'), charT one = char…
78 …basic_string<charT, char_traits<charT>, allocator<charT> > to_string(charT zero = charT('0'), char…
79 …basic_string<char, char_traits<char>, allocator<char> > to_string(char zero = '0', char one = '1')…
686 basic_string<_CharT, _Traits, _Allocator> to_string(_CharT __zero = _CharT('0'),
689 basic_string<_CharT, _Traits, allocator<_CharT> > to_string(_CharT __zero = _CharT('0'),
692 …basic_string<_CharT, char_traits<_CharT>, allocator<_CharT> > to_string(_CharT __zero = _CharT('0'…
694 basic_string<char, char_traits<char>, allocator<char> > to_string(char __zero = '0',
922 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const
937 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const
[all …]
Dstring390 string to_string(int val);
391 string to_string(unsigned val);
392 string to_string(long val);
393 string to_string(unsigned long val);
394 string to_string(long long val);
395 string to_string(unsigned long long val);
396 string to_string(float val);
397 string to_string(double val);
398 string to_string(long double val);
4087 _LIBCPP_FUNC_VIS string to_string(int __val);
[all …]
/external/eigen/debug/gdb/
Dprinters.py126 def to_string(self): member in EigenMatrixPrinter
171 def to_string(self): member in EigenQuaternionPrinter
/external/v8/tools/
Dgdb-v8-support.py110 def to_string(self): member in V8ValuePrinter
/external/lldb/source/Host/linux/
DHost.cpp305 std::string process_task_dir = procdir + std::to_string(pid) + taskdir; in FindProcessThreads()

12