| /system/core/adb/ |
| adb_io.h | 22 #include <string> 28 bool SendFail(int fd, const std::string& reason); 30 // Writes a protocol-format string; a four hex digit length followed by the string data. 31 bool SendProtocolString(int fd, const std::string& s); 33 // Reads a protocol-format string; a four hex digit length followed by the string data. 34 bool ReadProtocolString(int fd, std::string* s, std::string* error); 71 bool WriteFdExactly(int fd, const std::string& s) [all...] |
| /system/core/fs_mgr/ |
| fs_mgr_priv_avb_ops.h | 29 #include <string> 50 FsManagerAvbOps(std::map<std::string, std::string>&& by_name_symlink_map); 59 AvbSlotVerifyResult AvbSlotVerify(const std::string& ab_suffix, AvbSlotVerifyFlags flags, 66 std::map<std::string, std::string> by_name_symlink_map_;
|
| /system/extras/tests/kernel.config/ |
| scrape_mmap_addr.cpp | 5 #include <string> 6 #include <string.h> 13 std::regex reg(std::string("^([a-f0-9]+)\\-[0-9a-f]+\\s+.+\\s+(\\d+)\\s+.+\\s+\\d+\\s+") + std::string(argv[1]) + std::string("\\s*$")); 16 std::string ln;
|
| /system/tools/aidl/ |
| options.h | 20 #include <string> 44 std::string DependencyFilePath() const; 49 std::vector<std::string> import_paths_; 50 std::vector<std::string> preprocessed_files_; 51 std::string input_file_name_; 52 std::string output_file_name_; 53 std::string output_base_folder_; 54 std::string dep_file_name_; 58 std::vector<std::string> files_to_preprocess_; 92 std::string InputFileName() const { return input_file_name_; [all...] |
| /system/tools/hidl/ |
| DeathRecipientType.h | 28 std::string getCppType( 32 std::string getJavaType(bool forInitializer) const override; 34 std::string getVtsType() const override; 35 std::string typeName() const override; 39 const std::string &name, 40 const std::string &parcelObj,
|
| /external/webrtc/webrtc/libjingle/xmpp/ |
| hangoutpubsubclient.h | 15 #include <string> 41 const std::string& nick); 44 const std::string& nick() const { return nick_; } 50 sigslot::signal3<const std::string&, bool, bool> SignalPresenterStateChange; 52 sigslot::signal3<const std::string&, bool, bool> SignalAudioMuteStateChange; 54 sigslot::signal3<const std::string&, bool, bool> SignalVideoMuteStateChange; 56 sigslot::signal3<const std::string&, bool, bool> SignalVideoPauseStateChange; 58 sigslot::signal3<const std::string&, bool, bool> SignalRecordingStateChange; 60 sigslot::signal3<const std::string&, 61 const std::string& [all...] |
| /system/tools/hidl/build/ |
| properties.go | 18 Name *string 22 Name *string 23 Owner *string 24 Srcs []string 28 Name *string 29 Owner *string 30 Tools []string 31 Cmd *string 32 Srcs []string 33 Out []string [all...] |
| /external/protobuf/src/google/protobuf/compiler/javanano/ |
| javanano_helpers.h | 38 #include <string> 56 string UnderscoresToCamelCase(const FieldDescriptor* field); 57 string UnderscoresToCamelCase(const OneofDescriptor* oneof); 58 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field); 59 string UnderscoresToCapitalizedCamelCase(const OneofDescriptor* oneof); 63 string RenameJavaKeywords(const string& input); 67 string UnderscoresToCamelCase(const MethodDescriptor* method); 70 string StripProto(const string& filename) [all...] |
| /external/webrtc/webrtc/p2p/base/ |
| sessiondescription.h | 14 #include <string> 36 ContentInfo(const std::string& name, 37 const std::string& type, 40 ContentInfo(const std::string& name, 41 const std::string& type, 45 std::string name; 46 std::string type; 51 typedef std::vector<std::string> ContentNames; 59 explicit ContentGroup(const std::string& semantics) : 62 const std::string& semantics() const { return semantics_; [all...] |
| /system/core/init/ |
| devices.h | 25 #include <string> 38 Permissions(const std::string& name, mode_t perm, uid_t uid, gid_t gid); 40 bool Match(const std::string& path) const; 47 const std::string& name() const { return name_; } 50 std::string name_; 60 SysfsPermissions(const std::string& name, const std::string& attribute, mode_t perm, uid_t uid, 64 bool MatchWithSubsystem(const std::string& path, const std::string& subsystem) const; 65 void SetPermissions(const std::string& path) const [all...] |
| /system/libvintf/include/vintf/ |
| VintfObject.h | 109 static int32_t CheckCompatibility(const std::vector<std::string>& packageInfo, 110 std::string* error = nullptr, 123 using ListInstances = std::function<std::vector<std::pair<std::string, Version>>( 124 const std::string& package, Version version, const std::string& interface, 125 const std::vector<std::string>& hintInstances)>; 139 std::string* error = nullptr); 149 static int32_t CheckDeprecation(std::string* error = nullptr); 154 std::string* error = nullptr); 156 std::string* error = nullptr) [all...] |
| /system/tools/aidl/tests/ |
| fake_io_delegate.cpp | 27 using std::string; 42 unique_ptr<string> FakeIoDelegate::GetFileContents( 43 const string& relative_filename, 44 const string& content_suffix) const { 45 string filename = CleanPath(relative_filename); 46 unique_ptr<string> contents; 51 contents.reset(new string); 59 const string& file_path) const { 68 bool FakeIoDelegate::FileIsReadable(const string& path) const { 73 const std::string& /* base_dir */ [all...] |
| /test/vts/compilation_tools/vtsc/code_gen/profiler/ |
| ProfilerCodeGenBase.h | 24 #include <string> 59 const VariableSpecificationMessage& val, const std::string& arg_name, 60 const std::string& arg_value) = 0; 62 // Generates the profiler code for string type. 64 const VariableSpecificationMessage& val, const std::string& arg_name, 65 const std::string& arg_value) = 0; 69 const VariableSpecificationMessage& val, const std::string& arg_name, 70 const std::string& arg_value) = 0; 74 const VariableSpecificationMessage& val, const std::string& arg_name, 75 const std::string& arg_value) = 0 [all...] |
| /external/libchrome/base/strings/ |
| string_tokenizer_unittest.cc | 9 using std::string; 16 string input = "this is a test"; 20 EXPECT_EQ(string("this"), t.token()); 23 EXPECT_EQ(string("is"), t.token()); 26 EXPECT_EQ(string("a"), t.token()); 29 EXPECT_EQ(string("test"), t.token()); 35 string input = "this is a test"; 40 EXPECT_EQ(string("this"), t.token()); 43 EXPECT_EQ(string("is"), t.token()); 46 EXPECT_EQ(string("a"), t.token()) [all...] |
| /external/parameter-framework/upstream/xmlserializer/ |
| XmlElement.cpp | 35 using std::string; 50 string CXmlElement::getType() const 55 string CXmlElement::getPath() const 57 string strPathElement = "/" + getType(); 74 bool CXmlElement::hasAttribute(const string &strAttributeName) const 80 bool CXmlElement::getAttribute<std::string>(const string &name, string &value) const 86 string backup = value; 101 bool CXmlElement::getAttribute(const std::string &name, T &value) cons [all...] |
| /external/protobuf/src/google/protobuf/ |
| arenastring.h | 34 #include <string> 44 // This is the implementation of arena string fields written for the open-source 46 // and *should not be used* by user code. It is used to collect string 48 // string-field pointer representation, so that (for example) an alternate 49 // implementation that knew more about ::std::string's internals could integrate more 57 inline void Set(const ::std::string* default_value, 58 const ::std::string& value, ::google::protobuf::Arena* arena) { 67 inline const ::std::string& Get(const ::std::string* /* default_value */) const { 71 inline ::std::string* Mutable(const ::std::string* default_value [all...] |
| /external/v8/src/inspector/ |
| string-util.cc | 5 #include "src/inspector/string-util.h" 11 v8::Local<v8::String> toV8String(v8::Isolate* isolate, const String16& string) { 12 if (string.isEmpty()) return v8::String::Empty(isolate); 13 DCHECK(string.length() < v8::String::kMaxLength); 14 return v8::String::NewFromTwoByte( 15 isolate, reinterpret_cast<const uint16_t*>(string.characters16()), 16 v8::NewStringType::kNormal, static_cast<int>(string.length()) [all...] |
| /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
| arenastring.h | 34 #include <string> 44 // This is the implementation of arena string fields written for the open-source 46 // and *should not be used* by user code. It is used to collect string 48 // string-field pointer representation, so that (for example) an alternate 49 // implementation that knew more about ::std::string's internals could integrate more 57 inline void Set(const ::std::string* default_value, 58 const ::std::string& value, ::google::protobuf::Arena* arena) { 67 inline const ::std::string& Get(const ::std::string* /* default_value */) const { 71 inline ::std::string* Mutable(const ::std::string* default_value [all...] |
| /build/soong/ui/build/ |
| config_test.go | 39 args []string 43 remaining []string 47 {[]string{"-j"}, -1, -1, nil}, 48 {[]string{"-j1"}, 1, -1, nil}, 49 {[]string{"-j1234"}, 1234, -1, nil}, 51 {[]string{"-j", "1"}, 1, -1, nil}, 52 {[]string{"-j", "1234"}, 1234, -1, nil}, 53 {[]string{"-j", "1234", "abc"}, 1234, -1, []string{"abc"}}, 54 {[]string{"-j", "abc"}, -1, -1, []string{"abc"}} [all...] |
| /build/soong/cc/config/ |
| toolchain.go | 38 panic(fmt.Errorf("Toolchain not found for %s arch %q", os.String(), arch.String())) 45 Name() string 47 GccRoot() string 48 GccTriple() string 50 GccVersion() string 51 ToolPath() string 53 ToolchainCflags() string 54 ToolchainLdflags() string 55 Cflags() string [all...] |
| /bionic/tools/versioner/src/ |
| Utils.h | 24 #include <string> 30 std::string getWorkingDir(); 31 std::vector<std::string> collectHeaders(const std::string& directory, 32 const std::unordered_set<std::string>& ignored_directories); 34 static inline std::string dirname(const std::string& path) { 39 static inline bool is_directory(const std::string& path) { 47 static inline bool mkdirs(const std::string& path) { 52 std::string parent = dirname(path) [all...] |
| /external/deqp/framework/common/ |
| tcuStringTemplate.cpp | 21 * \brief String template class. 29 using std::string; 40 StringTemplate::StringTemplate (const std::string& str) 49 void StringTemplate::setString (const std::string& str) 54 string StringTemplate::specialize (const map<string, string>& params) const 62 if (paramNdx != string::npos) 69 if (paramEndNdx == string::npos) 73 string paramStr = m_template.substr(paramNdx+2, paramEndNdx-2-paramNdx) [all...] |
| /external/perf_data_converter/src/quipper/ |
| test_utils.h | 11 #include <string> 14 #include "compat/string.h" 26 typedef std::map<string, std::vector<string> > MetadataSet; 29 string GetPerfPath(); 32 string GetTestInputFilePath(const string& filename); 35 int64_t GetFileSize(const string& filename); 38 bool CompareFileContents(const string& filename1, const string& filename2) [all...] |
| /external/protobuf/src/google/protobuf/compiler/javamicro/ |
| javamicro_helpers.h | 38 #include <string> 55 string UnderscoresToCamelCase(const FieldDescriptor* field); 56 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field); 60 string UnderscoresToCamelCase(const MethodDescriptor* method); 63 string StripProto(const string& filename); 67 string FileClassName(const Params& params, const FileDescriptor* file); 70 string FileJavaPackage(const Params& params, const FileDescriptor* file); 83 string ToJavaName(const Params& params, const string& name, bool is_class [all...] |
| /external/tensorflow/tensorflow/contrib/lite/testing/ |
| split.h | 19 #include <string> 22 #include "tensorflow/contrib/lite/string.h" 27 // Splits a string based on the given delimiter string. Each pair in the 29 // parts of the original string. Empty fields are not represented in the 31 std::vector<std::pair<size_t, size_t>> SplitToPos(const string& s, 32 const string& delimiter); 34 // Splits the given string and converts each part to the given T. 36 std::vector<T> Split(const string& s, const string& delimiter) [all...] |