Searched refs:request (Results 1 - 24 of 24) sorted by relevance

/PHP_TRUNK/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_dandarpc.h40 XMLRPC_VALUE xml_element_to_DANDARPC_REQUEST(XMLRPC_REQUEST request, xml_element* el);
42 xml_element* DANDARPC_REQUEST_to_xml_element(XMLRPC_REQUEST request);
H A Dxml_to_soap.h40 XMLRPC_VALUE xml_element_to_SOAP_REQUEST(XMLRPC_REQUEST request, xml_element* el);
42 xml_element* SOAP_REQUEST_to_xml_element(XMLRPC_REQUEST request);
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 Dxml_to_xmlrpc.h41 XMLRPC_VALUE xml_element_to_XMLRPC_REQUEST(XMLRPC_REQUEST request, xml_element* el);
43 xml_element* XMLRPC_REQUEST_to_xml_element(XMLRPC_REQUEST request);
H A Dxmlrpc.h140 xmlrpc_request_none, /* not a valid request */
338 XMLRPC_VALUE XMLRPC_RequestSetError (XMLRPC_REQUEST request, XMLRPC_VALUE error);
339 XMLRPC_VALUE XMLRPC_RequestGetError (XMLRPC_REQUEST request);
375 char* XMLRPC_REQUEST_ToXML(XMLRPC_REQUEST request, int *buf_len);
379 const char* XMLRPC_RequestSetMethodName(XMLRPC_REQUEST request, const char* methodName);
380 const char* XMLRPC_RequestGetMethodName(XMLRPC_REQUEST request);
382 void XMLRPC_RequestFree(XMLRPC_REQUEST request, int bFreeIO);
383 XMLRPC_REQUEST_OUTPUT_OPTIONS XMLRPC_RequestSetOutputOptions(XMLRPC_REQUEST request, XMLRPC_REQUEST_OUTPUT_OPTIONS output);
384 XMLRPC_REQUEST_OUTPUT_OPTIONS XMLRPC_RequestGetOutputOptions(XMLRPC_REQUEST request);
385 XMLRPC_VALUE XMLRPC_RequestSetData(XMLRPC_REQUEST request, XMLRPC_VALU
[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_TRUNK/
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.php1671 $request = ''; variable
1682 $request .= "\n";
1686 $request .= $line;
1689 $env['CONTENT_LENGTH'] = strlen($request);
1692 if (empty($request)) {
1693 junit_mark_test_as('BORK', $shortname, $tested, null, 'empty $request');
1697 save_text($tmp_post, $request);
1705 $request = ''; variable
1716 $request .= "\n";
1720 $request
[all...]
/PHP_TRUNK/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_TRUNK/ext/soap/
H A Dphp_http.c338 char *request; local
366 request = buf;
368 /* Compress request */
405 request = Z_STRVAL(retval);
408 if (request != buf) {efree(request);}
444 if (request != buf) {efree(request);}
455 if (request != buf) {efree(request);}
[all...]
H A Dphp_http.h26 char *request,
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)
1484 Handles a SOAP request */
1594 php_error_docref(NULL TSRMLS_CC, E_WARNING,"Can't uncompress compressed request");
2034 php_error_docref(NULL TSRMLS_CC, E_WARNING, "The SoapServer::addSoapHeader function may be called only during SOAP request processing");
2546 static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *action, int version, int one_way, zval *response TSRMLS_DC) argument
2558 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size);
2560 add_soap_fault(this_ptr, "HTTP", "Error build soap request", NULL, NULL TSRMLS_CC);
2633 xmlDocPtr request = NULL; local
2717 request
3440 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_TRUNK/sapi/aolserver/
H A Daolserver.c185 * the HTTP request header
229 php_info_print_table_row(2, "HTTP Request", NSG(conn)->request->line);
331 snprintf(buf, NS_BUF_SIZE, "HTTP/%1.1f", NSG(conn)->request->version);
334 ADD_STRINGX("REQUEST_METHOD", NSG(conn)->request->method);
336 if(NSG(conn)->request->query)
337 ADD_STRINGX("QUERY_STRING", NSG(conn)->request->query);
393 NULL, /* Get request time */
400 * php_ns_module_main() is called by the per-request handler and
426 * php_ns_request_ctor() initializes the per-request data structure
442 SG(request_info).query_string = safe_strdup(NSG(conn->request
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.h40 #define FCGI_GETENV(request, name) \
41 fcgi_quick_getenv(request, name, sizeof(name)-1, FCGI_HASH_FUNC(name, sizeof(name)-1))
43 #define FCGI_PUTENV(request, name, value) \
44 fcgi_quick_putenv(request, name, sizeof(name)-1, FCGI_HASH_FUNC(name, sizeof(name)-1), value)
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
533 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
551 * of a request. So we have to do our own lookup to get env
553 fcgi_request *request = (fcgi_request*) SG(server_context); local
554 char *ret = fcgi_getenv(request, nam
614 fcgi_request *request = (fcgi_request*) SG(server_context); local
658 fcgi_request *request = (fcgi_request*) SG(server_context); local
680 fcgi_request *request = (fcgi_request*) SG(server_context); local
732 fcgi_request *request; local
844 fcgi_request *request = (fcgi_request*) SG(server_context); local
884 fcgi_request *request = (fcgi_request*) SG(server_context); local
1588 fcgi_request *request = (fcgi_request*) SG(server_context); local
1758 fcgi_request *request = NULL; local
[all...]
/PHP_TRUNK/sapi/phttpd/
H A Dphttpd.c177 NULL, /* Get request time */
188 SG(request_info).query_string = PHG(cip)->hip->request;
206 Ns_UrlToFile(&ds, server, NSG(conn->request->url));
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c893 mysqlnd_stmt_execute_generate_request(MYSQLND_STMT * const s, zend_uchar ** request, size_t *request_len, zend_bool * free_buffer TSRMLS_DC) argument
920 *request = cmd_buffer;
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);
41 enum_func_status mysqlnd_stmt_execute_batch_generate_request(MYSQLND_STMT * const s, zend_uchar ** request, size_t *request_len, zend_bool * free_buffer TSRMLS_DC);
611 zend_uchar *request = NULL; local
701 ret = s->m->generate_execute_request(s, &request, &request_len, &free_request TSRMLS_CC);
704 ret = stmt->conn->m->simple_command(stmt->conn, COM_STMT_EXECUTE, request, request_len,
708 SET_STMT_ERROR(stmt, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, "Couldn't generate the request. Possibly OOM.");
712 mnd_efree(request);
H A Dmysqlnd_structs.h786 typedef enum_func_status (*func_mysqlnd_stmt__generate_execute_request)(MYSQLND_STMT * const s, zend_uchar ** request, size_t *request_len, zend_bool * free_buffer TSRMLS_DC);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c279 fcgi_request *request = (fcgi_request*) SG(server_context); local
280 ret = fcgi_write(request, FCGI_STDOUT, str, str_length);
323 fcgi_request *request = (fcgi_request*) server_context; local
328 request && !fcgi_flush(request, 0)) {
508 fcgi_request *request = (fcgi_request*) SG(server_context); local
526 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
542 fcgi_request *request = (fcgi_request*) SG(server_context); local
543 return fcgi_getenv(request, name, name_len);
559 fcgi_request *request local
570 fcgi_request *request; local
668 fcgi_request *request = (fcgi_request*) SG(server_context); local
1493 fcgi_request *request = (fcgi_request*) SG(server_context); local
1549 fcgi_request request; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c179 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>" },
397 if (SUCCESS == zend_hash_find(&client->request.headers, "host", sizeof("host"), (void**)&val)) {
432 headers = &client->request.headers_original_case;
599 append_http_status_line(&buffer, client->request.protocol_version, SG(sapi_headers).http_response_code, 0);
625 if (FAILURE == zend_hash_find(&client->request.headers, "cookie", sizeof("cookie"), (void**)&val)) {
634 if (client->request.content) {
635 size_t content_len = client->request.content_len;
637 memmove(buf, client->request.content + client->post_read_offset, nbytes_copied);
702 spprintf(&tmp, 0, "HTTP/%d.%d", client->request
1387 php_cli_server_request_translate_vpath(php_cli_server_request *request, const char *document_root, size_t document_root_len) argument
[all...]

Completed in 66 milliseconds