/external/chromium/net/tools/dump_cache/ |
H A D | url_utilities.cc | 13 std::string UrlUtilities::GetUrlHost(const std::string& url) { 15 if (b == std::string::npos) 21 if (next_slash != std::string::npos 22 && next_colon != std::string::npos 24 return std::string(url, b, next_colon - b); 26 if (next_slash == std::string::npos) { 27 if (next_colon != std::string::npos) { 28 return std::string(url, b, next_colon - b); 33 return std::string(ur [all...] |
/external/chromium/net/url_request/ |
H A D | url_request_simple_job.h | 9 #include <string> 24 virtual bool GetMimeType(std::string* mime_type) const; 25 virtual bool GetCharset(std::string* charset); 31 virtual bool GetData(std::string* mime_type, 32 std::string* charset, 33 std::string* data) const = 0; 39 std::string mime_type_; 40 std::string charset_; 41 std::string data_;
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
H A D | jid.h | 30 #include <string> 47 explicit Jid(const std::string & jid_string); 48 explicit Jid(const std::string & node_name, 49 const std::string & domain_name, 50 const std::string & resource_name); 51 explicit Jid(bool special, const std::string & special_string); 74 const std::string & node() const { return !data_ ? STR_EMPTY : data_->node_name_; } 75 // void set_node(const std::string & node_name); 76 const std::string & domain() const { return !data_ ? STR_EMPTY : data_->domain_name_; } 77 // void set_domain(const std::string [all...] |
/external/oprofile/pp/ |
H A D | common_option.h | 25 extern std::string threshold_opt; 26 extern std::string command_options; 27 extern std::vector<std::string> image_path; 28 extern std::string root_path; 31 std::list<std::string> common; 32 std::list<std::string> first; 33 std::list<std::string> second; 59 demangle_type handle_demangle_option(std::string const & option); 69 merge_option handle_merge_option(std::vector<std::string> const & mergespec,
|
/external/protobuf/src/google/protobuf/compiler/ |
H A D | code_generator.h | 42 #include <string> 78 const string& parameter, 80 string* error) const = 0; 104 virtual io::ZeroCopyOutputStream* Open(const string& filename) = 0; 113 const string& filename, const string& insertion_point); 125 extern void ParseGeneratorParameter(const string&, 126 vector<pair<string, string> >*);
|
/external/protobuf/src/google/protobuf/ |
H A D | descriptor_database.h | 41 #include <string> 71 virtual bool FindFileByName(const string& filename, 77 virtual bool FindFileContainingSymbol(const string& symbol_name, 84 virtual bool FindFileContainingExtension(const string& containing_type, 98 virtual bool FindAllExtensionNumbers(const string& extendee_type, 143 bool FindFileByName(const string& filename, 145 bool FindFileContainingSymbol(const string& symbol_name, 147 bool FindFileContainingExtension(const string& containing_type, 150 bool FindAllExtensionNumbers(const string& extendee_type, 166 bool AddSymbol(const string [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
H A D | match-002.js | 14 * of the expression new RegExp(regexp). Let string denote the result of 15 * converting the this value to a string. If regexp.global is false, 17 * section 15.7.5.3) on regexp with string as parameter. 21 * match with an empty string (in other words, if the value of 28 * require that its this value be a string object. Therefore, it can be 32 * results should behave as regexp.exec with string passed as a parameter. 43 // this is not a string object 99 regexp, str_regexp, string, index, matches_array ) { 103 if ( regexp.exec(string) == null || matches_array == null ) { 105 string [all...] |
H A D | split-003.js | 35 // string is an empty string 36 // if separator is an empty string, split each by character 63 function AddSplitCases( string, separator, str_sep, split_array ) { 66 "( " + string + " ).split(" + str_sep +").constructor == Array", 68 string.split(separator).constructor == Array ); 72 "( " + string + " ).split(" + str_sep +").length", 74 string.split(separator).length ); 77 var limit = (split_array.length > string.split(separator).length ) 78 ? split_array.length : string [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | DERUTF8String.java | 15 private byte[] string; field in class:DERUTF8String 18 * return an UTF8 string from the passed in object. 62 * basic constructor - byte encoded string. 64 DERUTF8String(byte[] string) argument 66 this.string = string; 72 public DERUTF8String(String string) argument 74 this.string = Strings.toUTF8ByteArray(string); 79 return Strings.fromUTF8ByteArray(string); [all...] |
H A D | DERNumericString.java | 9 * DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }. 15 private byte[] string; field in class:DERNumericString 18 * return a Numeric string from the passed in object 62 byte[] string) 64 this.string = string; 71 String string) 73 this(string, false); 79 * @param string the base string t 61 DERNumericString( byte[] string) argument 70 DERNumericString( String string) argument 84 DERNumericString( String string, boolean validate) argument [all...] |
H A D | DERPrintableString.java | 16 private final byte[] string; field in class:DERPrintableString 20 * return a printable string from the passed in object. 61 * basic constructor - byte encoded string. 64 byte[] string) 66 this.string = string; 70 * basic constructor - this does not validate the string 73 String string) 75 this(string, false); 81 * @param string th 63 DERPrintableString( byte[] string) argument 72 DERPrintableString( String string) argument 86 DERPrintableString( String string, boolean validate) argument [all...] |
/external/chromium/chrome/browser/debugger/ |
H A D | debugger_remote_service.h | 12 #include <string> 26 static const std::string kAttach; 27 static const std::string kDetach; 28 static const std::string kDebuggerCommand; 29 static const std::string kEvaluateJavascript; 30 static const std::string kFrameNavigate; // navigation event 31 static const std::string kTabClosed; // tab closing event 46 void DebuggerOutput(int32 tab_uid, const std::string& message); 49 void FrameNavigate(int32 tab_uid, const std::string& url); 60 void DetachFromTab(const std::string [all...] |
/external/chromium/chrome/browser/policy/ |
H A D | user_policy_identity_strategy.h | 9 #include <string> 34 virtual std::string GetDeviceToken() OVERRIDE; 35 virtual std::string GetDeviceID() OVERRIDE; 36 virtual std::string GetMachineID() OVERRIDE; 37 virtual std::string GetMachineModel() OVERRIDE; 39 virtual std::string GetPolicyType() OVERRIDE; 40 virtual bool GetCredentials(std::string* username, 41 std::string* auth_token) OVERRIDE; 42 virtual void OnDeviceTokenAvailable(const std::string& token) OVERRIDE; 52 std::string GetCurrentUse [all...] |
/external/chromium/chrome/browser/prefs/ |
H A D | pref_value_map.h | 10 #include <string> 17 // A generic string to value map used by the PrefStore implementations. 20 typedef std::map<std::string, Value*>::iterator iterator; 21 typedef std::map<std::string, Value*>::const_iterator const_iterator; 29 bool GetValue(const std::string& key, const Value** value) const; 30 bool GetValue(const std::string& key, Value** value); 34 bool SetValue(const std::string& key, Value* value); 38 bool RemoveValue(const std::string& key); 50 bool GetBoolean(const std::string& key, bool* value) const; 52 // Gets a string valu [all...] |
/external/chromium/net/base/ |
H A D | mime_util.h | 9 #include <string> 20 std::string* mime_type); 24 NET_EXPORT bool GetMimeTypeFromFile(const FilePath& file_path, std::string* mime_type); 29 bool GetPreferredExtensionForMimeType(const std::string& mime_type, 43 bool IsSupportedMimeType(const std::string& mime_type); 48 bool MatchesMimeType(const std::string &mime_type_pattern, 49 const std::string &mime_type); 52 bool AreSupportedMediaCodecs(const std::vector<std::string>& codecs); 54 // Parses a codec string, populating |codecs_out| with the prefix of each codec 55 // in the string |codecs_i [all...] |
H A D | escape.h | 9 #include <string> 20 std::string EscapePath(const std::string& path); 25 std::string EscapeUrlEncodedData(const std::string& path); 28 std::string EscapeNonASCII(const std::string& input); 34 std::string EscapeExternalHandlerValue(const std::string& text); 36 // Append the given character to the output string, escapin [all...] |
/external/chromium/testing/gmock/src/ |
H A D | gmock-matchers.cc | 34 // This file implements Matcher<const string&>, Matcher<string>, and 40 #include <string.h> 42 #include <string> 46 // Constructs a matcher that matches a const string& whose value is 48 Matcher<const internal::string&>::Matcher(const internal::string& s) { 52 // Constructs a matcher that matches a const string& whose value is 54 Matcher<const internal::string&>::Matcher(const char* s) { 55 *this = Eq(internal::string( [all...] |
/external/valgrind/main/helgrind/tests/ |
H A D | 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/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
H A D | octal-001.js | 50 var string = ''; variable 60 string = 'abc'; 61 actualmatch = string.match(pattern); 72 string = 'ab*c'; 73 actualmatch = string.match(pattern); 79 string = 'abc'; 80 actualmatch = string.match(pattern); 86 string = 'ab****c'; 87 actualmatch = string.match(pattern); 93 string [all...] |
H A D | regress-187133.js | 64 var string = ''; variable 74 string = 'ah.info'; 75 actualmatch = string.match(pattern); 80 string = 'ah/info'; 81 actualmatch = string.match(pattern); 86 string = 'ah.com'; 87 actualmatch = string.match(pattern); 94 string = ''; 95 actualmatch = string.match(pattern); 100 string [all...] |
H A D | regress-87231.js | 29 * string = 'A'; 48 var string = ''; variable 58 string = 'AAA'; 59 actualmatch = string.match(pattern); 64 string = 'AA'; 65 actualmatch = string.match(pattern); 70 string = 'A'; 71 actualmatch = string.match(pattern); 81 string = strL + 'AAA' + strR; 82 actualmatch = string [all...] |
/external/chromium/chrome/browser/extensions/ |
H A D | extension_event_router.h | 11 #include <string> 28 const std::string& extension_id); 38 void AddEventListener(const std::string& event_name, 40 const std::string& extension_id); 41 void RemoveEventListener(const std::string& event_name, 43 const std::string& extension_id); 46 bool HasEventListener(const std::string& event_name); 49 bool ExtensionHasEventListener(const std::string& extension_id, 50 const std::string& event_name); 59 const std::string [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_helpers.h | 38 #include <string> 60 string ClassName(const Descriptor* descriptor, bool qualified); 61 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified); 63 string SuperClassName(const Descriptor* descriptor); 69 string FieldName(const FieldDescriptor* field); 73 string FieldConstantName(const FieldDescriptor *field); 84 string FieldMessageTypeName(const FieldDescriptor* field); 87 string StripProto(const string& filename); 101 string DefaultValu [all...] |
/external/astl/tests/ |
H A D | test_string.cpp | 30 #include "../include/string" 42 using std::string; 46 string empty_str1; 50 string empty_str2(""); 54 string empty_str3(empty_as_array); 58 string str1(literal); 61 string str2(literal, 11); 64 string str3(literal, sizeof(literal)); 67 // Pass the end of the string => still ok, there is \0 68 string str [all...] |
/external/chromium/chrome/browser/chromeos/cros/ |
H A D | mock_network_library.h | 9 #include <string> 22 MOCK_METHOD2(AddNetworkObserver, void(const std::string&, NetworkObserver*)); 23 MOCK_METHOD2(RemoveNetworkObserver, void(const std::string&, 26 MOCK_METHOD2(AddNetworkDeviceObserver, void(const std::string&, 28 MOCK_METHOD2(RemoveNetworkDeviceObserver, void(const std::string&, 58 MOCK_CONST_METHOD0(IPAddress, const std::string&(void)); 65 NetworkDevice*(const std::string&)); 70 Network*(const std::string&)); 72 WifiNetwork*(const std::string&)); 74 CellularNetwork*(const std::string [all...] |