Searched defs:npos (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/media/libstagefright/include/
H A Dstagefright_string.h28 static size_type npos; member in class:android::string
33 string(const string &from, size_type start, size_type length = npos);
/frameworks/base/media/libstagefright/
H A Dstring.cpp24 string::size_type string::npos = (string::size_type)-1; member in class:android::string
35 if (length == npos) {
67 return index < 0 ? npos : (size_type)index;
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dustring.cpp24 const uoff_t string::npos; member in class:ustl::string
269 return (found < end() ? distance(begin(),found) : npos);
276 return (npos);
286 return (npos);
295 return (npos);
308 return (d > sp ? distance (begin(), d + 2 - s.size()) : npos);
315 if (s.find (at(i)) != npos)
317 return (npos);
324 if (s.find (at(i)) == npos)
326 return (npos);
[all...]
H A Dustring.h53 static const uoff_t npos = static_cast<uoff_t>(-1); ///< Value that means the end of string. member in class:ustl::string
157 uoff_t rfind (const_reference c, uoff_t pos = npos) const;
158 uoff_t rfind (const string& s, uoff_t pos = npos) const;
161 uoff_t find_last_of (const string& s, uoff_t pos = npos) const;
162 uoff_t find_last_not_of (const string& s, uoff_t pos = npos) const;

Completed in 100 milliseconds