Home
last modified time | relevance | path

Searched refs:Poco (Results 1 – 25 of 1970) sorted by relevance

12345678910>>...79

/dports/devel/poco/poco-1.10.1-all/Net/include/Poco/Net/
H A DNTPPacket.h25 namespace Poco {
60 Poco::Int8 mode() const;
66 Poco::Int8 pool() const;
105 Poco::Timestamp convertTime(Poco::Int64 tm) const;
108 Poco::Int8 _version;
109 Poco::Int8 _mode;
110 Poco::Int8 _stratum;
111 Poco::Int8 _pool;
112 Poco::Int8 _precision;
113 Poco::Int32 _rootDelay;
[all …]
/dports/devel/poco/poco-1.10.1-all/Data/PostgreSQL/src/
H A DBinder.cpp20 namespace Poco { namespace
38 realBind(pos, Poco::Data::MetaColumn::FDT_INT8, &val, sizeof(Poco::Int8)); in bind()
45 realBind(pos, Poco::Data::MetaColumn::FDT_UINT8, &val, sizeof(Poco::UInt8)); in bind()
52 realBind(pos, Poco::Data::MetaColumn::FDT_INT16, &val, sizeof(Poco::Int16)); in bind()
59 realBind(pos, Poco::Data::MetaColumn::FDT_UINT16, &val, sizeof(Poco::UInt16)); in bind()
66 realBind(pos, Poco::Data::MetaColumn::FDT_INT32, &val, sizeof(Poco::Int32)); in bind()
73 realBind(pos, Poco::Data::MetaColumn::FDT_UINT32, &val, sizeof(Poco::UInt32)); in bind()
80 realBind(pos, Poco::Data::MetaColumn::FDT_INT64, &val, sizeof(Poco::Int64)); in bind()
87 realBind(pos, Poco::Data::MetaColumn::FDT_UINT64, &val, sizeof(Poco::UInt64)); in bind()
95 realBind(pos, Poco::Data::MetaColumn::FDT_INT64, &val, sizeof(Poco::Int64)); in bind()
[all …]
H A DPostgreSQLTypes.cpp18 namespace Poco { namespace
25 Poco::Data::MetaColumn::ColumnDataType cdt = Poco::Data::MetaColumn::FDT_UNKNOWN; in oidToColumnDataType()
31 cdt = Poco::Data::MetaColumn::FDT_BOOL; in oidToColumnDataType()
36 cdt = Poco::Data::MetaColumn::FDT_INT16; in oidToColumnDataType()
39 cdt = Poco::Data::MetaColumn::FDT_INT32; in oidToColumnDataType()
42 cdt = Poco::Data::MetaColumn::FDT_INT64; in oidToColumnDataType()
70 cdt = Poco::Data::MetaColumn::FDT_BLOB; in oidToColumnDataType()
73 cdt = Poco::Data::MetaColumn::FDT_CLOB; in oidToColumnDataType()
78 cdt = Poco::Data::MetaColumn::FDT_DATE; in oidToColumnDataType()
83 cdt = Poco::Data::MetaColumn::FDT_TIME; in oidToColumnDataType()
[all …]
/dports/devel/poco/poco-1.10.1-all/Foundation/include/Poco/Dynamic/
H A DVar.h33 namespace Poco {
1050 inline Poco::Int8 operator += (Poco::Int8& other, const Var& da)
1057 inline Poco::Int8 operator -= (Poco::Int8& other, const Var& da)
1064 inline Poco::Int8 operator *= (Poco::Int8& other, const Var& da)
1071 inline Poco::Int8 operator /= (Poco::Int8& other, const Var& da)
1154 inline Poco::UInt8 operator += (Poco::UInt8& other, const Var& da)
1161 inline Poco::UInt8 operator -= (Poco::UInt8& other, const Var& da)
1168 inline Poco::UInt8 operator *= (Poco::UInt8& other, const Var& da)
1175 inline Poco::UInt8 operator /= (Poco::UInt8& other, const Var& da)
1258 inline Poco::Int16 operator += (Poco::Int16& other, const Var& da)
[all …]
/dports/devel/poco/poco-1.10.1-all/Util/src/
H A DXMLConfiguration.cpp33 namespace Poco { namespace
133 Poco::XML::AutoPtr<Poco::XML::Document> pDoc = parser.parse(pInputSource); in load()
162 …_pDocument = Poco::XML::AutoPtr<Poco::XML::Document>(const_cast<Poco::XML::Document*>(pDocument), … in load()
177 _pDocument = Poco::XML::AutoPtr<Poco::XML::Document>(pNode->ownerDocument(), true); in load()
178 _pRoot = Poco::XML::AutoPtr<Poco::XML::Node>(const_cast<Poco::XML::Node*>(pNode), true); in load()
256 Poco::AutoPtr<Poco::XML::Node> pText = _pDocument->createTextNode(value); in setRaw()
308 Poco::XML::Attr* pAttr = dynamic_cast<Poco::XML::Attr*>(pNode); in removeRaw()
322 Poco::XML::Node* pRoot = const_cast<Poco::XML::Node*>(_pRoot.get()); in findNode()
330 Poco::XML::Node* pRoot = const_cast<Poco::XML::Node*>(_pRoot.get()); in findNode()
441 Poco::XML::Element* pElem = dynamic_cast<Poco::XML::Element*>(pNode); in findElement()
[all …]
H A DTimer.cpp21 using Poco::ErrorHandler;
24 namespace Poco { namespace
110 Poco::Event _finished;
181 Poco::Clock now; in execute()
182 Poco::Clock nextExecution; in execute()
216 Poco::Clock now; in execute()
227 Poco::Clock _nextExecution;
285 Poco::Clock clock; in schedule()
307 Poco::Clock clock; in scheduleAtFixedRate()
316 Poco::Timestamp tsNow; in scheduleAtFixedRate()
[all …]
/dports/devel/poco/poco-1.10.1-all/Net/src/
H A DNTPPacket.cpp21 namespace Poco { namespace
32 Poco::Int8 mode:3;
33 Poco::Int8 vn:3;
34 Poco::Int8 li:2;
36 Poco::Int8 pool;
37 Poco::Int8 prec;
41 Poco::Int64 rts;
42 Poco::Int64 ots;
43 Poco::Int64 vts;
44 Poco::Int64 tts;
[all …]
H A DNTLMCredentials.cpp34 namespace Poco { namespace
43 Poco::MD5Engine md5; in createNonce()
44 Poco::Random rnd; in createNonce()
50 Poco::Timestamp ts; in createNonce()
64 Poco::Timestamp now; in createTimestamp()
81 Poco::MD4Engine md4; in createPasswordHash()
102 Poco::HMACEngine<Poco::MD5Engine> hmac(passwordHashString); in createNTLMv2Hash()
116 Poco::HMACEngine<Poco::MD5Engine> hmac2(ntlm2HashString); in createLMv2Response()
150 Poco::HMACEngine<Poco::MD5Engine> hmac2(ntlm2HashString); in createNTLMv2Response()
212 Poco::UInt8 zero; in parseChallengeMessage()
[all …]
H A DRemoteSyslogListener.cpp32 namespace Poco { namespace
90 RemoteUDPListener(Poco::NotificationQueue& queue, Poco::UInt16 port);
103 RemoteUDPListener::RemoteUDPListener(Poco::NotificationQueue& queue, Poco::UInt16 port): in RemoteUDPListener()
105 _socket(Poco::Net::SocketAddress(Poco::Net::IPAddress(), port)), in RemoteUDPListener()
221 Poco::Message message; in run()
227 catch (Poco::Exception&) in run()
286 Poco::UInt16 pri = static_cast<Poco::UInt16>(val); in parsePrio()
307 Poco::DateTime date; in parseNew()
352 …if (!(Poco::Ascii::isDigit(line[pos-1]) && (Poco::Ascii::isDigit(line[pos-2]) || Poco::Ascii::isSp… in parseBSD()
368 Poco::DateTime date; in parseBSD()
[all …]
/dports/devel/poco/poco-1.10.1-all/MongoDB/testsuite/src/
H A DMongoDBTest.cpp59 Poco::MongoDB::Document::Ptr player = new Poco::MongoDB::Document(); in testInsertRequest()
63 Poco::DateTime birthdate; in testInsertRequest()
70 Poco::DateTime now; in testInsertRequest()
101 Poco::Timestamp birthDateTimestamp = doc->get<Poco::Timestamp>("birthdate"); in testQueryRequest()
104 Poco::Timestamp lastupdatedTimestamp = doc->get<Poco::Timestamp>("lastupdated"); in testQueryRequest()
142 Poco::Timestamp birthDateTimestamp = doc->get<Poco::Timestamp>("birthdate"); in testDBQueryRequest()
301 Poco::PoolableObjectFactory<Poco::MongoDB::Connection, Poco::MongoDB::Connection::Ptr> factory(sa); in testConnectionPool()
302 Poco::ObjectPool<Poco::MongoDB::Connection, Poco::MongoDB::Connection::Ptr> pool(factory, 10, 15); in testConnectionPool()
335 Poco::SharedPtr<Poco::MongoDB::QueryRequest> command = db.createCommand(); in testCommand()
357 Poco::MongoDB::Document::Ptr club = new Poco::MongoDB::Document(); in testUUID()
[all …]
/dports/devel/poco/poco-1.10.1-all/Zip/include/Poco/Zip/
H A DZipUtil.h28 namespace Poco {
36 static Poco::UInt16 get16BitValue(const char* pVal, const Poco::UInt32 pos);
38 static Poco::UInt32 get32BitValue(const char* pVal, const Poco::UInt32 pos);
40 static Poco::UInt64 get64BitValue(const char* pVal, const Poco::UInt32 pos);
42 static void set16BitValue(const Poco::UInt16 val, char* pVal, const Poco::UInt32 pos);
44 static void set32BitValue(const Poco::UInt32 val, char* pVal, const Poco::UInt32 pos);
46 static void set64BitValue(const Poco::UInt64 val, char* pVal, const Poco::UInt32 pos);
48 …static Poco::DateTime parseDateTime(const char* pVal, const Poco::UInt32 timePos, const Poco::UInt…
50 …static void setDateTime(const Poco::DateTime& dt, char* pVal, const Poco::UInt32 timePos, const Po…
73 inline Poco::UInt16 ZipUtil::get16BitValue(const char* pVal, const Poco::UInt32 pos) in get16BitValue()
[all …]
H A DZipFileInfo.h26 namespace Poco {
55 Poco::UInt32 getCRC() const;
57 Poco::UInt32 getHeaderSize() const;
64 Poco::UInt64 getOffset() const;
95 void setOffset(Poco::UInt64 val);
103 void setCRC(Poco::UInt32 val);
205 Poco::UInt32 _crc32;
206 Poco::UInt64 _compressedSize;
210 Poco::DateTime _lastModifiedAt;
457 Poco::UInt16 val = static_cast<Poco::UInt16>(cl); in setCompressionLevel()
[all …]
H A DZipDataInfo.h26 namespace Poco {
47 Poco::UInt32 getCRC32() const;
49 void setCRC32(Poco::UInt32 crc);
51 Poco::UInt32 getCompressedSize() const;
53 void setCompressedSize(Poco::UInt32 size);
55 Poco::UInt32 getUncompressedSize() const;
59 static Poco::UInt32 getFullHeaderSize();
98 Poco::UInt32 getCRC32() const;
100 void setCRC32(Poco::UInt32 crc);
102 Poco::UInt64 getCompressedSize() const;
[all …]
H A DZipArchiveInfo.h26 namespace Poco {
46 Poco::UInt16 getDiskNumber() const;
52 Poco::UInt16 getNumberOfEntries() const;
55 Poco::UInt16 getTotalNumberOfEntries() const;
58 Poco::UInt32 getCentralDirectorySize() const;
70 void setNumberOfEntries(Poco::UInt16 val);
73 void setTotalNumberOfEntries(Poco::UInt16 val);
91 Poco::UInt16 getZipCommentSize() const;
143 Poco::UInt32 getDiskNumber() const;
149 Poco::UInt64 getNumberOfEntries() const;
[all …]
/dports/devel/poco/poco-1.10.1-all/Foundation/testsuite/src/
H A DDirectoryWatcherTest.cpp24 using Poco::DirectoryWatcher;
49 Poco::Thread::sleep(1000); in testAdded()
51 Poco::Path p(path()); in testAdded()
69 Poco::Path p(path()); in testRemoved()
83 Poco::Thread::sleep(1000); in testRemoved()
85 Poco::File f(p.toString()); in testRemoved()
100 Poco::Path p(path()); in testModified()
114 Poco::Thread::sleep(1000); in testModified()
132 Poco::Path p(path()); in testMoved()
148 Poco::Path p2(path()); in testMoved()
[all …]
H A DStringTest.h108 ++l; str = Poco::NumberFormatter::format(l); in numericStringLimitSameSign()
110 ++l; str = Poco::NumberFormatter::format(l); in numericStringLimitSameSign()
112 ++l; str = Poco::NumberFormatter::format(l); in numericStringLimitSameSign()
114 ++l; str = Poco::NumberFormatter::format(l); in numericStringLimitSameSign()
116 ++l; str = Poco::NumberFormatter::format(l); in numericStringLimitSameSign()
118 ++l; str = Poco::NumberFormatter::format(l); in numericStringLimitSameSign()
132 --l; val = Poco::NumberFormatter::format(l); in numericStringLowerLimit()
134 --l; val = Poco::NumberFormatter::format(l); in numericStringLowerLimit()
136 --l; val = Poco::NumberFormatter::format(l); in numericStringLowerLimit()
138 --l; val = Poco::NumberFormatter::format(l); in numericStringLowerLimit()
[all …]
/dports/devel/poco/poco-1.10.1-all/Net/testsuite/src/
H A DSyslogTest.cpp23 using namespace Poco::Net;
133 Poco::Message msg("asource", "amessage", Poco::Message::PRIO_CRITICAL); in testListener()
135 Poco::Thread::sleep(1000); in testListener()
159 Poco::Message msg1("source1", "message1", Poco::Message::PRIO_CRITICAL); in testChannelOpenClose()
161 Poco::Thread::sleep(1000); in testChannelOpenClose()
167 Poco::Message msg2("source2", "message2", Poco::Message::PRIO_ERROR); in testChannelOpenClose()
169 Poco::Thread::sleep(1000); in testChannelOpenClose()
198 Poco::Message msg("asource", "amessage", Poco::Message::PRIO_CRITICAL); in testOldBSD()
200 Poco::Thread::sleep(1000); in testOldBSD()
224 Poco::Message msg1("asource", "amessage", Poco::Message::PRIO_CRITICAL); in testStructuredData()
[all …]
/dports/devel/poco/poco-1.10.1-all/MongoDB/include/Poco/MongoDB/
H A DDatabase.h30 namespace Poco {
64 Poco::SharedPtr<Poco::MongoDB::QueryRequest> createCommand() const;
67Poco::SharedPtr<Poco::MongoDB::QueryRequest> createCountRequest(const std::string& collectionName)…
79Poco::SharedPtr<Poco::MongoDB::QueryRequest> createQueryRequest(const std::string& collectionName)…
90 Poco::MongoDB::Document::Ptr keys,
123 inline Poco::SharedPtr<Poco::MongoDB::QueryRequest> Database::createCommand() const in createCommand()
125 Poco::SharedPtr<Poco::MongoDB::QueryRequest> cmd = createQueryRequest("$cmd"); in createCommand()
131 inline Poco::SharedPtr<Poco::MongoDB::DeleteRequest>
138 inline Poco::SharedPtr<Poco::MongoDB::InsertRequest>
145 inline Poco::SharedPtr<Poco::MongoDB::QueryRequest>
[all …]
/dports/devel/poco/poco-1.10.1-all/MongoDB/src/
H A DDatabase.cpp33 namespace Poco { namespace
99 Poco::MD5Engine md5; in hashCredentials()
108 Poco::MD5Engine md5; in createNonce()
110 Poco::Random random; in createNonce()
165 Poco::MD5Engine md5; in authCR()
227 Poco::PBKDF2Engine<Poco::HMACEngine<Poco::SHA1Engine> > pbkdf2(salt, iterations, dkLen); in authSCRAM()
234 Poco::HMACEngine<Poco::SHA1Engine> hmacKey(saltedPassword); in authSCRAM()
242 Poco::HMACEngine<Poco::SHA1Engine> hmacSig(storedKey); in authSCRAM()
274 Poco::HMACEngine<Poco::SHA1Engine> hmacSKey(saltedPassword); in authSCRAM()
278 Poco::HMACEngine<Poco::SHA1Engine> hmacSSig(serverKey); in authSCRAM()
[all …]
/dports/devel/poco/poco-1.10.1-all/Zip/testsuite/src/
H A DZipTest.cpp34 using namespace Poco::Zip;
147 Poco::Zip::ZipArchive zip(inp); in testCrcAndSizeAfterDataWithArchive()
157 Poco::FileOutputStream os(Poco::Path::temp() + "test.dat"); in testCrcAndSizeAfterDataWithArchive()
247 Poco::FileInputStream in(path); in verifyDataFile()
249 Poco::Buffer<char> buffer1(MB); in verifyDataFile()
255 Poco::UInt64 bytesToRead = std::min(size, static_cast<Poco::UInt64>(buffer2.size())); in verifyDataFile()
270 files[Poco::Path::temp() + "data1.bin"] = static_cast<Poco::UInt64>(KB)*4096+1; in testDecompressZip64()
271 files[Poco::Path::temp() + "data2.bin"] = static_cast<Poco::UInt64>(KB)*16; in testDecompressZip64()
272 files[Poco::Path::temp() + "data3.bin"] = static_cast<Poco::UInt64>(KB)*4096-1; in testDecompressZip64()
276 Poco::File file(it->first); in testDecompressZip64()
[all …]
/dports/devel/poco/poco-1.10.1-all/Data/include/Poco/Data/
H A DRowFilter.h32 namespace Poco {
70 typedef bool (*CompT)(const Poco::Dynamic::Var&, const Poco::Dynamic::Var&);
152 static bool equal(const Poco::Dynamic::Var& p1, const Poco::Dynamic::Var& p2);
153 static bool notEqual(const Poco::Dynamic::Var& p1, const Poco::Dynamic::Var& p2);
154 static bool less(const Poco::Dynamic::Var& p1, const Poco::Dynamic::Var& p2);
155 static bool greater(const Poco::Dynamic::Var& p1, const Poco::Dynamic::Var& p2);
156 static bool lessOrEqual(const Poco::Dynamic::Var& p1, const Poco::Dynamic::Var& p2);
158 static bool logicalAnd(const Poco::Dynamic::Var& p1, const Poco::Dynamic::Var& p2);
159 static bool logicalOr(const Poco::Dynamic::Var& p1, const Poco::Dynamic::Var& p2);
160 static bool isNull(const Poco::Dynamic::Var& p1, const Poco::Dynamic::Var&);
[all …]
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack.Text/src/ServiceStack.Text/
H A DJsConfig.cs129 JsonAotConfig.Register<Poco>(); in RegisterForAot()
133 RegisterElement<Poco, bool>(); in RegisterForAot()
134 RegisterElement<Poco, char>(); in RegisterForAot()
135 RegisterElement<Poco, byte>(); in RegisterForAot()
139 RegisterElement<Poco, int>(); in RegisterForAot()
140 RegisterElement<Poco, uint>(); in RegisterForAot()
141 RegisterElement<Poco, long>(); in RegisterForAot()
146 RegisterElement<Poco, Guid>(); in RegisterForAot()
156 RegisterElement<Poco, int?>(); in RegisterForAot()
179 CsvSerializer<Poco>.WriteFn(); in RegisterCsvSerializer()
[all …]
/dports/devel/poco/poco-1.10.1-all/Data/ODBC/include/Poco/Data/ODBC/
H A DPreparator.h40 namespace Poco {
384 Poco::Any& operator [] (std::size_t pos);
387 Poco::Any& at(std::size_t pos);
418 typedef std::vector<Poco::Any> ValueVec;
517 typedef Poco::Data::BLOB::ValueType CharType;
526 typedef Poco::Data::CLOB::ValueType CharType;
567 _values[pos] = Poco::Any(T()); in prepareFixedSize()
591 _values[pos] = Poco::Any(std::vector<T>()); in prepareFixedSize()
671 T** p = Poco::AnyCast<T*>(&_values[pos]); in deleteCachedArray()
1178 prepareImpl<std::vector<Poco::Any> >(pos); in prepare()
[all …]
/dports/devel/poco/poco-1.10.1-all/Util/include/Poco/Util/
H A DXMLConfiguration.h35 namespace Poco {
124 XMLConfiguration(const Poco::XML::Node* pNode);
131 void load(Poco::XML::InputSource* pInputSource);
149 void load(const Poco::XML::Document* pDocument);
153 void load(const Poco::XML::Node* pNode);
192 static Poco::XML::Node* findElement(const std::string& name, Poco::XML::Node* pNode, bool create);
193 static Poco::XML::Node* findElement(int index, Poco::XML::Node* pNode, bool create);
194 …static Poco::XML::Node* findElement(const std::string& attr, const std::string& value, Poco::XML::…
195 …static Poco::XML::Node* findAttribute(const std::string& name, Poco::XML::Node* pNode, bool create…
197 Poco::XML::AutoPtr<Poco::XML::Node> _pRoot;
[all …]
/dports/devel/poco/poco-1.10.1-all/MongoDB/samples/SQLToMongo/src/
H A DSQLToMongo.cpp26 Poco::MongoDB::Database db("sample"); in sample1()
27Poco::SharedPtr<Poco::MongoDB::InsertRequest> insertPlayerRequest = db.createInsertRequest("player… in sample1()
294 Poco::MongoDB::Database db("sample"); in sample7()
295 Poco::MongoDB::Document::Ptr keys = new Poco::MongoDB::Document(); in sample7()
358 Poco::SharedPtr<Poco::MongoDB::QueryRequest> queryPtr = db.createQueryRequest("players"); in sample9()
373 Poco::SharedPtr<Poco::MongoDB::QueryRequest> command = db.createCommand(); in sample10()
386Poco::MongoDB::Array::Ptr values = response.documents()[0]->get<Poco::MongoDB::Array::Ptr>("values… in sample10()
401 Poco::SharedPtr<Poco::MongoDB::QueryRequest> count = db.createCountRequest("players"); in sample11()
422 Poco::SharedPtr<Poco::MongoDB::UpdateRequest> request = db.createUpdateRequest("players"); in sample12()
440 Poco::SharedPtr<Poco::MongoDB::DeleteRequest> request = db.createDeleteRequest("players"); in sample13()
[all …]

12345678910>>...79