Home
last modified time | relevance | path

Searched refs:XmlRpcValue (Results 1 – 19 of 19) sorted by relevance

/external/xmlrpcpp/test/
DTestValues.cpp17 XmlRpcValue booleanFalse(false); in testBoolean()
18 XmlRpcValue booleanTrue(true); in testBoolean()
20 XmlRpcValue booleanFalseXml("<value><boolean>0</boolean></value>", &offset); in testBoolean()
22 XmlRpcValue booleanTrueXml("<value><boolean>1</boolean></value>", &offset); in testBoolean()
37 XmlRpcValue int0(0); in testInt()
38 XmlRpcValue int1(1); in testInt()
39 XmlRpcValue int10(10); in testInt()
40 XmlRpcValue int_1(-1); in testInt()
42 XmlRpcValue int0Xml("<value><int>0</int></value>", &offset); in testInt()
44 XmlRpcValue int9Xml("<value><i4>9</i4></value>", &offset); in testInt()
[all …]
DTestValuesWin32.cpp19 XmlRpcValue booleanFalse(false); in testBoolean()
20 XmlRpcValue booleanTrue(true); in testBoolean()
22 XmlRpcValue booleanFalseXml("<value><boolean>0</boolean></value>", &offset); in testBoolean()
24 XmlRpcValue booleanTrueXml("<value><boolean>1</boolean></value>", &offset); in testBoolean()
40 XmlRpcValue int0(0); in testInt()
41 XmlRpcValue int1(1); in testInt()
42 XmlRpcValue int10(10); in testInt()
43 XmlRpcValue int_1(-1); in testInt()
45 XmlRpcValue int0Xml("<value><int>0</int></value>", &offset); in testInt()
47 XmlRpcValue int9Xml("<value><i4>9</i4></value>", &offset); in testInt()
[all …]
DValidator.cpp20 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
23 XmlRpcValue& arg1 = params[0]; in execute()
44 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
84 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
87 XmlRpcValue& arg1 = params[0]; in execute()
101 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
117 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
136 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
158 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
161 XmlRpcValue& dayStruct = params[0]["2000"]["04"]["01"]; in execute()
[all …]
DHelloServer.cpp19 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
35 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
50 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
DFileClient.cpp13 std::string parseRequest(std::string const& xml, XmlRpcValue& params);
47 XmlRpcValue params; in main()
56 XmlRpcValue result; in main()
74 parseRequest(std::string const& xml, XmlRpcValue& params) in parseRequest()
92 XmlRpcValue arg(xml, &offset); in parseRequest()
DHelloClient.cpp19 XmlRpcValue noArgs, result; in main()
26 XmlRpcValue oneArg; in main()
47 XmlRpcValue numbers; in main()
64 XmlRpcValue multicall; in main()
DTestBase64Server.cpp27 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
36 XmlRpcValue::BinaryData& data = result; in execute()
DTestBase64Client.cpp26 XmlRpcValue noArgs, result; in main()
29 const XmlRpcValue::BinaryData& data = result; in main()
/external/xmlrpcpp/src/
DXmlRpcValue.h22 class XmlRpcValue {
41 typedef std::vector<XmlRpcValue> ValueArray;
42 typedef std::map<std::string, XmlRpcValue> ValueStruct;
46 XmlRpcValue() : _type(TypeInvalid) { _value.asBinary = 0; } in XmlRpcValue() function
47 XmlRpcValue(bool value) : _type(TypeBoolean) { _value.asBool = value; } in XmlRpcValue() function
48 XmlRpcValue(int value) : _type(TypeInt) { _value.asInt = value; } in XmlRpcValue() function
49 XmlRpcValue(double value) : _type(TypeDouble) { _value.asDouble = value; } in XmlRpcValue() function
51 XmlRpcValue(std::string const& value) : _type(TypeString) in XmlRpcValue() function
54 XmlRpcValue(const char* value) : _type(TypeString) in XmlRpcValue() function
57 XmlRpcValue(struct tm* value) : _type(TypeDateTime) in XmlRpcValue() function
[all …]
DXmlRpcValue.cpp49 std::string XmlRpcValue::_doubleFormat("%f");
54 void XmlRpcValue::invalidate() in invalidate()
70 void XmlRpcValue::assertTypeOrInvalid(Type t) in assertTypeOrInvalid()
88 void XmlRpcValue::assertArray(int size) const in assertArray()
97 void XmlRpcValue::assertArray(int size) in assertArray()
109 void XmlRpcValue::assertStruct() in assertStruct()
120 XmlRpcValue& XmlRpcValue::operator=(XmlRpcValue const& rhs) in operator =()
149 bool XmlRpcValue::operator==(XmlRpcValue const& other) const in operator ==()
173 const XmlRpcValue& v1 = it1->second; in operator ==()
174 const XmlRpcValue& v2 = it2->second; in operator ==()
[all …]
DXmlRpcClient.h22 class XmlRpcValue; variable
58 bool execute(const char* method, XmlRpcValue const& params, XmlRpcValue& result);
78 virtual bool generateRequest(const char* method, XmlRpcValue const& params);
83 virtual bool parseResponse(XmlRpcValue& result);
DXmlRpcServerConnection.cpp209 XmlRpcValue params, resultValue; in executeRequest()
231 XmlRpcServerConnection::parseRequest(XmlRpcValue& params) in parseRequest()
243 params[nArgs++] = XmlRpcValue(_request, &offset); in parseRequest()
256 XmlRpcValue& params, XmlRpcValue& result) in executeMethod()
274 XmlRpcValue& params, XmlRpcValue& result) in executeMulticall()
279 if (params.size() != 1 || params[0].getType() != XmlRpcValue::TypeArray) in executeMulticall()
296 XmlRpcValue& methodParams = params[0][i][PARAMS]; in executeMulticall()
298 XmlRpcValue resultValue; in executeMulticall()
365 XmlRpcValue faultStruct; in generateFaultResponse()
DXmlRpcServerConnection.h61 std::string parseRequest(XmlRpcValue& params);
64 bool executeMethod(const std::string& methodName, XmlRpcValue& params, XmlRpcValue& result);
67 bool executeMulticall(const std::string& methodName, XmlRpcValue& params, XmlRpcValue& result);
DXmlRpcServer.cpp212 void execute(XmlRpcValue& /* params */, XmlRpcValue& result) in execute() argument
227 void execute(XmlRpcValue& params, XmlRpcValue& result) in execute()
229 if (params[0].getType() != XmlRpcValue::TypeString) in execute()
272 XmlRpcServer::listMethods(XmlRpcValue& result) in listMethods()
DXmlRpcServerMethod.h18 class XmlRpcValue; variable
35 virtual void execute(XmlRpcValue& params, XmlRpcValue& result) = 0;
DXmlRpcClient.cpp75 XmlRpcClient::execute(const char* method, XmlRpcValue const& params, XmlRpcValue& result) in execute()
199 XmlRpcClient::generateRequest(const char* methodName, XmlRpcValue const& params) in generateRequest()
208 if (params.getType() == XmlRpcValue::TypeArray) in generateRequest()
385 XmlRpcClient::parseResponse(XmlRpcValue& result) in parseResponse()
DXmlRpcServer.h29 class XmlRpcValue; variable
69 void listMethods(XmlRpcValue& result);
/external/xmlrpcpp/
DMakefile23 $(SRC)/XmlRpcUtil.o $(SRC)/XmlRpcValue.o
Dxmlrpc.dsp127 SOURCE=.\src\XmlRpcValue.cpp
175 SOURCE=.\src\XmlRpcValue.h