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 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...]
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
324 * void XMLRPC_RequestFree(XMLRPC_REQUEST request, int bFreeIO)
328 * request -- previously allocated request struct
329 * bFreeIO -- 1 = also free request value data, if any, 0 = ignore.
335 void XMLRPC_RequestFree(XMLRPC_REQUEST request, int bFreeIO) { argument
336 if(request) {
337 simplestring_free(&request
368 XMLRPC_RequestSetMethodName(XMLRPC_REQUEST request, const char* methodName) argument
394 XMLRPC_RequestGetMethodName(XMLRPC_REQUEST request) argument
419 XMLRPC_RequestSetRequestType(XMLRPC_REQUEST request, XMLRPC_REQUEST_TYPE type) argument
450 XMLRPC_RequestGetRequestType(XMLRPC_REQUEST request) argument
480 XMLRPC_RequestSetData(XMLRPC_REQUEST request, XMLRPC_VALUE data) argument
512 XMLRPC_RequestGetData(XMLRPC_REQUEST request) argument
537 XMLRPC_RequestSetError(XMLRPC_REQUEST request, XMLRPC_VALUE error) argument
568 XMLRPC_RequestGetError(XMLRPC_REQUEST request) argument
596 XMLRPC_RequestSetOutputOptions(XMLRPC_REQUEST request, XMLRPC_REQUEST_OUTPUT_OPTIONS output) argument
627 XMLRPC_RequestGetOutputOptions(XMLRPC_REQUEST request) argument
697 XMLRPC_REQUEST_ToXML(XMLRPC_REQUEST request, int* buf_len) argument
806 XMLRPC_REQUEST request = XMLRPC_RequestNew(); local
2567 XMLRPC_ServerCallMethod(XMLRPC_SERVER server, XMLRPC_REQUEST request, void* userData) argument
[all...]
/PHP_TRUNK/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);
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);
610 zend_uchar *request = NULL; local
702 ret = s->m->generate_execute_request(s, &request, &request_len, &free_request TSRMLS_CC);
705 ret = stmt->conn->m->simple_command(stmt->conn, COM_STMT_EXECUTE, request, request_len,
709 SET_STMT_ERROR(stmt, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, "Couldn't generate the request. Possibly OOM.");
713 mnd_efree(request);
H A Dmysqlnd_ps_codec.c945 mysqlnd_stmt_execute_generate_request(MYSQLND_STMT * const s, zend_uchar ** request, size_t *request_len, zend_bool * free_buffer TSRMLS_DC) argument
972 *request = cmd_buffer;
H A Dmysqlnd_structs.h785 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/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.h26 char *request,
H A Dphp_http.c333 char *request; local
362 request = buf;
364 /* Compress request */
397 request = Z_STRVAL(retval);
402 if (request != buf) {efree(request);}
438 if (request != buf) {efree(request);}
449 if (request != buf) {efree(request);}
[all...]
H A Dsoap.c62 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);
361 ZEND_ARG_INFO(0, request)
1479 Handles a SOAP request */
1585 php_error_docref(NULL TSRMLS_CC, E_WARNING,"Can't uncompress compressed request");
2045 php_error_docref(NULL TSRMLS_CC, E_WARNING, "The SoapServer::addSoapHeader function may be called only during SOAP request processing");
2562 static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *action, int version, int one_way, zval *response TSRMLS_DC) argument
2574 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size);
2576 add_soap_fault(this_ptr, "HTTP", "Error build soap request", NULL, NULL TSRMLS_CC);
2644 xmlDocPtr request = NULL; local
2728 request
3437 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.c313 fcgi_request *request = (fcgi_request*) SG(server_context); local
316 zend_long ret = fcgi_write(request, FCGI_STDOUT, ptr, remaining);
338 fcgi_request *request = (fcgi_request*) server_context; local
344 request && !fcgi_flush(request, 0)) {
533 fcgi_request *request = (fcgi_request*) SG(server_context); local
540 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
558 * of a request. So we have to do our own lookup to get env
560 fcgi_request *request = (fcgi_request*) SG(server_context); local
561 char *ret = fcgi_getenv(request, nam
621 fcgi_request *request = (fcgi_request*) SG(server_context); local
659 fcgi_request *request = (fcgi_request*) SG(server_context); local
681 fcgi_request *request = (fcgi_request*) SG(server_context); local
733 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/fpm/fpm/
H A Dfpm_main.c281 fcgi_request *request = (fcgi_request*) SG(server_context); local
282 ret = fcgi_write(request, FCGI_STDOUT, str, str_length);
325 fcgi_request *request = (fcgi_request*) server_context; local
330 request && !fcgi_flush(request, 0)) {
510 fcgi_request *request = (fcgi_request*) SG(server_context); local
528 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
544 fcgi_request *request = (fcgi_request*) SG(server_context); local
545 return fcgi_getenv(request, name, name_len);
561 fcgi_request *request local
572 fcgi_request *request; local
658 fcgi_request *request = (fcgi_request*) SG(server_context); local
1521 fcgi_request *request = (fcgi_request*) SG(server_context); local
1577 fcgi_request request; 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/
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.php1677 $request = ''; variable
1688 $request .= "\n";
1692 $request .= $line;
1695 $env['CONTENT_LENGTH'] = strlen($request);
1698 if (empty($request)) {
1699 junit_mark_test_as('BORK', $shortname, $tested, null, 'empty $request');
1703 save_text($tmp_post, $request);
1711 $request = ''; variable
1722 $request .= "\n";
1726 $request
[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 (NULL != (val = zend_hash_str_find_ptr(&client->request.headers, "host", sizeof("host")-1))) {
425 headers = &client->request.headers_original_case;
590 append_http_status_line(&buffer, client->request.protocol_version, SG(sapi_headers).http_response_code, 0);
616 if (NULL == (val = zend_hash_str_find_ptr(&client->request.headers, "cookie", sizeof("cookie")-1))) {
625 if (client->request.content) {
626 size_t content_len = client->request.content_len;
628 memmove(buf, client->request.content + client->post_read_offset, nbytes_copied);
693 spprintf(&tmp, 0, "HTTP/%d.%d", client->request
1398 php_cli_server_request_translate_vpath(php_cli_server_request *request, const char *document_root, size_t document_root_len) argument
[all...]

Completed in 62 milliseconds