Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile09.c90 off_t before_pos, after_pos; in do_sendfile() local
94 before_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); in do_sendfile()
113 } else if (before_pos != after_pos) { in do_sendfile()
117 (int64_t) before_pos, (int64_t) after_pos); in do_sendfile()
Dsendfile02.c104 off_t before_pos, after_pos; in do_sendfile() local
113 if ((before_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) { in do_sendfile()
140 } else if (before_pos != after_pos) { in do_sendfile()
144 (int64_t) before_pos, (int64_t) after_pos); in do_sendfile()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen_test.cc76 int before_pos = s.find(before); in ExpectSubstrOrder() local
78 ASSERT_NE(std::string::npos, before_pos); in ExpectSubstrOrder()
80 EXPECT_LT(before_pos, after_pos) in ExpectSubstrOrder()
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen_test.cc38 int before_pos = s.find(before); in ExpectSubstrOrder() local
40 ASSERT_NE(std::string::npos, before_pos); in ExpectSubstrOrder()
42 EXPECT_LT(before_pos, after_pos) << before << "' is not before '" << after; in ExpectSubstrOrder()