]>
Commit | Line | Data |
---|---|---|
4e0938ef | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
4e0938ef AJ |
3 | * |
4 | * Squid software is distributed under GPLv2+ license and includes | |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
7 | */ | |
8 | ||
8b505ba9 AJ |
9 | #include "squid.h" |
10 | ||
11 | #define STUB_API "SBuf.cc" | |
12 | #include "tests/STUB.h" | |
13 | ||
65e41a45 | 14 | #include "sbuf/SBuf.h" |
8b505ba9 AJ |
15 | |
16 | InstanceIdDefinitions(SBuf, "SBuf"); | |
17 | ||
18 | SBufStats SBuf::stats; | |
19 | const SBuf::size_type SBuf::npos; | |
20 | const SBuf::size_type SBuf::maxSize; | |
21 | ||
22 | SBufStats::SBufStats() {} | |
23 | std::ostream& SBufStats::dump(std::ostream &os) const STUB_RETVAL(os) | |
24 | SBufStats& SBufStats::operator +=(const SBufStats&) STUB_RETVAL(*this) | |
25 | ||
26 | SBuf::SBuf() {} | |
27 | SBuf::SBuf(const SBuf &S) {} | |
28 | SBuf::SBuf(const char *S, size_type n) {} | |
eb9d358b | 29 | SBuf::SBuf(const char *S) {} |
8b505ba9 AJ |
30 | SBuf::SBuf(const std::string &s) {} |
31 | SBuf::~SBuf() {} | |
32 | SBuf& SBuf::assign(const SBuf &S) STUB_RETVAL(*this) | |
33 | SBuf& SBuf::assign(const char *S, size_type n) STUB_RETVAL(*this) | |
34 | void clear() STUB | |
35 | SBuf& SBuf::append(const SBuf & S) STUB_RETVAL(*this) | |
36 | SBuf& SBuf::append(const char * S, size_type Ssize) STUB_RETVAL(*this) | |
37 | SBuf& Printf(const char *fmt, ...); | |
38 | SBuf& SBuf::appendf(const char *fmt, ...) STUB_RETVAL(*this) | |
39 | SBuf& SBuf::vappendf(const char *fmt, va_list vargs) STUB_RETVAL(*this) | |
40 | std::ostream& SBuf::print(std::ostream &os) const STUB_RETVAL(os) | |
41 | std::ostream& SBuf::dump(std::ostream &os) const STUB_RETVAL(os) | |
42 | void SBuf::setAt(size_type pos, char toset) STUB | |
43 | int SBuf::compare(const SBuf &S, const SBufCaseSensitive isCaseSensitive, const size_type n) const STUB_RETVAL(-1) | |
44 | int SBuf::compare(const char *s, const SBufCaseSensitive isCaseSensitive, const size_type n) const STUB_RETVAL(-1) | |
45 | bool SBuf::startsWith(const SBuf &S, const SBufCaseSensitive isCaseSensitive) const STUB_RETVAL(false) | |
46 | bool SBuf::operator ==(const SBuf & S) const STUB_RETVAL(false) | |
47 | bool SBuf::operator !=(const SBuf & S) const STUB_RETVAL(false) | |
48 | SBuf SBuf::consume(size_type n) STUB_RETVAL(*this) | |
49 | const SBufStats& SBuf::GetStats() STUB_RETVAL(SBuf::stats) | |
50 | SBuf::size_type SBuf::copy(char *dest, size_type n) const STUB_RETVAL(0) | |
51 | const char* SBuf::rawContent() const STUB_RETVAL(NULL) | |
52 | char *SBuf::rawSpace(size_type minSize) STUB_RETVAL(NULL) | |
53 | void SBuf::forceSize(size_type newSize) STUB | |
54 | const char* SBuf::c_str() STUB_RETVAL("") | |
55 | void SBuf::reserveCapacity(size_type minCapacity) STUB | |
19e97cf0 | 56 | SBuf::size_type SBuf::reserve(const SBufReservationRequirements &) STUB_RETVAL(0) |
8b505ba9 AJ |
57 | SBuf& SBuf::chop(size_type pos, size_type n) STUB_RETVAL(*this) |
58 | SBuf& SBuf::trim(const SBuf &toRemove, bool atBeginning, bool atEnd) STUB_RETVAL(*this) | |
59 | SBuf SBuf::substr(size_type pos, size_type n) const STUB_RETVAL(*this) | |
60 | SBuf::size_type SBuf::find(char c, size_type startPos) const STUB_RETVAL(SBuf::npos) | |
61 | SBuf::size_type SBuf::find(const SBuf & str, size_type startPos) const STUB_RETVAL(SBuf::npos) | |
62 | SBuf::size_type SBuf::rfind(char c, size_type endPos) const STUB_RETVAL(SBuf::npos) | |
63 | SBuf::size_type SBuf::rfind(const SBuf &str, size_type endPos) const STUB_RETVAL(SBuf::npos) | |
64 | SBuf::size_type SBuf::findFirstOf(const CharacterSet &set, size_type startPos) const STUB_RETVAL(SBuf::npos) | |
65 | SBuf::size_type SBuf::findFirstNotOf(const CharacterSet &set, size_type startPos) const STUB_RETVAL(SBuf::npos) | |
37cf7314 AR |
66 | void SBuf::toLower() STUB |
67 | void SBuf::toUpper() STUB | |
f53969cc | 68 |