| /external/libvpx/libvpx/third_party/libwebm/common/ |
| file_util.cc | 23 std::string GetTempFileName() { 25 std::string temp_file_name_template_str = 26 std::string(std::getenv("TEST_TMPDIR") ? std::getenv("TEST_TMPDIR") : 35 std::string temp_file_name = 36 (fd != -1) ? std::string(temp_file_name_template) : std::string(); 46 return std::string(tmp_file_name); 48 return std::string(); 52 uint64_t GetFileSize(const std::string& file_name) {
|
| /external/modp_b64/modp_b64/ |
| modp_b64.h | 34 * Encode a raw binary string into base 64. 40 * returns length of the destination string plus the ending null byte 61 * Decode a base64 encoded string 84 * Given a source string of length len, this returns the amount of 85 * memory the destination string should have. 96 * Given a base64 string of length len, 97 * this returns the amount of memory required for output string 136 #include <string> 138 inline std::string& modp_b64_encode(std::string& s [all...] |
| /external/parameter-framework/upstream/parameter/ |
| EnumParameterType.h | 34 #include <string> 39 CEnumParameterType(const std::string &strName); 48 // String 49 virtual bool toBlackboard(const std::string &strValue, uint32_t &uiValue, 51 virtual bool fromBlackboard(std::string &strValue, const uint32_t &uiValue, 63 virtual void showProperties(std::string &strResult) const; 66 virtual std::string getKind() const; 71 bool toBlackboardFromRaw(const std::string &strUserValue, uint32_t &uiValue, 78 bool getLiteral(int32_t iNumerical, std::string &strLiteral) const; 79 bool getNumerical(const std::string &strLiteral, int &iNumerical) const [all...] |
| InstanceConfigurableElement.h | 38 #include <string> 57 CInstanceConfigurableElement(const std::string &strName, const CTypeElement *pTypeElement); 62 virtual bool getMappingData(const std::string &strKey, const std::string *&pStrValue) const; 66 * InstanceConfigurableElement, as a formatted std::string 68 * @return A std::string containing the formatted mapping 70 std::string getFormattedMapping() const override; 73 virtual std::string getKind() const; 74 std::string getXmlElementName() const override; 84 bool map(IMapper &mapper, std::string &strError) [all...] |
| PathNavigator.cpp | 33 CPathNavigator::CPathNavigator(const std::string &strPath) 38 void CPathNavigator::init(const std::string &strPath) 53 bool CPathNavigator::navigateThrough(const std::string &strItemName, std::string &strError) 62 std::string *pStrChildName = next(); 83 std::string *CPathNavigator::next() 93 std::string CPathNavigator::getCurrentPath() const 95 std::string strPath = "/"; 113 bool CPathNavigator::checkPathFormat(const std::string &strUpl)
|
| /external/parameter-framework/upstream/test/test-subsystem/ |
| TESTSubsystem.cpp | 46 CTESTSubsystem::CTESTSubsystem(const std::string &strName, core::log::Logger &logger) 57 new TSubsystemObjectFactory<CTESTSubsystemString>("String", 1 << ETESTDirectory)); 64 return read(std::string(gacFwNamePropName) + "/isAlive") == "true"; 71 std::string strNeedResyncFile = std::string(gacFwNamePropName) + "/needResync"; 93 std::string CTESTSubsystem::read(const std::string &strFileName) 96 std::string strContent; 106 void CTESTSubsystem::write(const std::string &strFileName, const std::string &strContent [all...] |
| /external/perfetto/src/ftrace_reader/ |
| ftrace_config.cc | 28 bool IsValid(const std::string& str) { 38 std::set<std::string> FtraceEventsAsSet(const FtraceConfig& config) { 39 std::set<std::string> events; 40 for (const std::string& event : config.ftrace_events()) 45 FtraceConfig CreateFtraceConfig(std::set<std::string> names) { 47 for (const std::string& name : names) 57 for (const std::string& event_name : config.ftrace_events()) { 63 for (const std::string& category : config.atrace_categories()) { 69 for (const std::string& app : config.atrace_apps()) {
|
| /external/perfetto/src/traced/probes/filesystem/ |
| prefix_finder.h | 22 #include <string> 45 // Opaque placeholder for a prefix that can be turned into a string 51 Node(std::string name, Node* parent) : name_(name), parent_(parent) {} 56 // Return string representation of prefix, e.g. /foo/bar. 58 std::string ToString() const; 71 Node* AddChild(std::string name); 75 Node* MaybeChild(const std::string& name); 77 const std::string name_; 88 void AddPath(std::string path); 93 Node* GetPrefix(std::string path) [all...] |
| /external/perfetto/src/tracing/test/ |
| mock_producer.h | 22 #include <string> 46 const std::string& producer_name, 49 void RegisterDataSource(const std::string& name); 50 void UnregisterDataSource(const std::string& name); 52 void WaitForDataSourceStart(const std::string& name); 53 void WaitForDataSourceStop(const std::string& name); 55 const std::string& data_source_name); 75 std::string producer_name_; 77 std::map<std::string, EnabledDataSource> data_source_instances_;
|
| /external/protobuf/src/google/protobuf/compiler/java/ |
| java_helpers.h | 38 #include <string> 54 string UnderscoresToCamelCase(const string& name, bool cap_first_letter); 57 string UnderscoresToCamelCase(const FieldDescriptor* field); 58 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field); 62 string UnderscoresToCamelCase(const MethodDescriptor* method); 67 string UniqueFileScopeIdentifier(const Descriptor* descriptor); 70 string StripProto(const string& filename); 76 string FileClassName(const FileDescriptor* file, bool immutable = true) [all...] |
| /external/protobuf/src/google/protobuf/compiler/ruby/ |
| ruby_generator_unittest.cc | 48 string FindRubyTestDir(const string& file) { 51 string prefix = "."; 74 string ruby_tests = FindRubyTestDir("/ruby_generated_code.proto"); 83 string test_input; 94 string ruby_out = "--ruby_out=" + TestTempDir(); 95 string proto_path = "--proto_path=" + TestTempDir(); 106 string output; 111 string expected_output;
|
| /external/swiftshader/third_party/LLVM/lib/Support/ |
| system_error.cpp | 16 #include <string> 44 std::string 46 return std::string(sys::StrError(ev)); 52 virtual std::string message(int ev) const; 60 std::string 64 return std::string("unspecified generic_category error"); 78 virtual std::string message(int ev) const; 87 // std::string _system_error_category::message(int ev) const { 110 std::string 117 std::string [all...] |
| /external/swiftshader/third_party/LLVM/utils/TableGen/ |
| SubtargetEmitter.h | 21 #include <string> 29 std::string Target; 36 std::map<std::string,unsigned> &ItinClassesMap, 38 void FormItineraryStageString(const std::string &Names, 39 Record *ItinData, std::string &ItinString, 41 void FormItineraryOperandCycleString(Record *ItinData, std::string &ItinString, 43 void FormItineraryBypassString(const std::string &Names, 45 std::string &ItinString, unsigned NOperandCycles); 47 std::map<std::string, unsigned> &ItinClassesMap,
|
| /external/tensorflow/tensorflow/contrib/saved_model/cc/saved_model/ |
| signature_def_utils.cc | 27 const protobuf::Map<string, T>& map, const string& key, 39 const string& signature_def_key, 46 const string& tensor_info_key, 53 const string& tensor_info_key, 60 const string& tensor_info_key, string* name) { 69 const string& tensor_info_key, string* name) {
|
| /external/tensorflow/tensorflow/core/common_runtime/ |
| device_factory.h | 19 #include <string> 33 static void Register(const string& device_type, DeviceFactory* factory, 35 static DeviceFactory* GetFactory(const string& device_type); 42 const string& name_prefix, 48 static Device* NewDevice(const string& type, const SessionOptions& options, 49 const string& name_prefix); 53 const string& name_prefix, 56 // Return the device priority number for a "device_type" string. 68 static int32 DevicePriority(const string& device_type); 107 explicit Registrar(const string& device_type, int priority = 50) [all...] |
| /external/tensorflow/tensorflow/core/kernels/hexagon/ |
| hexagon_control_wrapper.h | 48 bool FillInputNode(const string& node_name, const Tensor& tensor) final; 49 bool ReadOutputNode(const string& node_name, 52 const std::vector<string>& inputs, 53 const std::vector<string>& outputs, 56 bool ReadOutputNode(const string& node_name, std::vector<ByteArray>* outputs); 63 const string& node_name, 71 const string& node_name, GraphTransferInfo* graph_transfer_info); 83 std::unordered_map<string, int> input_port_map_{}; 84 std::unordered_map<string, int> output_port_map_{};
|
| /external/tensorflow/tensorflow/core/profiler/internal/ |
| tfprof_graph.h | 26 #include <string> 62 GraphNode* CreateParentNode(const string& name); 65 const std::vector<string>& regexes, 66 std::set<string>* visited); 70 int last_ident, std::set<string>* visits); 74 std::set<string>* visits); 76 void Format(const std::vector<GraphNode*> roots, string* display_str, 82 std::map<string, std::unique_ptr<TFGraphNode>> parent_nodes_; 83 std::map<string, std::unique_ptr<GraphNode>> nodes_map_;
|
| /external/tensorflow/tensorflow/core/util/ |
| tensor_slice_set.h | 25 #include <string> // for string 48 // Register a new slice for the tensor. The "tag" is an arbitrary string 55 Status Register(const TensorSlice& slice, const string& tag, 70 std::vector<std::pair<tensorflow::TensorSlice, string>>* results) const; 74 const string tag; 79 // Returns the map from slice string to SliceInfo. 80 const std::unordered_map<string, SliceInfo>& Slices() const { 87 // We maintain a mapping from the slice string to the slice information. 88 std::unordered_map<string, SliceInfo> slices_ [all...] |
| /external/webrtc/webrtc/base/ |
| windowpicker.h | 14 #include <string> 24 WindowDescription(const WindowId& id, const std::string& title) 29 const std::string& title() const { return title_; } 30 void set_title(const std::string& title) { title_ = title; } 34 std::string title_; 40 DesktopDescription(const DesktopId& id, const std::string& title) 45 const std::string& title() const { return title_; } 46 void set_title(const std::string& title) { title_ = title; } 53 std::string title_;
|
| /external/webrtc/webrtc/libjingle/xmllite/ |
| qname.h | 14 #include <string> 40 QName(const std::string& ns, const std::string& local); 41 explicit QName(const std::string& merged_or_local); 44 const std::string& Namespace() const { return namespace_; } 45 const std::string& LocalPart() const { return local_part_; } 46 std::string Merged() const; 69 std::string namespace_; 70 std::string local_part_;
|
| /external/webrtc/webrtc/libjingle/xmpp/ |
| util_unittest.cc | 13 #include <string> 22 output_ << std::string(bytes, len); 25 void XmppTestHandler::StartTls(const std::string & cname) { 91 std::string XmppTestHandler::OutputActivity() { 92 std::string result = output_.str(); 97 std::string XmppTestHandler::SessionActivity() { 98 std::string result = session_.str(); 103 std::string XmppTestHandler::StanzaActivity() { 104 std::string result = stanza_.str();
|
| xmppauth.cc | 28 const std::string& auth_mechanism, 29 const std::string& auth_token) { 39 static bool contains(const std::vector<std::string>& strings, 40 const std::string& string) { 41 return std::find(strings.begin(), strings.end(), string) != strings.end(); 44 std::string XmppAuth::ChooseBestSaslMechanism( 45 const std::vector<std::string>& mechanisms, 75 const std::string& mechanism) {
|
| /frameworks/base/core/java/android/util/ |
| SizeF.java | 90 * Return the size represented as a string with the format {@code "WxH"} 92 * @return string representation of the size 95 public String toString() { 99 private static NumberFormatException invalidSizeF(String s) { 104 * Parses the specified string as a size value. 116 * where <i>width</i> and <i>height</i> are string floats potentially 118 * an {@code 'x'} (such as a float in hexadecimal string format).</p> 126 * @param string the string representation of a size value. 127 * @return the size value represented by {@code string} [all...] |
| /frameworks/compile/mclinker/include/mcld/ |
| TargetOptions.h | 14 #include <string> 29 explicit TargetOptions(const std::string& pTriple); 35 void setTriple(const std::string& pTriple); 39 const std::string& getArch() const { return m_ArchName; } 41 void setArch(const std::string& pArchName); 43 const std::string& getTargetCPU() const { return m_TargetCPU; } 45 void setTargetCPU(const std::string& pCPU); 84 std::string m_ArchName; 85 std::string m_TargetCPU;
|
| /hardware/interfaces/drm/1.0/vts/functional/ |
| drm_hal_vendor_module_api.h | 22 #include <string> 88 * drm plugin, i.e. not running as a HIDL service, return the empty string. 90 virtual std::string getServiceName() const = 0; 131 const std::string& url) = 0; 143 const std::string name; 150 const std::string serverUrl; 161 const std::string mimeType; 166 const std::map<std::string, std::string> optionalParameters; 231 const std::string& serverUrl) = 0 [all...] |