OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:XmlRpcUtil
(Results
1 - 12
of
12
) sorted by null
/external/xmlrpcpp/test/
TestXml.cpp
14
#include "
XmlRpcUtil
.h"
23
assert(empty ==
XmlRpcUtil
::xmlEncode(empty));
24
assert(empty ==
XmlRpcUtil
::xmlDecode(empty));
25
assert(empty ==
XmlRpcUtil
::xmlEncode(""));
26
assert(empty ==
XmlRpcUtil
::xmlDecode(""));
29
assert(
XmlRpcUtil
::xmlDecode(
XmlRpcUtil
::xmlEncode(raw)) == raw);
40
std::cout <<
XmlRpcUtil
::xmlEncode(s) << std::endl;
48
std::cout <<
XmlRpcUtil
::xmlDecode(s) << std::endl;
FileClient.cpp
84
std::string methodName =
XmlRpcUtil
::parseTag(METHODNAME_TAG, xml, &offset);
85
XmlRpcUtil
::log(3, "XmlRpcServerConnection::parseRequest: parsed methodName %s.", methodName.c_str());
87
if (! methodName.empty() &&
XmlRpcUtil
::findTag(PARAMS_TAG, xml, &offset))
90
while (
XmlRpcUtil
::nextTagIs(PARAM_TAG, xml, &offset)) {
99
(void)
XmlRpcUtil
::nextTagIs(PARAM_ETAG, xml, &offset);
102
XmlRpcUtil
::log(3, "XmlRpcServerConnection::parseRequest: parsed %d params.", nArgs);
104
(void)
XmlRpcUtil
::nextTagIs(PARAMS_ETAG, xml, &offset);
/external/xmlrpcpp/src/
XmlRpcSource.cpp
4
#include "
XmlRpcUtil
.h"
23
XmlRpcUtil
::log(2,"XmlRpcSource::close: closing socket %d.", _fd);
25
XmlRpcUtil
::log(2,"XmlRpcSource::close: done closing socket %d.", _fd);
29
XmlRpcUtil
::log(2,"XmlRpcSource::close: deleting this");
XmlRpcClient.cpp
30
XmlRpcUtil
::log(1, "XmlRpcClient new client: host %s, port %d.", host, port);
55
XmlRpcUtil
::log(4, "XmlRpcClient::close: fd %d.", getfd());
77
XmlRpcUtil
::log(1, "XmlRpcClient::execute: method %s (_connectionState %d).", method, _connectionState);
104
XmlRpcUtil
::log(1, "XmlRpcClient::execute: method %s completed.", method);
117
XmlRpcUtil
::error("Error in XmlRpcClient::handleEvent: could not connect to server (%s).",
120
XmlRpcUtil
::error("Error in XmlRpcClient::handleEvent (state %d): %s.",
172
XmlRpcUtil
::error("Error in XmlRpcClient::doConnect: Could not create socket (%s).", XmlRpcSocket::getErrorMsg().c_str());
176
XmlRpcUtil
::log(3, "XmlRpcClient::doConnect: fd %d.", fd);
183
XmlRpcUtil
::error("Error in XmlRpcClient::doConnect: Could not set socket to non-blocking IO mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
190
XmlRpcUtil
::error("Error in XmlRpcClient::doConnect: Could not connect to server (%s).", XmlRpcSocket::getErr (…)
[
all
...]
XmlRpcServerConnection.cpp
33
XmlRpcUtil
::log(2,"XmlRpcServerConnection: new socket %d.", fd);
42
XmlRpcUtil
::log(4,"XmlRpcServerConnection dtor.");
75
XmlRpcUtil
::error("XmlRpcServerConnection::readHeader: error while reading header (%s).",XmlRpcSocket::getErrorMsg().c_str());
79
XmlRpcUtil
::log(4, "XmlRpcServerConnection::readHeader: read %d bytes.", _header.length());
101
XmlRpcUtil
::log(4, "XmlRpcServerConnection::readHeader: EOF");
103
XmlRpcUtil
::error("XmlRpcServerConnection::readHeader: EOF while reading header");
112
XmlRpcUtil
::error("XmlRpcServerConnection::readHeader: No Content-length specified");
118
XmlRpcUtil
::error("XmlRpcServerConnection::readHeader: Invalid Content-length specified (%d).", _contentLength);
122
XmlRpcUtil
::log(3, "XmlRpcServerConnection::readHeader: specified content length is %d.", _contentLength);
136
XmlRpcUtil
::log(3, "KeepAlive: %d", _keepAlive)
[
all
...]
XmlRpcServer.cpp
6
#include "
XmlRpcUtil
.h"
75
XmlRpcUtil
::error("XmlRpcServer::bindAndListen: Could not create socket (%s).", XmlRpcSocket::getErrorMsg().c_str());
85
XmlRpcUtil
::error("XmlRpcServer::bindAndListen: Could not set socket to non-blocking input mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
93
XmlRpcUtil
::error("XmlRpcServer::bindAndListen: Could not set SO_REUSEADDR socket option (%s).", XmlRpcSocket::getErrorMsg().c_str());
101
XmlRpcUtil
::error("XmlRpcServer::bindAndListen: Could not bind to specified port (%s).", XmlRpcSocket::getErrorMsg().c_str());
109
XmlRpcUtil
::error("XmlRpcServer::bindAndListen: Could not set socket in listening mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
113
XmlRpcUtil
::log(2, "XmlRpcServer::bindAndListen: server listening on port %d fd %d", port, fd);
126
XmlRpcUtil
::log(2, "XmlRpcServer::work: waiting for a connection");
148
XmlRpcUtil
::log(2, "XmlRpcServer::acceptConnection: socket %d", s);
152
XmlRpcUtil
::error("XmlRpcServer::acceptConnection: Could not accept connection (%s).", XmlRpcSocket::getError (…)
[
all
...]
XmlRpcUtil.cpp
2
#include "
XmlRpcUtil
.h"
74
void
XmlRpcUtil
::log(int level, const char* fmt, ...)
88
void
XmlRpcUtil
::error(const char* fmt, ...)
101
XmlRpcUtil
::parseTag(const char* tag, std::string const& xml, int* offset)
119
XmlRpcUtil
::findTag(const char* tag, std::string const& xml, int* offset)
134
XmlRpcUtil
::nextTagIs(const char* tag, std::string const& xml, int* offset)
155
XmlRpcUtil
::getNextTag(std::string const& xml, int* offset)
190
XmlRpcUtil
::xmlDecode(const std::string& encoded)
227
XmlRpcUtil
::xmlEncode(const std::string& raw)
XmlRpcUtil.h
27
class
XmlRpcUtil
{
XmlRpcSocket.cpp
3
#include "
XmlRpcUtil
.h"
77
XmlRpcUtil
::log(4, "XmlRpcSocket::close: fd %d.", fd);
185
XmlRpcUtil
::log(5, "XmlRpcSocket::nbRead: read/recv returned %d.", n);
216
XmlRpcUtil
::log(5, "XmlRpcSocket::nbWrite: send/write returned %d.", n);
XmlRpcValue.cpp
4
#include "
XmlRpcUtil
.h"
220
if ( !
XmlRpcUtil
::nextTagIs(VALUE_TAG, valueXml, offset))
224
std::string typeTag =
XmlRpcUtil
::getNextTag(valueXml, offset);
252
XmlRpcUtil
::findTag(VALUE_ETAG, valueXml, offset);
383
_value.asString = new std::string(
XmlRpcUtil
::xmlDecode(valueXml.substr(*offset, valueEnd-*offset)));
392
xml +=
XmlRpcUtil
::xmlEncode(*_value.asString);
480
if ( !
XmlRpcUtil
::nextTagIs(DATA_TAG, valueXml, offset))
490
(void)
XmlRpcUtil
::nextTagIs(DATA_ETAG, valueXml, offset);
520
while (
XmlRpcUtil
::nextTagIs(MEMBER_TAG, valueXml, offset)) {
522
const std::string name =
XmlRpcUtil
::parseTag(NAME_TAG, valueXml, offset)
[
all
...]
XmlRpcDispatch.cpp
4
#include "
XmlRpcUtil
.h"
113
XmlRpcUtil
::error("Error in XmlRpcDispatch::work: error in select (%d).", nEvents);
/external/xmlrpcpp/
Makefile
23
$(SRC)/
XmlRpcUtil
.o $(SRC)/XmlRpcValue.o
Completed in 122 milliseconds