/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
RenderingRequest.java | 60 RenderingRequest request = new RenderingRequest(); local 73 request.setBitmap(bitmap); 76 request.setOriginalImagePreset(preset); 77 request.setScaleFactor(MasterImage.getImage().getScaleFactor()); 80 request.setBounds(bounds); 81 request.setDestination(destination); 85 request.setImagePreset(passedPreset); 86 request.setType(type); 87 request.setCaller(caller); 88 request.post() [all...] |
/external/bison/lib/ |
fd-hook.c | 53 int fd, int request, void *arg) 57 return primary (fd, request, arg); 60 primary, fd, request, arg); 65 int fd, int request, void *arg) 67 return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg);
|
/external/chromium/chrome/browser/net/ |
connection_tester.cc | 245 // be deleted any time after it is started, and this will abort the request. 259 virtual void OnResponseStarted(net::URLRequest* request); 260 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read); 269 void ReadBody(net::URLRequest* request); 271 // Called when the request has completed (for both success and failure). 272 void OnResponseCompleted(net::URLRequest* request); 283 void ConnectionTester::TestRunner::OnResponseStarted(net::URLRequest* request) { 284 if (!request->status().is_success()) { 285 OnResponseCompleted(request); 290 ReadBody(request); [all...] |
/external/e2fsprogs/lib/ss/ |
test_ss.c | 86 char *request = (char *)NULL; local 94 request = optarg; 100 com_err(argv[0], 0, "Usage: test_ss [-R request] " 122 if (request) { 123 code = ss_execute_line(sci_idx, request); 125 ss_perror(sci_idx, code, request);
|
execute_cmd.c | 34 * Gets the idx'th request from the request table pointed to 38 * pointer to request table 43 * pointer to request table entry 66 * If the command string in argv[0] is in the request table, execute 71 * pointer to request table 91 struct _ss_request_entry *request; local 93 register ss_request_entry *request; 103 for (i = 0; (request = get_request(rqtbl, i))->command_names; i++) { 104 for (name = request->command_names; *name; name++ [all...] |
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
ChunkHandler.java | 50 * Handle a single chunk of data. "request" includes the type and 55 public abstract Chunk handleChunk(Chunk request); 77 public static ByteBuffer wrapChunk(Chunk request) { 80 in = ByteBuffer.wrap(request.data, request.offset, request.length);
|
/external/chromium/chrome/browser/password_manager/ |
password_store_x.cc | 101 void PasswordStoreX::GetLoginsImpl(GetLoginsRequest* request, 104 if (use_native_backend() && backend_->GetLogins(form, &request->value)) { 105 ForwardLoginsResult(request); 108 PasswordStoreDefault::GetLoginsImpl(request, form); 111 ForwardLoginsResult(request); 115 void PasswordStoreX::GetAutofillableLoginsImpl(GetLoginsRequest* request) { 118 backend_->GetAutofillableLogins(&request->value)) { 119 ForwardLoginsResult(request); 122 PasswordStoreDefault::GetAutofillableLoginsImpl(request); 125 ForwardLoginsResult(request); [all...] |
/external/webkit/Source/WebCore/loader/ |
ResourceLoadNotifier.cpp | 103 void ResourceLoadNotifier::assignIdentifierToInitialRequest(unsigned long identifier, DocumentLoader* loader, const ResourceRequest& request) 105 m_frame->loader()->client()->assignIdentifierToInitialRequest(identifier, loader, request); 108 void ResourceLoadNotifier::dispatchWillSendRequest(DocumentLoader* loader, unsigned long identifier, ResourceRequest& request, const ResourceResponse& redirectResponse) 110 StringImpl* oldRequestURL = request.url().string().impl(); 111 m_frame->loader()->documentLoader()->didTellClientAboutLoad(request.url()); 113 m_frame->loader()->client()->dispatchWillSendRequest(loader, identifier, request, redirectResponse); 116 if (!request.isNull() && oldRequestURL != request.url().string().impl()) 117 m_frame->loader()->documentLoader()->didTellClientAboutLoad(request.url()); 119 InspectorInstrumentation::willSendRequest(m_frame, identifier, loader, request, redirectResponse) [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
WebDownload.mm | 50 request:(NSURLRequest *)request 54 - (id)_initWithRequest:(NSURLRequest *)request 108 - (NSURLRequest *)download:(NSURLDownload *)download willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse 110 return [realDelegate download:download willSendRequest:request redirectResponse:redirectResponse]; 222 - (id)initWithRequest:(NSURLRequest *)request delegate:(id<NSURLDownloadDelegate>)delegate 225 return [super initWithRequest:request delegate:_webInternal]; 229 request:(NSURLRequest *)request 235 return [super _initWithLoadingConnection:connection request:request response:response delegate:_webInternal proxy:proxy] [all...] |
/external/chromium/chrome/browser/history/ |
history_backend.h | 123 void AddPage(scoped_refptr<HistoryAddPageArgs> request); 140 void QueryURL(scoped_refptr<QueryURLRequest> request, 143 void QueryHistory(scoped_refptr<QueryHistoryRequest> request, 146 void QueryRedirectsFrom(scoped_refptr<QueryRedirectsRequest> request, 148 void QueryRedirectsTo(scoped_refptr<QueryRedirectsRequest> request, 151 void GetVisitCountToHost(scoped_refptr<GetVisitCountToHostRequest> request, 156 scoped_refptr<QueryTopURLsAndRedirectsRequest> request, 159 // Request the |result_count| most visited URLs and the chain of 163 scoped_refptr<QueryMostVisitedURLsRequest> request, 167 // QueryMostVisitedURLs without the request [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
ProxySelectorRoutePlanner.java | 119 HttpRequest request, 123 if (request == null) { 125 ("Request must not be null."); 130 ConnRouteParams.getForcedRoute(request.getParams()); 143 ConnRouteParams.getLocalAddress(request.getParams()); 146 // If the client or request explicitly specifies a proxy (or no 148 HttpHost proxy = (HttpHost) request.getParams().getParameter(ConnRoutePNames.DEFAULT_PROXY); 150 proxy = determineProxy(target, request, context); 176 * @param request the request to be sent, never <code>null</code [all...] |
/external/chromium/chrome/browser/prerender/ |
prerender_resource_handler.cc | 53 const net::URLRequest& request, 61 if (!(request.load_flags() & net::LOAD_PREFETCH)) 63 if (!ShouldPrerenderURL(request.url())) 65 if (request.method() != "GET") 68 return new PrerenderResourceHandler(request, 77 const net::URLRequest& request, 88 request_(request), 97 const net::URLRequest& request, 102 request_(request) {
|
/external/chromium/net/url_request/ |
url_request_filter.cc | 18 URLRequestJob* URLRequestFilter::Factory(URLRequest* request, 21 return GetInstance()->FindRequestHandler(request, scheme); 120 URLRequest* request, 123 if (request->url().is_valid()) { 125 const std::string& hostname = request->url().host(); 130 job = i->second(request, scheme); 134 const std::string& url = request->url().spec(); 137 job = i->second(request, scheme); 141 DVLOG(1) << "URLRequestFilter hit for " << request->url().spec();
|
/external/protobuf/python/google/protobuf/ |
service_reflection.py | 144 rpc_controller, request, callback): 146 rpc_controller, request, callback) 157 rpc_controller, request, callback): 164 request: Request protocol message. 171 return method(rpc_controller, request, callback) 174 """Returns the class of the request protocol message. 178 request protocol message class. 215 return lambda inst, rpc_controller, request, callback: ( 266 return (lambda inst, rpc_controller, request, callback=None [all...] |
/external/webkit/Source/WebCore/platform/network/ |
ResourceHandle.cpp | 42 ResourceHandle::ResourceHandle(const ResourceRequest& request, ResourceHandleClient* client, bool defersLoading, bool shouldContentSniff) 43 : d(new ResourceHandleInternal(this, request, client, defersLoading, shouldContentSniff && shouldContentSniffURL(request.url()))) 45 if (!request.url().isValid()) { 50 if (!portAllowed(request.url())) { 56 PassRefPtr<ResourceHandle> ResourceHandle::create(NetworkingContext* context, const ResourceRequest& request, ResourceHandleClient* client, bool defersLoading, bool shouldContentSniff) 59 if (request.url().protocolIs("blob")) { 60 PassRefPtr<ResourceHandle> handle = blobRegistry().createResourceHandle(request, client); 66 RefPtr<ResourceHandle> newHandle(adoptRef(new ResourceHandle(request, client, defersLoading, shouldContentSniff)));
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
WebResponse.cpp | 40 WebResponse::WebResponse(net::URLRequest* request) 44 m_error = net::Error(request->status().os_error()); 46 m_url = request->url().spec(); 47 m_host = request->url().HostNoBrackets(); 48 request->GetMimeType(&m_mime); 50 request->GetCharset(&m_encoding); 51 m_expectedSize = request->GetExpectedContentSize(); 53 m_sslInfo = request->ssl_info(); 55 net::HttpResponseHeaders* responseHeaders = request->response_headers();
|
/frameworks/av/media/libstagefright/chromium_http/ |
support.h | 111 net::URLRequest *request, const GURL &new_url, bool *defer_redirect); 114 net::URLRequest *request, net::AuthChallengeInfo *auth_info); 117 net::URLRequest *request, net::SSLCertRequestInfo *cert_request_info); 120 net::URLRequest *request, int cert_error, net::X509Certificate *cert); 122 virtual void OnGetCookies(net::URLRequest *request, bool blocked_by_policy); 125 net::URLRequest *request, 130 virtual void OnResponseStarted(net::URLRequest *request); 132 virtual void OnReadCompleted(net::URLRequest *request, int bytes_read); 152 void readMore(net::URLRequest *request);
|
/libcore/luni/src/test/java/libcore/io/ |
OsTest.java | 78 byte[] request = new byte[256]; 79 int requestLength = Libcore.os.read(clientFd, request, 0, request.length); 81 String s = new String(request, "UTF-8"); 100 byte[] request = string.getBytes("UTF-8"); 101 assertEquals(request.length, Libcore.os.write(clientFd, request, 0, request.length)); 103 byte[] response = new byte[request.length];
|
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 143 // first try a minimal request 144 DownloadManager.Request request = new DownloadManager.Request(Uri.parse("http://localhost/path")); local 145 mManager.enqueue(request); 148 request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI); 149 request.setAllowedOverRoaming(false); 150 request.setTitle("test"); 151 request.setDescription("test") [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
LeafNode.java | 69 PubSub request = createPubsubPacket(Type.GET, new GetItemsRequest(getId()));
local 71 PubSub result = (PubSub)SyncPacketSend.getReply(con, request);
90 PubSub request = createPubsubPacket(Type.GET, new GetItemsRequest(getId(), subscriptionId));
local 92 PubSub result = (PubSub)SyncPacketSend.getReply(con, request);
119 PubSub request = createPubsubPacket(Type.GET, new ItemsExtension(ItemsExtension.ItemsElementType.items, getId(), itemList));
local 121 PubSub result = (PubSub)SyncPacketSend.getReply(con, request);
138 PubSub request = createPubsubPacket(Type.GET, new GetItemsRequest(getId(), maxItems));
local 140 PubSub result = (PubSub)SyncPacketSend.getReply(con, request);
160 PubSub request = createPubsubPacket(Type.GET, new GetItemsRequest(getId(), subscriptionId, maxItems));
local 162 PubSub result = (PubSub)SyncPacketSend.getReply(con, request);
313 PubSub request = createPubsubPacket(Type.SET, new NodeExtension(PubSubElementType.PURGE_OWNER, getId()), PubSubElementType.PURGE_OWNER.getNamespace()); local 349 PubSub request = createPubsubPacket(Type.SET, new ItemsExtension(ItemsExtension.ItemsElementType.retract, getId(), items)); local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
FakeHttpLayer.java | 44 public HttpResponse getResponse(HttpRequest request) { 73 * @param requestMatcher Request matcher 110 throw new RuntimeException("Unexpected call to execute, no pending responses are available. See Robolectric.addPendingResponse(). Request was: " + 214 public boolean matches(HttpRequest request) { 215 return requestMatcher.matches(request); 243 public boolean matches(HttpRequest request) { 244 return request.getRequestLine().getMethod().equals(method) && 245 request.getRequestLine().getUri().equals(uri); 257 public boolean matches(HttpRequest request) { 258 return request.getRequestLine().getUri().equals(uri) [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerFunctionalTest.java | 20 import android.app.DownloadManager.Request; 76 Request request = new Request(uri); local 77 request.setTitle(DEFAULT_FILENAME); 79 long dlRequest = mDownloadManager.enqueue(request); 158 Request request = new Request(uri); local 161 request.setDestinationUri(localUri) 196 Request request = new Request(uri); local 227 Request request = new Request(uri); local 336 Request request = new Request(uri); local 365 Request request = new Request(uri); local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
httpclient.cc | 63 bool verb_allows_cache = (t.request.verb == HV_GET) 64 || (t.request.verb == HV_HEAD); 68 has_expires || (std::string::npos != t.request.path.find('?')); 124 // TODO: Timestamp when cache request sent and response received? 169 HttpRequestValidatorLevel(const HttpRequestData& request) { 170 if (HV_GET != request.verb) 172 return request.hasHeader(HH_RANGE, NULL) ? HVS_STRONG : HVS_WEAK; 195 std::string GetCacheID(const HttpRequestData& request) { 197 id.append(ToString(request.verb)); 199 request.getAbsoluteUri(&url) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_webrequest_api.cc | 94 static void ExtractRequestInfo(net::URLRequest* request, 98 if (!request->GetUserData(NULL)) 102 ResourceDispatcherHost::InfoForRequest(request); 199 // If non-empty, this contains the new URL that the request will redirect to. 202 // Time the request was issued. Used for logging purposes. 294 net::URLRequest* request, 304 ExtractRequestInfo(request, &tab_id, &window_id, &resource_type); 307 GetMatchingListeners(profile_id, keys::kOnBeforeRequest, request->url(), 312 // If this is an HTTP request, keep track of it. HTTP-specific events only 313 // have the request ID, so we'll need to look up the URLRequest from that [all...] |
/development/ndk/sources/android/libportable/arch-mips/ |
ioctl.c | 28 static inline int mips_change_request(int request) 30 switch(request) { 213 return request; 217 int WRAP(ioctl)(int fd, int request, ...) 222 va_start(ap, request); 226 return __ioctl(fd, mips_change_request(request), arg);
|