OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BasicStringPiece
(Results
1 - 14
of
14
) sorted by null
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
examples.cpp
218
template <typename STRING_TYPE> class
BasicStringPiece
;
219
template <> class
BasicStringPiece
<int> { };
220
extern template class
BasicStringPiece
<int>;
221
template class
BasicStringPiece
<int>;
225
template <typename STRING_TYPE> class
BasicStringPiece
;
226
template <> class
BasicStringPiece
<int> { };
227
template class
BasicStringPiece
<int>; // expected-note {{explicit instantiation definition is here}}
228
extern template class
BasicStringPiece
<int>; // expected-error {{explicit instantiation declaration (with 'extern') follows explicit instantiation definition (without 'extern')}}
232
template <typename STRING_TYPE> class
BasicStringPiece
; // expected-note {{template is declared here}}
233
template class
BasicStringPiece
<int>; // expected-error {{explicit instantiation of undefined template 'spec_vs_expl_inst::ISD::B (…)
[
all
...]
/frameworks/base/tools/aapt2/util/
StringPiece.h
32
* std::basic_string<> will invalidate the data held in a
BasicStringPiece
<>.
33
*
BasicStringPiece
<> should only be used transitively.
36
class
BasicStringPiece
{
41
BasicStringPiece
();
42
BasicStringPiece
(const
BasicStringPiece
<TChar>& str);
43
BasicStringPiece
(const std::basic_string<TChar>& str);
44
BasicStringPiece
(const TChar* str);
45
BasicStringPiece
(const TChar* str, size_t len);
47
BasicStringPiece
<TChar>& operator=(const BasicStringPiece<TChar>& rhs)
[
all
...]
Util.h
41
bool stringStartsWith(const
BasicStringPiece
<T>& str, const
BasicStringPiece
<T>& prefix) {
52
bool stringEndsWith(const
BasicStringPiece
<T>& str, const
BasicStringPiece
<T>& suffix) {
234
BasicStringPiece
<Char> operator*();
241
iterator(
BasicStringPiece
<Char> s, Char sep,
BasicStringPiece
<Char> tok, bool end);
243
BasicStringPiece
<Char> mStr;
245
BasicStringPiece
<Char> mToken;
249
Tokenizer(
BasicStringPiece
<Char> str, Char sep)
[
all
...]
/external/libweave/third_party/chromium/base/strings/
string_piece.h
35
template <typename STRING_TYPE> class
BasicStringPiece
;
36
typedef
BasicStringPiece
<std::string> StringPiece;
80
//
BasicStringPiece
------------------------------------------------------------
84
// rather to
BasicStringPiece
, StringPiece, or StringPiece16.
87
//
BasicStringPiece
<std::string> or
BasicStringPiece
<base::string16>.
88
template <typename STRING_TYPE> class
BasicStringPiece
{
106
BasicStringPiece
() : ptr_(NULL), length_(0) {}
107
BasicStringPiece
(const value_type* str)
110
BasicStringPiece
(const STRING_TYPE& str
[
all
...]
string_piece.cc
39
template class
BasicStringPiece
<std::string>;
57
void CopyToStringT(const
BasicStringPiece
<STR>& self, STR* target) {
69
void AppendToStringT(const
BasicStringPiece
<STR>& self, STR* target) {
79
size_t copyT(const
BasicStringPiece
<STR>& self,
93
size_t findT(const
BasicStringPiece
<STR>& self,
94
const
BasicStringPiece
<STR>& s,
97
return
BasicStringPiece
<STR>::npos;
99
typename
BasicStringPiece
<STR>::const_iterator result =
103
return xpos + s.size() <= self.size() ? xpos :
BasicStringPiece
<STR>::npos;
111
size_t findT(const
BasicStringPiece
<STR>& self
[
all
...]
string_util.cc
41
StringType ToLowerASCIIImpl(
BasicStringPiece
<StringType> str) {
50
StringType ToUpperASCIIImpl(
BasicStringPiece
<StringType> str) {
69
int CompareCaseInsensitiveASCIIT(
BasicStringPiece
<StringType> a,
70
BasicStringPiece
<StringType> b) {
134
BasicStringPiece
<Str> trim_chars,
141
BasicStringPiece
<Str> input_piece(input);
175
BasicStringPiece
<Str> TrimStringPieceT(
BasicStringPiece
<Str> input,
176
BasicStringPiece
<Str> trim_chars,
string_piece_unittest.cc
36
ASSERT_TRUE( (
BasicStringPiece
<TypeParam>((lhs.c_str())) op \
37
BasicStringPiece
<TypeParam>((rhs.c_str())))); \
38
ASSERT_TRUE( (
BasicStringPiece
<TypeParam>((lhs.c_str())).compare( \
39
BasicStringPiece
<TypeParam>((rhs.c_str()))) op 0)); \
46
ASSERT_FALSE( (
BasicStringPiece
<TypeParam>((lhs.c_str())) op \
47
BasicStringPiece
<TypeParam>((rhs.c_str())))); \
48
ASSERT_FALSE( (
BasicStringPiece
<TypeParam>((lhs.c_str())).compare( \
49
BasicStringPiece
<TypeParam>((rhs.c_str()))) op 0)); \
132
BasicStringPiece
<TypeParam> a(alphabet);
133
BasicStringPiece
<TypeParam> b(abc)
[
all
...]
/external/libchrome/base/strings/
string_piece.h
37
template <typename STRING_TYPE> class
BasicStringPiece
;
38
typedef
BasicStringPiece
<std::string> StringPiece;
39
typedef
BasicStringPiece
<string16> StringPiece16;
156
//
BasicStringPiece
------------------------------------------------------------
160
// rather to
BasicStringPiece
, StringPiece, or StringPiece16.
163
//
BasicStringPiece
<std::string> or
BasicStringPiece
<base::string16>.
164
template <typename STRING_TYPE> class
BasicStringPiece
{
182
BasicStringPiece
() : ptr_(NULL), length_(0) {}
183
BasicStringPiece
(const value_type* str
[
all
...]
string_piece.cc
39
template class
BasicStringPiece
<std::string>;
40
template class
BasicStringPiece
<string16>;
58
void CopyToStringT(const
BasicStringPiece
<STR>& self, STR* target) {
74
void AppendToStringT(const
BasicStringPiece
<STR>& self, STR* target) {
88
size_t copyT(const
BasicStringPiece
<STR>& self,
106
size_t findT(const
BasicStringPiece
<STR>& self,
107
const
BasicStringPiece
<STR>& s,
110
return
BasicStringPiece
<STR>::npos;
112
typename
BasicStringPiece
<STR>::const_iterator result =
116
return xpos + s.size() <= self.size() ? xpos :
BasicStringPiece
<STR>::npos
[
all
...]
string_piece_unittest.cc
47
ASSERT_TRUE( (
BasicStringPiece
<TypeParam>((lhs.c_str())) op \
48
BasicStringPiece
<TypeParam>((rhs.c_str())))); \
49
ASSERT_TRUE( (
BasicStringPiece
<TypeParam>((lhs.c_str())).compare( \
50
BasicStringPiece
<TypeParam>((rhs.c_str()))) op 0)); \
57
ASSERT_FALSE( (
BasicStringPiece
<TypeParam>((lhs.c_str())) op \
58
BasicStringPiece
<TypeParam>((rhs.c_str())))); \
59
ASSERT_FALSE( (
BasicStringPiece
<TypeParam>((lhs.c_str())).compare( \
60
BasicStringPiece
<TypeParam>((rhs.c_str()))) op 0)); \
143
BasicStringPiece
<TypeParam> a(alphabet);
144
BasicStringPiece
<TypeParam> b(abc)
[
all
...]
string_split.cc
24
OutputType PieceToOutputType(
BasicStringPiece
<Str> piece) {
37
template<typename Str>
BasicStringPiece
<Str> WhitespaceForType();
69
// multiple characters (
BasicStringPiece
<Str>). StringPiece has a version of
74
BasicStringPiece
<Str> str,
86
BasicStringPiece
<Str> piece;
134
void SplitStringUsingSubstrT(
BasicStringPiece
<Str> input,
135
BasicStringPiece
<Str> delimiter,
139
using Piece =
BasicStringPiece
<Str>;
string_util.cc
144
StringType ToLowerASCIIImpl(
BasicStringPiece
<StringType> str) {
153
StringType ToUpperASCIIImpl(
BasicStringPiece
<StringType> str) {
180
int CompareCaseInsensitiveASCIIT(
BasicStringPiece
<StringType> a,
181
BasicStringPiece
<StringType> b) {
282
BasicStringPiece
<Str> trim_chars,
289
BasicStringPiece
<Str> input_piece(input);
329
BasicStringPiece
<Str> TrimStringPieceT(
BasicStringPiece
<Str> input,
330
BasicStringPiece
<Str> trim_chars,
549
static inline bool DoLowerCaseEqualsASCII(
BasicStringPiece
<Str> str
[
all
...]
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
p3.cpp
77
template <typename STRING_TYPE> class
BasicStringPiece
; // expected-note {{template is declared here}}
79
extern template class
BasicStringPiece
<int>; // expected-error{{explicit instantiation of undefined template 'PR11599::
BasicStringPiece
<int>}}
80
template class
BasicStringPiece
<int>;
/external/libchrome/base/files/
file_path.h
157
typedef
BasicStringPiece
<StringType> StringPieceType;
Completed in 163 milliseconds