| /external/tensorflow/tensorflow/contrib/coder/kernels/ |
| range_coder.h | 20 #include <string> 49 void Encode(int32 lower, int32 upper, string* sink); 53 // string may not be decoded. 54 void Finalize(string* sink); 71 RangeDecoder(const string& source, int precision); 101 string::const_iterator current_; 102 const string::const_iterator begin_; 103 const string::const_iterator end_;
|
| /external/tensorflow/tensorflow/contrib/lite/models/smartreply/ |
| predictor.h | 19 #include <string> 34 // With a given string as input, predict the response with a Tflite model. 37 void GetSegmentPredictions(const std::vector<std::string>& input, 46 PredictorResponse(const std::string& response_text, float score) { 52 const std::string& GetText() const { return response_text_; } 56 std::string response_text_ = ""; 68 const std::vector<std::string>& backoff_responses; 70 SmartReplyConfig(std::vector<std::string> backoff_responses)
|
| /external/tensorflow/tensorflow/contrib/lite/toco/ |
| format_port.h | 34 // Overloaded case where we return std::string. 35 inline const char* IdentityOrConvertStringToRaw(const std::string& foo) { 40 // Overloaded case where we return string. 41 inline const char* IdentityOrConvertStringToRaw(const string& foo) { 47 inline void AppendFHelper(string* destination, const char* fmt, 52 // Specialization for no argument format string (avoid security bug). 53 inline void AppendFHelper(string* destination, const char* fmt) { 57 // Append formatted string (with format fmt and args args) to the string 59 // One departure is that %s can be driven by a std::string or string [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| function_testlib.h | 19 #include <string> 37 std::pair<string, FunctionDefHelper::AttrValueWrapper>>& attrs) { 51 const string& name, const string& op, gtl::ArraySlice<string> inputs, 52 gtl::ArraySlice<std::pair<string, FunctionDefHelper::AttrValueWrapper>> 54 const string& device = "");
|
| log_memory.h | 55 static const string kLogMemoryLabel; 62 static void RecordStep(int64 step_id, const string& handle); 70 static void RecordTensorAllocation(const string& kernel_name, int64 step_id, 80 const string& allocator_name); 83 static void RecordTensorOutput(const string& kernel_name, int64 step_id, 95 static void RecordRawAllocation(const string& operation, int64 step_id, 104 static void RecordRawDeallocation(const string& operation, int64 step_id,
|
| /external/tensorflow/tensorflow/core/graph/ |
| graph_partition.h | 20 #include <string> 34 typedef std::function<string(const Node*)> NodeToLocFunc; 39 typedef std::function<string(const string&)> NewNameFunc; 46 typedef std::function<uint64(const string&)> GetIncarnationFunc; 88 std::unordered_map<string, GraphDef>* partitions); 94 std::unordered_map<string, GraphDef>* partitions);
|
| /external/tensorflow/tensorflow/core/util/ |
| events_writer.h | 20 #include <string> 34 // Prefix of version string present in the first entry of every event file. 47 explicit EventsWriter(const string& file_prefix); 57 Status InitWithSuffix(const string& suffix); 61 string FileName(); 87 const string file_prefix_; 88 string file_suffix_; 89 string filename_;
|
| reporter.h | 21 #include <string> 55 explicit TestReporter(const string& test_name) 59 TestReporter(const string& fname, const string& test_name); 82 static string GetLogEnv() { 87 string fname_; 88 string test_name_;
|
| /external/v8/src/builtins/ |
| builtins-json.cc | 21 Handle<String> string; local 22 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, string, 24 string = String::Flatten(string); 26 isolate, string->IsSeqOneByteString() 27 ? JsonParser<true>::Parse(isolate, string, reviver) 28 : JsonParser<false>::Parse(isolate, string, reviver));
|
| /external/valgrind/helgrind/tests/ |
| filter_helgrind | 15 my ($string, $qstring); 20 foreach $string (@$cmdlin_files) { 21 $qstring = quotemeta($string); 28 foreach $string (@$tool_files) { 29 $qstring = quotemeta($string); 30 return $line if ($line =~ s/$qstring:[0-9]+/$string:.../m); 33 return $line if ($line =~ s/$qstring:\.\.\./$string:.../m);
|
| /external/valgrind/memcheck/tests/ |
| filter_memcheck | 15 my ($string, $qstring); 20 foreach $string (@$cmdlin_files) { 21 $qstring = quotemeta($string); 28 foreach $string (@$tool_files) { 29 $qstring = quotemeta($string); 30 return $line if ($line =~ s/$qstring:[0-9]+/$string:.../m); 33 return $line if ($line =~ s/$qstring:\.\.\./$string:.../m);
|
| /external/webrtc/talk/app/webrtc/ |
| jsepicecandidate.h | 33 #include <string> 43 JsepIceCandidate(const std::string& sdp_mid, int sdp_mline_index); 44 JsepIceCandidate(const std::string& sdp_mid, int sdp_mline_index, 48 bool Initialize(const std::string& sdp, SdpParseError* err); 53 virtual std::string sdp_mid() const { return sdp_mid_; } 59 virtual bool ToString(std::string* out) const; 62 std::string sdp_mid_;
|
| rtpsenderinterface.h | 34 #include <string> 63 virtual std::string id() const = 0; 66 virtual void set_stream_id(const std::string& stream_id) = 0; 67 virtual std::string stream_id() const = 0; 82 PROXY_CONSTMETHOD0(std::string, id) 83 PROXY_METHOD1(void, set_stream_id, const std::string&) 84 PROXY_CONSTMETHOD0(std::string, stream_id)
|
| /external/webrtc/talk/media/base/ |
| codec.h | 33 #include <string> 40 typedef std::map<std::string, std::string> CodecParameterMap; 46 FeedbackParam(const std::string& id, const std::string& param) 50 explicit FeedbackParam(const std::string& id) 56 const std::string& id() const { return id_; } 57 const std::string& param() const { return param_; } 60 std::string id_; // e.g. "nack", "ccm" 61 std::string param_; // e.g. "", "rpsi", "fir [all...] |
| /external/webrtc/webrtc/examples/peerconnection/client/ |
| defaults.cc | 14 #include <string.h> 30 std::string GetEnvVarOrDefault(const char* env_var_name, 32 std::string value; 43 std::string GetPeerConnectionString() { 47 std::string GetDefaultServerName() { 51 std::string GetPeerName() { 53 std::string ret(GetEnvVarOrDefault("USERNAME", "user"));
|
| /frameworks/base/libs/androidfw/tests/ |
| CommonHelpers.cpp | 27 static std::string sTestDataPath; 34 const std::string arg = argv[i]; 51 void SetTestDataPath(const std::string& path) { 55 const std::string& GetTestDataPath() { 60 std::string GetStringFromPool(const ResStringPool* pool, uint32_t idx) { 62 return std::string(str.string(), str.length());
|
| /frameworks/base/libs/hwui/service/ |
| GraphicsStatsService.h | 19 #include <string> 45 ANDROID_API static void saveBuffer(const std::string& path, const std::string& package, 50 ANDROID_API static void addToDump(Dump* dump, const std::string& path, 51 const std::string& package, int64_t versionCode, 53 ANDROID_API static void addToDump(Dump* dump, const std::string& path); 57 static bool parseFromFile(const std::string& path, protos::GraphicsStatsProto* output);
|
| /frameworks/base/tools/aapt2/compile/ |
| Pseudolocalizer.h | 33 virtual std::string Start() { return {}; } 34 virtual std::string End() { return {}; } 35 virtual std::string Text(const android::StringPiece& text) = 0; 36 virtual std::string Placeholder(const android::StringPiece& text) = 0; 49 std::string Start() { return impl_->Start(); } 50 std::string End() { return impl_->End(); } 51 std::string Text(const android::StringPiece& text);
|
| /frameworks/native/cmds/installd/ |
| CacheTracker.h | 21 #include <string> 42 CacheTracker(userid_t userId, appid_t appId, const std::string& quotaDevice); 45 std::string toString(); 47 void addDataPath(const std::string& dataPath); 64 std::string mQuotaDevice; 67 std::vector<std::string> mDataPaths; 70 void loadItemsFrom(const std::string& path);
|
| /frameworks/native/libs/vr/libpdx_uds/private/uds/ |
| client_channel_factory.h | 4 #include <string> 15 const std::string& endpoint_path); 21 static std::string GetRootEndpointPath(); 22 static std::string GetEndpointPath(const std::string& endpoint_path); 25 explicit ClientChannelFactory(const std::string& endpoint_path); 29 std::string endpoint_path_;
|
| /hardware/libhardware/modules/sensors/dynamic_sensor/ |
| ConnectionDetector.h | 55 std::string mDevice; 63 BaseDynamicSensorDaemon *d, const std::string &path, const std::string ®ex); 70 bool matches(const std::string &name) const; 74 std::string getFullName(const std::string name) const; 76 std::string mPath;
|
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
| SpecialCaseList.h | 17 // If category is not specified, it is assumed to be empty string. 52 #include <string> 63 /// 0 and writes an error message to string. 65 create(const std::vector<std::string> &Paths, std::string &Error); 67 /// 0 and writes an error message to string. 69 std::string &Error); 73 createOrDie(const std::vector<std::string> &Paths); 91 StringMap<StringMap<std::string>> Regexps; 96 bool parse(const MemoryBuffer *MB, std::string &Error) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
| SpecialCaseList.h | 17 // If category is not specified, it is assumed to be empty string. 52 #include <string> 63 /// 0 and writes an error message to string. 65 create(const std::vector<std::string> &Paths, std::string &Error); 67 /// 0 and writes an error message to string. 69 std::string &Error); 73 createOrDie(const std::vector<std::string> &Paths); 91 StringMap<StringMap<std::string>> Regexps; 96 bool parse(const MemoryBuffer *MB, std::string &Error) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
| SpecialCaseList.h | 17 // If category is not specified, it is assumed to be empty string. 52 #include <string> 63 /// 0 and writes an error message to string. 65 create(const std::vector<std::string> &Paths, std::string &Error); 67 /// 0 and writes an error message to string. 69 std::string &Error); 73 createOrDie(const std::vector<std::string> &Paths); 91 StringMap<StringMap<std::string>> Regexps; 96 bool parse(const MemoryBuffer *MB, std::string &Error) [all...] |
| /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
| SpecialCaseList.h | 17 // If category is not specified, it is assumed to be empty string. 52 #include <string> 63 /// 0 and writes an error message to string. 65 create(const std::vector<std::string> &Paths, std::string &Error); 67 /// 0 and writes an error message to string. 69 std::string &Error); 73 createOrDie(const std::vector<std::string> &Paths); 91 StringMap<StringMap<std::string>> Regexps; 96 bool parse(const MemoryBuffer *MB, std::string &Error) [all...] |