Searched defs:substr (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/net/disk_cache/blockfile/
H A Dwebfonts_histogram.cc21 // Tests if the substring of str that begins at pos starts with substr. If so,
22 // returns true and advances pos by the length of substr.
23 bool Consume(const std::string& str, const base::StringPiece& substr, argument
25 if (!str.compare(*pos, substr.length(), substr.data())) {
26 *pos += substr.length();
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dstringpiece.h196 StringPiece substr(int32_t pos, int32_t len = npos) const { function in class:StringPiece
/external/chromium_org/third_party/re2/util/
H A Dstringpiece.cc81 StringPiece StringPiece::substr(size_type pos, size_type n) const { function in class:StringPiece
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/bootstrap/
H A Dscanner.c340 { SubStr substr; local
342 substr = Scanner_token(s);
343 yylval.symbol = Symbol_find(&substr);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dscanner.c340 { SubStr substr; local
342 substr = Scanner_token(s);
343 yylval.symbol = Symbol_find(&substr);
/external/icu/icu4c/source/common/unicode/
H A Dstringpiece.h196 StringPiece substr(int32_t pos, int32_t len = npos) const { function in class:StringPiece
/external/regex-re2/util/
H A Dstringpiece.cc81 StringPiece StringPiece::substr(size_type pos, size_type n) const { function in class:StringPiece
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3input.h170 pANTLR3_STRING (*substr) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_MARKER start, ANTLR3_MARKER stop); member in struct:ANTLR3_INPUT_STREAM_struct
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
H A Dstring_piece.cc212 StringPiece StringPiece::substr(size_type pos, size_type n) const { function in class:i18n::phonenumbers::StringPiece
/external/llvm/include/llvm/ADT/
H A DSmallString.h246 StringRef substr(size_t Start, size_t N = StringRef::npos) const { function in class:llvm::SmallString
247 return str().substr(Start, N);
/external/chromium_org/base/strings/
H A Dstring_piece.cc424 StringPiece substr(const StringPiece& self, function in namespace:base::internal
430 StringPiece16 substr(const StringPiece16& self, function in namespace:base::internal
H A Dstring_piece.h145 BASE_EXPORT StringPiece substr(const StringPiece& self,
148 BASE_EXPORT StringPiece16 substr(const StringPiece16& self,
342 // substr.
343 BasicStringPiece substr(size_type pos, function in class:base::BasicStringPiece
345 return internal::substr(*this, pos, n);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dfldset.cpp194 int32_t FieldsSet::handleParseName(const FieldsSet* /* inheritFrom */, const UnicodeString& name, const UnicodeString& /* substr*/ , UErrorCode& status) {
207 void FieldsSet::parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { argument
209 if(substr.length()==0) { // inherit requested
219 value = udbg_stoi(substr);
224 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { argument
225 int32_t value = udbg_enumByString(type, substr);
230 parseValueDefault(inheritFrom,field,substr,status);
234 void FieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { argument
235 parseValueDefault(inheritFrom, field, substr, status);
249 void CalendarFieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCod argument
332 handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
[all...]
/external/chromium_org/third_party/webrtc/overrides/webrtc/base/
H A Dlogging.cc273 std::string substr(reinterpret_cast<const char*>(line), end_of_line - line);
274 std::string::size_type pos_private = substr.find("Email");
276 pos_private = substr.find("Passwd");
279 LOG_V(level) << label << direction << substr; local
/external/e2fsprogs/util/
H A Dsymlinks.c41 static int substr (char *s, char *old, char *new) function
88 while (substr(path, "/./", "/"))
90 while (substr(path, "//", "/"))
/external/eigen/unsupported/Eigen/src/SparseExtra/
H A DMarketIO.h122 std::string substr[5]; local
123 fmtline>> substr[0] >> substr[1] >> substr[2] >> substr[3] >> substr[4]; local
124 if(substr[2].compare("array") == 0) isvector = true;
125 if(substr[3].compare("complex") == 0) iscomplex = true;
126 if(substr[4].compare("symmetric") == 0) sym = Symmetric;
127 else if (substr[
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dfldset.cpp194 int32_t FieldsSet::handleParseName(const FieldsSet* /* inheritFrom */, const UnicodeString& name, const UnicodeString& /* substr*/ , UErrorCode& status) {
207 void FieldsSet::parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { argument
209 if(substr.length()==0) { // inherit requested
219 value = udbg_stoi(substr);
224 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { argument
225 int32_t value = udbg_enumByString(type, substr);
230 parseValueDefault(inheritFrom,field,substr,status);
234 void FieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { argument
235 parseValueDefault(inheritFrom, field, substr, status);
249 void CalendarFieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCod argument
332 handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) argument
[all...]
/external/chromium_org/chrome/browser/rlz/
H A Drlz_unittest.cc53 const char* substr) {
54 if (NULL != strstr(str, substr)) {
60 << substr << "' not in '" << str << "'";
66 const char* substr) {
67 if (NULL == strstr(str, substr)) {
73 << substr << "' in '" << str << "'";
76 #define EXPECT_STR_CONTAINS(str, substr) \
77 EXPECT_PRED_FORMAT2(CmpHelperSTRC, str, substr)
79 #define EXPECT_STR_NOT_CONTAIN(str, substr) \
80 EXPECT_PRED_FORMAT2(CmpHelperSTRNC, str, substr)
50 CmpHelperSTRC(const char* str_expression, const char* substr_expression, const char* str, const char* substr) argument
63 CmpHelperSTRNC(const char* str_expression, const char* substr_expression, const char* str, const char* substr) argument
[all...]
/external/stlport/stlport/stl/
H A D_string_workaround.h582 _Self substr(size_type __pos = 0, size_type __n = npos) const function in class:basic_string
H A D_string_sum.h235 _BString substr(size_type __pos = 0, size_type __n = _BString::npos) const function in class:__bstr_sum
236 { return _M_get_storage().substr(__pos, __n); }
/external/chromium_org/third_party/boringssl/src/crypto/err/
H A Derr.c510 const char *substr; local
520 substr = va_arg(args, const char *);
521 if (substr == NULL) {
525 substr_len = strlen(substr);
545 memcpy(buf + len, substr, substr_len);
/external/chromium_org/third_party/cython/src/Cython/Utility/
H A DStringTools.c534 static int __Pyx_PyUnicode_Tailmatch(PyObject* s, PyObject* substr, argument
536 if (unlikely(PyTuple_Check(substr))) {
537 Py_ssize_t i, count = PyTuple_GET_SIZE(substr);
541 result = PyUnicode_Tailmatch(s, PyTuple_GET_ITEM(substr, i),
544 PyObject* sub = PySequence_GetItem(substr, i);
555 return PyUnicode_Tailmatch(s, substr, start, end, direction);
627 static int __Pyx_PyBytes_Tailmatch(PyObject* self, PyObject* substr, Py_ssize_t start, argument
630 if (unlikely(PyTuple_Check(substr))) {
631 Py_ssize_t i, count = PyTuple_GET_SIZE(substr);
635 result = __Pyx_PyBytes_SingleTailmatch(self, PyTuple_GET_ITEM(substr,
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dlogging.cc599 std::string substr(reinterpret_cast<const char*>(line), end_of_line - line);
600 std::string::size_type pos_private = substr.find("Email");
602 pos_private = substr.find("Passwd");
605 LOG_V(level) << label << direction << substr; local
/external/stlport/stlport/stl/debug/
H A D_string.h160 // constructor from non-debug version for substr
511 _Self substr(size_type __pos = 0, size_type __n = npos) const function in class:basic_string
512 { return _M_non_dbg_impl.substr(__pos, __n); }
/external/svox/pico/lib/
H A Dpicopal.c119 picopal_char *picopal_strstr(const picopal_char *s, const picopal_char *substr) { argument
120 return (picopal_char *)strstr((const char *)s, (const char *)substr);

Completed in 1095 milliseconds

12