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

  /external/icu4c/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/icu4c/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/chromium/base/
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 BASE_API 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/regex-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
29 class StringPiece {
36 // in a "const char*" or a "string" wherever a "StringPiece" is
38 StringPiece() : ptr_(NULL), length_(0) { }
39 StringPiece(const char* str)
41 StringPiece(const std::string& str)
43 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) {
    [all...]

Completed in 61 milliseconds