Lines Matching refs:s
31 inline SizeType StrLen(const Ch* s) { in StrLen() argument
32 RAPIDJSON_ASSERT(s != 0); in StrLen()
33 const Ch* p = s; in StrLen()
35 return SizeType(p - s); in StrLen()
39 inline SizeType StrLen(const char* s) { in StrLen() argument
40 return SizeType(std::strlen(s)); in StrLen()
44 inline SizeType StrLen(const wchar_t* s) { in StrLen() argument
45 return SizeType(std::wcslen(s)); in StrLen()
64 bool CountStringCodePoint(const typename Encoding::Ch* s, SizeType length, SizeType* outCount) { in CountStringCodePoint() argument
65 RAPIDJSON_ASSERT(s != 0); in CountStringCodePoint()
67 GenericStringStream<Encoding> is(s); in CountStringCodePoint()
68 const typename Encoding::Ch* end = s + length; in CountStringCodePoint()