| /developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
| StorageProviderFragment.java | 36 private static final String TAG = "StorageProviderFragment"; 37 private static final String AUTHORITY = "com.example.android.storageprovider.documents"; 52 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 59 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 80 Log.i(TAG, getString(mLoggedIn ? R.string.logged_in_info : R.string.logged_out_info)); 88 getActivity().getSharedPreferences(getString(R.string.app_name), 90 sharedPreferences.edit().putBoolean(getString(R.string.key_logged_in), loggedIn).commit() [all...] |
| /development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
| StorageProviderFragment.java | 36 private static final String TAG = "StorageProviderFragment"; 37 private static final String AUTHORITY = "com.example.android.storageprovider.documents"; 52 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 59 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); 80 Log.i(TAG, getString(mLoggedIn ? R.string.logged_in_info : R.string.logged_out_info)); 88 getActivity().getSharedPreferences(getString(R.string.app_name), 90 sharedPreferences.edit().putBoolean(getString(R.string.key_logged_in), loggedIn).commit() [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
| UnwantedTokenException.cs | 45 public UnwantedTokenException(string message) 49 public UnwantedTokenException(string message, Exception innerException) 57 public UnwantedTokenException(int expecting, IIntStream input, IList<string> tokenNames) 61 public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames) 65 public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames, Exception innerException) 79 public override string ToString() { 81 //string unexpected = ( tokenNames != null && unexpectedType >= 0 && unexpectedType < tokenNames.Length ) ? tokenNames[unexpectedType] : unexpectedType.ToString(); 82 string expected = (TokenNames != null && Expecting >= 0 && Expecting < TokenNames.Count) ? TokenNames[Exp (…) [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
| UnwantedTokenException.cs | 48 public UnwantedTokenException(string message) 53 public UnwantedTokenException(string message, Exception innerException) 63 public UnwantedTokenException(int expecting, IIntStream input, IList<string> tokenNames) 68 public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames) 73 public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames, Exception innerException) 91 public override string ToString() 94 //string unexpected = ( tokenNames != null && unexpectedType >= 0 && unexpectedType < tokenNames.Length ) ? tokenNames[unexpectedType] : unexpectedType.ToString(); 95 string expected = (TokenNames != null && Expecting >= 0 && Expecting < TokenNames.Count) ? TokenNames[Exp (…) [all...] |
| /external/clang/include/clang/Lex/ |
| HeaderSearchOptions.h | 17 #include <string> 25 /// \#include directives whose paths are enclosed by string quotes ("") 49 std::string Path; 66 std::string Prefix; 78 std::string Sysroot; 88 std::string ResourceDir; 91 std::string ModuleCachePath; 94 std::string ModuleUserBuildPath; 97 std::string ModuleFormat; 99 /// \brief Whether we should disable the use of the hash string within th [all...] |
| /external/deqp/external/openglcts/modules/common/ |
| glcExposedExtensionsTests.cpp | 31 #include <string> 43 ExposedExtensionsTest(deqp::Context& context, std::string notAllowedSubstring, 44 const std::vector<std::string>* allowedExceptions = NULL); 54 std::string m_notAllowedSubstring; 55 std::vector<std::string> m_allowedExceptions; 67 ExposedExtensionsTest::ExposedExtensionsTest(deqp::Context& context, std::string notAllowedSubstring, 68 const std::vector<std::string>* allowedExceptions) 99 typedef std::vector<std::string> string_vector; 107 if (currExtension->find(m_notAllowedSubstring) == std::string::npos) 161 std::vector<std::string> allowedExtensions(1, "GL_OES_EGL_image") [all...] |
| glcShaderLibraryCase.hpp | 33 #include <string> 83 std::string valueName; 131 std::string genVertexShader(const ValueBlock& valueBlock); 132 std::string genFragmentShader(const ValueBlock& valueBlock); 133 std::string specializeVertexShader(const char* src, const ValueBlock& valueBlock); 134 std::string specializeFragmentShader(const char* src, const ValueBlock& valueBlock); 136 void specializeShaders(const char* vertexSource, const char* fragmentSource, std::string& outVertexSource, 137 std::string& outFragmentSource, const ValueBlock& valueBlock); 149 std::string m_vertexSource; 150 std::string m_fragmentSource [all...] |
| /external/google-benchmark/src/ |
| re.h | 36 #include <string> 54 bool Init(const std::string& spec, std::string* error); 57 bool Match(const std::string& str); 73 inline bool Regex::Init(const std::string& spec, std::string* error) { 93 inline bool Regex::Match(const std::string& str) { 101 inline bool Regex::Init(const std::string& spec, std::string* error) { 110 // the string, so we move that when assigning to error [all...] |
| /external/google-breakpad/src/common/ |
| dwarf_line_to_module.cc | 37 #include <string> 47 static bool PathIsAbsolute(const string &path) { 51 static bool HasTrailingSlash(const string &path) { 57 static string ExpandPath(const string &path, 58 const string &base) { 66 void DwarfLineToModule::DefineDir(const string &name, uint32 dir_num) { 73 void DwarfLineToModule::DefineFile(const string &name, int32 file_num, 81 string dir_name; 99 string full_name = ExpandPath(name, dir_name) [all...] |
| /external/google-breakpad/src/common/linux/ |
| google_crashdump_uploader_test.cc | 32 #include <string> 46 MOCK_METHOD2(SetProxy, bool(const string& proxy_host, 47 const string& proxy_userpwd)); 48 MOCK_METHOD2(AddFile, bool(const string& upload_file_path, 49 const string& basename)); 51 bool(const string& url, 52 const std::map<string, string>& parameters, 54 string* http_header_data, 55 string* http_response_data)) [all...] |
| /external/google-breakpad/src/tools/linux/symupload/ |
| minidump_upload.cc | 41 #include <string> 49 string minidumpPath; 50 string uploadURLStr; 51 string product; 52 string version; 53 string proxy; 54 string proxy_user_pwd; 60 std::map<string, string> parameters; 66 string response, error [all...] |
| /external/libchrome/base/strings/ |
| string_number_conversions.h | 11 #include <string> 40 // Number -> string conversions ------------------------------------------------ 42 BASE_EXPORT std::string IntToString(int value); 45 BASE_EXPORT std::string UintToString(unsigned value); 48 BASE_EXPORT std::string Int64ToString(int64_t value); 51 BASE_EXPORT std::string Uint64ToString(uint64_t value); 54 BASE_EXPORT std::string SizeTToString(size_t value); 58 // DoubleToString converts the double to a string format that ignores the 60 BASE_EXPORT std::string DoubleToString(double value); 62 // String -> number conversions ----------------------------------------------- [all...] |
| /external/libcxx/utils/google-benchmark/src/ |
| re.h | 36 #include <string> 54 bool Init(const std::string& spec, std::string* error); 57 bool Match(const std::string& str); 73 inline bool Regex::Init(const std::string& spec, std::string* error) { 93 inline bool Regex::Match(const std::string& str) { 101 inline bool Regex::Init(const std::string& spec, std::string* error) { 110 // the string, so we move that when assigning to error [all...] |
| /external/libmojo/mojo/public/cpp/bindings/tests/ |
| struct_with_traits_impl.h | 11 #include <string> 55 void set_string(std::string value) { string_ = value; } 57 const std::string& get_string() const { return string_; } 59 const std::vector<std::string>& get_string_array() const { 62 std::vector<std::string>& get_mutable_string_array() { return string_array_; } 74 const std::map<std::string, NestedStructWithTraitsImpl>& get_struct_map() 78 std::map<std::string, NestedStructWithTraitsImpl>& get_mutable_struct_map() { 87 std::string string_; 88 std::vector<std::string> string_array_; 91 std::map<std::string, NestedStructWithTraitsImpl> struct_map_ [all...] |
| /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/write/ |
| CAVLCWriter.java | 40 public void writeU(int value, int n, String string) throws IOException { 41 Debug.print(string + "\t"); 61 public void writeUE(int value, String string) throws IOException { 62 Debug.print(string + "\t"); 67 public void writeSE(int value, String string) throws IOException { 68 Debug.print(string + "\t"); 73 public void writeBool(boolean value, String string) throws IOException [all...] |
| /external/parameter-framework/upstream/parameter/ |
| DomainConfiguration.h | 38 #include <string> 56 CDomainConfiguration(const std::string &strName); 71 bool setElementSequence(const std::vector<std::string> &newElementSequence, std::string &error); 72 void getElementSequence(std::string &strResult) const; 75 bool setApplicationRule(const std::string &strApplicationRule, 77 std::string &strError); 79 std::string getApplicationRule() const; 125 virtual std::string getKind() const; 152 const std::string &configurableElementPath) [all...] |
| /external/pdfium/testing/utils/ |
| path_service.cpp | 16 #include <string> 21 bool PathService::EndsWithSeparator(const std::string& path) { 26 bool PathService::GetExecutableDir(std::string* path) { 34 *path = std::string(path_buffer); 53 *path = std::string(buf, count); 61 if (found == std::string::npos) 68 bool PathService::GetSourceDir(std::string* path) { 85 bool PathService::GetTestDataDir(std::string* path) { 98 bool PathService::GetTestFilePath(const std::string& file_name, 99 std::string* path) [all...] |
| /external/protobuf/src/google/protobuf/compiler/objectivec/ |
| objectivec_extension.cc | 44 ExtensionGenerator::ExtensionGenerator(const string& root_class_name, 62 map<string, string> vars; 77 map<string, string> vars; 82 std::vector<string> options; 91 string singular_type; 93 vars["type"] = string("GPBStringifySymbol(") + 105 string type = GetCapitalizedType(descriptor_); 106 vars["extension_type"] = string("GPBDataType") + type [all...] |
| /external/protobuf/src/google/protobuf/ |
| message_lite.h | 86 virtual string GetTypeName() const = 0; 126 virtual string InitializationErrorString() const; 159 // Parses a protocol buffer contained in a string. Returns true on success. 160 // This function takes a string in the (non-human-readable) binary wire 162 // If you'd like to convert a human-readable string into a protocol buffer 164 bool ParseFromString(const string& data); 167 bool ParsePartialFromString(const string& data); 211 // Serialize the message and store it in the given string. All required 213 bool SerializeToString(string* output) const; 215 bool SerializePartialToString(string* output) const [all...] |
| /external/protobuf/src/google/protobuf/stubs/ |
| stringprintf_unittest.cc | 36 #include <string> 48 // warning: zero-length printf format string. 52 EXPECT_EQ("", StringPrintf("%s", string().c_str())); 64 string value("Hello"); 71 string value("Hello"); 76 TEST(StringAppendFTest, String) { 77 string value("Hello"); 83 string value("Hello"); 90 // StringPrintf should return an empty string instead of running 99 string value = StringPrintf("%.*s", 3, kInvalidCodePoint) [all...] |
| /external/tensorflow/tensorflow/core/common_runtime/ |
| direct_session.h | 21 #include <string> 66 typedef std::vector<std::pair<string, Tensor>> NamedTensorList; 72 const std::vector<string>& output_names, 73 const std::vector<string>& target_nodes, 79 const std::vector<string>& output_names, 80 const std::vector<string>& target_nodes, 86 ::tensorflow::Status PRunSetup(const std::vector<string>& input_names, 87 const std::vector<string>& output_names, 88 const std::vector<string>& target_nodes, 89 string* handle) override [all...] |
| /external/tensorflow/tensorflow/core/grappler/clusters/ |
| single_machine.h | 36 string type() const override { return "single_machine"; } 43 const std::vector<std::pair<string, Tensor>>& feed, 44 const std::vector<string>& fetch, RunMetadata* metadata) override; 50 std::unordered_map<string, uint64>* device_peak_memory) const override; 53 Status RunWithTimeout(const std::vector<std::pair<string, Tensor>>& feed, 54 const std::vector<string>& fetch, 56 Status RunWithTimeout(const std::vector<std::pair<string, Tensor>>& feed, 57 const std::vector<string>& fetch, 69 string last_graph_id_; 72 std::vector<string> init_ops_ [all...] |
| /external/tensorflow/tensorflow/core/lib/strings/ |
| stringprintf_test.cc | 18 #include <string> 27 EXPECT_EQ("", Printf("%s", string().c_str())); 39 string value("Hello"); 46 string value("Hello"); 51 TEST(AppendfTest, String) { 52 string value("Hello"); 58 string value("Hello"); 65 // Printf should return an empty string instead of running 74 string value = Printf("%.*s", 3, kInvalidCodePoint); 82 // Repeat with longer string, to make sure that the dynamicall [all...] |
| /external/webrtc/webrtc/base/ |
| sslfingerprint.cc | 14 #include <string> 23 const std::string& algorithm, const rtc::SSLIdentity* identity) { 32 const std::string& algorithm, const rtc::SSLCertificate* cert) { 45 const std::string& algorithm, const std::string& fingerprint) { 65 SSLFingerprint::SSLFingerprint(const std::string& algorithm, 80 std::string SSLFingerprint::GetRfc4572Fingerprint() const { 81 std::string fingerprint = 88 std::string SSLFingerprint::ToString() { 89 std::string fp_str = algorithm [all...] |
| /external/webrtc/webrtc/video/ |
| video_quality_test.h | 13 #include <string> 36 std::string codec; 45 std::string clip_name; 53 std::string test_label; 57 std::string graph_data_output_filename; 58 std::string graph_title; 81 const std::vector<std::string>& stream_descriptors, 85 const std::vector<std::string>& sl_descriptors); 93 std::string GenerateGraphTitle() const; 98 static std::vector<int> ParseCSV(const std::string& str) [all...] |