HomeSort by relevance Sort by last modified time
    Searched refs:string (Results 1776 - 1800 of 46739) sorted by null

<<71727374757677787980>>

  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/benchmarks/
string.bench.cpp 12 std::string s1(state.range(0), '-');
13 std::string s2(8, '*');
19 // Benchmark when the string matches first time.
21 std::string s1(MAX_STRING_LEN, '-');
22 std::string s2(state.range(0), '-');
28 // Benchmark when the string matches somewhere in the end.
30 std::string s1(MAX_STRING_LEN / 2, '*');
31 s1 += std::string(state.range(0), '-');
32 std::string s2(state.range(0), '-');
38 // Benchmark when the string matches somewhere from middle to the end
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/
overflow.pass.cpp 25 assert(sb.str() == std::string("1bc"));
27 assert(sb.str() == std::string("12c"));
29 assert(sb.str() == std::string("123"));
31 assert(sb.str() == std::string("1234"));
33 assert(sb.str() == std::string("12345"));
35 assert(sb.str() == std::string("123456"));
37 assert(sb.str() == std::string("1234567"));
39 assert(sb.str() == std::string("12345678"));
41 assert(sb.str() == std::string("123456789"));
43 assert(sb.str() == std::string("1234567890"))
    [all...]
  /system/extras/libperfmgr/include/perfmgr/
Node.h 21 #include <string>
49 Node(std::string name, std::string node_path,
54 bool AddRequest(std::size_t value_index, const std::string& hint_type,
58 bool RemoveRequest(const std::string& hint_type);
66 std::string GetName() const;
67 std::string GetPath() const;
68 std::vector<std::string> GetValues() const;
72 bool GetValueIndex(const std::string value, std::size_t* index) const;
79 const std::string name_
    [all...]
  /system/libvintf/include-test/vintf/
AssembleVintf.h 23 #include <string>
44 bool openOutFile(const std::string& path);
45 bool openInFile(const std::string& path);
46 bool openCheckFile(const std::string& path);
47 bool addKernel(const std::string& kernelArg);
50 virtual std::istream& addInputStream(const std::string& name, Istream&&) = 0;
53 const std::string& name, Istream&& in) = 0;
54 virtual void setFakeEnv(const std::string& key, const std::string& value) = 0;
58 virtual std::string getEnv(const std::string& key) const = 0
    [all...]
  /system/netd/server/
InterfaceController.h 21 #include <string>
38 static android::netdutils::Status setIPv6AddrGenMode(const std::string& interface, int mode);
51 std::string *value);
56 static android::netdutils::StatusOr<std::vector<std::string>> getIfaceNames();
57 static android::netdutils::StatusOr<std::map<std::string, uint32_t>> getIfaceList();
63 std::function<std::string(const std::string& key, const std::string& dflt)>;
65 std::function<android::netdutils::Status(const std::string& key, const std::string& val)>
    [all...]
  /system/netd/tests/dns_responder/
