OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:StringPiece
(Results
1 - 9
of
9
) sorted by null
/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/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
...]
/external/pcre/dist/
pcre_stringpiece.h
61
class PCRECPP_EXP_DEFN
StringPiece
{
68
// in a "const char*" or a "string" wherever a "
StringPiece
" is
70
StringPiece
()
72
StringPiece
(const char* str)
74
StringPiece
(const unsigned char* str)
77
StringPiece
(const string& str)
79
StringPiece
(const char* offset, int len)
114
bool operator==(const
StringPiece
& x) const {
118
bool operator!=(const
StringPiece
& x) const {
123
bool operator cmp (const
StringPiece
& x) const {
[
all
...]
/art/runtime/base/
stringpiece.h
27
// Functions or methods may use const
StringPiece
& parameters to accept either
29
// a
StringPiece
. The implicit conversion means that it is often appropriate
31
//
StringPiece
as would be appropriate for most other Google classes.
32
class
StringPiece
{
48
// in a "const char*" or a "string" wherever a "
StringPiece
" is
50
StringPiece
() : ptr_(nullptr), length_(0) { }
51
StringPiece
(const char* str) // NOLINT implicit constructor desired
53
StringPiece
(const std::string& str) // NOLINT implicit constructor desired
55
StringPiece
(const char* offset, size_t len) : ptr_(offset), length_(len) { }
104
int compare(const
StringPiece
& x) const
[
all
...]
/build/kati/
string_piece.h
18
// Copied from strings/
stringpiece
.h with modifications
22
// Functions or methods may use const
StringPiece
& parameters to accept either
24
// a
StringPiece
. The implicit conversion means that it is often appropriate
26
//
StringPiece
as would be appropriate for most other Google classes.
28
// Systematic usage of
StringPiece
is encouraged as it will reduce unnecessary
44
class
StringPiece
{
62
// in a "const char*" or a "string" wherever a "
StringPiece
" is
64
StringPiece
() : ptr_(NULL), length_(0) { }
65
StringPiece
(const char* str)
67
StringPiece
(const std::string& str
[
all
...]
/external/libchrome/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
38
typedef BasicStringPiece<std::string>
StringPiece
;
43
// Many of the
StringPiece
functions use different implementations for the
47
// So here we define overloaded functions called by the
StringPiece
template
[
all
...]
/external/libweave/third_party/chromium/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
36
typedef BasicStringPiece<std::string>
StringPiece
;
40
// Many of the
StringPiece
functions use different implementations for the
44
// So here we define overloaded functions called by the
StringPiece
template
[
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
...]
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
stringpiece.h
31
// A
StringPiece
points to part or all of a string, Cord, double-quoted string
32
// literal, or other string-like object. A
StringPiece
does *not* own the
33
// string to which it points. A
StringPiece
is not null-terminated.
35
// You can use
StringPiece
as a function or method parameter. A
StringPiece
37
// char*" argument, a string argument, or a
StringPiece
argument with no data
38
// copying. Systematic use of
StringPiece
for arguments reduces data
42
// void MyFunction(
StringPiece
arg);
44
// void MyFunction(const
StringPiece
& arg); // not preferred
49
//
StringPiece
is also suitable for local variables if you know tha
[
all
...]
Completed in 181 milliseconds