HomeSort by relevance Sort by last modified time
    Searched defs:StringPiece (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/third_party/icu/source/common/
stringpiece.cpp 10 #include "unicode/stringpiece.h"
16 StringPiece::StringPiece(const char* str)
19 StringPiece::StringPiece(const StringPiece& x, int32_t pos) {
29 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) {
44 void StringPiece::set(const char* str)
    [all...]
  /external/icu/icu4c/source/common/
stringpiece.cpp 10 #include "unicode/stringpiece.h"
16 StringPiece::StringPiece(const char* str)
19 StringPiece::StringPiece(const StringPiece& x, int32_t pos) {
29 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) {
44 void StringPiece::set(const char* str)
    [all...]
  /external/chromium_org/net/spdy/
spdy_pinnable_buffer_piece.h 35 operator base::StringPiece() const {
36 return base::StringPiece(buffer_, length_);
  /external/chromium_org/third_party/icu/source/common/unicode/
stringpiece.h 25 * \brief C++ API: StringPiece: Read-only byte string wrapper class.
40 * in a "const char*" or a "string" wherever a "StringPiece" is
43 * Functions or methods may use const StringPiece& parameters to accept either
45 * a StringPiece.
47 * Systematic usage of StringPiece is encouraged as it will reduce unnecessary
52 class U_COMMON_API StringPiece : public UMemory {
59 * Default constructor, creates an empty StringPiece.
62 StringPiece() : ptr_(NULL), length_(0) { }
68 StringPiece(const char* str);
74 StringPiece(const std::string& str
    [all...]
  /external/icu/icu4c/source/common/unicode/
stringpiece.h 25 * \brief C++ API: StringPiece: Read-only byte string wrapper class.
40 * in a "const char*" or a "string" wherever a "StringPiece" is
43 * Functions or methods may use const StringPiece& parameters to accept either
45 * a StringPiece.
47 * Systematic usage of StringPiece is encouraged as it will reduce unnecessary
52 class U_COMMON_API StringPiece : public UMemory {
59 * Default constructor, creates an empty StringPiece.
62 StringPiece() : ptr_(NULL), length_(0) { }
68 StringPiece(const char* str);
74 StringPiece(const std::string& str
    [all...]
  /art/runtime/base/
stringpiece.h 19 // Functions or methods may use const StringPiece& parameters to accept either
21 // a StringPiece. The implicit conversion means that it is often appropriate
23 // StringPiece as would be appropriate for most other Google classes.
25 // Systematic usage of StringPiece is encouraged as it will reduce unnecessary
39 class StringPiece {
46 // in a "const char*" or a "string" wherever a "StringPiece" is
48 StringPiece() : ptr_(NULL), length_(0) { }
49 StringPiece(const char* str) // NOLINT
51 StringPiece(const std::string& str) // NOLINT
53 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) {
    [all...]
  /external/chromium_org/base/strings/
string_piece.h 4 // Copied from strings/stringpiece.h with modifications
8 // You can use StringPiece as a function or method parameter. A StringPiece
10 // char*" argument, a string argument, or a StringPiece argument with no data
11 // copying. Systematic use of StringPiece for arguments reduces data
15 // void MyFunction(StringPiece arg);
17 // void MyFunction(const StringPiece& arg); // not preferred
22 // StringPiece16 is similar to StringPiece but for base::string16 instead of
24 // from basic_string as in StringPiece, but this can be changed if these
44 typedef BasicStringPiece<std::string> StringPiece;
    [all...]
  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
string_piece.h 4 // Copied from strings/stringpiece.h with modifications
8 // Functions or methods may use const StringPiece& parameters to accept either
10 // a StringPiece. The implicit conversion means that it is often appropriate
12 // StringPiece as would be appropriate for most other Google classes.
14 // Systematic usage of StringPiece is encouraged as it will reduce unnecessary
29 class StringPiece {
47 // in a "const char*" or a "string" wherever a "StringPiece" is
49 StringPiece() : ptr_(NULL), length_(0) { }
50 StringPiece(const char* str)
52 StringPiece(const std::string& str
    [all...]
  /external/chromium_org/third_party/re2/re2/
stringpiece.h 7 // Functions or methods may use const StringPiece& parameters to accept either
9 // a StringPiece. The implicit conversion means that it is often appropriate
11 // StringPiece as would be appropriate for most other Google classes.
13 // Systematic usage of StringPiece is encouraged as it will reduce unnecessary
32 class StringPiece {
39 // in a "const char*" or a "string" wherever a "StringPiece" is
41 StringPiece() : ptr_(NULL), length_(0) { }
42 StringPiece(const char* str)
44 StringPiece(const std::string& str)
46 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) {
    [all...]

Completed in 181 milliseconds