| /external/tensorflow/tensorflow/core/grappler/clusters/ |
| virtual_cluster.h | 33 VirtualCluster(const std::unordered_map<string, DeviceProperties>& devices); 34 VirtualCluster(const std::unordered_map<string, DeviceProperties>& devices, 40 string type() const override { return "virtual"; } 45 const std::vector<std::pair<string, Tensor>>& feed, 46 const std::vector<string>& fetch, RunMetadata* metadata) override;
|
| /external/tensorflow/tensorflow/core/grappler/inputs/ |
| utils.cc | 24 bool FilesExist(const std::vector<string>& files, std::vector<Status>* status) { 28 bool FilesExist(const std::set<string>& files) { 29 return FilesExist(std::vector<string>(files.begin(), files.end()), nullptr); 32 bool FileExists(const std::string& file, Status* status) { 37 Status ReadGraphDefFromFile(const std::string& graph_def_pbtxt_path,
|
| /external/tensorflow/tensorflow/core/platform/ |
| stacktrace_handler_test.cc | 22 #include <string> 59 std::string child_output = ""; 63 child_output += std::string(buffer, read_length); 71 string test_stack_frame = "testing::internal::UnitTestImpl::RunAllTests()"; 77 EXPECT_NE(child_output.find(test_stack_frame), std::string::npos);
|
| /external/tensorflow/tensorflow/stream_executor/cuda/ |
| cuda_diagnostics.h | 32 // Converts a parsed driver version to string form. 33 string DriverVersionToString(DriverVersion version); 35 // Converts a parsed driver version or status value to natural string form. 36 string DriverVersionStatusToString(port::StatusOr<DriverVersion> version); 38 // Converts a string of a form like "331.79" to a DriverVersion{331, 79}. 39 port::StatusOr<DriverVersion> StringToDriverVersion(const string &value); 56 // returns it as a string. 61 const string &driver_version_file_contents); 67 // driver-interfacing DSO version number. Returns it as a string. 90 static string GetDevNodePath(int dev_node_ordinal) [all...] |
| /external/testng/src/test/java/test/tmp/ |
| TimeBombTest.java | 20 private long parseTime(String string) { 21 int hour = Integer.parseInt(string.substring(0, 2)); 22 int minute = Integer.parseInt(string.substring(2)); 30 private void ppp(String string) { 31 System.out.println("[TimeBombTest] " + string);
|
| /external/v8/src/tracing/ |
| traced-value.h | 10 #include <string> 28 // These methods assume that |name| is a long lived "quoted" string. 33 void SetString(const char* name, const std::string& value) { 43 void AppendString(const std::string& value) { AppendString(value.c_str()); } 48 void AppendAsTraceFormat(std::string* out) const override; 61 std::string data_;
|
| /external/valgrind/drd/tests/ |
| std_atomic.cpp | 10 #include <string> 43 throw std::string("failed to create a thread."); 46 throw std::string("failed to create a thread."); 50 throw std::string("Thread::join(): failed to join."); 53 throw std::string("Thread::join(): failed to join.");
|
| /external/webrtc/webrtc/ |
| audio_send_stream.h | 14 #include <string> 40 std::string codec_name; 58 std::string ToString() const; 62 std::string ToString() const; 71 std::string c_name;
|
| /external/webrtc/webrtc/base/ |
| logsinks.cc | 14 #include <string> 20 FileRotatingLogSink::FileRotatingLogSink(const std::string& log_dir_path, 21 const std::string& log_prefix, 38 void FileRotatingLogSink::OnLogMessage(const std::string& message) { 55 const std::string& log_dir_path,
|
| messagedigest_unittest.cc | 19 // Test the string versions of the APIs. 39 // Test the string versions of the APIs. 60 std::string output; 67 // Test the string versions of the APIs. 69 ComputeHmac(DIGEST_MD5, std::string(16, '\x0b'), "Hi There")); 73 ComputeHmac(DIGEST_MD5, std::string(16, '\xaa'), 74 std::string(50, '\xdd'))); 79 std::string(50, '\xcd'))); 81 ComputeHmac(DIGEST_MD5, std::string(16, '\x0c'), 84 ComputeHmac(DIGEST_MD5, std::string(80, '\xaa') [all...] |
| /external/webrtc/webrtc/libjingle/xmpp/ |
| util_unittest.h | 15 #include <string> 31 virtual void StartTls(const std::string & cname); 40 std::string OutputActivity(); 41 std::string SessionActivity(); 42 std::string StanzaActivity();
|
| /external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
| iface_config_utils.h | 36 struct wpa_supplicant* wpa_s, const std::string& name); 40 struct wpa_supplicant* wpa_s, const std::string& manufacturer); 42 struct wpa_supplicant* wpa_s, const std::string& model_name); 44 struct wpa_supplicant* wpa_s, const std::string& model_number); 46 struct wpa_supplicant* wpa_s, const std::string& serial_number);
|
| /external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/ |
| iface_config_utils.h | 36 struct wpa_supplicant* wpa_s, const std::string& name); 40 struct wpa_supplicant* wpa_s, const std::string& manufacturer); 42 struct wpa_supplicant* wpa_s, const std::string& model_name); 44 struct wpa_supplicant* wpa_s, const std::string& model_number); 46 struct wpa_supplicant* wpa_s, const std::string& serial_number);
|
| /frameworks/av/services/audiopolicy/engineconfigurable/interface/ |
| AudioPolicyPluginInterface.h | 24 #include <string> 49 virtual android::status_t addStrategy(const std::string &name, routing_strategy id) = 0; 62 virtual android::status_t addStream(const std::string &name, audio_stream_type_t id) = 0; 75 virtual android::status_t addUsage(const std::string &name, audio_usage_t id) = 0; 88 virtual android::status_t addInputSource(const std::string &name, audio_source_t id) = 0;
|
| /frameworks/base/tools/aapt2/xml/ |
| XmlActionExecutor.h | 22 #include <string> 57 XmlNodeAction& operator[](const std::string& name) { 71 std::map<std::string, XmlNodeAction> map_; 82 XmlNodeAction& operator[](const std::string& name) { 91 std::map<std::string, XmlNodeAction> map_;
|
| /frameworks/native/libs/vr/libperformance/include/private/dvr/ |
| performance_client.h | 7 #include <string> 17 int SetSchedulerPolicy(pid_t task_id, const std::string& scheduler_policy); 21 int SetCpuPartition(pid_t task_id, const std::string& partition); 23 int SetSchedulerClass(pid_t task_id, const std::string& scheduler_class); 25 int GetCpuPartition(pid_t task_id, std::string* partition_out);
|
| /hardware/nxp/secure_element/libese-spi/p73/utils/ |
| config.cpp | 28 bool parseBytesString(std::string in, std::vector<uint8_t>& out) { 29 vector<string> values = Split(in, ":"); 31 for (string value : values) { 34 string hexified = "0x"; 46 std::string ConfigValue::getString() const { 47 CHECK(type_ == STRING); 61 bool ConfigValue::parseFromString(std::string in) { 64 type_ = STRING; 85 void ConfigFile::parseFromFile(const std::string& file_name) { 86 string config [all...] |
| /packages/apps/Messaging/src/com/android/messaging/util/ |
| TextUtil.java | 22 * Returns true if the string is empty, null or only whitespace. 24 public static boolean isAllWhitespace(@Nullable String string) { 25 if (string == null || string.isEmpty()) { 29 for (int i = 0; i < string.length(); ++i) { 30 if (!Character.isWhitespace(string.charAt(i))) { 45 public static String replaceUnicodeDigits(String number) { 66 public static void appendWithSeparator(final StringBuilder stringBuilder, final String text [all...] |
| /packages/apps/Settings/src/com/android/settings/deviceinfo/ |
| StorageWizardReady.java | 36 setHeaderText(R.string.storage_wizard_ready_title, getDiskShortDescription()); 41 setBodyText(R.string.storage_wizard_ready_v2_internal_body, 44 setBodyText(R.string.storage_wizard_ready_v2_internal_moved_body, 48 setBodyText(R.string.storage_wizard_ready_v2_external_body, 52 setNextButtonText(R.string.done);
|
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Tooling/ |
| RefactoringCallbacks.h | 58 std::string FromId; 59 std::string ToText; 70 std::string FromId; 71 std::string ToId; 83 std::string Id;
|
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
| DynamicLibrary.h | 17 #include <string> 69 std::string *errMsg = nullptr); 78 std::string *errMsg = nullptr); 86 std::string *ErrMsg = nullptr) { 95 /// @throws std::string on error. 100 static void *SearchForAddressOfSymbol(const std::string &symbolName) {
|
| Regex.h | 20 #include <string> 36 /// null string after any newline in the string in addition to its normal 37 /// function, and the $ anchor matches the null string before any 38 /// newline in the string in addition to its normal function. 60 bool isValid(std::string &Error); 67 /// matches - Match the regex against a given \p String. 70 /// with references to the matched group expressions (inside \p String), 74 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = nullptr); 77 /// \p String with the \p Repl string. Backreferences like "\0" in th [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
| DynamicLibrary.h | 17 #include <string> 69 std::string *errMsg = nullptr); 79 std::string *errMsg = nullptr); 87 std::string *ErrMsg = nullptr) { 96 /// @throws std::string on error. 101 static void *SearchForAddressOfSymbol(const std::string &symbolName) {
|
| Regex.h | 20 #include <string> 36 /// null string after any newline in the string in addition to its normal 37 /// function, and the $ anchor matches the null string before any 38 /// newline in the string in addition to its normal function. 60 bool isValid(std::string &Error) const; 67 /// matches - Match the regex against a given \p String. 70 /// with references to the matched group expressions (inside \p String), 74 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = nullptr); 77 /// \p String with the \p Repl string. Backreferences like "\0" in th [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
| DynamicLibrary.h | 17 #include <string> 69 std::string *errMsg = nullptr); 79 std::string *errMsg = nullptr); 87 std::string *ErrMsg = nullptr) { 96 /// @throws std::string on error. 101 static void *SearchForAddressOfSymbol(const std::string &symbolName) {
|