| /external/parameter-framework/upstream/test/functional-tests/include/ |
| ConfigFiles.hpp | 35 #include <string> 58 std::string getPath() { return mConfigFile.getPath(); } 61 std::string toXml(const Config::Plugin::Collection &plugins) 63 std::string pluginsXml; 65 std::string pluginsLocationXml; 77 std::string format(std::string format, std::map<std::string, std::string> subs) 85 void replace(std::string &on, const std::string &from, const std::string &to [all...] |
| /external/webrtc/webrtc/base/ |
| base64.h | 15 #include <string> 56 // Determines whether the given string consists entirely of valid base64 58 static bool IsBase64Encoded(const std::string& str); 61 std::string* result); 63 std::string* result, size_t* data_used); 68 static inline std::string Encode(const std::string& data) { 69 std::string result; 73 static inline std::string Decode(const std::string& data, DecodeFlags flags) [all...] |
| sigslottester_unittest.cc | 13 #include <string> 56 sigslot::signal1<const std::string&> source1; 57 std::string capture1; 58 SigslotTester1<const std::string&, std::string> slot1(&source1, &capture1); 66 sigslot::signal1<const std::string*> source1; 67 const std::string* capture1; 68 SigslotTester1<const std::string*, const std::string*> slot1(&source1, 77 sigslot::signal1<std::string* const> source1 [all...] |
| /sdk/apps/NotificationStudio/src/com/android/notificationstudio/model/ |
| EditableItemConstants.java | 32 public static final int CATEGORY_MAIN = R.string.properties; 33 public static final int CATEGORY_STYLE = R.string.style; 34 public static final int CATEGORY_ACTION1 = R.string.action_1; 35 public static final int CATEGORY_ACTION2 = R.string.action_2; 36 public static final int CATEGORY_ACTION3 = R.string.action_3; 38 public static final Integer PRESET_CUSTOM = R.string.preset_custom; 39 public static final Integer PRESET_BASIC = R.string.preset_basic; 40 public static final Integer PRESET_EMAIL = R.string.preset_email; 41 public static final Integer PRESET_PHOTO = R.string.preset_photo; 43 public static final Integer STYLE_NONE = R.string.style_none [all...] |
| /system/tpm/attestation/common/ |
| mock_tpm_utility.cc | 28 explicit TransformString(std::string method) : method_(method) {} 29 bool operator()(const std::string& in, std::string* out) { 35 std::string method_; 40 explicit UntransformString(std::string method) : method_(method) {} 41 bool operator()(const std::string& in, std::string* out) { 42 std::string suffix = "_fake_transform_" + method_; 44 if (position == std::string::npos) { 52 std::string method_ [all...] |
| /build/soong/androidmk/parser/ |
| scope.go | 22 Get(name string) string 23 Set(name, value string) 24 Call(name string, args []string) string 25 SetFunc(name string, f func([]string) string) 29 variables map[string]strin [all...] |
| /art/libdexfile/dex/ |
| dex_file_loader.h | 22 #include <string> 51 // whether the string contains the separator character. 56 static std::string GetMultiDexClassesDexName(size_t index); 60 static std::string GetMultiDexLocation(size_t index, const char* dex_location); 75 static std::string GetDexCanonicalLocation(const char* dex_location); 80 static std::string GetBaseLocation(const char* location) { 82 return (pos == nullptr) ? location : std::string(location, pos - location); 85 static std::string GetBaseLocation(const std::string& location) { 90 // string if there is no multidex suffix for the given location [all...] |
| /external/libxkbcommon/xkbcommon/test/ |
| atom.c | 65 char *string; member in struct:atom_string 73 const char *string; local 85 random_string(&arr[i].string, &arr[i].len); 87 atom = atom_lookup(table, arr[i].string, arr[i].len); 89 string = atom_text(table, atom); 90 assert(string); 92 if (arr[i].len != strlen(string) || 93 strncmp(string, arr[i].string, arr[i].len) != 0) { 95 fprintf(stderr, "existing length %lu, string %s\n" [all...] |
| /external/protobuf/src/google/protobuf/stubs/ |
| strutil.h | 107 // Check if a string begins with a given prefix. 109 // Given a string and a putative prefix, returns the string minus the 110 // prefix string if the prefix matches, otherwise the original 111 // string. 113 inline bool HasPrefixString(const string& str, 114 const string& prefix) { 119 inline string StripPrefixString(const string& str, const string& prefix) [all...] |
| /external/tensorflow/tensorflow/core/debug/ |
| debug_graph_utils_test.cc | 26 Status ParseDebugOpName(const string& debug_op_name, 27 string* debug_op_name_proper, 28 std::unordered_map<string, string>* attributes) { 35 string debug_op_name_proper; 36 std::unordered_map<string, string> attributes; 44 string debug_op_name_proper; 45 std::unordered_map<string, string> attributes [all...] |
| /external/webrtc/webrtc/tools/ |
| simple_command_line_parser.cc | 16 #include <string> 21 using std::string; 27 args_ = std::vector<std::string> (argv + 1, argv + argc); 30 bool CommandLineParser::IsStandaloneFlag(std::string flag) { 31 return flag.find("=") == string::npos; 34 bool CommandLineParser::IsFlagWellFormed(std::string flag) { 55 std::string CommandLineParser::GetCommandLineFlagName(std::string flag) { 58 if (equal_pos == string::npos) { 65 std::string CommandLineParser::GetCommandLineFlagValue(std::string flag) [all...] |
| /system/tools/aidl/tests/ |
| aidl_test_client_utf8_strings.cpp | 24 #include <string> 40 using std::string; 49 const vector<string> utf8_inputs = { 50 string("Deliver us from evil."), 51 string(), 52 string("\0\0", 2), 54 string("\xF0\x90\x90\xB7\xE2\x82\xAC"), 59 string reply; 62 LOG(ERROR) << "Failed while requesting service to repeat utf8 string=\"" 70 unique_ptr<string> ret [all...] |
| /external/tensorflow/tensorflow/core/platform/cloud/ |
| gcs_file_system.h | 19 #include <string> 51 std::pair<const string, const string>* additional_header); 54 const string& filename, 57 Status NewWritableFile(const string& fname, 60 Status NewAppendableFile(const string& fname, 64 const string& filename, 67 Status FileExists(const string& fname) override; 69 Status Stat(const string& fname, FileStatistics* stat) override; 71 Status GetChildren(const string& dir, std::vector<string>* result) override [all...] |
| /external/parameter-framework/upstream/test/functional-tests/ |
| Handle.cpp | 44 #include <string> 49 using std::string; 60 string getBasicParams() 62 string structure = R"( 82 // String and bit parameter arrays are not supported 84 <StringParameter MaxLength="63" Name="string"/> 110 void checkStructure(const string &path, const string &expected) 118 static string canonicalizeXML(const string &xml [all...] |
| /art/imgdiag/ |
| imgdiag_test.cc | 21 #include <string> 67 std::string GetImgDiagFilePath() { 68 std::string root = GetTestAndroidRoot(); 77 std::string root32 = root + "32"; 88 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) { 92 std::string file_path = GetImgDiagFilePath(); 96 std::string diff_pid_args; 97 std::string zygote_diff_pid_args; 108 std::string boot_image_args = std::string(kImgDiagBootImage) + "=" + boot_image [all...] |
| /art/runtime/ |
| class_loader_context.h | 20 #include <string> 58 bool OpenDexFiles(InstructionSet isa, const std::string& classpath_dir); 62 bool RemoveLocationsFromClassPaths(const dchecked_vector<std::string>& compilation_sources); 83 // Encodes the context as a string suitable to be added in oat files. 91 std::string EncodeContextForOatFile(const std::string& base_dir, 94 // Encodes the context as a string suitable to be passed to dex2oat. 98 std::string EncodeContextForDex2oat(const std::string& base_dir) const; 112 bool VerifyClassLoaderContextMatch(const std::string& context_spec [all...] |
| /bionic/linker/ |
| linker_namespaces.h | 33 #include <string> 42 const std::unordered_set<std::string>& shared_lib_sonames, 52 const std::unordered_set<std::string>& shared_lib_sonames() const { 69 const std::unordered_set<std::string> shared_lib_sonames_; 86 const std::vector<std::string>& get_ld_library_paths() const { 89 void set_ld_library_paths(std::vector<std::string>&& library_paths) { 93 const std::vector<std::string>& get_default_library_paths() const { 96 void set_default_library_paths(std::vector<std::string>&& library_paths) { 99 void set_default_library_paths(const std::vector<std::string>& library_paths) { 103 const std::vector<std::string>& get_permitted_paths() const [all...] |
| /external/eigen/unsupported/test/ |
| cxx11_tensor_io.cpp | 12 #include <string> 25 std::string expected("123"); 26 VERIFY_IS_EQUAL(std::string(os.str()), expected); 41 std::string expected("0\n1\n2\n3\n4"); 42 VERIFY_IS_EQUAL(std::string(os.str()), expected); 47 std::string empty_string; 48 VERIFY_IS_EQUAL(std::string(empty_os.str()), empty_string); 65 std::string expected("0 0 0\n0 1 2\n0 2 4\n0 3 6\n0 4 8"); 66 VERIFY_IS_EQUAL(std::string(os.str()), expected); 83 std::string expected(" 7\n 8\n 9\n10\n11") [all...] |
| /external/libtextclassifier/datetime/ |
| parser.h | 21 #include <string> 48 bool Parse(const std::string& input, int64 reference_time_ms_utc, 49 const std::string& reference_timezone, const std::string& locales, 55 const std::string& reference_timezone, const std::string& locales, 63 // Returns a list of locale ids for given locale spec string (comma-separated 65 std::vector<int> ParseAndExpandLocales(const std::string& locales, 66 std::string* reference_locale) const; 72 const int64 reference_time_ms_utc, const std::string& reference_timezone [all...] |
| /external/minijail/ |
| util_unittest.cc | 10 #include <string.h> 21 ASSERT_EQ("foo", std::string(strip(str))); 40 ASSERT_EQ(str, std::string("a,b,c")); 45 ASSERT_EQ(str, std::string("a,b,c")); 52 ASSERT_EQ("a", std::string(tokenize(&p, ","))); 53 ASSERT_EQ("b", std::string(tokenize(&p, ","))); 54 ASSERT_EQ("c", std::string(tokenize(&p, ","))); 59 // Check edge case with an empty string. 63 ASSERT_EQ("", std::string(tokenize(&p, ","))); 72 ASSERT_EQ("", std::string(tokenize(&p, ","))) [all...] |
| /external/webrtc/talk/app/webrtc/test/ |
| peerconnectiontestwrapper.h | 45 explicit PeerConnectionTestWrapper(const std::string& name); 51 const std::string& label, 72 virtual void OnFailure(const std::string& error) {} 76 void ReceiveOfferSdp(const std::string& sdp); 77 void ReceiveAnswerSdp(const std::string& sdp); 78 void AddIceCandidate(const std::string& sdp_mid, int sdp_mline_index, 79 const std::string& candidate); 89 sigslot::signal1<std::string*> SignalOnIceCandidateCreated; 90 sigslot::signal3<const std::string&, 92 const std::string&> SignalOnIceCandidateReady [all...] |
| /frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
| ParameterManagerWrapper.h | 25 #include <string> 45 typedef std::map<std::string, ISelectionCriterionInterface *> CriterionCollection; 46 typedef std::map<std::string, ISelectionCriterionTypeInterface *> CriterionTypeCollection; 151 void addCriterionType(const std::string &typeName, bool isInclusive); 160 void addCriterionTypeValuePair(const std::string &typeName, uint32_t numeric, 161 const std::string &literal); 170 void addCriterion(const std::string &name, 171 const std::string &typeName, 172 const std::string &defaultLiteralValue); 223 void parseChildren(cnode *root, std::string &defaultValue, std::string &type) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Tooling/Refactoring/ |
| AtomicChange.h | 57 /// \brief Returns the atomic change as a YAML string. 58 std::string toYAMLString(); 65 const std::string &getKey() const { return Key; } 68 const std::string &getFilePath() const { return FilePath; } 79 /// \brief Returns the error message or an empty string if it does not exist. 80 const std::string &getError() const { return Error; } 116 llvm::ArrayRef<std::string> getInsertedHeaders() const { 120 llvm::ArrayRef<std::string> getRemovedHeaders() const { 127 AtomicChange(std::string Key, std::string FilePath, std::string Error [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Tooling/Refactoring/ |
| AtomicChange.h | 57 /// \brief Returns the atomic change as a YAML string. 58 std::string toYAMLString(); 65 const std::string &getKey() const { return Key; } 68 const std::string &getFilePath() const { return FilePath; } 79 /// \brief Returns the error message or an empty string if it does not exist. 80 const std::string &getError() const { return Error; } 116 llvm::ArrayRef<std::string> getInsertedHeaders() const { 120 llvm::ArrayRef<std::string> getRemovedHeaders() const { 127 AtomicChange(std::string Key, std::string FilePath, std::string Error [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Tooling/Refactoring/ |
| AtomicChange.h | 57 /// \brief Returns the atomic change as a YAML string. 58 std::string toYAMLString(); 65 const std::string &getKey() const { return Key; } 68 const std::string &getFilePath() const { return FilePath; } 79 /// \brief Returns the error message or an empty string if it does not exist. 80 const std::string &getError() const { return Error; } 116 llvm::ArrayRef<std::string> getInsertedHeaders() const { 120 llvm::ArrayRef<std::string> getRemovedHeaders() const { 127 AtomicChange(std::string Key, std::string FilePath, std::string Error [all...] |