Searched defs:request (Results 1 - 15 of 15) sorted by relevance

/PHP_5_4/ext/xmlrpc/libxmlrpc/
H A Dsystem_methods.c323 XMLRPC_REQUEST request = XMLRPC_RequestNew(); local
324 if(request) {
330 XMLRPC_RequestSetMethodName(request, methodName);
331 XMLRPC_RequestSetData(request, params);
332 XMLRPC_RequestSetRequestType(request, xmlrpc_request_call);
335 XMLRPC_ServerCallMethod(server, request, userData));
339 XMLRPC_RequestFree(request, 1);
H A Dxml_to_dandarpc.c65 XMLRPC_VALUE xml_element_to_DANDARPC_REQUEST_worker(XMLRPC_REQUEST request, XMLRPC_VALUE xCurrent, xml_element* el) { argument
126 xml_element_to_DANDARPC_REQUEST_worker(request, xNext, iter);
134 xml_element_to_DANDARPC_REQUEST_worker(request, xCurrent, iter);
139 if(request) {
140 XMLRPC_RequestSetRequestType(request, xmlrpc_request_call);
144 if(request) {
145 XMLRPC_RequestSetRequestType(request, xmlrpc_request_response);
149 if(request) {
150 XMLRPC_RequestSetMethodName(request, el->text.str);
163 XMLRPC_VALUE xml_element_to_DANDARPC_REQUEST(XMLRPC_REQUEST request, xml_elemen argument
171 DANDARPC_to_xml_element_worker(XMLRPC_REQUEST request, XMLRPC_VALUE node) argument
279 DANDARPC_REQUEST_to_xml_element(XMLRPC_REQUEST request) argument
[all...]
H A Dxml_to_xmlrpc.c70 XMLRPC_VALUE xml_element_to_XMLRPC_REQUEST_worker(XMLRPC_REQUEST request, XMLRPC_VALUE parent_vector, XMLRPC_VALUE current_val, xml_element* el) { argument
90 xml_element_to_XMLRPC_REQUEST_worker(request, current_val, xNextVal, iter);
99 (XMLRPC_RequestGetRequestType(request) == xmlrpc_request_call)) ) { /* this "PARAMS" concept is silly. dave?! */
105 xml_element_to_XMLRPC_REQUEST_worker(request, current_val, xNextVal, iter);
116 xml_element_to_XMLRPC_REQUEST_worker(request, current_val, xNextVal, iter);
150 if (request) {
151 XMLRPC_RequestSetRequestType(request, xmlrpc_request_call);
155 if (request) {
156 XMLRPC_RequestSetRequestType(request, xmlrpc_request_response);
160 if (request) {
181 xml_element_to_XMLRPC_REQUEST(XMLRPC_REQUEST request, xml_element* el) argument
372 XMLRPC_REQUEST_to_xml_element(XMLRPC_REQUEST request) argument
[all...]
H A Dxmlrpc.c118 * representation of a request, and then serialize (encode) that request into XML. The
125 * Both the request and the response may consist of arbitrarily long, arbitrarily nested
317 * void XMLRPC_RequestFree(XMLRPC_REQUEST request, int bFreeIO)
321 * request -- previously allocated request struct
322 * bFreeIO -- 1 = also free request value data, if any, 0 = ignore.
328 void XMLRPC_RequestFree(XMLRPC_REQUEST request, int bFreeIO) { argument
329 if(request) {
330 simplestring_free(&request
361 XMLRPC_RequestSetMethodName(XMLRPC_REQUEST request, const char* methodName) argument
387 XMLRPC_RequestGetMethodName(XMLRPC_REQUEST request) argument
412 XMLRPC_RequestSetRequestType(XMLRPC_REQUEST request, XMLRPC_REQUEST_TYPE type) argument
443 XMLRPC_RequestGetRequestType(XMLRPC_REQUEST request) argument
473 XMLRPC_RequestSetData(XMLRPC_REQUEST request, XMLRPC_VALUE data) argument
505 XMLRPC_RequestGetData(XMLRPC_REQUEST request) argument
530 XMLRPC_RequestSetError(XMLRPC_REQUEST request, XMLRPC_VALUE error) argument
561 XMLRPC_RequestGetError(XMLRPC_REQUEST request) argument
589 XMLRPC_RequestSetOutputOptions(XMLRPC_REQUEST request, XMLRPC_REQUEST_OUTPUT_OPTIONS output) argument
620 XMLRPC_RequestGetOutputOptions(XMLRPC_REQUEST request) argument
690 XMLRPC_REQUEST_ToXML(XMLRPC_REQUEST request, int* buf_len) argument
799 XMLRPC_REQUEST request = XMLRPC_RequestNew(); local
2560 XMLRPC_ServerCallMethod(XMLRPC_SERVER server, XMLRPC_REQUEST request, void* userData) argument
[all...]
H A Dxml_to_soap.c233 XMLRPC_VALUE xml_element_to_SOAP_REQUEST_worker(XMLRPC_REQUEST request, argument
298 XMLRPC_RequestSetError(request,
317 /* BUG: we determine request or response type using presence of "Response" in element name.
327 XMLRPC_RequestSetRequestType(request, rtype);
335 XMLRPC_RequestSetMethodName(request, methodname);
391 while ( iter && !XMLRPC_RequestGetError(request) ) {
397 xml_element_to_SOAP_REQUEST_worker(request, NULL, ai, xCurrent, iter, depth);
403 xml_element_to_SOAP_REQUEST_worker(request, xCurrent, ai, xNext, iter, depth);
417 /* Convert soap xml dom to XMLRPC_VALUE, sans request info. untested. */
424 XMLRPC_VALUE xml_element_to_SOAP_REQUEST(XMLRPC_REQUEST request, xml_elemen argument
434 SOAP_to_xml_element_worker(XMLRPC_REQUEST request, XMLRPC_VALUE node) argument
582 SOAP_REQUEST_to_xml_element(XMLRPC_REQUEST request) argument
[all...]
/PHP_5_4/
H A Dserver-tests.php236 * a simple request class that lets us handle http based tests
564 // otherwise does an http request
1287 $request = $this->getEvalTestSettings(@$section_text['REQUEST'],$tmp_file); variable
1290 $method = isset($request['method'])?$request['method']:$havepost?'POST':'GET';
1303 if (isset($request['SCRIPT_NAME']))
1304 $url .= $request['SCRIPT_NAME'];
1307 if (isset($request['PATH_INFO']))
1308 $url .= $request['PATH_INFO'];
1309 if (isset($request['FRAGMEN
[all...]
H A Drun-tests.php1664 $request = ''; variable
1675 $request .= "\n";
1679 $request .= $line;
1682 $env['CONTENT_LENGTH'] = strlen($request);
1685 if (empty($request)) {
1686 junit_mark_test_as('BORK', $shortname, $tested, null, 'empty $request');
1690 save_text($tmp_post, $request);
1698 $request = ''; variable
1709 $request .= "\n";
1713 $request
[all...]
/PHP_5_4/ext/recode/
H A Drecode.c71 ZEND_ARG_INFO(0, request)
76 ZEND_ARG_INFO(0, request)
142 /* {{{ proto string recode_string(string request, string str)
143 Recode string str according to request string */
146 RECODE_REQUEST request = NULL; local
156 request = recode_new_request(ReSG(outer));
158 if (request == NULL) {
159 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot allocate request structure");
163 if (!recode_scan_request(request, req)) {
164 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal recode request '
188 RECODE_REQUEST request = NULL; local
[all...]
/PHP_5_4/ext/soap/
H A Dphp_http.c276 char *request; local
304 request = buf;
306 /* Compress request */
343 request = Z_STRVAL(retval);
346 if (request != buf) {efree(request);}
382 if (request != buf) {efree(request);}
393 if (request != buf) {efree(request);}
[all...]
H A Dsoap.c61 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters[], int *version, soapHeader **headers TSRMLS_DC);
360 ZEND_ARG_INFO(0, request)
1478 Handles a SOAP request */
1599 php_error_docref(NULL TSRMLS_CC, E_WARNING,"Can't uncompress compressed request");
2031 php_error_docref(NULL TSRMLS_CC, E_WARNING, "The SoapServer::addSoapHeader function may be called only during SOAP request processing");
2538 static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *action, int version, int one_way, zval *response TSRMLS_DC) argument
2550 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size);
2552 add_soap_fault(this_ptr, "HTTP", "Error build soap request", NULL, NULL TSRMLS_CC);
2625 xmlDocPtr request = NULL; local
2708 request
3422 deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval ***parameters, int *version, soapHeader **headers TSRMLS_DC) argument
[all...]
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c311 fcgi_request *request = (fcgi_request*) SG(server_context); local
314 long ret = fcgi_write(request, FCGI_STDOUT, ptr, remaining);
336 fcgi_request *request = (fcgi_request*) server_context; local
342 request && !fcgi_flush(request, 0)) {
526 fcgi_request *request = (fcgi_request*) SG(server_context); local
530 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
548 * of a request. So we have to do our own lookup to get env
550 fcgi_request *request = (fcgi_request*) SG(server_context); local
551 char *ret = fcgi_getenv(request, nam
611 fcgi_request *request = (fcgi_request*) SG(server_context); local
655 fcgi_request *request = (fcgi_request*) SG(server_context); local
677 fcgi_request *request = (fcgi_request*) SG(server_context); local
729 fcgi_request *request; local
841 fcgi_request *request = (fcgi_request*) SG(server_context); local
881 fcgi_request *request = (fcgi_request*) SG(server_context); local
1586 fcgi_request *request = (fcgi_request*) SG(server_context); local
1756 fcgi_request *request = NULL; local
[all...]
/PHP_5_4/sapi/cli/
H A Dphp_cli_server.c175 php_cli_server_request request; member in struct:php_cli_server_client
256 { 400, "<h1>%s</h1><p>Your browser sent a request that this server could not understand.</p>" },
413 if (SUCCESS == zend_hash_find(&client->request.headers, "host", sizeof("host"), (void**)&val)) {
536 append_http_status_line(&buffer, client->request.protocol_version, SG(sapi_headers).http_response_code, 0);
562 if (FAILURE == zend_hash_find(&client->request.headers, "cookie", sizeof("cookie"), (void**)&val)) {
571 if (client->request.content) {
572 size_t content_len = client->request.content_len;
574 memmove(buf, client->request.content + client->post_read_offset, nbytes_copied);
639 spprintf(&tmp, 0, "HTTP/%d.%d", client->request.protocol_version / 100, client->request
1323 php_cli_server_request_translate_vpath(php_cli_server_request *request, const char *document_root, size_t document_root_len) argument
[all...]
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_ps.c40 enum_func_status mysqlnd_stmt_execute_generate_request(MYSQLND_STMT * const s, zend_uchar ** request, size_t *request_len, zend_bool * free_buffer TSRMLS_DC);
587 zend_uchar *request = NULL; local
677 ret = s->m->generate_execute_request(s, &request, &request_len, &free_request TSRMLS_CC);
680 ret = stmt->conn->m->simple_command(stmt->conn, COM_STMT_EXECUTE, request, request_len,
684 SET_STMT_ERROR(stmt, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, "Couldn't generate the request. Possibly OOM.");
688 mnd_efree(request);
H A Dmysqlnd_ps_codec.c973 mysqlnd_stmt_execute_generate_request(MYSQLND_STMT * const s, zend_uchar ** request, size_t *request_len, zend_bool * free_buffer TSRMLS_DC) argument
1000 *request = cmd_buffer;
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_main.c278 fcgi_request *request = (fcgi_request*) SG(server_context); local
279 ret = fcgi_write(request, FCGI_STDOUT, str, str_length);
322 fcgi_request *request = (fcgi_request*) server_context; local
327 request && !fcgi_flush(request, 0)) {
504 fcgi_request *request = (fcgi_request*) SG(server_context); local
522 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
538 fcgi_request *request = (fcgi_request*) SG(server_context); local
539 return fcgi_getenv(request, name, name_len);
555 fcgi_request *request local
566 fcgi_request *request; local
664 fcgi_request *request = (fcgi_request*) SG(server_context); local
1515 fcgi_request *request = (fcgi_request*) SG(server_context); local
1571 fcgi_request request; local
[all...]

Completed in 56 milliseconds