| /external/libchrome/base/metrics/ |
| metrics_hashes_unittest.cc | 20 std::string input; 21 std::string output; 30 std::string hash_hex = base::StringPrintf("0x%016" PRIx64, hash);
|
| /external/libchrome/base/trace_event/ |
| memory_allocator_dump_guid.h | 10 #include <string> 22 // Utility ctor to hash a GUID if the caller prefers a string. The caller 25 explicit MemoryAllocatorDumpGuid(const std::string& guid_str); 29 // Returns a (hex-encoded) string representation of the guid. 30 std::string ToString() const;
|
| /external/libchrome/crypto/ |
| random_unittest.cc | 9 #include <string> 18 bool IsTrivial(const std::string& bytes) { 28 std::string bytes(16, '\0');
|
| /external/libchrome/testing/ |
| multiprocess_func_list.h | 8 #include <string> 15 // The MULTIPROCESS_TEST_MAIN() macro registers a string -> func_ptr mapping 43 AppendMultiProcessTest(std::string test_name, 50 int InvokeChildProcessTest(const std::string& test_name);
|
| /external/libcxx/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/ |
| default.pass.cpp | 18 #include <string> 25 std::string s("dog"); 27 assert(inout.str() == std::string("123 4.5 dog"));
|
| /external/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/ |
| generic_category.pass.cpp | 26 #include <string> 34 const std::string msg = e_cat1.message(-1); 42 std::string m1 = e_cat1.name();
|
| /external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
| iter_initializer_list.pass.cpp | 12 // <string> 17 #include <string> 25 std::string s("123456"); 26 std::string::iterator i = s.insert(s.begin() + 3, {'a', 'b', 'c'});
|
| /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| dtor.pass.cpp | 23 #include <string> 36 std::tuple<std::string> >::value, ""); 38 std::tuple<int, std::string> >::value, "");
|
| /external/libmojo/mojo/public/cpp/bindings/ |
| pipe_control_message_handler.h | 8 #include <string> 29 void SetDescription(const std::string& description); 47 std::string description_;
|
| /external/libmojo/mojo/public/cpp/test_support/lib/ |
| test_support.cc | 12 std::vector<std::string> EnumerateSourceRootRelativeDirectory( 13 const std::string& relative_path) { 16 std::vector<std::string> results;
|
| /external/libpng/contrib/powerpc-vsx/ |
| linux.c | 22 #include <string.h> 35 const char *string = "altivec supported"; local 47 token = strstr(input,string);
|
| /external/llvm/include/llvm/Support/ |
| Host.h | 27 #include <string> 43 /// The target triple is a string in the format of: 47 std::string getDefaultTargetTriple(); 51 std::string getProcessTriple(); 64 /// \param Features - A string mapping feature names to either
|
| /external/llvm/unittests/ADT/ |
| VariadicFunctionTest.cpp | 19 std::string StringCatImpl(ArrayRef<const std::string *> Args) { 20 std::string S; 25 const VariadicFunction<std::string, std::string, StringCatImpl> StringCat = {}; 59 int StringAppendImpl(std::string *Dest, ArrayRef<const std::string *> Args) { 67 const VariadicFunction1<int, std::string *, std::string, 71 std::string S0("hi") [all...] |
| /external/parameter-framework/upstream/parameter/ |
| CommandHandlerWrapper.cpp | 39 bool CommandHandlerWrapper::process(const std::string &command, 40 const std::vector<std::string> &arguments, std::string &output)
|
| ConfigurationAccessContext.cpp | 34 using std::string; 36 CConfigurationAccessContext::CConfigurationAccessContext(std::string &strError, 46 CConfigurationAccessContext::CConfigurationAccessContext(string &strError, bool bSerializeOut)
|
| FrameworkConfigurationLocation.cpp | 36 CFrameworkConfigurationLocation::CFrameworkConfigurationLocation(const std::string &strName, 37 const std::string &strKind) 57 const std::string &CFrameworkConfigurationLocation::getUri() const
|
| ParameterMgrLogger.h | 36 #include <string> 46 virtual void info(const std::string &log) { _parameterMgrConnector.info(log); } 48 virtual void warning(const std::string &log) { _parameterMgrConnector.warning(log); }
|
| StringParameter.h | 39 CStringParameter(const std::string &strName, const CTypeElement *pTypeElement); 52 virtual bool doSetValue(const std::string &strValue, size_t offset, 54 virtual void doGetValue(std::string &strValue, size_t offset,
|
| SubsystemObjectFactory.h | 33 #include <string> 40 TSubsystemObjectFactory(const std::string &strMappingKey, uint32_t uiAncestorIdMask, 48 const std::string &strMappingValue,
|
| VirtualSubsystem.cpp | 36 using std::string; 38 CVirtualSubsystem::CVirtualSubsystem(const string &strName, core::log::Logger &logger) 64 string & /*strError*/)
|
| /external/perf_data_converter/src/quipper/ |
| buffer_reader.cc | 7 #include <string.h> 19 bool BufferReader::ReadString(size_t size, string* str) { 23 *str = string(buffer_ + offset_, actual_length);
|
| data_writer.h | 10 #include "compat/string.h" 34 const string& value_name); 36 // Writes a string. If the string length is smaller than |size|, it will fill 37 // in the remainder of of the destination memory with zeroes. If the string is 38 // longer than |size|, it will truncate the string, and will not add a null 40 virtual bool WriteString(const string& str, const size_t size) = 0; 42 // Writes a string |src| to data, prefixed with a 32-bit size field. The size 44 bool WriteStringWithSizeToData(const string& src);
|
| dso_android.cc | 9 #include <string.h> 21 #include "compat/string.h" 30 bool ReadElfBuildId(const string &filename, string *buildid) { 40 bool ReadElfBuildId(int fd, string *buildid) { 46 bool ReadModuleBuildId(const string &module_name, string *buildid) { 47 string note_filename = 56 bool ReadBuildIdNote(DataReader *data, string *buildid) { 64 string name [all...] |
| /external/perfetto/include/perfetto/base/ |
| string_splitter.h | 20 #include <string> 25 // C++ version of strtok(). Splits a string without making copies or any heap 26 // allocations. Destructs the original string passed in input. 28 // The token returned in output are valid as long as the input string is valid. 31 // Can take ownership of the string if passed via std::move(), e.g.: 33 StringSplitter(std::string, char delimiter); 35 // Splits a C-string. The input string will be forcefully null-terminated (so 50 // case it guarantees that the returned string is always null terminated. 63 std::string str_ [all...] |
| /external/proguard/src/proguard/util/ |
| FixedStringMatcher.java | 24 * This StringMatcher tests whether strings start with a given fixed string 31 private final String fixedString; 35 public FixedStringMatcher(String fixedString) 41 public FixedStringMatcher(String fixedString, StringMatcher nextMatcher) 50 public boolean matches(String string) 52 return string.startsWith(fixedString) && 54 nextMatcher.matches(string.substring(fixedString.length())));
|