/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/testdata/handlers/sub/ |
no_wsh_at_the_end.py | 35 def web_socket_do_extra_handshake(request): 39 def web_socket_transfer_data(request): 40 request.connection.write( 42 (request.ws_resource, request.ws_protocol))
|
plain_wsh.py | 31 def web_socket_do_extra_handshake(request): 35 def web_socket_transfer_data(request): 36 request.connection.write('sub/plain_wsh.py is called for %s, %s' % 37 (request.ws_resource, request.ws_protocol))
|
wrong_handshake_sig_wsh.py | 35 def no_web_socket_do_extra_handshake(request): 39 def web_socket_transfer_data(request): 40 request.connection.write( 42 (request.ws_resource, request.ws_protocol))
|
wrong_transfer_sig_wsh.py | 35 def web_socket_do_extra_handshake(request): 39 def no_web_socket_transfer_data(request): 40 request.connection.write( 42 (request.ws_resource, request.ws_protocol))
|
exception_in_transfer_wsh.py | 35 def web_socket_do_extra_handshake(request): 39 def web_socket_transfer_data(request): 41 (request.ws_resource, request.ws_protocol))
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
origin_check_wsh.py | 33 def web_socket_do_extra_handshake(request): 34 if request.ws_origin == 'http://example.com': 36 raise ValueError('Unacceptable origin: %r' % request.ws_origin) 39 def web_socket_transfer_data(request): 40 request.connection.write('origin_check_wsh.py is called for %s, %s' % 41 (request.ws_resource, request.ws_protocol))
|
echo_wsh.py | 34 def web_socket_do_extra_handshake(request): 35 # This example handler accepts any request. See origin_check_wsh.py for how 41 def web_socket_transfer_data(request): 43 line = request.ws_stream.receive_message() 47 request.ws_stream.send_message(line, binary=False) 51 request.ws_stream.send_message(line, binary=True)
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/testdata/handlers/ |
origin_check_wsh.py | 31 def web_socket_do_extra_handshake(request): 32 if request.ws_origin == 'http://example.com': 34 raise ValueError('Unacceptable origin: %r' % request.ws_origin) 37 def web_socket_transfer_data(request): 38 request.connection.write('origin_check_wsh.py is called for %s, %s' % 39 (request.ws_resource, request.ws_protocol))
|
/external/e2fsprogs/tests/progs/ |
test_icount_cmds.ct | 10 request do_create_icount, "Create an icount structure", 13 request do_free_icount, "Free an icount structure", 16 request do_fetch, "Fetch an icount entry", 19 request do_increment, "Increment an icount entry", 22 request do_decrement, "Decrement an icount entry", 25 request do_store, "Store an icount entry", 28 request do_get_size, "Get the size of the icount structure", 31 request do_dump, "Dump the icount structure", 34 request do_validate, "Validate the icount structure",
|
test_rel_cmds.ct | 11 request do_brel_ma_create, "Open a memory array block relocation table", 14 request do_brel_free, "Free a block relocation table", 17 request do_brel_put, "Add or modify a block relocation entry", 20 request do_brel_get, "Get a block relocation entry", 23 request do_brel_start_iter, "Start iterating over the block table", 26 request do_brel_next, "Get the next block relocation entry", 29 request do_brel_dump, "Dump the block relocation table", 32 request do_brel_move, "Move an entry in the block relocation table", 35 request do_brel_delete, "Delete an entry in the block relocation table", 42 request do_irel_ma_create, "Open a memory array inode relocation table" [all...] |
/external/e2fsprogs/debugfs/ |
debug_cmds.ct | 7 request do_show_debugfs_params, "Show debugfs parameters", 10 request do_open_filesys, "Open a filesystem", 13 request do_close_filesys, "Close the filesystem", 16 request do_features, "Set/print superblock features", 19 request do_dirty_filesys, "Mark the filesystem as dirty", 22 request do_init_filesys, "Initialize a filesystem (DESTROYS DATA)", 25 request do_show_super_stats, "Show superblock statistics", 28 request do_ncheck, "Do inode->name translation", 31 request do_icheck, "Do block->inode translation", 34 request do_chroot, "Change root directory" [all...] |
/external/webkit/Source/WebCore/manual-tests/resources/multiFileResources/ |
post-echo-and-notify-done.cgi | 6 read(STDIN, $request, $ENV{'CONTENT_LENGTH'}) 8 print "<pre>$request</pre>";
|
/external/e2fsprogs/lib/ext2fs/ |
extent_dbg.ct | 7 request do_inode, "Open an inode", 10 request do_current_node, "Current extent node", 13 request do_root_node, "Goto root extent", 16 request do_last_leaf, "Goto last leaf", 19 request do_first_sib, "Goto first sibling", 22 request do_last_sib, "Goto last sibling", 25 request do_next_sib, "Goto next sibling", 28 request do_prev_sib, "Goto previous sibling", 31 request do_next_leaf, "Goto next leaf", 34 request do_prev_leaf, "Goto previous leaf" [all...] |
/external/chromium/net/base/ |
network_delegate.cc | 11 int NetworkDelegate::NotifyBeforeURLRequest(URLRequest* request, 15 DCHECK(request); 17 return OnBeforeURLRequest(request, callback, new_url); 29 void NetworkDelegate::NotifyResponseStarted(URLRequest* request) { 31 DCHECK(request); 32 OnResponseStarted(request); 35 void NetworkDelegate::NotifyReadCompleted(URLRequest* request, int bytes_read) { 37 DCHECK(request); 38 OnReadCompleted(request, bytes_read); 41 void NetworkDelegate::NotifyURLRequestDestroyed(URLRequest* request) { [all...] |
network_delegate.h | 38 int NotifyBeforeURLRequest(URLRequest* request, 44 void NotifyResponseStarted(URLRequest* request); 45 void NotifyReadCompleted(URLRequest* request, int bytes_read); 46 void NotifyURLRequestDestroyed(URLRequest* request); 48 // Returns a URLRequestJob that will be used to handle the request if 51 // so that we can perform Delegate-dependent request handling from the static 54 URLRequestJob* MaybeCreateURLRequestJob(URLRequest* request); 61 // Called before a request is sent. Allows the delegate to rewrite the URL 63 // time, but will have no effect if the request has already been cancelled or 65 // the request or ERR_IO_PENDING if the result is not ready yet [all...] |
/external/chromium/chrome/browser/webdata/ |
web_data_service_win.cc | 12 GenericRequest<IE7PasswordInfo>* request = local 15 RegisterRequest(request); 17 request)); 21 GenericRequest<IE7PasswordInfo>* request = local 24 RegisterRequest(request); 26 request)); 32 GenericRequest<IE7PasswordInfo>* request = local 35 RegisterRequest(request); 37 request)); 38 return request->GetHandle() [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
ExtractedTextRequestTest.java | 27 ExtractedTextRequest request = new ExtractedTextRequest(); local 28 request.flags = 1; 29 request.hintMaxChars = 100; 30 request.hintMaxLines = 10; 31 request.token = 2; 33 assertEquals(0, request.describeContents()); 36 request.writeToParcel(p, 0); 40 assertEquals(request.flags, target.flags); 41 assertEquals(request.hintMaxChars, request.hintMaxChars) [all...] |
/development/ndk/sources/android/libportable/arch-x86/ |
ioctl.c | 25 static inline int x86_change_request(int request) 27 if (request == FIOQSIZE_PORTABLE) 30 return request; 34 int ioctl_portable(int fd, int request, ...) 39 va_start(ap, request); 43 return __ioctl(fd, x86_change_request(request), arg);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
VCardImportExportListener.java | 24 void onImportProcessed(ImportRequest request, int jobId, int sequence); 25 void onImportParsed(ImportRequest request, int jobId, VCardEntry entry, int currentCount, 27 void onImportFinished(ImportRequest request, int jobId, Uri uri); 28 void onImportFailed(ImportRequest request); 29 void onImportCanceled(ImportRequest request, int jobId); 31 void onExportProcessed(ExportRequest request, int jobId); 32 void onExportFailed(ExportRequest request); 34 void onCancelRequest(CancelRequest request, int type);
|
/external/kernel-headers/original/linux/ |
elevator.h | 4 typedef int (elevator_merge_fn) (request_queue_t *, struct request **, 7 typedef void (elevator_merge_req_fn) (request_queue_t *, struct request *, struct request *); 9 typedef void (elevator_merged_fn) (request_queue_t *, struct request *); 13 typedef void (elevator_add_req_fn) (request_queue_t *, struct request *); 15 typedef struct request *(elevator_request_list_fn) (request_queue_t *, struct request *); 16 typedef void (elevator_completed_req_fn) (request_queue_t *, struct request *); 19 typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, struct bio *, gfp_t); 20 typedef void (elevator_put_req_fn) (request_queue_t *, struct request *); [all...] |
/external/webkit/Source/WebKit/gtk/tests/ |
testnetworkrequest.c | 32 WebKitNetworkRequest* request; local 36 request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "uri", "http://debian.org/", NULL)); 37 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); 38 message = webkit_network_request_get_message(request); 40 g_object_unref(request); 44 request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "message", message, NULL)); 45 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); 47 g_object_unref(request); 53 request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "message", message, "uri", "http://gnome.org/", NULL)); 54 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); 64 WebKitNetworkRequest* request; local [all...] |
/frameworks/base/core/jni/ |
android_hardware_UsbRequest.cpp | 62 struct usb_request* request = usb_request_new(device, &desc); local 63 if (request) 64 env->SetIntField(thiz, field_context, (int)request); 65 return (request != NULL); 72 struct usb_request* request = get_request_from_object(env, thiz); local 73 if (request) { 74 usb_request_free(request); 83 struct usb_request* request = get_request_from_object(env, thiz); local 84 if (!request) { 85 ALOGE("request is closed in native_queue") 121 struct usb_request* request = get_request_from_object(env, thiz); local 140 struct usb_request* request = get_request_from_object(env, thiz); local 170 struct usb_request* request = get_request_from_object(env, thiz); local 183 struct usb_request* request = get_request_from_object(env, thiz); local [all...] |
/frameworks/support/volley/src/com/android/volley/ |
NetworkDispatcher.java | 34 private final BlockingQueue<Request> mQueue; 53 public NetworkDispatcher(BlockingQueue<Request> queue, 74 Request request; local 77 // Take a request from the queue. 78 request = mQueue.take(); 88 request.addMarker("network-queue-take"); 90 // If the request was cancelled already, do not perform the 91 // network request. 92 if (request.isCanceled()) [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_handshake_draft75.py | 134 ( # HTTP request 388 request = _create_request(_GOOD_REQUEST) 389 request.connection.get_memorized_lines = _create_get_memorized_lines( 391 requests.append(request) 399 request = _create_request(_GOOD_REQUEST) 400 handshaker = handshake.Handshaker(request, 404 request.connection.written_data()) 405 self.assertEqual('/demo', request.ws_resource) 406 self.assertEqual('http://example.com', request.ws_origin) 407 self.assertEqual('ws://example.com/demo', request.ws_location [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
RequestContent.java | 46 * A request interceptor that decides about the transport encoding. 60 public void process(final HttpRequest request, final HttpContext context) 62 if (request == null) { 63 throw new IllegalArgumentException("HTTP request may not be null"); 65 if (request instanceof HttpEntityEnclosingRequest) { 66 if (request.containsHeader(HTTP.TRANSFER_ENCODING)) { 69 if (request.containsHeader(HTTP.CONTENT_LEN)) { 72 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); 73 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); 75 request.addHeader(HTTP.CONTENT_LEN, "0") [all...] |