| /external/tensorflow/tensorflow/contrib/lite/models/ |
| speech_test.cc | 18 #include <string> 33 bool Init(const string& in_file_name, testing::TfLiteDriver* driver, 36 in_file->open(string(kDataPath) + in_file_name, std::ifstream::in); 45 bool ConvertCsvData(const string& model_name, const string& in_name, 46 const string& out_name, const string& input_tensor, 47 const string& output_tensor, 48 const string& persistent_tensors, int sequence_size, 50 auto data_path = [](const string& s) { return string(kDataPath) + s; } [all...] |
| /external/tensorflow/tensorflow/core/example/ |
| feature_util.cc | 21 Feature& ExampleFeature(const string& name, Example* example) { 28 bool HasFeature<>(const string& key, const Features& features) { 33 bool HasFeature<protobuf_int64>(const string& key, const Features& features) { 40 bool HasFeature<float>(const string& key, const Features& features) { 47 bool HasFeature<string>(const string& key, const Features& features) { 53 bool HasFeatureList(const string& key, 83 const protobuf::RepeatedPtrField<string>& GetFeatureValues<string>( 89 protobuf::RepeatedPtrField<string>* GetFeatureValues<string>(Feature* feature) [all...] |
| /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
| metric_recorder.h | 16 #include <string> 57 std::string prefix; 67 MetricRecorder(const std::string algorithm_name, 72 void SetPlotInformation(const std::vector<std::string>& prefixes, 78 const std::string& prefix, 92 void PlotThroughputHistogram(const std::string& title, 93 const std::string& bwe_name, 96 const std::string optimum_id) const; 98 void PlotThroughputHistogram(const std::string& title, 99 const std::string& bwe_name [all...] |
| /external/webrtc/webrtc/test/testsupport/ |
| fileutils_unittest.cc | 16 #include <string> 27 static const std::string kResourcesDir = "resources"; 28 static const std::string kTestName = "fileutils_unittest"; 29 static const std::string kExtension = "tmp"; 52 static std::string original_working_dir_; 55 std::string FileUtilsTest::original_working_dir_ = ""; 62 std::string project_root = webrtc::test::ProjectRootPath(); 76 std::string path = webrtc::test::OutputPath(); 77 std::string expected_end = "out"; 95 std::string temp_filename = webrtc::test::TempFilename [all...] |
| /external/xmlrpcpp/src/ |
| XmlRpcUtil.cpp | 9 # include <string.h> 100 std::string 101 XmlRpcUtil::parseTag(const char* tag, std::string const& xml, int* offset) 103 if (*offset >= int(xml.length())) return std::string(); 105 if (istart == std::string::npos) return std::string(); 107 std::string etag = "</"; 110 if (iend == std::string::npos) return std::string(); 119 XmlRpcUtil::findTag(const char* tag, std::string const& xml, int* offset [all...] |
| /frameworks/base/tools/aapt2/cmd/ |
| Compile_test.cpp | 26 int TestCompile(std::string path, std::string outDir, bool legacy, StdErrDiagnostics& diag) { 41 const std::string kResDir = android::base::Dirname(android::base::GetExecutablePath()) 45 const std::string path0 = kResDir + "/values/values.xml"; 46 const std::string path0_out = kResDir + "/values_values.arsc.flat"; 54 const std::string path1 = kResDir + "/drawable/image.png"; 55 const std::string path1_out = kResDir + "/drawable_image.png.flat"; 62 const std::string path2 = kResDir + "/drawable/image.9.png"; 63 const std::string path2_out = kResDir + "/drawable_image.9.png.flat"; 71 const std::string path3 = kResDir + "/values/values.all.xml" [all...] |
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
| json_reporter.cc | 21 #include <string> 32 std::string FormatKV(std::string const& key, std::string const& value) { 36 std::string FormatKV(std::string const& key, const char* value) { 40 std::string FormatKV(std::string const& key, bool value) { 44 std::string FormatKV(std::string const& key, int64_t value) [all...] |
| /system/core/init/ |
| persistent_properties_test.cpp | 34 const std::vector<std::pair<std::string, std::string>>& input_properties) { 46 void CheckPropertiesEqual(std::vector<std::pair<std::string, std::string>> expected, 59 auto joiner = [](const std::vector<std::pair<std::string, std::string>>& vector) { 60 std::string result; 74 std::vector<std::pair<std::string, std::string>> persistent_properties = { 97 std::vector<std::pair<std::string, std::string>> persistent_properties = [all...] |
| /system/core/libutils/ |
| PropertyMap.cpp | 81 int value = strtol(stringValue.string(), & end, 10); 84 key.string(), stringValue.string()); 98 float value = strtof(stringValue.string(), & end); 101 key.string(), stringValue.string()); 120 ALOGE("Error %d opening property file %s.", status, filename.string()); 135 tokenizer->getFilename().string(), tokenizer->getLineNumber(), 162 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), 163 mTokenizer->peekRemainderOfLine().string()); [all...] |
| /system/tools/hidl/ |
| Annotation.cpp | 27 AnnotationParam::AnnotationParam(const std::string& name) : mName(name) {} 29 const std::string& AnnotationParam::getName() const { 45 std::string AnnotationParam::getSingleString() const { 46 std::string value = getSingleValue(); 49 << mName << " must be a string"; 51 // unquote string 58 std::string value = getSingleString(); 70 StringAnnotationParam::StringAnnotationParam(const std::string& name, 71 std::vector<std::string>* values) 74 std::vector<std::string> StringAnnotationParam::getValues() const [all...] |
| ConstantExpression.h | 24 #include <string> 96 /* Evaluated result in a string form. */ 97 std::string value() const; 98 /* Evaluated result in a string form. */ 99 std::string cppValue() const; 100 /* Evaluated result in a string form. */ 101 std::string javaValue() const; 102 /* Evaluated result in a string form, with given contextual kind. */ 103 std::string value(ScalarType::Kind castKind) const; 104 /* Evaluated result in a string form, with given contextual kind. * [all...] |
| Interface.h | 51 std::string typeName() const override; 82 std::string getBaseName() const; 83 std::string getAdapterName() const; 84 std::string getProxyName() const; 85 std::string getStubName() const; 86 std::string getPassthroughName() const; 87 std::string getHwName() const; 92 std::string getCppType( 96 std::string getJavaType(bool forInitializer) const override; 97 std::string getVtsType() const override [all...] |
| /system/update_engine/ |
| main.cc | 24 #include <string> 40 using std::string; 45 string GetTimeAsString(time_t utime) { 59 void DeleteOldLogs(const string& kLogsRoot) { 66 std::vector<string> old_logs; 85 std::sort(old_logs.begin(), old_logs.end(), std::greater<string>()); 87 string log_path = kLogsRoot + "/" + old_logs[i]; 94 string SetupLogFile(const string& kLogsRoot) { 104 void SetupLogSymlink(const string& symlink_path, const string& log_path) [all...] |
| /external/tensorflow/tensorflow/python/lib/io/ |
| file_io.i | 35 inline void FileExists(const string& filename, TF_Status* out_status) { 51 inline void DeleteFile(const string& filename, TF_Status* out_status) { 58 string ReadFileToString(const string& filename, TF_Status* out_status) { 59 string file_content; 68 void WriteStringToFile(const string& filename, const string& file_content, 77 std::vector<string> GetChildren(const string& dir, TF_Status* out_status) { 78 std::vector<string> results [all...] |
| /prebuilts/go/darwin-x86/src/encoding/csv/ |
| reader_test.go | 17 Name string 18 Input string 19 Output [][]string 33 Output: [][]string{{"a", "b", "c"}}, 37 Output: [][]string{{"a", "b"}, {"c", "d"}}, 41 Output: [][]string{{"a", "b\rc", "d"}}, 50 Output: [][]string{ 61 Output: [][]string{{"a", "b", "c"}}, 65 Output: [][]string{{"a", "b", "c"}}, 73 Output: [][]string{{"two\nline", "one line", "three\nline\nfield"}} [all...] |
| /prebuilts/go/linux-x86/src/encoding/csv/ |
| reader_test.go | 17 Name string 18 Input string 19 Output [][]string 33 Output: [][]string{{"a", "b", "c"}}, 37 Output: [][]string{{"a", "b"}, {"c", "d"}}, 41 Output: [][]string{{"a", "b\rc", "d"}}, 50 Output: [][]string{ 61 Output: [][]string{{"a", "b", "c"}}, 65 Output: [][]string{{"a", "b", "c"}}, 73 Output: [][]string{{"two\nline", "one line", "three\nline\nfield"}} [all...] |
| /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/compiler/ |
| plugin.pb.h | 7 #include <string> 99 // repeated string file_to_generate = 1; 103 inline const ::std::string& file_to_generate(int index) const; 104 inline ::std::string* mutable_file_to_generate(int index); 105 inline void set_file_to_generate(int index, const ::std::string& value); 108 inline ::std::string* add_file_to_generate(); 109 inline void add_file_to_generate(const ::std::string& value); 112 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const; 113 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate(); 115 // optional string parameter = 2 [all...] |
| /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/compiler/ |
| plugin.pb.h | 7 #include <string> 99 // repeated string file_to_generate = 1; 103 inline const ::std::string& file_to_generate(int index) const; 104 inline ::std::string* mutable_file_to_generate(int index); 105 inline void set_file_to_generate(int index, const ::std::string& value); 108 inline ::std::string* add_file_to_generate(); 109 inline void add_file_to_generate(const ::std::string& value); 112 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const; 113 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate(); 115 // optional string parameter = 2 [all...] |
| /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/compiler/ |
| plugin.pb.h | 7 #include <string> 99 // repeated string file_to_generate = 1; 103 inline const ::std::string& file_to_generate(int index) const; 104 inline ::std::string* mutable_file_to_generate(int index); 105 inline void set_file_to_generate(int index, const ::std::string& value); 108 inline ::std::string* add_file_to_generate(); 109 inline void add_file_to_generate(const ::std::string& value); 112 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const; 113 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate(); 115 // optional string parameter = 2 [all...] |
| /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/compiler/ |
| plugin.pb.h | 7 #include <string> 99 // repeated string file_to_generate = 1; 103 inline const ::std::string& file_to_generate(int index) const; 104 inline ::std::string* mutable_file_to_generate(int index); 105 inline void set_file_to_generate(int index, const ::std::string& value); 108 inline ::std::string* add_file_to_generate(); 109 inline void add_file_to_generate(const ::std::string& value); 112 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const; 113 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate(); 115 // optional string parameter = 2 [all...] |
| /system/tpm/trunks/ |
| tpm_generated.cc | 22 #include <string> 487 TPM_RC Serialize_uint8_t(const uint8_t& value, std::string* buffer) { 508 TPM_RC Parse_uint8_t(std::string* buffer, 510 std::string* value_bytes) { 536 TPM_RC Serialize_int8_t(const int8_t& value, std::string* buffer) { 557 TPM_RC Parse_int8_t(std::string* buffer, 559 std::string* value_bytes) { 585 TPM_RC Serialize_int(const int& value, std::string* buffer) { 606 TPM_RC Parse_int(std::string* buffer, int* value, std::string* value_bytes) [all...] |
| /external/tensorflow/tensorflow/cc/framework/ |
| cc_op_gen.cc | 46 string GetPath(const string& dot_h_fname) { 48 string result = dot_h_fname; 49 if (pos != string::npos) { 57 if (pos != string::npos) { 67 string GetFilename(const string& path) { 78 string ToGuard(const string& path) { 79 string guard [all...] |
| /external/deqp/executor/ |
| xeTestCaseResult.hpp | 29 #include <string> 118 std::string casePath; //!< Full test case path. 121 std::string statusDetails; //!< Status description. 217 std::string details; 226 std::string text; 235 std::string name; 236 std::string description; 237 std::string unit; 238 std::string tag; 264 std::string name [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
| vktShaderRenderReturnTests.cpp | 31 #include <string> 71 const std::string& name, 72 const std::string& description, 74 const std::string& shaderSource, 81 const std::string& name, 82 const std::string& description, 84 const std::string& shaderSource, 138 de::MovePtr<ShaderReturnCase> makeConditionalReturnInFuncCase (tcu::TestContext& context, const std::string& name, const std::string& description, ReturnMode returnMode, bool isVertex) 158 std::map<std::string, std::string> params [all...] |
| /external/minijail/ |
| minijail0_cli_unittest.cc | 43 int parse_args_(const std::vector<std::string>& argv, int *exit_immediately, 52 for (const std::string& arg : argv) 66 int parse_args_(const std::vector<std::string>& argv) { 79 std::vector<std::string> argv = {}; 85 std::vector<std::string> argv = {"-h"}; 97 std::vector<std::string> argv = {"/bin/sh"}; 103 std::vector<std::string> argv = {"-u", "", "/bin/sh"}; 114 std::vector<std::string> argv = {"-u", "", "/bin/sh"}; 126 std::vector<std::string> argv = {"-g", "", "/bin/sh"}; 137 std::vector<std::string> argv = {"-g", "", "/bin/sh"} [all...] |