Home
last modified time | relevance | path

Searched refs:fail_idx (Results 1 – 4 of 4) sorted by relevance

/external/liburing/test/
Dsubmit-link-fail.c18 int link_size, int fail_idx) in test_underprep_fail() argument
34 assert(fail_idx < link_size); in test_underprep_fail()
59 if (i == fail_idx) { in test_underprep_fail()
74 if (ret == fail_idx + 1 + drain) in test_underprep_fail()
102 } else if (cqe->user_data == fail_idx) { in test_underprep_fail()
124 int ret, link_size, fail_idx, i; in main() local
135 for (fail_idx = 0; fail_idx < link_size; fail_idx++) { in main()
142 link_size, fail_idx); in main()
149 link_size, fail_idx); in main()
Dskip-cqe.c69 static int test_link_fail(struct io_uring *ring, int nr, int fail_idx) in test_link_fail() argument
77 if (i == fail_idx) in test_link_fail()
97 if (!cqe->res || cqe->user_data != fail_idx) { in test_link_fail()
99 (int)cqe->user_data, cqe->res, fail_idx); in test_link_fail()
114 bool async, int fail_idx) in test_ltimeout_cancel() argument
122 if (fail_idx >= 0) { in test_ltimeout_cancel()
124 e_idx = fail_idx; in test_ltimeout_cancel()
129 if (i == fail_idx) in test_ltimeout_cancel()
237 static int test_hardlink(struct io_uring *ring, int nr, int fail_idx, in test_hardlink() argument
244 assert(fail_idx < nr); in test_hardlink()
[all …]
/external/elfutils/tests/
Delfstrmerge.c118 fail_idx (const char *msg, const char *fname, size_t idx) in fail_idx() function
183 fail_idx ("Expected data in section", fname, ndx); in new_data_buf()
186 fail_idx ("Couldn't allocated buffer for section", NULL, ndx); in new_data_buf()
355 fail_idx ("No memory to add to merged string table symbol", in main()
562 fail_idx ("Not enough data in group section", fname, ndx); in main()
/external/rust/crates/serde/src/de/
Dimpls.rs1182 let mut fail_idx = None; localVariable
1185 fail_idx = Some(idx);
1189 if let Some(idx) = fail_idx {