| /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/TableGen/ |
| StringMatcher.h | 18 #include <string> 27 /// output a simple switch tree to classify the input string. 34 using StringPair = std::pair<std::string, std::string>;
|
| /prebuilts/go/darwin-x86/src/cmd/go/internal/str/ |
| str.go | 5 // Package str provides string manipulation utilities. 15 // StringList flattens its arguments into a single []string. 16 // Each argument in args must have type string or []string. 17 func StringList(args ...interface{}) []string { 18 var x []string 21 case []string: 23 case string: 32 // ToFold returns a string with the property that 38 func ToFold(s string) string [all...] |
| /prebuilts/go/darwin-x86/src/os/ |
| str.go | 9 // Convert integer to decimal string 10 func itoa(val int) string { 17 // Convert unsigned integer to decimal string 18 func uitoa(val uint) string { 19 if val == 0 { // avoid string allocation 32 return string(buf[i:])
|
| /prebuilts/go/darwin-x86/test/fixedbugs/ |
| bug197.go | 19 type S string 24 var s3 = s + string("hello") // ERROR "invalid operation|incompatible" 25 var s4 = string("hello") + s // ERROR "invalid operation|incompatible" 27 var r string 31 var r3 = r + string("hello") 32 var r4 = string("hello") + r
|
| issue7867.go | 22 types := []string{ 28 "map[string]struct{}", 29 "func()", "func(string)error", 33 "struct{}", "struct{n int}", "struct{e error}", "struct{m map[string]string}", 34 "string",
|
| /prebuilts/go/linux-x86/src/cmd/go/internal/str/ |
| str.go | 5 // Package str provides string manipulation utilities. 15 // StringList flattens its arguments into a single []string. 16 // Each argument in args must have type string or []string. 17 func StringList(args ...interface{}) []string { 18 var x []string 21 case []string: 23 case string: 32 // ToFold returns a string with the property that 38 func ToFold(s string) string [all...] |
| /prebuilts/go/linux-x86/src/os/ |
| str.go | 9 // Convert integer to decimal string 10 func itoa(val int) string { 17 // Convert unsigned integer to decimal string 18 func uitoa(val uint) string { 19 if val == 0 { // avoid string allocation 32 return string(buf[i:])
|
| /prebuilts/go/linux-x86/test/fixedbugs/ |
| bug197.go | 19 type S string 24 var s3 = s + string("hello") // ERROR "invalid operation|incompatible" 25 var s4 = string("hello") + s // ERROR "invalid operation|incompatible" 27 var r string 31 var r3 = r + string("hello") 32 var r4 = string("hello") + r
|
| issue7867.go | 22 types := []string{ 28 "map[string]struct{}", 29 "func()", "func(string)error", 33 "struct{}", "struct{n int}", "struct{e error}", "struct{m map[string]string}", 34 "string",
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/extensions/hash/ |
| specializations.pass.cpp | 14 #include <string> 20 std::hash<std::string>()("test")); 21 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test"));
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/strings/basic.string/string.modifiers/ |
| erase_iter_db1.pass.cpp | 10 // <string> 18 #include <string> 28 std::string l1("123"); 29 std::string::const_iterator i = l1.end();
|
| erase_iter_iter_db4.pass.cpp | 10 // <string> 18 #include <string> 28 std::string l1("123"); 29 std::string::iterator i = l1.erase(l1.cbegin()+1, l1.cbegin());
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.path/path.member/path.decompose/ |
| path.decompose.pass.cpp | 60 std::string raw; 61 std::vector<std::string> elements; 62 std::string root_path; 63 std::string root_name; 64 std::string root_directory; 65 std::string relative_path; 66 std::string parent_path; 67 std::string filename; 156 std::string raw; 157 std::string filename [all...] |
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/meta/meta.detect/ |
| detected_t.pass.cpp | 14 #include <string> 31 std::string Foo() { return ""; } 47 test<wrongFoo, std::string>();
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.replace/ |
| test1.pass.cpp | 38 std::string("123-$&")); 40 assert(buf == std::string("123-555-1234, 123-555-2345, 123-555-3456")); 50 std::string("123-$&"), 53 assert(buf == std::string("123-$555-1234, 123-$555-2345, 123-$555-3456")); 63 std::string("123-&"), 66 assert(buf == std::string("123-555-1234, 123-555-2345, 123-555-3456")); 76 std::string("123-$&"), 79 assert(buf == std::string("123-555-1234123-555-2345123-555-3456")); 89 std::string("123-$&"), 92 assert(buf == std::string("123-555-1234, 555-2345, 555-3456")) [all...] |
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.submatch/re.submatch.op/ |
| stream.pass.cpp | 27 typedef std::basic_string<CharT> string; typedef 28 typedef std::sub_match<typename string::const_iterator> SM; 41 test(std::string("123"));
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.cons/ |
| dtor_noexcept.pass.cpp | 12 // <string> 16 #include <string> 32 std::string s; 38 typedef std::string C;
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/string.conversions/ |
| to_string.pass.cpp | 10 // <string> 12 // string to_string(int val); 13 // string to_string(unsigned val); 14 // string to_string(long val); 15 // string to_string(unsigned long val); 16 // string to_string(long long val); 17 // string to_string(unsigned long long val); 18 // string to_string(float val); 19 // string to_string(double val); 20 // string to_string(long double val) [all...] |
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
| colorprint.h | 6 #include <string> 20 std::string FormatString(const char* msg, va_list args); 21 std::string FormatString(const char* msg, ...);
|
| /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/ |
| extensions.cpp | 19 #include <string> 25 std::string GetExtensionString(const spv_parsed_instruction_t* inst) { 38 std::string ExtensionSetToString(const ExtensionSet& extensions) {
|
| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/ |
| type_resolver.h | 34 #include <string> 61 const string& type_url, google::protobuf::Type* message_type) = 0; 64 virtual util::Status ResolveEnumType(const string& type_url,
|
| /system/connectivity/wificond/ |
| logging_utils.cpp | 24 using std::string; 31 string LoggingUtils::GetMacString(const vector<uint8_t>& mac_address) { 42 string LoggingUtils::GetBandwidthString(ChannelBandwidth bandwidth) {
|
| /system/core/base/ |
| properties.cpp | 27 #include <string> 34 std::string GetProperty(const std::string& key, const std::string& default_value) { 38 std::string property_value; 41 auto property_value = reinterpret_cast<std::string*>(cookie); 52 bool GetBoolProperty(const std::string& key, bool default_value) { 53 std::string value = GetProperty(key, ""); 63 T GetIntProperty(const std::string& key, T default_value, T min, T max) { 65 std::string value = GetProperty(key, "") [all...] |
| /system/core/init/ |
| test_function_map.h | 20 #include <string> 33 void Add(const std::string& name, const BuiltinFunctionNoArgs function) { 40 void Add(const std::string& name, std::size_t min_parameters, std::size_t max_parameters,
|
| /system/tools/aidl/ |
| type_namespace.h | 21 #include <string> 35 extern const char kUtf8StringClass[]; // UTF8 wire format string 46 // here for the sake of logging a common string constant. 60 const std::string& package, const std::string& type_name, 61 const std::string& decl_file, int decl_line); 72 std::string ShortName() const { return type_name_; } 74 std::string CanonicalName() const { return canonical_name_; } 77 std::string HumanReadableKind() const; 78 std::string DeclFile() const { return origin_file_; [all...] |