Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 1659) sorted by relevance

12345678910>>...67

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/
Dconnection.py251 request = dict(path=path, quota=quota, restore=restore)
252 return func(self, request, response, *args, **kw)
300 def _post_request(self, request, params, parser, body='', headers=None): argument
305 path = self._sandboxify(request['path'])
306 request = self.build_base_http_request('POST', path, None, data=body,
310 response = self._mexe(request, override_num_retries=None)
372 def submit_feed(self, request, response, headers=None, body='', **kw): argument
376 return self._post_request(request, kw, response, body=body,
382 def get_feed_submission_list(self, request, response, **kw): argument
386 return self._post_request(request, kw, response)
[all …]
/external/e2fsprogs/debugfs/
Ddebug_cmds.ct7 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_freefrag, "Report free space fragmentation",
19 request do_features, "Set/print superblock features",
22 request do_dirty_filesys, "Mark the filesystem as dirty",
25 request do_init_filesys, "Initialize a filesystem (DESTROYS DATA)",
28 request do_show_super_stats, "Show superblock statistics",
31 request do_ncheck, "Do inode->name translation",
34 request do_icheck, "Do block->inode translation",
[all …]
Dro_debug_cmds.ct9 request do_show_debugfs_params, "Show debugfs parameters",
12 request do_open_filesys, "Open a filesystem",
15 request do_close_filesys, "Close the filesystem",
18 request do_freefrag, "Report free space fragmentation",
21 request do_show_super_stats, "Show superblock statistics",
24 request do_ncheck, "Do inode->name translation",
27 request do_icheck, "Do block->inode translation",
30 request do_chroot, "Change root directory",
33 request do_change_working_dir, "Change working directory",
36 request do_list_dir, "List directory",
[all …]
Dextent_cmds.ct7 request do_current_node, "Current extent node",
10 request do_root_node, "Goto root extent",
13 request do_last_leaf, "Goto last leaf",
16 request do_first_sib, "Goto first sibling",
19 request do_last_sib, "Goto last sibling",
22 request do_next_sib, "Goto next sibling",
25 request do_prev_sib, "Goto previous sibling",
28 request do_next_leaf, "Goto next leaf",
31 request do_prev_leaf, "Goto previous leaf",
34 request do_next, "Goto next node",
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/auth/
Dopen_id.py63 import paste.request
125 request = dict(environ=environ, start=start_response, body=[])
126 request['base_url'] = paste.request.construct_url(environ, with_path_info=False,
130 request['parsed_uri'] = urlparse.urlparse(path)
131 request['query'] = dict(paste.request.parse_querystring(environ))
133 path = request['parsed_uri'][2]
135 return self.render(request)
137 return self.do_verify(request)
139 return self.do_process(request)
141 return self.not_found(request)
[all …]
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
DMainTest.java30 Request request = fromArgs("http://example.com").createRequest(); in simple() local
31 assertEquals("GET", request.method()); in simple()
32 assertEquals("http://example.com/", request.urlString()); in simple()
33 assertNull(request.body()); in simple()
37 Request request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest(); in put() local
38 assertEquals("PUT", request.method()); in put()
39 assertEquals("http://example.com/", request.urlString()); in put()
40 assertEquals(3, request.body().contentLength()); in put()
44 Request request = fromArgs("-d", "foo", "http://example.com").createRequest(); in dataPost() local
45 RequestBody body = request.body(); in dataPost()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestTracker.java3 import com.bumptech.glide.request.Request;
25 public void runRequest(Request request) { in runRequest() argument
26 requests.add(request); in runRequest()
28 request.begin(); in runRequest()
33 void addRequest(Request request) { in addRequest() argument
34 requests.add(request); in addRequest()
40 public void removeRequest(Request request) { in removeRequest() argument
41 requests.remove(request); in removeRequest()
56 for (Request request : requests) { in pauseRequests()
57 if (request.isRunning()) { in pauseRequests()
[all …]
/external/libdrm/amdgpu/
Damdgpu_gpu_info.c40 struct drm_amdgpu_info request; in amdgpu_query_info() local
42 memset(&request, 0, sizeof(request)); in amdgpu_query_info()
43 request.return_pointer = (uintptr_t)value; in amdgpu_query_info()
44 request.return_size = size; in amdgpu_query_info()
45 request.query = info_id; in amdgpu_query_info()
47 return drmCommandWrite(dev->fd, DRM_AMDGPU_INFO, &request, in amdgpu_query_info()
54 struct drm_amdgpu_info request; in amdgpu_query_crtc_from_id() local
56 memset(&request, 0, sizeof(request)); in amdgpu_query_crtc_from_id()
57 request.return_pointer = (uintptr_t)result; in amdgpu_query_crtc_from_id()
58 request.return_size = sizeof(*result); in amdgpu_query_crtc_from_id()
[all …]
/external/autotest/scheduler/
Drdb.py98 def update_response_map(self, request, response, append=False): argument
118 (request, response))
119 exist_response = self.response_map.setdefault(request, [])
124 (request, response))
138 for request, response in self.response_map.iteritems():
146 (response, request, self.response_map))
151 def _record_exceptions(self, request, exceptions): argument
158 self.update_response_map(request, rdb_exceptions)
169 for request, response in self.response_map.iteritems():
170 self.response_map[request] = [reply.wire_format()
[all …]
/external/mdnsresponder/mDNSShared/
Duds_daemon.c93 typedef void (*req_termination_fn)(request_state *request);
100 request_state *request; member
112 request_state *request; member
358 … reply_state *create_reply(const reply_op_t op, const size_t datalen, request_state *const request) in create_reply() argument
379 reply->mhdr->client_context = request->hdr.client_context; in create_reply()
400 …request_state *const request, reply_state **const rep, reply_op_t op, DNSServiceFlags flags, mStat… in GenerateNTDResponse() argument
428 *rep = create_reply(op, len, request); in GenerateNTDResponse()
446 …request_state *const request, reply_state **const rep, reply_op_t op, DNSServiceFlags flags, mStat… in GenerateBonjourBrowserResponse() argument
471 *rep = create_reply(op, len, request); in GenerateBonjourBrowserResponse()
486 mDNSlocal AuthRecord *read_rr_from_ipc_msg(request_state *request, int GetTTL, int validate_flags) in read_rr_from_ipc_msg() argument
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/
Dtunes_db_test.py109 request = tunes_db.AddArtistRequest()
110 request.name = 'Elvis Costello'
112 response = self.service.add_artist(request)
123 request = tunes_db.UpdateArtistRequest()
124 request.artist = artist
126 response = self.service.update_artist(request)
141 request = tunes_db.UpdateArtistRequest()
142 request.artist = artist
144 response = self.service.update_artist(request)
152 request = tunes_db.DeleteArtistRequest()
[all …]
Dtunes_db.py341 request, argument
367 if request.continuation:
368 encoded_search, continuation = request.continuation.split(':', 1)
370 request = protobuf.decode_message(type(request), decoded_search)
374 protobuf.encode_message(request)))
376 name_prefix = request.name_prefix
381 customize_query(request, query)
388 fetch_size = request.fetch_size
403 def add_artist(self, request): argument
405 artist_name = request.name
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dhttparchive_test.py54 request = httparchive.ArchivedHttpRequest(
56 self.archive[request] = self.RESPONSE
66 request = httparchive.ArchivedHttpRequest
68 self.assertEqual(request._TrimHeaders(header1),
72 self.assertEqual(request._TrimHeaders(header2), [])
76 self.assertEqual(request._TrimHeaders(header3), [('hello', 'world')])
80 self.assertEqual(request._TrimHeaders(header4),
85 self.assertEqual(request._TrimHeaders(header5),
90 self.assertEqual(request._TrimHeaders(header6), [])
196 request = httparchive.ArchivedHttpRequest(
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/storage/
Dstorage_v1.py186 request = messages.StorageBucketAccessControlsDeleteRequest(
191 request, global_params=global_params)
214 request = messages.StorageBucketAccessControlsGetRequest(
219 request, global_params=global_params)
319 request = messages.BucketAccessControl(
323 request.domain = FLAGS.domain.decode('utf8')
325 request.email = FLAGS.email.decode('utf8')
327 request.entity = FLAGS.entity.decode('utf8')
329 request.entityId = FLAGS.entityId.decode('utf8')
331 request.etag = FLAGS.etag.decode('utf8')
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/auth/
Dtest_sigv4.py42 self.request = HTTPRequest(
50 req = copy.copy(self.request)
57 self.request.headers['x-amz-archive-description'] = 'two spaces'
58 self.request.headers['x-amz-quoted-string'] = ' "a b c" '
59 headers = auth.headers_to_sign(self.request)
74 request = HTTPRequest(
78 request.params['Foo.1'] = 'aaa'
79 request.params['Foo.10'] = 'zzz'
80 query_string = auth.canonical_query_string(request)
89 request = HTTPRequest(
[all …]
/external/webrtc/webrtc/p2p/base/
Dstunrequest.cc33 StunRequest *request = requests_.begin()->second; in ~StunRequestManager() local
35 delete request; in ~StunRequestManager()
39 void StunRequestManager::Send(StunRequest* request) { in Send() argument
40 SendDelayed(request, 0); in Send()
43 void StunRequestManager::SendDelayed(StunRequest* request, int delay) { in SendDelayed() argument
44 request->set_manager(this); in SendDelayed()
45 ASSERT(requests_.find(request->id()) == requests_.end()); in SendDelayed()
46 request->set_origin(origin_); in SendDelayed()
47 request->Construct(); in SendDelayed()
48 requests_[request->id()] = request; in SendDelayed()
[all …]
/external/libbrillo/brillo/http/
Dhttp_request_unittest.cc69 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() local
70 EXPECT_TRUE(request.GetContentType().empty()); in TEST_F()
71 EXPECT_TRUE(request.GetReferer().empty()); in TEST_F()
72 EXPECT_TRUE(request.GetUserAgent().empty()); in TEST_F()
73 EXPECT_EQ("*/*", request.GetAccept()); in TEST_F()
74 EXPECT_EQ("http://www.foo.bar", request.GetRequestURL()); in TEST_F()
75 EXPECT_EQ(request_type::kPost, request.GetRequestMethod()); in TEST_F()
83 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() local
84 request.SetContentType(mime::image::kJpeg); in TEST_F()
85 EXPECT_EQ(mime::image::kJpeg, request.GetContentType()); in TEST_F()
[all …]
/external/toybox/toys/other/
Dvconfig.c34 struct vlan_ioctl_args request; in vconfig_main() local
39 memset(&request, 0, sizeof(struct vlan_ioctl_args)); in vconfig_main()
53 request.u.name_type = i; in vconfig_main()
54 request.cmd = SET_VLAN_NAME_TYPE_CMD; in vconfig_main()
55 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main()
60 xstrncpy(request.device1, toys.optargs[1], 16); in vconfig_main()
63 request.cmd = ADD_VLAN_CMD; in vconfig_main()
64 if (toys.optargs[2]) request.u.VID = atolx_range(toys.optargs[2], 0, 4094); in vconfig_main()
65 if (request.u.VID == 1) in vconfig_main()
67 } else if (!strcmp(cmd, "rem")) request.cmd = DEL_VLAN_CMD; in vconfig_main()
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Ddatastore_hooks.py55 request = webapp2.get_request()
56 request.registry['privileged'] = True
66 request = webapp2.get_request()
67 request.registry['single_privileged'] = True
72 request = webapp2.get_request()
73 request.registry['single_privileged'] = False
79 request = webapp2.get_request()
83 path = getattr(request, 'path', '')
90 if request.registry.get('privileged', False):
92 if request.registry.get('single_privileged', False):
[all …]
/external/chromium-trace/catapult/third_party/webapp2/docs/guide/
Drequest.rst1 .. _guide.request:
5 The request handler instance can access the request data using its ``request``
9 The request object provides a ``get()`` method that returns values for
15 name = self.request.get('name')
18 argument is not in the request. If the parameter ``default_value`` is
22 If the argument appears more than once in a request, by default ``get()``
28 name = self.request.get("name")
31 subscribe_to_newsletter = self.request.get("subscribe", default_value="no")
34 favorite_foods = self.request.get("favorite_foods", allow_multiple=True)
40 the body of an HTTP PUT request, the request object provides the attributes
[all …]
/external/libmicrohttpd/src/microspdy/
Dapplicationlayer.c37 struct SPDY_Request *request, in spdy_callback_response_done() argument
45 SPDY_destroy_request(request); in spdy_callback_response_done()
69 struct SPDY_Request * request = NULL; in spdy_handler_new_stream() local
83 if(NULL==(request = malloc(sizeof(struct SPDY_Request)))) in spdy_handler_new_stream()
86 memset(request, 0, sizeof(struct SPDY_Request)); in spdy_handler_new_stream()
87 request->stream = stream; in spdy_handler_new_stream()
128 SPDY_destroy_request(request); in spdy_handler_new_stream()
135 request->method=method; in spdy_handler_new_stream()
136 request->path=path; in spdy_handler_new_stream()
137 request->version=version; in spdy_handler_new_stream()
[all …]
/external/e2fsprogs/tests/progs/
Dtest_rel_cmds.ct11 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/autotest/frontend/tko/
Dcsv_encoder_unittest.py11 request = dict(method=method)
13 request['columns'] = columns
14 return request
24 def _encode_and_check_result(self, request, result, *expected_csv_rows): argument
25 encoder = csv_encoder.encoder(request, result)
33 request = self._make_request('get_status_counts')
41 self._encode_and_check_result(request, response,
49 request = self._make_request('get_test_views', [['col1', 'Column 1'],
53 self._encode_and_check_result(request, response,
60 request = self._make_request('get_group_counts',
[all …]
/external/autotest/frontend/afe/
Dresources_test.py48 response = self.request('get', 'hosts?locked=true&has_label=label1')
53 response = self.request('get', 'hosts?hostname:in=host1,host2')
58 response = self.request('get', 'hosts?start_index=1&items_per_page=2')
66 response = self.request(
76 response = self.request('get', 'hosts/host1/')
82 response = self.request('get', 'atomic_group_classes')
88 response = self.request('get', 'atomic_group_classes/atomic1')
100 response = self.request('get', 'labels')
108 response = self.request('get', 'labels/label1')
121 response = self.request('get', 'users')
[all …]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGZipIntegrationTest.java85 HttpGet request = new HttpGet("http://localhost:8192/"); in contentEncodingShouldBeAddedToFixedLengthResponses() local
86 request.addHeader("Accept-encoding", "gzip"); in contentEncodingShouldBeAddedToFixedLengthResponses()
87 HttpResponse response = httpclient.execute(request); in contentEncodingShouldBeAddedToFixedLengthResponses()
97 HttpGet request = new HttpGet("http://localhost:8192/"); in contentEncodingShouldBeAddedToChunkedResponses() local
98 request.addHeader("Accept-encoding", "gzip"); in contentEncodingShouldBeAddedToChunkedResponses()
99 HttpResponse response = httpclient.execute(request); in contentEncodingShouldBeAddedToChunkedResponses()
108 HttpGet request = new HttpGet("http://localhost:8192/"); in shouldFindCorrectAcceptEncodingAmongMany() local
109 request.addHeader("Accept-encoding", "deflate,gzip"); in shouldFindCorrectAcceptEncodingAmongMany()
110 HttpResponse response = httpclient.execute(request); in shouldFindCorrectAcceptEncodingAmongMany()
119 HttpGet request = new HttpGet("http://localhost:8192/"); in contentLengthShouldBeRemovedFromZippedResponses() local
[all …]

12345678910>>...67