Home
last modified time | relevance | path

Searched refs:rq (Results 1 – 25 of 273) sorted by relevance

1234567891011

/external/grpc-grpc/test/cpp/thread_manager/
Dthread_manager_test.cc49 ThreadManagerTest(const char* name, grpc_resource_quota* rq, in ThreadManagerTest() argument
51 : ThreadManager(name, rq, settings.min_pollers, settings.max_pollers), in ThreadManagerTest()
122 grpc_resource_quota* rq = grpc_resource_quota_create("Test-poll-and-work"); in TestPollAndWork() local
127 grpc::ThreadManagerTest test_thread_mgr("TestThreadManager", rq, settings); in TestPollAndWork()
128 grpc_resource_quota_unref(rq); in TestPollAndWork()
143 grpc_resource_quota* rq = grpc_resource_quota_create("Test-thread-quota"); in TestThreadQuota() local
144 grpc_resource_quota_set_max_threads(rq, kMaxNumThreads); in TestThreadQuota()
156 grpc::ThreadManagerTest test_thread_mgr_1("TestThreadManager-1", rq, in TestThreadQuota()
158 grpc::ThreadManagerTest test_thread_mgr_2("TestThreadManager-2", rq, in TestThreadQuota()
161 grpc_resource_quota_unref(rq); in TestThreadQuota()
/external/bcc/tests/python/
Dtest_trace3.c5 struct Request { u64 rq; }; member
31 struct Request rq = {.rq = PT_REGS_PARM1(ctx)}; in probe_blk_start_request() local
33 requests.update(&rq, &tm); in probe_blk_start_request()
38 struct Request rq = {.rq = PT_REGS_PARM1(ctx)}; in probe_blk_update_request() local
39 struct Time *tm = requests.lookup(&rq); in probe_blk_update_request()
42 requests.delete(&rq); in probe_blk_update_request()
/external/ltp/testcases/kernel/syscalls/mq_timedsend/
Dmq_timedsend01.c98 .rq = &(struct timespec) {.tv_sec = -1, .tv_nsec = 0},
106 .rq = &(struct timespec) {.tv_sec = 0, .tv_nsec = -1},
114 .rq = &(struct timespec) {.tv_sec = 0, .tv_nsec = 1000000000},
122 .rq = &ts,
133 .rq = &ts,
149 pid = set_sig(tc->rq); in do_test()
152 set_timeout(tc->rq); in do_test()
159 TEST(mq_timedsend(*tc->fd, smsg, tc->len, tc->prio, tc->rq)); in do_test()
178 TEST(mq_timedreceive(*tc->fd, rmsg, len, &prio, tc->rq)); in do_test()
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/
Dmq_timedreceive01.c98 .rq = &(struct timespec) {.tv_sec = -1, .tv_nsec = 0},
105 .rq = &(struct timespec) {.tv_sec = 0, .tv_nsec = -1},
112 .rq = &(struct timespec) {.tv_sec = 0, .tv_nsec = 1000000000},
121 .rq = &ts,
128 .rq = &ts,
144 pid = set_sig(tc->rq); in do_test()
147 set_timeout(tc->rq); in do_test()
155 TEST(mq_timedreceive(*tc->fd, rmsg, len, &prio, tc->rq)); in do_test()
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/
Dclock_nanosleep01.c46 struct timespec rq; member
62 .rq = (struct timespec) {.tv_sec = 0, .tv_nsec = -1},
70 .rq = (struct timespec) {.tv_sec = 0, .tv_nsec = 1000000000},
78 .rq = (struct timespec) {.tv_sec = 0, .tv_nsec = 500000000},
86 .rq = (struct timespec) {.tv_sec = 10, .tv_nsec = 0},
108 TEST(clock_nanosleep(tc->clk_id, tc->flags, &tc->rq, &rm)); in do_test()
116 long long expect_ms = tst_timespec_to_ms(tc->rq); in do_test()
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c47 struct mq_attr *rq; member
68 .rq = &(struct mq_attr){.mq_maxmsg = 20, .mq_msgsize = 16384},
244 TEST(fd = mq_open(qname, tc->oflag, S_IRWXU, tc->rq)); in do_test()
246 if (fd > 0 && tc->rq) { in do_test()
252 if (oldattr.mq_maxmsg != tc->rq->mq_maxmsg in do_test()
253 || oldattr.mq_msgsize != tc->rq->mq_msgsize) { in do_test()
257 tc->rq->mq_maxmsg, oldattr.mq_maxmsg, tc->rq->mq_msgsize, in do_test()
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
Dltp_tbio.c81 struct request *rq; in send_request() local
82 rq = blk_make_request(q, bio, GFP_KERNEL); in send_request()
83 if (!rq) { in send_request()
88 if ((!inter->cmd_len) || (inter->cmd_len > rq->cmd_len)) { in send_request()
93 rq->cmd_len = inter->cmd_len; in send_request()
95 if (copy_from_user(rq->cmd, inter->cmd, inter->cmd_len)) in send_request()
98 if (*(rq->cmd + rq->cmd_len - 1)) { in send_request()
103 rq->__sector = bio->bi_sector; in send_request()
105 if (blk_execute_rq(q, bdev->bd_disk, rq, 0)) in send_request()
108 blk_put_request(rq); in send_request()
[all …]
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp250 RefQual rq; in main() local
251 std::call_once(f1, rq); in main()
252 assert(rq.lv_called == 1); in main()
253 std::call_once(f2, std::move(rq)); in main()
254 assert(rq.rv_called == 1); in main()
/external/grpc-grpc/src/core/lib/iomgr/
Dresource_quota.cc272 static void rq_step(void* rq, grpc_error* error) { in rq_step() argument
273 grpc_resource_quota* resource_quota = static_cast<grpc_resource_quota*>(rq); in rq_step()
606 static void rq_reclamation_done(void* rq, grpc_error* error) { in rq_reclamation_done() argument
607 grpc_resource_quota* resource_quota = static_cast<grpc_resource_quota*>(rq); in rq_reclamation_done()
730 static void* rq_copy(void* rq) { in rq_copy() argument
731 grpc_resource_quota_ref(static_cast<grpc_resource_quota*>(rq)); in rq_copy()
732 return rq; in rq_copy()
735 static void rq_destroy(void* rq) { in rq_destroy() argument
736 grpc_resource_quota_unref_internal(static_cast<grpc_resource_quota*>(rq)); in rq_destroy()
837 grpc_resource_quota* rq = resource_user->resource_quota; in grpc_resource_user_allocate_threads() local
[all …]
/external/grpc-grpc/test/core/iomgr/
Dresource_quota_test.cc805 grpc_resource_quota* rq = grpc_resource_quota_create("test_thread_limit"); in test_thread_limit() local
806 grpc_resource_user* ru1 = grpc_resource_user_create(rq, "ru1"); in test_thread_limit()
807 grpc_resource_user* ru2 = grpc_resource_user_create(rq, "ru2"); in test_thread_limit()
810 grpc_resource_quota_set_max_threads(rq, 100); in test_thread_limit()
842 grpc_resource_quota_unref(rq); in test_thread_limit()
849 grpc_resource_quota* rq = in test_thread_maxquota_change() local
851 grpc_resource_user* ru1 = grpc_resource_user_create(rq, "ru1"); in test_thread_maxquota_change()
852 grpc_resource_user* ru2 = grpc_resource_user_create(rq, "ru2"); in test_thread_maxquota_change()
855 grpc_resource_quota_set_max_threads(rq, 100); in test_thread_maxquota_change()
866 grpc_resource_quota_set_max_threads(rq, 150); in test_thread_maxquota_change()
[all …]
/external/u-boot/drivers/misc/
Dcros_ec.c90 struct ec_host_request *rq = (struct ec_host_request *)dev->dout; in create_proto3_request() local
91 int out_bytes = dout_len + sizeof(*rq); in create_proto3_request()
100 rq->struct_version = EC_HOST_REQUEST_VERSION; in create_proto3_request()
101 rq->checksum = 0; in create_proto3_request()
102 rq->command = cmd; in create_proto3_request()
103 rq->command_version = cmd_version; in create_proto3_request()
104 rq->reserved = 0; in create_proto3_request()
105 rq->data_len = dout_len; in create_proto3_request()
108 memcpy(rq + 1, dout, dout_len); in create_proto3_request()
111 rq->checksum = (uint8_t)(-cros_ec_calc_checksum(dev->dout, out_bytes)); in create_proto3_request()
/external/deqp/framework/opengl/
DgluTextureTestUtil.cpp277 … dstSize, const tcu::IVec3& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq, const tcu::Vec3& rq) in computeNonProjectedTriLod() argument
283 float dwx = (rq.z() - rq.x()) * (float)srcSize.z(); in computeNonProjectedTriLod()
284 float dwy = (rq.y() - rq.x()) * (float)srcSize.z(); in computeNonProjectedTriLod()
610 …beView& rawSrc, const tcu::Vec4& sq, const tcu::Vec4& tq, const tcu::Vec4& rq, const ReferencePara… in sampleTextureCube() argument
624 const tcu::Vec3 triR[2] = { rq.swizzle(0, 1, 2), rq.swizzle(3, 2, 1) }; in sampleTextureCube()
664 const tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); in sampleTexture() local
666 return sampleTextureCube(dst, view, sq, tq, rq, params); in sampleTexture()
669 …ayView& rawSrc, const tcu::Vec4& sq, const tcu::Vec4& tq, const tcu::Vec4& rq, const ReferencePara… in sampleTextureNonProjected() argument
683 tcu::Vec3 triR[2] = { rq.swizzle(0, 1, 2), rq.swizzle(3, 2, 1) }; in sampleTextureNonProjected()
712 tcu::Vec4 rq = tcu::Vec4(texCoord[0+2], texCoord[3+2], texCoord[6+2], texCoord[9+2]); in sampleTexture() local
[all …]
/external/iproute2/misc/
Dss.c678 int rq, wq; member
841 printf("%-6d %-6d %s", s->rq, s->wq, odd_width_pad); in sock_state_print()
2043 &s.ss.state, &s.ss.wq, &s.ss.rq, in tcp_show_line()
2386 s->rq = r->idiag_rqueue; in parse_diag_msg()
2906 &s.state, &s.wq, &s.rq, in dgram_show_line()
3062 stat.rq = rql->udiag_rqueue; in unix_show_sock()
3175 &u->rport, &u->rq, &u->wq, &flags, &u->type, in unix_show()
3198 u->rq = 0; in unix_show()
3346 stat.rq = skmeminfo[SK_MEMINFO_RMEM_ALLOC]; in packet_show_sock()
3459 int type, prot, iface, state, rq, uid, ino; in packet_show_line() local
[all …]
/external/ltp/testcases/kernel/syscalls/utils/
Dmq_timed.h27 struct timespec *rq; member
/external/grpc-grpc/test/cpp/performance/
Dwrites_per_rpc_test.cc69 grpc_resource_quota* rq() { return rq_; } in rq() function in grpc::testing::InitializeStuff
161 grpc_passthru_endpoint_create(&p.client, &p.server, initialize_stuff.rq(), in MakeEndpoints()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dhelpers.h39 grpc_resource_quota* rq() { return rq_; } in rq() function
/external/ImageMagick/MagickCore/
Dannotate.c1075 *rq; in ComplexTextLayout() local
1087 rq=raqm_create(); in ComplexTextLayout()
1088 if (rq == (raqm_t *) NULL) in ComplexTextLayout()
1090 if (raqm_set_text_utf8(rq,text,length) == 0) in ComplexTextLayout()
1092 if (raqm_set_par_direction(rq,(raqm_direction_t) draw_info->direction) == 0) in ComplexTextLayout()
1094 if (raqm_set_freetype_face(rq,face) == 0) in ComplexTextLayout()
1118 raqm_add_font_feature(rq,token,strlen(token)); in ComplexTextLayout()
1125 if (raqm_layout(rq) == 0) in ComplexTextLayout()
1127 glyphs=raqm_get_glyphs(rq,&extent); in ComplexTextLayout()
1149 raqm_destroy(rq); in ComplexTextLayout()
/external/wpa_supplicant_8/src/drivers/
Ddriver_roboswitch.c67 static inline struct mii_ioctl_data *if_mii(struct ifreq *rq) in if_mii() argument
69 return (struct mii_ioctl_data *) &rq->ifr_ifru; in if_mii()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Diomapper.cpp96 const TQualifier& rq = r.symbol->getQualifier(); in operator ()() local
103 int rPoints = (rq.hasBinding() ? 2 : 0) + (rq.hasSet() ? 1 : 0); in operator ()()
/external/honggfuzz/examples/apache-httpd/corpus_http1/
Dd97540e982d90b06dcecd065ccfeecbd.000009f0.honggfuzz.cov11 …,�� �ϧ��t����Xcq������U�H�u����a�8�%�Q���']9�<��|�U���}���h:�Z��6�rq������7�Y|��z�_��-u?t…
/external/honggfuzz/examples/apache-httpd/corpus_http2/
Dd97540e982d90b06dcecd065ccfeecbd.000009f0.honggfuzz.cov11 …,�� �ϧ��t����Xcq������U�H�u����a�8�%�Q���']9�<��|�U���}���h:�Z��6�rq������7�Y|��z�_��-u?t…
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors_ioctl.inc40 #define _(rq, tp, sz) \
41 if (IOCTL_##rq != IOCTL_NOT_PRESENT) { \
43 ioctl_table[ioctl_table_size].req = IOCTL_##rq; \
46 ioctl_table[ioctl_table_size].name = #rq; \
/external/hyphenation-patterns/la/
Dhyph-la.pat.txt161 2rq
/external/ImageMagick/tests/
Dinput_256c.miff7 …NMiYhGZhSYxEYsPe[Hh^UwXJsTMkZkheKjcTifWd{GgxWqfUutVvcLjfg{yimosXX�\^�]f�f\�rq�yw�ns�tx�]�>^�Ge�Jk�…
/external/ImageMagick/PerlMagick/t/reference/read/
Dinput_xpm.miff14 …NMiYhGZhSYxEYsPe[Hh^UwXJsTMkZkheKjcTifWd{GgxWqfUutVvcLjfg{yimosXX�\^�]f�f\�rq�yw�ns�tx�]�>^�Ge�Jk�…

1234567891011