dns_tls_frontend.h 25 #include <string>
43 DnsTlsFrontend(const std::string& listen_address, const std::string& listen_service,
44 const std::string& backend_address, const std::string& backend_service) :
51 const std::string& listen_address() const {
54 const std::string& listen_service() const {
72 std::string listen_address_;
73 std::string listen_service_;
74 std::string backend_address_
    [all...]
  /system/security/keystore/
grant_store.h 21 #include <string>
35 Grant(const std::string& alias, const std::string& owner_dir_name, const uid_t owner_uid,
38 std::string alias_; ///< original/wrapped key alias
39 std::string owner_dir_name_; ///< key owner key directory
59 std::string put(const uid_t uid, const std::string& alias, const std::string& owner_dir_name,
61 const Grant* get(const uid_t uid, const std::string& alias) const;
62 bool removeByFileAlias(const uid_t granteeUid, const uid_t granterUid, const std::string& alias)
    [all...]
  /system/update_engine/client_library/include/update_engine/
client.h 22 #include <string>
37 // Attempt to update to this version. An empty string indicates that
46 virtual bool AttemptUpdate(const std::string& app_version,
47 const std::string& omaha_url,
61 // string version of the new system image.
67 std::string* out_new_version,
71 virtual bool SetCohortHint(const std::string& cohort_hint) = 0;
72 virtual bool GetCohortHint(std::string* cohort_hint) const = 0;
86 // Get the rollback partition if available. Gives empty string if not.
87 virtual bool GetRollbackPartition(std::string* rollback_partition) const = 0
    [all...]
  /hardware/interfaces/wifi/1.2/default/
wifi_legacy_hal.h 129 std::function<void(const std::string&, const std::vector<uint8_t>&,
139 std::string name;
176 std::pair<wifi_error, std::string> getDriverVersion(
177 const std::string& iface_name);
178 std::pair<wifi_error, std::string> getFirmwareVersion(
179 const std::string& iface_name);
181 const std::string& iface_name);
183 const std::string& iface_name);
185 const std::string& iface_name);
188 const std::string& iface_name)
    [all...]
  /external/ImageMagick/Magick++/demo/
button.cpp 8 #include <string>
23 string srcdir("");
31 string backGround = "xc:#CCCCCC"; // A solid color
37 string buttonSize = "120x20";
40 string buttonTexture = "granite:";
43 string text = "Button Text";
46 string textColor = "red";
  /external/deqp/modules/glshared/
glsLongStressTestUtil.hpp 30 #include <string>
51 std::string substitute (const std::string&) const;
52 std::string substitute (const std::string&, const std::map<std::string, std::string>&) const;
  /external/flatbuffers/src/
code_generators.cpp 29 void CodeWriter::operator+=(std::string text) {
33 if (begin == std::string::npos) {
38 if (end == std::string::npos || end < begin) {
46 const std::string key = text.substr(begin + 2, end - begin - 2);
52 const std::string &value = iter->second;
75 std::string BaseGenerator::NamespaceDir(const Parser &parser,
76 const std::string &path,
80 std::string namespace_dir = path; // Either empty or ends in separator.
89 std::string BaseGenerator::NamespaceDir(const Namespace &ns) const {
93 std::string BaseGenerator::FullNamespace(const char *separator
    [all...]
  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
pairingrequestmessage.cc 18 #include <string>
25 const std::string& service_name)
31 PairingRequestMessage::PairingRequestMessage(const std::string& service_name,
32 const std::string& client_name)
38 std::string PairingRequestMessage::service_name() const {
42 std::string PairingRequestMessage::client_name() const {
50 std::string PairingRequestMessage::ToString() const {
  /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/
IsEqualIgnoringCase.java 8 * Tests if a string is equal to another string, regardless of the case.
10 public class IsEqualIgnoringCase extends TypeSafeMatcher<String> {
12 // TODO: Replace String with CharSequence to allow for easy interoperability between
13 // String, StringBuffer, StringBuilder, CharBuffer, etc (joe).
15 private final String string; field in class:IsEqualIgnoringCase
17 public IsEqualIgnoringCase(String string) {
18 if (string == null)
    [all...]
  /external/libchrome/base/
base64_unittest.cc 12 const std::string kText = "hello world";
13 const std::string kBase64Text = "aGVsbG8gd29ybGQ=";
15 std::string encoded;
16 std::string decoded;
28 const std::string kText = "hello world";
29 const std::string kBase64Text = "aGVsbG8gd29ybGQ=";
30 std::string text(kText);
  /external/libchrome/crypto/
symmetric_key.h 11 #include <string>
46 const std::string& password,
47 const std::string& salt,
56 const std::string& raw_key);
58 const std::string& key() { return key_; }
63 bool GetRawKey(std::string* raw_key);
68 std::string key_;
  /external/libcxx/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/
cp_size_mode.pass.cpp 18 #include <string>
25 assert(out.str() == std::string("123 4.5 dog"));
28 std::string s("cat");
30 assert(out.str() == std::string("321 5.5 cat"));
35 assert(out.str() == std::string("123 4.5 dog"));
38 std::string s("cat");
40 assert(out.str() == std::string("123 4.5 dog321 5.5 cat"));
  /external/libmojo/device/bluetooth/
bluetooth_uuid.h 8 #include <string>
18 // constructed using a string representing 16, 32, or 128 bit UUID formats.
30 // represented as a 4, 8, or 36 character string with the following
43 explicit BluetoothUUID(const std::string& uuid);
48 // UUID by definition and the string accessors will return an empty string.
59 // Returns the value of the UUID as a string. The representation format is
66 const std::string& value() const { return value_; }
68 // Returns the underlying 128-bit value as a string in the following format:
71 const std::string& canonical_value() const { return canonical_value_;
    [all...]
  /external/llvm/include/llvm/Support/
SpecialCaseList.h 17 // If category is not specified, it is assumed to be empty string.
52 #include <string>
63 /// 0 and writes an error message to string.
65 create(const std::vector<std::string> &Paths, std::string &Error);
67 /// 0 and writes an error message to string.
69 std::string &Error);
73 createOrDie(const std::vector<std::string> &Paths);
91 StringMap<StringMap<std::string>> Regexps;
96 bool parse(const MemoryBuffer *MB, std::string &Error)
    [all...]
  /external/parameter-framework/upstream/parameter/
FloatingPointParameterType.h 33 #include <string>
38 CFloatingPointParameterType(const std::string &strName);
47 virtual bool toBlackboard(const std::string &strValue, uint32_t &uiValue,
49 virtual bool fromBlackboard(std::string &strValue, const uint32_t &uiValue,
56 virtual void showProperties(std::string &strResult) const;
58 virtual std::string getKind() const;
69 void setOutOfRangeError(const std::string &strValue,
SelectionCriterionRule.h 34 #include <string>
59 virtual bool parse(CRuleParser &ruleParser, std::string &strError);
62 std::string dump() const override;
74 virtual std::string getKind() const;
78 std::string logValue(utility::ErrorContext &errorContext) const override;
82 bool setMatchesWhen(const std::string &strMatchesWhen, std::string &strError);
TypeElement.h 35 #include <string>
43 CTypeElement(const std::string &strName = "");
50 virtual bool getMappingData(const std::string &strKey, const std::string *&pStrValue) const;
56 * @return A std::string containing the mapping as a comma separated key value pairs
58 virtual std::string getFormattedMapping() const;
61 virtual void showProperties(std::string &strResult) const;
97 std::string getFormattedMapping(const CTypeElement *predecessor) const;
  /external/perfetto/include/perfetto/ftrace_reader/
format_parser.h 21 #include <string>
25 #include <string>
33 std::string type_and_name;
45 std::string name;
51 std::string GetNameFromTypeAndName(const std::string& type_and_name);
57 bool ParseFtraceEvent(const std::string& input, FtraceEvent* output = nullptr);
  /external/protobuf/src/google/protobuf/testing/
googletest.h 50 string TestSourceDir();
54 string TestTempDir();
61 string GetCapturedTestStdout();
62 string GetCapturedTestStderr();
75 // const vector<string>& warnings = log.GetMessages(ERROR);
85 const vector<string>& GetMessages(LogLevel error);
88 map<LogLevel, vector<string> > messages_;
92 const string& message);
  /external/swiftshader/third_party/LLVM/utils/TableGen/
CodeEmitterGen.h 19 #include <string>
35 void emitMachineOpEmitter(raw_ostream &o, const std::string &Namespace);
36 void emitGetValueBit(raw_ostream &o, const std::string &Namespace);
38 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
39 std::string getInstructionCase(Record *R, CodeGenTarget &Target);
41 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName,
43 std::string &Case, CodeGenTarget &Target);

Completed in 1151 milliseconds

<<71727374757677787980>>