| /external/tensorflow/tensorflow/core/profiler/internal/ |
| tfprof_stats.h | 29 #include <string> 59 TFStats(const string& filename, 64 const std::map<string, std::unique_ptr<TFGraphNode>>& nodes() const { 73 void BuildView(const string& cmd); 81 const GraphNodeProto& ShowGraphNode(const string& cmd, 83 const MultiGraphNodeProto& ShowMultiGraphNode(const string& cmd, 95 void SerializeToString(string* content); 96 void WriteProfile(const string& filename); 103 string MaybeReportMissingTrace() const; 116 std::map<string, std::unique_ptr<TFGraphNode>> nodes_map_ [all...] |
| /external/webrtc/webrtc/base/ |
| socketaddress.h | 14 #include <string> 34 // literal IP string or a hostname to be resolved later. 35 SocketAddress(const std::string& hostname, int port); 68 void SetIP(const std::string& hostname); 83 const std::string& hostname() const { return hostname_; } 107 std::string HostAsURIString() const; 111 std::string HostAsSensitiveURIString() const; 113 // Returns the port as a string. 114 std::string PortAsString() const; 117 std::string ToString() const [all...] |
| /external/webrtc/webrtc/system_wrappers/include/ |
| data_log_impl.h | 22 #include <string> 42 virtual void ToString(std::string* container_string) const = 0; 50 virtual void ToString(std::string* container_string) const { 68 virtual void ToString(std::string* container_string) const { 98 int AddTable(const std::string& table_name); 102 int AddColumn(const std::string& table_name, 103 const std::string& column_name, 109 int InsertCell(const std::string& table_name, 110 const std::string& column_name, 115 int NextRow(const std::string& table_name) [all...] |
| /frameworks/av/media/mtp/ |
| MtpDeviceInfo.cpp | 63 MtpStringBuffer string; local 70 if (!packet.getString(string)) return false; 71 mVendorExtensionDesc = strdup((const char *)string); 86 if (!packet.getString(string)) return false; 87 mManufacturer = strdup((const char *)string); 89 if (!packet.getString(string)) return false; 90 mModel = strdup((const char *)string); 92 if (!packet.getString(string)) return false; 93 mVersion = strdup((const char *)string); 95 if (!packet.getString(string)) return false [all...] |
| /system/update_engine/client_library/ |
| client_binder.h | 22 #include <string> 46 bool AttemptUpdate(const std::string& app_version, 47 const std::string& omaha_url, 53 std::string* out_new_version, 56 bool SetCohortHint(const std::string& in_cohort_hint) override; 57 bool GetCohortHint(std::string* out_cohort_hint) const override; 67 bool GetRollbackPartition(std::string* rollback_partition) const override; 71 bool GetPrevVersion(std::string* prev_version) const override; 75 bool SetTargetChannel(const std::string& target_channel, 78 bool GetTargetChannel(std::string* out_channel) const override [all...] |
| /external/gflags/src/ |
| gflags_completions.cc | 51 #include <string.h> // for strlen 54 #include <string> 64 using std::string; 92 const string &cursor_word, 93 string *canonical_search_token, 96 static bool RemoveTrailingChar(string *str, char c); 103 const string &match_token, 105 string *longest_common_prefix); 110 const string &match_token); 116 const string &search_token [all...] |
| /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
| descriptor.h | 57 #include <string> 118 string leading_comments; 119 string trailing_comments; 130 const string& name() const; 137 const string& full_name() const; 164 string DebugString() const; 178 const FieldDescriptor* FindFieldByName(const string& name) const; 184 const string& lowercase_name) const; 191 const string& camelcase_name) const; 203 const Descriptor* FindNestedTypeByName(const string& name) const [all...] |
| /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
| descriptor.h | 57 #include <string> 118 string leading_comments; 119 string trailing_comments; 130 const string& name() const; 137 const string& full_name() const; 164 string DebugString() const; 178 const FieldDescriptor* FindFieldByName(const string& name) const; 184 const string& lowercase_name) const; 191 const string& camelcase_name) const; 203 const Descriptor* FindNestedTypeByName(const string& name) const [all...] |
| /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
| descriptor.h | 57 #include <string> 118 string leading_comments; 119 string trailing_comments; 130 const string& name() const; 137 const string& full_name() const; 164 string DebugString() const; 178 const FieldDescriptor* FindFieldByName(const string& name) const; 184 const string& lowercase_name) const; 191 const string& camelcase_name) const; 203 const Descriptor* FindNestedTypeByName(const string& name) const [all...] |
| /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
| descriptor.h | 57 #include <string> 118 string leading_comments; 119 string trailing_comments; 130 const string& name() const; 137 const string& full_name() const; 164 string DebugString() const; 178 const FieldDescriptor* FindFieldByName(const string& name) const; 184 const string& lowercase_name) const; 191 const string& camelcase_name) const; 203 const Descriptor* FindNestedTypeByName(const string& name) const [all...] |
| /build/soong/android/ |
| util_test.go | 23 in []string 24 out []string 27 in: []string{"a"}, 28 out: []string{"a"}, 31 in: []string{"a", "b"}, 32 out: []string{"a", "b"}, 35 in: []string{"a", "a"}, 36 out: []string{"a"}, 39 in: []string{"a", "b", "a"}, 40 out: []string{"a", "b"} [all...] |
| /system/tpm/trunks/ |
| mock_tpm.h | 20 #include <string> 72 const std::string& tpm_key_name, 74 const std::string& bind_name, 95 const std::string& tpm_key_name, 97 const std::string& bind_name, 119 const std::string& session_handle_name, 124 const std::string& session_handle_name, 128 const std::string& parent_handle_name, 137 const std::string& parent_handle_name, 161 const std::string& parent_handle_name [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| function.h | 50 // {"x:T", "y:T" /* one string per argument */}, 51 // {"z:T" /* one string per return value */}, 52 // {"T: {float, double}" /* one string per attribute */}, 64 // {"x:T", "y:T" /* one string per argument */}, 65 // {"z:T" /* one string per return value */}, 66 // {"T: {float, double}" /* one string per attribute */}, 76 // If T is a string type (const char*, string, or StringPiece), and 80 // std::<string, AttrValueWrapper> x = {"T", "$T"} 98 const string& name [all...] |
| /system/tools/aidl/ |
| type_cpp.cpp | 31 using std::string; 50 bool is_cpp_keyword(const std::string& str) { 51 static const std::vector<std::string> kCppKeywords{ 82 const std::string& package, 83 const string& underlying_aidl_type, 84 const string& cpp_header, 85 const string& underlying_cpp_type, 86 const string& underlying_cpp_type_nulllable, 87 const string& read_method, 88 const string& write_method [all...] |
| /external/icu/icu4c/source/i18n/ |
| decContext.cpp | 25 #include <string.h> /* for strcmp */ 212 /* decContextSetStatusFromString -- set status from a string + trap */ 215 /* string is a string exactly equal to one that might be returned */ 218 /* The status bit corresponding to the string is set, and a trap */ 221 /* returns the context structure, unless the string is equal to */ 226 const char *string) { 227 if (strcmp(string, DEC_Condition_CS)==0) 229 if (strcmp(string, DEC_Condition_DZ)==0) 231 if (strcmp(string, DEC_Condition_DI)==0 [all...] |
| /external/parameter-framework/upstream/parameter/ |
| Subsystem.cpp | 43 using std::string; 46 CSubsystem::CSubsystem(const string &strName, core::log::Logger &logger) 77 string CSubsystem::getKind() const 99 string description; 113 string rawMapping; 117 std::string error; 146 string strError; 157 bool CSubsystem::mapSubsystemElements(string &strError) 183 string CSubsystem::formatMappingDataList( 188 std::list<string> mappings [all...] |
| /external/perfetto/tools/ftrace_proto_gen/ |
| ftrace_proto_gen.cc | 22 #include <string> 28 std::string ToCamelCase(const std::string& s) { 29 std::string result; 47 bool StartsWith(const std::string& str, const std::string& prefix) { 51 bool Contains(const std::string& haystack, const std::string& needle) { 52 return haystack.find(needle) != std::string::npos; 57 std::string InferProtoType(const FtraceEvent::Field& field) [all...] |
| /external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
| grpc_channel.cc | 41 string MakeAddress(const string& job, int task) { 45 Status ValidateHostPortPair(const string& host_port) { 47 std::vector<string> parts = str_util::Split(host_port, ':'); 50 parts[0].find("/") != string::npos) { 58 Status NewHostPortGrpcChannel(const string& target, 75 const std::function<Status(string, SharedGrpcChannelPtr*)>& 77 return [new_channel_func_ptr](const string& target) -> SharedGrpcChannelPtr { 87 Status GrpcChannelSpec::AddHostPortsJob(const string& job_id, 88 const std::vector<string>& host_ports) [all...] |
| /external/tensorflow/tensorflow/core/platform/hadoop/ |
| hadoop_file_system_test.cc | 31 string TmpDir(const string& path) { 34 return io::JoinPath(string(test_dir), path); 40 Status WriteString(const string& fname, const string& content) { 48 Status ReadAll(const string& fname, string* content) { 70 const string fname = TmpDir("RandomAccessFile"); 71 const string content = "abcdefghijklmn"; 77 string got [all...] |
| /external/webrtc/webrtc/p2p/base/ |
| transportcontroller.h | 15 #include <string> 51 bool GetSslRole(const std::string& transport_name, rtc::SSLRole* role); 58 const std::string& transport_name, 61 bool GetRemoteSSLCertificate(const std::string& transport_name, 63 bool SetLocalTransportDescription(const std::string& transport_name, 66 std::string* err); 67 bool SetRemoteTransportDescription(const std::string& transport_name, 70 std::string* err); 74 bool AddRemoteCandidates(const std::string& transport_name, 76 std::string* err) [all...] |
| /system/vold/ |
| VoldNativeService.h | 47 binder::Status partition(const std::string& diskId, int32_t partitionType, int32_t ratio); 48 binder::Status forgetPartition(const std::string& partGuid, const std::string& fsUuid); 50 binder::Status mount(const std::string& volId, int32_t mountFlags, int32_t mountUserId); 51 binder::Status unmount(const std::string& volId); 52 binder::Status format(const std::string& volId, const std::string& fsType); 53 binder::Status benchmark(const std::string& volId, 55 binder::Status checkEncryption(const std::string& volId); 57 binder::Status moveStorage(const std::string& fromVolId, const std::string& toVolId [all...] |
| /external/protobuf/src/google/protobuf/compiler/ |
| importer.cc | 72 static bool IsWindowsAbsolutePath(const string& text) { 92 SingleFileErrorCollector(const string& filename, 102 void AddError(int line, int column, const string& message) { 110 string filename_; 127 const string& filename, FileDescriptorProto* output) { 156 const string& symbol_name, FileDescriptorProto* output) { 161 const string& containing_type, int field_number, 176 const string& filename, 177 const string& element_name, 180 const string& message) [all...] |
| /art/dexlayout/ |
| dexlayout_test.cc | 18 #include <string> 171 // Constructed a dex file with code info followed by string data and hex edited. 226 static std::vector<std::string> DefaultCompactDexOption() { 228 std::vector<std::string>{"-x", "fast"} : std::vector<std::string>{"-x", "none"}; 254 std::string GetDexLayoutPath() { 259 bool FullPlainOutputExec(std::string* error_msg) { 262 const std::string& dexdump_filename = dexdump_output.GetFilename(); 263 std::string dexdump = GetTestAndroidRoot() + "/bin/dexdump2"; 267 const std::string& dexlayout_filename = dexlayout_output.GetFilename() [all...] |
| /art/runtime/ |
| dex2oat_environment_test.h | 21 #include <string> 66 odex_dir_ = odex_oat_dir_ + "/" + std::string(GetInstructionSetString(kRuntimeISA)); 71 std::string error_msg; 133 static void Copy(const std::string& src, const std::string& dst) { 144 std::string GetImageDirectory() const { 148 return std::string(host_dir) + "/framework"; 150 return std::string("/data/art-test"); 154 std::string GetImageLocation() const { 158 std::string GetSystemImageFile() const [all...] |
| /build/blueprint/pathtools/ |
| fs.go | 33 func MockFs(files map[string][]byte) FileSystem { 35 files: make(map[string][]byte, len(files)), 36 dirs: make(map[string]bool), 37 all: []string(nil), 64 Open(name string) (io.ReadCloser, error) 65 Exists(name string) (bool, bool, error) 66 Glob(pattern string, excludes []string) (matches, dirs []string, err error) 67 glob(pattern string) (matches []string, err error [all...] |