/third_party/node/test/parallel/ |
H A D | test-http2-compat-socket.js | 27 server.on('request', common.mustCall(function(request, response) { 29 assert.ok(response.socket instanceof net.Socket); 30 assert.strictEqual(request.socket, response.socket); 52 response.socket.destroy(); 54 response.on('finish', common.mustCall(() => { 56 assert.strictEqual(response.socket, undefined);
|
H A D | test-child-process-exec-env.js | 30 let response = ''; 56 response += chunk; 60 debug('response: ', response); 63 assert.ok(response.includes('HELLO=WORLD'));
|
H A D | test-net-autoselectfamily.js | 79 socket.write('response-ipv4'); 95 let response = ''; 103 response += chunk; 107 assert.strictEqual(response, 'response-ipv4'); 125 socket.write('response-ipv4'); 141 let response = ''; 159 response += chunk; 163 assert.strictEqual(response, 'response [all...] |
H A D | test-https-server-close-all.js | 43 let response = ''; 47 response += chunk; 49 if (response.endsWith('0\r\n\r\n')) { 50 assert(response.startsWith('HTTP/1.1 200 OK\r\nConnection: keep-alive'));
|
H A D | test-https-autoselectfamily.js | 84 res.end('response-ipv4'); 99 let response = ''; 102 response += chunk; 106 assert.strictEqual(response, 'response-ipv4'); 122 res.end('response-ipv4'); 128 res.end('response-ipv6'); 146 let response = ''; 149 response += chunk; 153 assert.strictEqual(response, 'respons [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | service_reflection_test.py | 52 def CallMethod(self, method, controller, request, response, callback): 56 callback(response) 69 def MyCallback(response): 70 self.callback_response = response 122 def MyCallback(response): 123 self.callback_response = response
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
H A D | service_reflection_test.py | 47 def CallMethod(self, method, controller, request, response, callback): 51 callback(response) 64 def MyCallback(response): 65 self.callback_response = response 113 def MyCallback(response): 114 self.callback_response = response
|
/third_party/selinux/libsepol/src/ |
H A D | ibendports.c | 110 const sepol_policydb_t *p, unsigned int *response) in sepol_ibendport_count() 120 *response = count; in sepol_ibendport_count() 128 const sepol_ibendport_key_t *key, int *response) in sepol_ibendport_exists() 144 *response = 1; in sepol_ibendport_exists() 149 *response = 0; in sepol_ibendport_exists() 156 sepol_ibendport_t **response) in sepol_ibendport_query() 172 if (ibendport_to_record(handle, policydb, c, response) < 0) in sepol_ibendport_query() 178 *response = NULL; in sepol_ibendport_query() 109 sepol_ibendport_count(sepol_handle_t *handle __attribute__ ((unused)), const sepol_policydb_t *p, unsigned int *response) sepol_ibendport_count() argument 126 sepol_ibendport_exists(sepol_handle_t *handle __attribute__ ((unused)), const sepol_policydb_t *p, const sepol_ibendport_key_t *key, int *response) sepol_ibendport_exists() argument 153 sepol_ibendport_query(sepol_handle_t *handle, const sepol_policydb_t *p, const sepol_ibendport_key_t *key, sepol_ibendport_t **response) sepol_ibendport_query() argument
|
H A D | nodes.c | 148 const sepol_policydb_t * p, unsigned int *response) in sepol_node_count() 163 *response = count; in sepol_node_count() 171 const sepol_node_key_t * key, int *response) in sepol_node_exists() 193 *response = 1; in sepol_node_exists() 208 *response = 1; in sepol_node_exists() 219 *response = 0; in sepol_node_exists() 231 const sepol_node_key_t * key, sepol_node_t ** response) in sepol_node_query() 255 response) < 0) in sepol_node_query() 274 response) < 0) in sepol_node_query() 285 *response in sepol_node_query() 147 sepol_node_count(sepol_handle_t * handle __attribute__ ((unused)), const sepol_policydb_t * p, unsigned int *response) sepol_node_count() argument 169 sepol_node_exists(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_node_key_t * key, int *response) sepol_node_exists() argument 229 sepol_node_query(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_node_key_t * key, sepol_node_t ** response) sepol_node_query() argument [all...] |
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | benchmark.c | 48 static struct MHD_Response *response; variable 114 return MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo() 129 response = MHD_create_response_from_buffer (strlen (PAGE), in main() 133 (void) MHD_add_response_header (response, in main() 154 MHD_destroy_response (response); in main()
|
H A D | chunked_example.c | 49 struct MHD_Response *response; in ahc_echo() local 61 response = MHD_create_response_from_callback (MHD_SIZE_UNKNOWN, in ahc_echo() 66 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo() 67 MHD_destroy_response (response); in ahc_echo()
|
H A D | dual_stack_example.c | 40 struct MHD_Response *response; in ahc_echo() local 52 response = MHD_create_response_from_buffer (strlen (me), in ahc_echo() 55 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo() 56 MHD_destroy_response (response); in ahc_echo()
|
H A D | minimal_example.c | 40 struct MHD_Response *response; in ahc_echo() local 52 response = MHD_create_response_from_buffer (strlen (me), in ahc_echo() 55 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo() 56 MHD_destroy_response (response); in ahc_echo()
|
H A D | minimal_example_comet.c | 47 struct MHD_Response *response; in ahc_echo() local 59 response = MHD_create_response_from_callback (MHD_SIZE_UNKNOWN, in ahc_echo() 62 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo() 63 MHD_destroy_response (response); in ahc_echo()
|
/third_party/NuttX/fs/nfs/ |
H A D | rpc_clnt.c | 664 } response; in rpcclnt_connect() local 736 (void *)&response.rdata, sizeof(struct rpc_reply_pmap)); in rpcclnt_connect() 744 sa->sin_port = htons(fxdr_unsigned(uint32_t, response.rdata.pmap.port)); in rpcclnt_connect() 773 (void *)&response.mdata, in rpcclnt_connect() 781 error = fxdr_unsigned(uint32_t, response.mdata.mount.status); in rpcclnt_connect() 788 rpc->rc_fhsize = fxdr_unsigned(uint32_t, response.mdata.mount.fhandle.length); in rpcclnt_connect() 789 memcpy(&rpc->rc_fh, &response.mdata.mount.fhandle.handle, rpc->rc_fhsize); in rpcclnt_connect() 812 (void *)&response.rdata, in rpcclnt_connect() 820 sa->sin_port = htons(fxdr_unsigned(uint32_t, response.rdata.pmap.port)); in rpcclnt_connect() 876 } response; in rpcclnt_umount() local 963 rpcclnt_request(struct rpcclnt *rpc, int procnum, int prog, int version, void *request, size_t reqlen, void *response, size_t resplen) rpcclnt_request() argument [all...] |
/third_party/node/deps/v8/tools/link_clicker.extension/ |
H A D | popup.js | 24 chrome.runtime.sendMessage({type:'get'}, function(response) { 25 updateFromMessage(response); 50 chrome.runtime.sendMessage(message, function(response) { 51 updateFromMessage(response);
|
/third_party/skia/third_party/externals/microhttpd/doc/examples/ |
H A D | hellobrowser.c | 24 struct MHD_Response *response; in answer_to_connection() local 27 response = in answer_to_connection() 30 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in answer_to_connection() 31 MHD_destroy_response (response); in answer_to_connection()
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/jsonrpc2/ |
H A D | jsonrpc2.go | 107 // It will return as soon as the notification has been sent, as no response is 137 // Call sends a request over the connection and then waits for a response. 138 // If the response is not an error, it will be decoded into result. 161 // are racing the response 167 // clean up the pending response handler on the way out 181 // sending failed, we will never get a response, so don't leave it pending 184 // now wait for the response 186 case response := <-rchan: 188 ctx = h.Response(ctx, c, Receive, response) 190 // is it an error response [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/ |
H A D | jsonrpc2.go | 107 // It will return as soon as the notification has been sent, as no response is 137 // Call sends a request over the connection and then waits for a response. 138 // If the response is not an error, it will be decoded into result. 161 // are racing the response 167 // clean up the pending response handler on the way out 181 // sending failed, we will never get a response, so don't leave it pending 184 // now wait for the response 186 case response := <-rchan: 188 ctx = h.Response(ctx, c, Receive, response) 190 // is it an error response [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | structures.c | 279 SPDY_destroy_response(struct SPDY_Response *response) in SPDY_destroy_response() argument 281 if(NULL == response) in SPDY_destroy_response() 283 free(response->data); in SPDY_destroy_response() 284 free(response->headers); in SPDY_destroy_response() 285 free(response); in SPDY_destroy_response() 293 struct SPDY_Response *response, in SPDYF_response_queue_create() 310 || ((0 == data_size) && (NULL != response->rcb)) in SPDYF_response_queue_create() 311 || ((0 < data_size) && (NULL == response->rcb)), in SPDYF_response_queue_create() 356 response_to_queue->response = response; in SPDYF_response_queue_create() 290 SPDYF_response_queue_create(bool is_data, void *data, size_t data_size, struct SPDY_Response *response, struct SPDYF_Stream *stream, bool closestream, SPDYF_ResponseQueueResultCallback frqcb, void *frqcb_cls, SPDY_ResponseResultCallback rrcb, void *rrcb_cls) SPDYF_response_queue_create() argument [all...] |
/third_party/spirv-tools/utils/vscode/src/lsp/jsonrpc2/ |
H A D | jsonrpc2.go | 107 // It will return as soon as the notification has been sent, as no response is 137 // Call sends a request over the connection and then waits for a response. 138 // If the response is not an error, it will be decoded into result. 161 // are racing the response 167 // clean up the pending response handler on the way out 181 // sending failed, we will never get a response, so don't leave it pending 184 // now wait for the response 186 case response := <-rchan: 188 ctx = h.Response(ctx, c, Receive, response) 190 // is it an error response [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | ts.c | 118 {"verify", OPT_VERIFY, '-', "Verify a TS response"}, 154 " [-queryfile request.tsq] -in response.tsr [-token_in] ...", 591 TS_RESP *response = NULL; in reply_command() local 602 response = read_PKCS7(in_bio); in reply_command() 604 response = d2i_TS_RESP_bio(in_bio, NULL); in reply_command() 607 response = create_response(conf, section, engine, queryfile, in reply_command() 609 if (response != NULL) in reply_command() 614 if (response == NULL) in reply_command() 617 /* Write response. */ in reply_command() 622 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); in reply_command() 698 TS_RESP *response = NULL; create_response() local 854 TS_RESP *response = NULL; verify_command() local [all...] |
/third_party/openssl/apps/ |
H A D | ts.c | 118 {"verify", OPT_VERIFY, '-', "Verify a TS response"}, 154 " [-queryfile request.tsq] -in response.tsr [-token_in] ...", 591 TS_RESP *response = NULL; in reply_command() local 602 response = read_PKCS7(in_bio); in reply_command() 604 response = d2i_TS_RESP_bio(in_bio, NULL); in reply_command() 607 response = create_response(conf, section, engine, queryfile, in reply_command() 609 if (response != NULL) in reply_command() 614 if (response == NULL) in reply_command() 617 /* Write response. */ in reply_command() 622 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); in reply_command() 698 TS_RESP *response = NULL; create_response() local 854 TS_RESP *response = NULL; verify_command() local [all...] |
/third_party/node/test/addons/openssl-client-cert-engine/ |
H A D | test.js | 46 const req = https.request(clientOptions, common.mustCall((response) => { 48 response.setEncoding('utf8'); 49 response.on('data', (chunk) => { 53 response.on('end', common.mustCall(() => {
|
/third_party/node/test/fixtures/wpt/FileAPI/url/ |
H A D | url-with-fetch.any.js | 4 return fetch(request).then(response => response.text()); 19 return fetch(url).then(response => { 20 assert_equals(response.headers.get('Content-Type'), blob_type);
|