Searched refs:string (Results 226 - 250 of 9301) sorted by relevance

1234567891011>>

/external/chromium/net/tools/dump_cache/
H A Durl_utilities.cc13 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 Durl_request_simple_job.h9 #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 Djid.h30 #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 Dcommon_option.h25 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 Dcode_generator.h42 #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 Ddescriptor_database.h41 #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 Dmatch-002.js14 * 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 Dsplit-003.js35 // 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 DDERUTF8String.java15 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 DDERNumericString.java9 * 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 DDERPrintableString.java16 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 Ddebugger_remote_service.h12 #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 Duser_policy_identity_strategy.h9 #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 Dpref_value_map.h10 #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 Dmime_util.h9 #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 Descape.h9 #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 Dgmock-matchers.cc34 // 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 Dfilter_helgrind15 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 Doctal-001.js50 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 Dregress-187133.js64 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 Dregress-87231.js29 * 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 Dextension_event_router.h11 #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 Dcpp_helpers.h38 #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 Dtest_string.cpp30 #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 Dmock_network_library.h9 #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...]

Completed in 370 milliseconds

1234567891011>>