OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:percent_index_
(Results
1 - 2
of
2
) sorted by null
/build/kati/
strutil.cc
189
Pattern::Pattern(StringPiece pat) : pat_(pat),
percent_index_
(pat.find('%')) {}
192
if (
percent_index_
== string::npos)
198
return (HasPrefix(str, pat_.substr(0,
percent_index_
)) &&
199
HasSuffix(str, pat_.substr(
percent_index_
+ 1)));
205
return str.substr(
percent_index_
,
206
str.size() - (pat_.size() -
percent_index_
- 1));
212
if (
percent_index_
== string::npos) {
229
AppendString(str.substr(
percent_index_
, str.size() - pat_.size() + 1),
241
if (
percent_index_
!= string::npos && subst.find('%') != string::npos) {
strutil.h
112
size_t
percent_index_
;
member in class:Pattern
Completed in 74 milliseconds