| /art/dexlayout/ |
| dexdiag_test.cc | 17 #include <string> 42 std::string GetDexDiagFilePath() { 43 std::string root = GetTestAndroidRoot(); 48 std::string root32 = root + "32"; 65 const std::string default_location = GetCoreOatLocation(); 67 std::string oat_location = GetSystemImageFilename(default_location.c_str(), kRuntimeISA); 70 std::string error_msg; 85 bool Exec(pid_t this_pid, const std::vector<std::string>& args, std::string* error_msg) { 89 std::vector<std::string> exec_argv [all...] |
| /external/clang/lib/Basic/ |
| Version.cpp | 27 std::string getClangRepositoryPath() { 57 std::string getLLVMRepositoryPath() { 74 std::string getClangRevision() { 82 std::string getLLVMRevision() { 90 std::string getClangFullRepositoryVersion() { 91 std::string buf; 93 std::string Path = getClangRepositoryPath(); 94 std::string Revision = getClangRevision(); 107 std::string LLVMRev = getLLVMRevision(); 110 std::string LLVMRepo = getLLVMRepositoryPath() [all...] |
| /external/selinux/restorecond/ |
| stringslist.c | 25 #include <string.h> 33 void strings_list_add(struct stringsList **list, const char *string) 39 int cmp = strcmp(string, ptr->string); 50 newptr->string = strdup(string); 58 int strings_list_find(struct stringsList *ptr, const char *string, int *exact) 61 *exact = strcmp(ptr->string, string) == 0; 62 int cmp = fnmatch(ptr->string, string, 0) [all...] |
| /external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
| StringExtras.h | 1 //===-- llvm/ADT/StringExtras.h - Useful string functions -------*- C++ -*-===// 23 #include <string> 36 /// BufferEnd, returning a pointer to the start of the string. This can be used 60 static inline std::string utohexstr(uint64_t X) { 65 static inline std::string utostr_32(uint32_t X, bool isNeg = false) { 78 return std::string(BufPtr, Buffer+11); 81 static inline std::string utostr(uint64_t X, bool isNeg = false) { 93 return std::string(BufPtr, Buffer+21); 97 static inline std::string itostr(int64_t X) { 104 static inline std::string ftostr(double V) [all...] |
| /external/tensorflow/tensorflow/core/platform/cloud/ |
| gcs_dns_cache_test.cc | 24 void SetUri(const string& uri) override {} 26 void AddHeader(const string& name, const string& value) override {} 27 void AddResolveOverride(const string& hostname, int64 port, 28 const string& ip_addr) override { 35 std::map<string, string>::value_type(hostname, ip_addr)); 38 void AddAuthBearerHeader(const string& auth_token) override {} 42 Status SetPutFromFile(const string& body_filepath, size_t offset) override { 52 string GetResponseHeader(const string& name) const override { return ""; [all...] |
| /external/tensorflow/tensorflow/tools/proto_text/ |
| gen_proto_text_functions.cc | 32 void AddError(const string& filename, int line, int column, 33 const string& message) override { 45 string ph(kPlaceholderFile); 46 string str(s); 76 const string output_root = argv[1]; 77 const string output_relative_path = kTensorFlowHeaderPrefix + string(argv[2]); 79 string src_relative_path; 83 const string s(argv[i]); 102 const string proto_path = string(argv[i]).substr(src_relative_path.size()) [all...] |
| /external/webrtc/webrtc/base/ |
| filerotatingstream.h | 14 #include <string> 30 FileRotatingStream(const std::string& dir_path, 31 const std::string& file_prefix); 35 FileRotatingStream(const std::string& dir_path, 36 const std::string& file_prefix, 67 std::string GetFilePath(size_t index) const; 86 FileRotatingStream(const std::string& dir_path, 87 const std::string& file_prefix, 104 std::vector<std::string> GetFilesWithPrefix() const; 106 std::string GetFilePath(size_t index, size_t num_files) const [all...] |
| sslidentity.h | 17 #include <string> 39 // Parses and build a certificate from a PEM encoded string. 41 // The length of the string representation of the certificate is 45 static SSLCertificate* FromPEMString(const std::string& pem_string); 57 // Returns a PEM encoded string representation of the certificate. 58 virtual std::string ToPEMString() const = 0; 65 virtual bool GetSignatureDigestAlgorithm(std::string* algorithm) const = 0; 68 virtual bool ComputeDigest(const std::string& algorithm, 173 // random string will be used. 175 std::string common_name [all...] |
| /frameworks/base/tools/aapt2/configuration/ |
| ConfigurationParser.h | 21 #include <string> 45 /** Helper method to convert an ABI to a string representing the path within the APK. */ 57 Maybe<std::string> lang; 59 Maybe<std::string> region; 74 std::string label; 94 // TODO: Make device features more than just an arbitrary string? 95 using DeviceFeature = std::string; 99 std::string name; 100 std::vector<std::string> texture_paths; 109 std::string name [all...] |
| /system/core/property_service/libpropertyinfoserializer/ |
| trie_builder.cpp | 26 TrieBuilder::TrieBuilder(const std::string& default_context, const std::string& default_type) 34 bool TrieBuilder::AddToTrie(const std::string& name, const std::string& context, 35 const std::string& type, bool exact, std::string* error) { 41 bool TrieBuilder::AddToTrie(const std::string& name, const std::string* context, 42 const std::string* type, bool exact, std::string* error) [all...] |
| /system/tools/hidl/ |
| FmqType.cpp | 29 std::string FmqType::templatedTypeName() const { 33 std::string FmqType::fullName() const { 39 std::string FmqType::getCppType( 43 const std::string base = fullName(); 59 const std::string &name, 60 const std::string &parcelObj, 64 const std::string parentName = "_hidl_" + name + "_parent"; 68 const std::string parcelObjDeref = 116 const std::string &name, 117 const std::string & /* sanitizedName */ [all...] |
| /bootable/recovery/tests/component/ |
| verifier_test.cpp | 25 #include <string> 38 class VerifierTest : public testing::TestWithParam<std::vector<std::string>> { 41 std::vector<std::string> args = GetParam(); 42 std::string package = from_testdata_base(args[0]); 48 std::string public_key_file = from_testdata_base("testkey_" + *it + ".txt"); 64 std::string testkey_v4; 67 std::string testkey_v3; 70 std::string keys = testkey_v4 + "," + testkey_v3 + "," + testkey_v4; 90 std::string testkey_v4; 94 std::string invalid_key2(testkey_v4) [all...] |
| /external/deqp/executor/ |
| xeBatchResult.hpp | 31 #include <string> 42 std::string releaseName; 43 std::string releaseId; 44 std::string targetName; 47 std::string candyTargetName; 48 std::string configName; 49 std::string resultName; 50 std::string timestamp; 93 std::string m_casePath; 95 std::string m_statusDetails [all...] |
| /external/deqp/framework/common/ |
| tcuFactoryRegistry.hpp | 28 #include <string> 54 AbstractFactory* getFactoryByName (const std::string& name); 55 const AbstractFactory* getFactoryByName (const std::string& name) const; 70 FactoryBase (const std::string& name, const std::string& description); 77 const std::string m_name; 78 const std::string m_description; 94 Factory* getFactoryByName (const std::string& name); 95 const Factory* getFactoryByName (const std::string& name) const; 108 inline Factory* FactoryRegistry<Factory>::getFactoryByName (const std::string& name [all...] |
| /external/deqp/framework/delibs/decpp/ |
| deFilePath.hpp | 28 #include <string> 48 static const std::string separator; /*!< Path separator. */ 51 FilePath (const std::string& path); 53 FilePath (const std::vector<std::string>& components); 60 std::string getBaseName (void) const; 61 std::string getDirName (void) const; 62 std::string getFileExtension (void) const; 70 void split (std::vector<std::string>& components) const; 71 static FilePath join (const std::vector<std::string>& components); 82 std::string m_path [all...] |
| /external/e2fsprogs/lib/e2p/ |
| mntopts.c | 15 #include <string.h> 24 const char *string; member in struct:mntopt 49 for (f = mntopt_list; f->string; f++) { 51 return f->string; 58 int e2p_string2mntopt(char *string, unsigned int *mask) 64 for (f = mntopt_list; f->string; f++) { 65 if (!strcasecmp(string, f->string)) { 70 if (strncasecmp(string, "MNTOPT_", 7)) 73 if (string[8] == 0 [all...] |
| /external/flatbuffers/include/flatbuffers/ |
| util.h | 22 #include <string> 48 // Convert an integer or floating point value to a string. 50 // converted to a string of digits, and we don't use scientific notation. 51 template<typename T> std::string NumToString(T t) { 57 template<> inline std::string NumToString<signed char>(signed char t) { 60 template<> inline std::string NumToString<unsigned char>(unsigned char t) { 64 template <> inline std::string NumToString<long long>(long long t) { 67 return std::string(buf); 70 template <> inline std::string NumToString<unsigned long long>( 74 return std::string(buf) [all...] |
| /external/google-breakpad/src/client/mac/handler/ |
| exception_handler.h | 42 #include <string> 53 using std::string; 109 ExceptionHandler(const string &dump_path, 123 string dump_path() const { return dump_path_; } 124 void set_dump_path(const string &dump_path) { 140 static bool WriteMinidump(const string &dump_path, MinidumpCallback callback, 145 static bool WriteMinidump(const string &dump_path, 154 const std::string &dump_path, 218 string dump_path_; 221 string next_minidump_id_ [all...] |
| /external/libbrillo/brillo/http/ |
| http_connection_curl.h | 9 #include <string> 26 const std::string& method, 42 std::string GetResponseStatusText() const override; 43 std::string GetProtocolVersion() const override; 44 std::string GetResponseHeader(const std::string& header_name) const override; 69 std::string method_; 79 std::multimap<std::string, std::string> headers_; 82 std::string protocol_version_ [all...] |
| /external/llvm/test/ExecutionEngine/RuntimeDyld/X86/ |
| COFF_i386.s | 26 pushl string 52 .global string 54 string: label 71 # rtdyld-check: *{4}rel8 = string 72 .long string // IMAGE_REL_I386_DIR32 74 # rtdyld-check: *{4}rel9 = string+1 75 .long string+1 // IMAGE_REL_I386_DIR32 77 # rtdyld-check: *{4}rel10 = string - section_addr(COFF_i386.s.tmp.obj, .text) + 1 78 .long string@imgrel+1 // IMAGE_REL_I386_DIR32NB 80 # rtdyld-check: *{4}rel11 = string - section_addr(COFF_i386.s.tmp.obj, .data) + [all...] |
| /external/llvm/utils/TableGen/ |
| X86RecognizableInstr.h | 88 std::string Name; 109 /// typeFromString - Translates an operand type from the string provided in 112 /// @param s - The string, as extracted by calling Rec->getName() 121 static OperandType typeFromString(const std::string& s, 125 /// string provided in the LLVM tables to an OperandEncoding for use in 132 static OperandEncoding immediateEncodingFromString(const std::string &s, 137 static OperandEncoding rmRegisterEncodingFromString(const std::string &s, 142 static OperandEncoding roRegisterEncodingFromString(const std::string &s, 144 static OperandEncoding memoryEncodingFromString(const std::string &s, 146 static OperandEncoding relocationEncodingFromString(const std::string &s [all...] |
| /external/mesa3d/src/gallium/state_trackers/clover/core/ |
| program.hpp | 33 typedef std::vector<std::pair<std::string, std::string>> header_map; 42 const std::string &source); 51 void compile(const ref_vector<device> &devs, const std::string &opts, 53 void link(const ref_vector<device> &devs, const std::string &opts, 57 const std::string &source() const; 62 build(const module &m = {}, const std::string &opts = {}, 63 const std::string &log = {}) : binary(m), opts(opts), log(log) {} 69 std::string opts; 70 std::string log [all...] |
| /external/spirv-llvm/lib/SPIRV/libSPIRV/ |
| SPIRVError.h | 44 #include <string> 52 getErrorLog().checkError(Condition, SPIRVEC_##ErrCode, std::string()+ErrMsg,\ 58 std::string()+ErrMsg, #Condition, __FILE__, __LINE__))\ 68 // Defines OpErorMap which maps error code to a string describing the error. 70 SPIRVMap<SPIRVErrorCode, std::string>::init() { 71 #define _SPIRV_OP(x,y) add(SPIRVEC_##x, std::string(#x)+": "+y); 76 typedef SPIRVMap<SPIRVErrorCode, std::string> SPIRVErrorMap; 81 SPIRVErrorCode getError(std::string& ErrMsg) { 85 void setError(SPIRVErrorCode ErrCode, const std::string& ErrMsg) { 92 const std::string& DetailedMsg = "" [all...] |
| /external/swiftshader/third_party/LLVM/utils/TableGen/ |
| X86RecognizableInstr.h | 75 std::string Name; 77 std::string AsmString; 128 /// typeFromString - Translates an operand type from the string provided in 131 /// @param s - The string, as extracted by calling Rec->getName() 144 static OperandType typeFromString(const std::string& s, 150 /// string provided in the LLVM tables to an OperandEncoding for use in 158 static OperandEncoding immediateEncodingFromString(const std::string &s, 163 static OperandEncoding rmRegisterEncodingFromString(const std::string &s, 168 static OperandEncoding roRegisterEncodingFromString(const std::string &s, 170 static OperandEncoding memoryEncodingFromString(const std::string &s [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| variant_tensor_data.h | 45 const string& type_name() const { return type_name_; } 46 void set_type_name(const string& type_name) { type_name_ = type_name; } 52 // Directly supported types include string POD types. 74 string SerializeAsString() const; 75 bool SerializeToString(string* buf); 76 bool ParseFromString(const string& s); 78 string DebugString() const; 81 string type_name_; 82 string metadata_; 87 void SetMetadata(const string& value, PODResolver<T, false /* is_pod */>) [all...] |