/external/libdrm/rockchip/ |
rockchip_drm.c | 95 struct drm_rockchip_gem_create req = { local 114 if (drmIoctl(dev->fd, DRM_IOCTL_ROCKCHIP_GEM_CREATE, &req)){ 120 bo->handle = req.handle; 171 struct drm_gem_close req = { local 175 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); 198 struct drm_gem_open req = { local 209 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { 217 bo->handle = req.handle; 240 struct drm_gem_flink req = { local 245 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); 277 struct drm_rockchip_gem_map_off req = { local [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/annotations/DependencyChecker/PluginChecker/src/checker/ |
PluginChecker.java | 110 for (Require req : el.getAnnotationsByType(Require.class)) { 112 Integer version = device.getSupportedModules().get(req.value()); 115 || version < req.minVersion() 116 || version > req.maxVersion()) { 118 if (req.optional()) { 121 "Plugin [" + el + "] requires " + req 132 "Plugin [" + el + "] requires " + req
|
/prebuilts/jdk/jdk8/linux-x86/sample/annotations/DependencyChecker/PluginChecker/src/checker/ |
PluginChecker.java | 110 for (Require req : el.getAnnotationsByType(Require.class)) { 112 Integer version = device.getSupportedModules().get(req.value()); 115 || version < req.minVersion() 116 || version > req.maxVersion()) { 118 if (req.optional()) { 121 "Plugin [" + el + "] requires " + req 132 "Plugin [" + el + "] requires " + req
|
/external/strace/tests/ |
netlink_protocol.c | 48 static const struct req { struct 53 .nlmsg_len = sizeof(struct req), 59 struct req *const req = tail_memdup(&c_req, sizeof(c_req)); local 64 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0); 66 fd, (unsigned) sizeof(*req), sprintrc(rc)); 69 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0); 85 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0); 88 fd, (unsigned) sizeof(req->magic), sprintrc(rc)) [all...] |
/external/strace/tests-m32/ |
netlink_protocol.c | 48 static const struct req { struct 53 .nlmsg_len = sizeof(struct req), 59 struct req *const req = tail_memdup(&c_req, sizeof(c_req)); local 64 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0); 66 fd, (unsigned) sizeof(*req), sprintrc(rc)); 69 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0); 85 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0); 88 fd, (unsigned) sizeof(req->magic), sprintrc(rc)) [all...] |
/external/strace/tests-mx32/ |
netlink_protocol.c | 48 static const struct req { struct 53 .nlmsg_len = sizeof(struct req), 59 struct req *const req = tail_memdup(&c_req, sizeof(c_req)); local 64 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0); 66 fd, (unsigned) sizeof(*req), sprintrc(rc)); 69 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0); 85 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0); 88 fd, (unsigned) sizeof(req->magic), sprintrc(rc)) [all...] |
/external/iproute2/ip/ |
ipseg6.c | 127 SEG6_REQUEST(req, 1024, opts.cmd, NLM_F_REQUEST); 138 req.n.nlmsg_type = genl_family; 144 addattr32(&req.n, sizeof(req), SEG6_ATTR_HMACKEYID, opts.keyid); 145 addattr8(&req.n, sizeof(req), SEG6_ATTR_SECRETLEN, 147 addattr8(&req.n, sizeof(req), SEG6_ATTR_ALGID, opts.alg_id); 149 addattr_l(&req.n, sizeof(req), SEG6_ATTR_SECRET [all...] |
/external/mesa3d/src/glx/windows/ |
xwindowsdri.c | 113 xWindowsDRIQueryVersionReq *req; local 119 GetReq(WindowsDRIQueryVersion, req); 120 req->reqType = info->codes->major_opcode; 121 req->driReqType = X_WindowsDRIQueryVersion; 145 xWindowsDRIQueryDirectRenderingCapableReq *req; local 151 GetReq(WindowsDRIQueryDirectRenderingCapable, req); 152 req->reqType = info->codes->major_opcode; 153 req->driReqType = X_WindowsDRIQueryDirectRenderingCapable; 154 req->screen = screen; 174 xWindowsDRIQueryDrawableReq *req; local 212 xWindowsDRIFBConfigToPixelFormatReq *req; local [all...] |
/libcore/support/src/test/java/tests/resources/x509/ |
create.sh | 25 openssl req -config "$DIR/default.cnf" -new -key "$DIR/privkey.pem" -nodes -batch > /tmp/cert-rsa-req.pem 26 openssl req -in /tmp/cert-rsa-req.pem -pubkey -noout | openssl rsa -pubin -pubout -outform der > "$DIR/cert-rsa-pubkey.der" 27 openssl x509 -extfile "$DIR/default.cnf" -days 3650 -extensions usr_cert -req -signkey "$DIR/privkey.pem" -outform d -set_serial -99999999999999999999 < /tmp/cert-rsa-req.pem > "$DIR/cert-rsa.der" 28 rm /tmp/cert-rsa-req.pem 40 openssl req -config "$DIR/default.cnf" -new -key "$DIR/privkey.pem" -nodes -batch | openssl x509 -extfile "$DIR/default.cnf" -extensions keyUsage_extraLong_cert -req -signkey "$DIR/privkey.pem" -outform d > "$DIR/cert-keyUsage-extraLong.der" 42 openssl req -config "$DIR/default.cnf" -new -key "$DIR/privkey.pem" -nodes -batch | openssl x509 -extfile "$DI (…) [all...] |
/external/perfetto/src/tracing/core/ |
shared_memory_arbiter_impl_unittest.cc | 95 .WillOnce(Invoke([on_commit_1](const CommitDataRequest& req, 97 ASSERT_EQ(14 * 2 + 1, req.chunks_to_move_size()); 99 ASSERT_EQ(i / 14, req.chunks_to_move()[i].page()); 100 ASSERT_EQ((i % 14) ^ 1, req.chunks_to_move()[i].chunk()); 101 ASSERT_EQ(i % 5, req.chunks_to_move()[i].target_buffer()); 103 ASSERT_EQ(2u, req.chunks_to_move()[28].page()); 104 ASSERT_EQ(1u, req.chunks_to_move()[28].chunk()); 105 ASSERT_EQ(42u, req.chunks_to_move()[28].target_buffer()); 118 .WillOnce(Invoke([on_commit_2](const CommitDataRequest& req, 120 ASSERT_EQ(1, req.chunks_to_move_size()) [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
AbstractPoller.java | 213 Request req = new Request(type, params); local 218 requestList.add(req); 225 Object result = req.awaitResult(); 242 Request req; local 243 while ((req = requestList.poll()) != null) { 246 req.release(new ClosedWatchServiceException()); 249 switch (req.type()) { 254 Object[] params = req.parameters(); 260 req.release(implRegister(path, events, modifiers)); 267 Object[] params = req.parameters() [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadScanner.java | 106 for (ScanRequest req : mPending.values()) { 107 if (nowRealtime < req.requestRealtime + SCAN_TIMEOUT) { 122 public void requestScan(ScanRequest req) { 123 if (LOGV) Log.v(TAG, "requestScan() for " + req.path); 125 mPending.put(req.path, req); 128 req.exec(mConnection); 142 for (ScanRequest req : mPending.values()) { 143 req.exec(mConnection); 150 final ScanRequest req; local [all...] |
/external/iproute2/bridge/ |
link.c | 269 } req = { local 376 req.ifm.ifi_index = ll_name_to_index(d); 377 if (req.ifm.ifi_index == 0) { 385 nest = addattr_nest(&req.n, sizeof(req), 389 addattr8(&req.n, sizeof(req), IFLA_BRPORT_GUARD, bpdu_guard); 391 addattr8(&req.n, sizeof(req), IFLA_BRPORT_MODE, hairpin); 393 addattr8(&req.n, sizeof(req), IFLA_BRPORT_FAST_LEAVE [all...] |
/cts/apps/CameraITS/tests/inprog/ |
test_3a_remote.py | 37 req = its.objects.auto_capture_request() 38 req["android.statistics.lensShadingMapMode"] = 1 39 req['android.control.aePrecaptureTrigger'] = (0 if triggered else 1) 40 req['android.control.afTrigger'] = (0 if triggered else 1) 43 cap = cam.do_capture(req)
|
/external/libdrm/etnaviv/ |
etnaviv_pipe.c | 43 struct drm_etnaviv_wait_fence req = { local 49 req.flags |= ETNA_WAIT_NONBLOCK; 51 get_abs_timeout(&req.timeout, ns); 53 ret = drmCommandWrite(dev->fd, DRM_ETNAVIV_WAIT_FENCE, &req, sizeof(req));
|
/frameworks/wilhelm/tests/sandbox/ |
srcsink.c | 64 SLboolean req[1] = {SL_BOOLEAN_TRUE}; local 67 &audioSnk, 1, ids, req); 74 &audioSnk, 1, ids, req); 86 &audioSnk, 1, ids, req); 98 &audioSnk, 1, ids, req); 111 &audioSnk, 1, ids, req); 116 &audioSnk, 1, ids, req); 124 &audioSnk, 1, ids, req); 129 &audioSnk, 1, ids, req); 137 &audioSnk, 1, ids, req); [all...] |
/external/mesa3d/src/glx/ |
dri2.c | 230 xDRI2QueryVersionReq *req; local 236 GetReq(DRI2QueryVersion, req); 237 req->reqType = info->codes->major_opcode; 238 req->dri2ReqType = X_DRI2QueryVersion; 239 req->majorVersion = DRI2_MAJOR; 240 req->minorVersion = DRI2_MINOR; 277 xDRI2ConnectReq *req; local 282 GetReq(DRI2Connect, req); 283 req->reqType = info->codes->major_opcode; 284 req->dri2ReqType = X_DRI2Connect 347 xDRI2AuthenticateReq *req; local 375 xDRI2CreateDrawableReq *req; local 392 xDRI2DestroyDrawableReq *req; local 414 xDRI2GetBuffersReq *req; local 473 xDRI2GetBuffersReq *req; local 530 xDRI2CopyRegionReq *req; local [all...] |
/external/strace/ |
netlink_inet_diag.c | 196 struct inet_diag_req req = { .idiag_family = family }; local 197 size_t offset = sizeof(req.idiag_family); 200 PRINT_FIELD_XVAL("{", req, idiag_family, addrfams, "AF_???"); 202 if (len >= sizeof(req)) { 204 sizeof(req) - offset, 205 (char *) &req + offset)) { 206 PRINT_FIELD_U("", req, idiag_src_len); 207 PRINT_FIELD_U(", ", req, idiag_dst_len); 208 PRINT_FIELD_FLAGS(", ", req, idiag_ext, 211 PRINT_FIELD_INET_DIAG_SOCKID(", ", req, id 239 struct inet_diag_req_v2 req = { .sdiag_family = family }; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urllib2.py | 228 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
229 self.req, self.data, self.timeout = req, data, timeout
402 def http_open(self, req):
405 self.requests.append(copy.deepcopy(req))
411 "http", req, MockFile(), self.code, name, msg)
413 self.req = req
415 return MockResponse(200, "OK", msg, "", req.get_full_url())
425 def https_open(self, req): 645 req = Request(url) variable in class:HandlerTests.test_ftp.NullFTPHandler [all...] |
/external/python/cpython2/Lib/test/ |
test_urllib2.py | 243 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 244 self.req, self.data, self.timeout = req, data, timeout 422 def http_open(self, req): 425 self.requests.append(copy.deepcopy(req)) 431 "http", req, MockFile(), self.code, name, msg) 433 self.req = req 435 return MockResponse(200, "OK", msg, "", req.get_full_url()) 445 def https_open(self, req) 666 req = Request(url) variable in class:HandlerTests.test_ftp.NullFTPHandler [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllib2.py | 228 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 229 self.req, self.data, self.timeout = req, data, timeout 407 def http_open(self, req): 410 self.requests.append(copy.deepcopy(req)) 416 "http", req, MockFile(), self.code, name, msg) 418 self.req = req 420 return MockResponse(200, "OK", msg, "", req.get_full_url()) 430 def https_open(self, req) 651 req = Request(url) variable in class:HandlerTests.test_ftp.NullFTPHandler [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllib2.py | 228 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 229 self.req, self.data, self.timeout = req, data, timeout 407 def http_open(self, req): 410 self.requests.append(copy.deepcopy(req)) 416 "http", req, MockFile(), self.code, name, msg) 418 self.req = req 420 return MockResponse(200, "OK", msg, "", req.get_full_url()) 430 def https_open(self, req) 651 req = Request(url) variable in class:HandlerTests.test_ftp.NullFTPHandler [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib2.py | 228 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 229 self.req, self.data, self.timeout = req, data, timeout 407 def http_open(self, req): 410 self.requests.append(copy.deepcopy(req)) 416 "http", req, MockFile(), self.code, name, msg) 418 self.req = req 420 return MockResponse(200, "OK", msg, "", req.get_full_url()) 430 def https_open(self, req) 651 req = Request(url) variable in class:HandlerTests.test_ftp.NullFTPHandler [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllib2.py | 228 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 229 self.req, self.data, self.timeout = req, data, timeout 407 def http_open(self, req): 410 self.requests.append(copy.deepcopy(req)) 416 "http", req, MockFile(), self.code, name, msg) 418 self.req = req 420 return MockResponse(200, "OK", msg, "", req.get_full_url()) 430 def https_open(self, req) 651 req = Request(url) variable in class:HandlerTests.test_ftp.NullFTPHandler [all...] |
/external/curl/lib/ |
smb.c | 208 struct smb_request *req = conn->data->req.protop; local 223 if(req->state != newstate) 225 (void *)req, names[req->state], names[newstate]); 228 req->state = newstate; 233 struct smb_request *req; local 236 conn->data->req.protop = req = calloc(1, sizeof(struct smb_request)); 237 if(!req) 345 struct smb_request *req = conn->data->req.protop; local 478 struct smb_request *req = conn->data->req.protop; local 505 struct smb_request *req = conn->data->req.protop; local 535 struct smb_request *req = conn->data->req.protop; local 556 struct smb_request *req = conn->data->req.protop; local 575 struct smb_request *req = conn->data->req.protop; local 724 struct smb_request *req = conn->data->req.protop; local 900 struct smb_request *req = conn->data->req.protop; local 913 struct smb_request *req = conn->data->req.protop; local 948 struct smb_request *req = data->req.protop; local [all...] |