| /external/webrtc/webrtc/libjingle/xmpp/ |
| hangoutpubsubclient.cc | 49 PresenterStateClient(const std::string& publisher_nick, 58 virtual void Publish(const std::string& published_nick, 60 std::string* task_id_out) { 66 const std::string& presentation_type = state ? kPresenting : kNotPresenting; 72 std::string itemid = published_nick; 107 const std::string& nick) 200 bool presenting, std::string* task_id_out) { 205 bool muted, std::string* task_id_out) { 210 bool muted, std::string* task_id_out) { 215 bool paused, std::string* task_id_out) [all...] |
| /external/webrtc/webrtc/p2p/base/ |
| port.h | 16 #include <string> 122 const std::string& username_fragment, 123 const std::string& password); 125 const std::string& type, 131 const std::string& username_fragment, 132 const std::string& password); 135 virtual const std::string& Type() const { return type_; } 158 const std::string& content_name() const { return content_name_; } 159 void set_content_name(const std::string& content_name) { 191 const std::string username_fragment() const [all...] |
| /test/vts/compilation_tools/vtsc/ |
| VtsCompilerUtils.cpp | 42 string ComponentClassToString(int component_class) { 63 string ComponentTypeToString(int component_type) { 120 string GetCppVariableType(const std::string scalar_type_string) { 137 } else if (scalar_type_string == "string") { 138 return "std::string"; 156 string GetCppVariableType(const VariableSpecificationMessage& arg, 158 string result; 194 string element_type = GetCppVariableType(arg.vector_value(0)); 207 string element_type = GetCppVariableType(cur_val) [all...] |
| /art/libartbase/base/ |
| utils.cc | 63 std::string GetThreadName(pid_t tid) { 64 std::string result; 74 std::string PrettySize(int64_t byte_count) { 100 void Split(const std::string& s, char separator, std::vector<std::string>* result) { 111 result->push_back(std::string(start, p - start)); 150 std::string stats; 158 std::vector<std::string> fields; 166 static void ParseStringAfterChar(const std::string& s, 168 std::string* parsed_value [all...] |
| /art/tools/ahat/src/main/com/android/ahat/ |
| DocString.java | 23 * A class representing a small string of document content consisting of text, 36 public static DocString text(String str) { 44 public static DocString format(String format, Object... args) { 60 public static DocString image(URI uri, String alt) { 65 * Append literal text to the given doc string. 68 public DocString append(String text) { 74 * Append formatted text to the given doc string. 77 public DocString appendFormat(String format, Object... args) { 78 append(String.format(format, args)); 88 * Adorn the given string to indicate it represents something added relativ 92 DocString string = new DocString(); local 112 DocString string = new DocString(); local 135 DocString string = new DocString(); local [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
| P2pTestListActivity.java | 60 setInfoResources(R.string.p2p_test, R.string.p2p_test_info, 0); 70 adapter.add(TestListItem.newCategory(this, R.string.p2p_group_formation)); 72 R.string.p2p_go_neg_responder_test, 76 R.string.p2p_go_neg_requester_test, 80 adapter.add(TestListItem.newCategory(this, R.string.p2p_join)); 82 R.string.p2p_group_owner_test, 86 R.string.p2p_group_client_test, 90 adapter.add(TestListItem.newCategory(this, R.string.p2p_service_discovery)); 92 R.string.p2p_service_discovery_responder_test [all...] |
| /external/google-breakpad/src/common/linux/ |
| libcurl_wrapper.cc | 33 #include <string> 62 bool LibcurlWrapper::SetProxy(const string& proxy_host, 63 const string& proxy_userpwd) { 84 bool LibcurlWrapper::AddFile(const string& upload_file_path, 85 const string& basename) { 105 string *response = reinterpret_cast<string *>(userp); 111 bool LibcurlWrapper::SendRequest(const string& url, 112 const std::map<string, string>& parameters [all...] |
| /external/guava/guava/src/com/google/common/base/ |
| Ascii.java | 37 * which operate only on the ASCII characters of a string. 52 * time fill and media fill. Normally used as a C string terminator. 433 * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII 437 public static String toLowerCase(String string) { 438 int length = string.length(); 440 if (isUpperCase(string.charAt(i))) { 441 char[] chars = string.toCharArray(); 448 return String.valueOf(chars) 597 String string = seq.toString(); local [all...] |
| /external/jsoncpp/include/json/ |
| reader.h | 16 #include <string> 45 std::string message; 60 * \param document UTF-8 encoded string containing the document to read. 73 parse(const std::string& document, Value& root, bool collectComments = true); 77 * \param beginDoc Pointer on the beginning of the UTF-8 encoded string of the 79 * \param endDoc Pointer on the end of the UTF-8 encoded string of the 102 /** \brief Returns a user friendly string that list errors in the parsed 106 * the parsed document. An empty string is returned if no error 112 std::string getFormatedErrorMessages() const; 114 /** \brief Returns a user friendly string that list errors in the parse [all...] |
| /external/libmojo/mojo/public/cpp/bindings/tests/ |
| request_response_unittest.cc | 25 void EchoString(const std::string& a, 33 void EchoStrings(const std::string& a, 34 const std::string& b, 56 void RecordString(std::string* storage, 58 const std::string& str) { 63 void RecordStrings(std::string* storage, 65 const std::string& a, 66 const std::string& b) { 100 std::string buf; 107 EXPECT_EQ(std::string("hello"), buf) [all...] |
| /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
| ast.ml | 11 | Variable of string 20 | Call of string * expr array 26 | For of string * expr * expr * expr option * expr 32 | Prototype of string * string array 33 | BinOpPrototype of string * string array * int
|
| /external/llvm/utils/TableGen/ |
| AsmWriterInst.cpp | 29 std::string AsmWriterOperand::getCode(bool PassSubtarget) const { 39 std::string Result = Str + "(MI"; 60 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); 61 std::string::size_type LastEmitted = 0; 63 std::string::size_type DollarPos = 65 if (DollarPos == std::string::npos) DollarPos = AsmString.size(); 67 // Emit a constant string fragment. 84 AddLiteralString(std::string(1, AsmString[LastEmitted])); 93 } else if (std::string("${|}\\").find(AsmString[DollarPos+1]) 94 != std::string::npos) [all...] |
| /external/piex/src/image_type_recognition/ |
| image_type_recognition_lite.cc | 29 #include <string> 38 using std::string; 117 // Check if signature string can match to the same length string start from 118 // (source + offset). The signature string will be used as longer magic number 121 const size_t source_offset, const string& signature) { 128 const string& signature, size_t* first_matched) { 177 const string kSignatureSony("SONY"); 185 const string kSignatureSection("\x00\xb0\x01\x00\x04\x00\x00\x00", 8); 187 const string kSignatureVersions[kSignatureVersionsSize] = [all...] |
| /external/ppp/pppd/plugins/radius/etc/ |
| dictionary | 9 # string - 0-253 octets 46 ATTRIBUTE User-Name 1 string 47 ATTRIBUTE Password 2 string 48 ATTRIBUTE CHAP-Password 3 string 56 ATTRIBUTE Filter-Id 11 string 62 ATTRIBUTE Reply-Message 18 string 63 ATTRIBUTE Callback-Number 19 string 64 ATTRIBUTE Callback-Id 20 string 65 ATTRIBUTE Framed-Route 22 string 67 ATTRIBUTE State 24 string [all...] |
| /external/protobuf/src/google/protobuf/compiler/java/ |
| java_field.h | 43 #include <string> 91 virtual string GetBoxedType() const = 0; 122 virtual string GetBoxedType() const = 0; 167 string name; 168 string capitalized_name; 169 string disambiguated_reason; 174 string name; 175 string capitalized_name; 181 map<string, string>* variables) [all...] |
| /external/skia/tools/lua/ |
| bitmap_statistics.lua | 1 function string.startsWith(String,Start) 2 return string.sub(String,1,string.len(Start))==Start 5 function string.endsWith(String,End) 6 return End=='' or string.sub(String,-string.len(End))==En [all...] |
| /external/skqp/tools/lua/ |
| bitmap_statistics.lua | 1 function string.startsWith(String,Start) 2 return string.sub(String,1,string.len(Start))==Start 5 function string.endsWith(String,End) 6 return End=='' or string.sub(String,-string.len(End))==En [all...] |
| /external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter6/ |
| ast.ml | 11 | Variable of string 20 | Call of string * expr array 26 | For of string * expr * expr * expr option * expr 32 | Prototype of string * string array 33 | BinOpPrototype of string * string array * int
|
| /external/swiftshader/third_party/LLVM/utils/TableGen/ |
| AsmWriterInst.cpp | 28 std::string AsmWriterOperand::getCode() const { 38 std::string Result = Str + "(MI"; 63 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); 64 std::string::size_type LastEmitted = 0; 66 std::string::size_type DollarPos = 68 if (DollarPos == std::string::npos) DollarPos = AsmString.size(); 70 // Emit a constant string fragment. 100 AddLiteralString(std::string(1, AsmString[LastEmitted])); 122 } else if (std::string("${|}\\").find(AsmString[DollarPos+1]) 123 != std::string::npos) [all...] |
| /external/tensorflow/tensorflow/contrib/util/ |
| convert_graphdef_memmapped_format_test.cc | 39 const string dir = testing::TmpDir(); 40 const string filename_pb = io::JoinPath(dir, "graphdef.pb"); 56 const string result_name = m.node()->name(); 60 string graph_def_serialized; 65 const string filename_mmap = io::JoinPath(dir, "graphdef.mmap"); 94 const string dir = testing::TmpDir(); 95 const string filename_pb = io::JoinPath(dir, "string_graphdef.pb"); 101 test::FillFn<string>(&test_tensor1, [](int) -> string { return "ABC"; }); 104 test::FillFn<string>(&test_tensor2, [](int) -> string { return "XYZ"; }) [all...] |
| /external/tensorflow/tensorflow/core/graph/ |
| algorithm_test.cc | 18 #include <string> 42 bool ExpectBefore(const std::vector<std::pair<string, string>>& ordered_pairs, 43 const std::vector<Node*>& inputs, string* error) { 44 for (const std::pair<string, string>& pair : ordered_pairs) { 45 const string& before_node = pair.first; 46 const string& after_node = pair.second; 92 std::vector<std::pair<string, string>> reverse_orders = [all...] |
| /external/tensorflow/tensorflow/core/kernels/data/ |
| sql_dataset_ops.cc | 54 string driver_name; 56 ctx, ParseScalarArgument<string>(ctx, "driver_name", &driver_name)); 58 string data_source_name; 59 OP_REQUIRES_OK(ctx, ParseScalarArgument<string>(ctx, "data_source_name", 62 string query; 63 OP_REQUIRES_OK(ctx, ParseScalarArgument<string>(ctx, "query", &query)); 80 Dataset(const string& driver_name, const string& data_source_name, 81 const string& query, const DataTypeVector& output_types, 90 const string& prefix) const override [all...] |
| /external/tensorflow/tensorflow/core/platform/ |
| env.cc | 52 Status Register(const string& scheme, Factory factory) override; 53 FileSystem* Lookup(const string& scheme) override; 54 Status GetRegisteredFileSystemSchemes(std::vector<string>* schemes) override; 58 mutable std::unordered_map<string, std::unique_ptr<FileSystem>> registry_ 62 Status FileSystemRegistryImpl::Register(const string& scheme, 65 if (!registry_.emplace(string(scheme), std::unique_ptr<FileSystem>(factory())) 73 FileSystem* FileSystemRegistryImpl::Lookup(const string& scheme) { 83 std::vector<string>* schemes) { 93 Status Env::GetFileSystemForFile(const string& fname, FileSystem** result) { 109 Status Env::GetRegisteredFileSystemSchemes(std::vector<string>* schemes) [all...] |
| /external/tensorflow/tensorflow/core/util/ |
| tensor_slice_writer.h | 52 typedef std::function<Status(const string&, Builder**)> CreateBuilderFunction; 54 TensorSliceWriter(const string& filename, 60 Status Add(const string& name, const TensorShape& shape, 83 const string filename_; 85 const string tmpname_; 88 std::unordered_map<string, int> name_to_index_; 92 std::map<string, string> data_; 99 Status TensorSliceWriter::Add(const string& name, const TensorShape& shape, 149 string key = EncodeTensorNameSlice(name, slice) [all...] |
| /external/tensorflow/tensorflow/examples/speech_commands/ |
| accuracy_utils.cc | 27 Status ReadGroundTruthFile(const string& file_name, 28 std::vector<std::pair<string, int64>>* result) { 35 string line; 37 std::vector<string> pieces = tensorflow::str_util::Split(line, ','); 46 string label = pieces[0]; 51 [](const std::pair<string, int64>& left, 52 const std::pair<string, int64>& right) { 59 const std::vector<std::pair<string, int64>>& ground_truth_list, 60 const std::vector<std::pair<string, int64>>& found_words, 70 for (const std::pair<string, int64>& ground_truth : ground_truth_list) [all...] |