| /frameworks/base/core/java/android/webkit/ |
| LegacyErrorStrings.java | 30 private static final String LOGTAG = "Http"; 36 static String getString(int errorCode, Context context) { 47 return com.android.internal.R.string.httpErrorOk; 50 return com.android.internal.R.string.httpError; 53 return com.android.internal.R.string.httpErrorLookup; 56 return com.android.internal.R.string.httpErrorUnsupportedAuthScheme; 59 return com.android.internal.R.string.httpErrorAuth; 62 return com.android.internal.R.string.httpErrorProxyAuth; 65 return com.android.internal.R.string.httpErrorConnect; 68 return com.android.internal.R.string.httpErrorIO [all...] |
| /packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
| arguments_and_options.h | 20 #include <string> 33 ArgumentsAndOptions(std::unordered_map<std::string, std::string> &&options, 34 std::unordered_map<std::string, std::vector<std::string>> &&arguments) 41 bool hasOption(const std::string &optionName) const { 45 const std::string &getOptionValue(const std::string &optionName) const { 51 bool hasArgument(const std::string &name) const { 56 const std::string &getSingleArgument(const std::string &name) const [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
| StringTokenizer.cs | 39 string[] _tokens; 42 public StringTokenizer( string str, string separator ) 46 public StringTokenizer( string str, string separator, bool returnDelims ) 52 _tokens = EnumerableExtensions.ToArray(EnumerableExtensions.SelectMany(_tokens, delegate(string token, int i) 57 return new string[0]; 59 return new string[] { token }; 64 return new string[] { str[0].ToString() }; 66 return new string[] { token } [all...] |
| /external/flatbuffers/include/flatbuffers/ |
| flatc.h | 22 #include <string> 35 const std::string &path, 36 const std::string &file_name); 37 typedef std::string (*MakeRuleFn)(const flatbuffers::Parser &parser, 38 const std::string &path, 39 const std::string &file_name); 53 const std::string &warn, 57 const std::string &err, 78 std::string GetUsageString(const char* program_name) const; 82 const std::string &filename [all...] |
| /external/libbrillo/brillo/ |
| cryptohome.h | 8 #include <string> 29 BRILLO_EXPORT base::FilePath GetUserPath(const std::string& username); 35 const std::string& hashed_username); 39 BRILLO_EXPORT base::FilePath GetRootPath(const std::string& username); 42 BRILLO_EXPORT base::FilePath GetDaemonPath(const std::string& username, 43 const std::string& daemon); 46 BRILLO_EXPORT bool IsSanitizedUserName(const std::string& sanitized); 50 BRILLO_EXPORT std::string SanitizeUserName(const std::string& username); 54 BRILLO_EXPORT void SetUserHomePrefix(const std::string& prefix) [all...] |
| /external/tensorflow/tensorflow/compiler/xla/ |
| metric_table_report.h | 57 string text; 60 string short_text; 64 string category_text; 74 void SetMetricName(string metric_name); 78 void SetEntryName(string entry_name); 90 // Returns the report as a string. expected_metric_sum is the expected sum of 95 string MakeReport(double expected_metric_sum); 116 string category_text; 141 void AppendTableRow(const string& text, const double metric, 148 // Formats the metric value as a string [all...] |
| /external/tensorflow/tensorflow/contrib/tensorrt/ |
| trt_conversion.i | 24 PyObject* pair_helper(std::pair<string, string>* in) { 45 "Tuple creation from pair<string,string> failed!"); 52 %typemap(out) std::pair<string, string> { 69 std::pair<string, string> trt_convert( 70 string graph_def_string, // The serialized GraphDef string [all...] |
| /external/webrtc/talk/app/webrtc/ |
| jsepsessiondescription.h | 33 #include <string> 48 explicit JsepSessionDescription(const std::string& type); 52 bool Initialize(const std::string& sdp, SdpParseError* error); 56 const std::string& session_id, 57 const std::string& session_version); 65 virtual std::string session_id() const { 68 virtual std::string session_version() const { 71 virtual std::string type() const { 75 void set_type(const std::string& type) { type_ = type; } 80 virtual bool ToString(std::string* out) const [all...] |
| /external/webrtc/webrtc/base/ |
| multipart.h | 14 #include <string> 29 MultipartStream(const std::string& type, const std::string& boundary); 32 void GetContentType(std::string* content_type); 34 // Note: If content_disposition and/or content_type are the empty string, 37 const std::string& content_disposition, 38 const std::string& content_type); 39 bool AddPart(const std::string& data, 40 const std::string& content_disposition, 41 const std::string& content_type) [all...] |
| /external/webrtc/webrtc/libjingle/xmpp/ |
| saslcookiemechanism.h | 24 SaslCookieMechanism(const std::string & mechanism, 25 const std::string & username, 26 const std::string & cookie, 27 const std::string & token_service) 33 SaslCookieMechanism(const std::string & mechanism, 34 const std::string & username, 35 const std::string & cookie) 41 virtual std::string GetMechanismName() { return mechanism_; } 51 std::string credential; 61 std::string mechanism_ [all...] |
| /frameworks/base/tools/aapt2/ |
| NameMangler.h | 21 #include <string> 34 std::string target_package_name; 40 std::set<std::string> packages_to_mangle; 53 std::string mangled_entry_name = MangleEntry(name.package, name.entry); 58 bool ShouldMangle(const std::string& package) const { 65 const std::string& GetTargetPackageName() const { return policy_.target_package_name; } 72 static std::string MangleEntry(const std::string& package, const std::string& name) { 81 static bool Unmangle(std::string* out_name, std::string* out_package) [all...] |
| /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/ |
| FuzzerUtil.h | 36 std::string Base64(const Unit &U); 40 std::string DescribePC(const char *SymbolizedFMT, uintptr_t PC); 44 bool ExecuteCommandAndReadOutput(const std::string &Command, std::string *Out); 55 int ExecuteCommand(const std::string &Command); 62 std::string CloneArgsWithoutX(const std::vector<std::string> &Args, 65 inline std::string CloneArgsWithoutX(const std::vector<std::string> &Args, 70 std::string DisassembleCmd(const std::string &FileName) [all...] |
| /prebuilts/clang/host/linux-x86/clang-4393122/prebuilt_include/llvm/lib/Fuzzer/ |
| FuzzerUtil.h | 36 std::string Base64(const Unit &U); 40 std::string DescribePC(const char *SymbolizedFMT, uintptr_t PC); 44 bool ExecuteCommandAndReadOutput(const std::string &Command, std::string *Out); 55 int ExecuteCommand(const std::string &Command); 62 std::string CloneArgsWithoutX(const std::vector<std::string> &Args, 65 inline std::string CloneArgsWithoutX(const std::vector<std::string> &Args, 70 std::string DisassembleCmd(const std::string &FileName) [all...] |
| /prebuilts/clang/host/linux-x86/clang-4479392/prebuilt_include/llvm/lib/Fuzzer/ |
| FuzzerUtil.h | 36 std::string Base64(const Unit &U); 40 std::string DescribePC(const char *SymbolizedFMT, uintptr_t PC); 44 bool ExecuteCommandAndReadOutput(const std::string &Command, std::string *Out); 55 int ExecuteCommand(const std::string &Command); 62 std::string CloneArgsWithoutX(const std::vector<std::string> &Args, 65 inline std::string CloneArgsWithoutX(const std::vector<std::string> &Args, 70 std::string DisassembleCmd(const std::string &FileName) [all...] |
| /system/extras/simpleperf/ |
| read_elf.h | 22 #include <string> 42 ElfStatus GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id); 43 ElfStatus GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id); 44 ElfStatus GetBuildIdFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset, 48 static const std::string linker_prefix = "__dl_"; 56 std::string name; 62 ElfStatus ParseSymbolsFromElfFile(const std::string& filename, 65 ElfStatus ParseSymbolsFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset, 69 ElfStatus ReadMinExecutableVirtualAddressFromElfFile(const std::string& filename, 73 ElfStatus ReadSectionFromElfFile(const std::string& filename, const std::string& section_name [all...] |
| /system/tools/aidl/tests/ |
| aidl_test_sentinel_searcher.cpp | 19 #include <string> 31 using std::string; 36 bool ReadLines(const string& input_file_path, vector<string>* lines) { 43 string line; 51 bool HasSentinel(const vector<string>& lines, const string& sentinel) { 53 if (line.find(sentinel) != string::npos) { 72 const string timeout_as_str = argv[1]; 73 const string input_file_path = argv[2] [all...] |
| /system/tools/hidl/ |
| RefType.h | 31 std::string templatedTypeName() const override; 37 std::string getCppType(StorageMode mode, 40 std::string getVtsType() const override; 41 std::string getVtsValueName() const override; 45 const std::string &name, 46 const std::string &parcelObj, 53 const std::string &name, 55 const std::string &parcelObj, 63 const std::string &name, 64 const std::string &sanitizedName [all...] |
| Coordinator.h | 27 #include <string> 38 const std::string& getRootPath() const; 39 void setRootPath(const std::string &rootPath); 40 void setOutputPath(const std::string& outputPath); 45 void setDepFile(const std::string& depFile); 47 const std::string& getOwner() const; 48 void setOwner(const std::string& owner); 51 status_t addPackagePath(const std::string& root, const std::string& path, std::string* error) [all...] |
| /system/update_engine/ |
| fake_p2p_manager_configuration.h | 22 #include <string> 43 std::vector<std::string> GetInitctlArgs(bool is_start) override { 48 std::vector<std::string> GetP2PClientArgs(const std::string &file_id, 50 std::vector<std::string> formatted_command = p2p_client_cmd_format_; 51 // Replace {variable} on the passed string. 52 std::string str_minimum_size = std::to_string(minimum_size); 53 for (std::string& arg : formatted_command) { 63 void SetInitctlStartCommand(const std::vector<std::string>& command) { 69 void SetInitctlStopCommand(const std::vector<std::string>& command) [all...] |
| p2p_manager.h | 20 #include <string> 51 virtual std::vector<std::string> GetInitctlArgs(bool is_start) = 0; 55 virtual std::vector<std::string> GetP2PClientArgs( 56 const std::string& file_id, size_t minimum_size) = 0; 63 typedef base::Callback<void(const std::string& url)> LookupCallback; 102 virtual void LookupUrlForFile(const std::string& file_id, 122 virtual bool FileShare(const std::string& file_id, 129 virtual base::FilePath FileGetPath(const std::string& file_id) = 0; 137 virtual ssize_t FileGetSize(const std::string& file_id) = 0; 146 virtual ssize_t FileGetExpectedSize(const std::string& file_id) = 0 [all...] |
| /packages/services/Telephony/src/com/android/phone/settings/ |
| VoicemailDialogUtil.java | 47 int titleId = R.string.error_updating_title; 50 msgId = R.string.vm_changed; 51 titleId = R.string.voicemail; 53 b.setNegativeButton(R.string.close_dialog, parent); 58 msgId = R.string.no_change; 59 titleId = R.string.voicemail; 61 b.setNegativeButton(R.string.close_dialog, parent); 64 msgId = R.string.vm_change_failed; 66 b.setPositiveButton(R.string.close_dialog, parent); 69 msgId = R.string.fw_change_failed [all...] |
| /system/core/fastboot/ |
| fastboot.h | 35 #include <string> 42 int fb_command(Transport* transport, const std::string& cmd); 43 int fb_command_response(Transport* transport, const std::string& cmd, char* response); 48 const std::string fb_get_error(); 54 bool fb_getvar(Transport* transport, const std::string& key, std::string* value); 55 void fb_queue_flash(const std::string& partition, void* data, uint32_t sz); 56 void fb_queue_flash_fd(const std::string& partition, int fd, uint32_t sz); 57 void fb_queue_flash_sparse(const std::string& partition, struct sparse_file* s, uint32_t sz, 59 void fb_queue_erase(const std::string& partition) [all...] |
| /system/core/init/ |
| action.h | 22 #include <string> 35 const std::vector<std::string>& args, const std::string& context); 39 Command(BuiltinFunction f, bool execute_in_subcontext, const std::vector<std::string>& args, 43 std::string BuildCommandString() const; 50 std::vector<std::string> args_; 54 using EventTrigger = std::string; 55 using PropertyChange = std::pair<std::string, std::string>; 60 Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line [all...] |
| /external/pcre/dist2/src/ |
| pcre2_valid_utf.c | 63 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) 65 (void)string; 75 * Validate a UTF string * 79 check that a supposed UTF string is actually valid. The early check means 80 that subsequent code can assume it is dealing with a valid string. The check 82 invalid string are then undefined. 85 string points to the string 86 length length of string 89 Returns: == 0 if the string is a valid UTF strin [all...] |
| /external/perf_data_converter/src/quipper/ |
| test_utils.cc | 7 #include <string.h> 56 void SeparateLines(const std::vector<char>& bytes, std::vector<string>* lines) { 58 SplitString(string(&bytes[0], bytes.size()), kNewLineDelimiter, lines); 61 bool ReadExistingProtobufText(const string& filename, string* output_string) { 71 // Given a perf data file, return its protobuf representation as a text string 73 bool PerfDataToProtoRepresentation(const string& filename, string* output_text, 74 string* output_data) { 116 string GetTestInputFilePath(const string& filename) [all...] |