Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile09.c89 off_t before_pos, after_pos; in do_sendfile() local
99 after_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); in do_sendfile()
112 } else if (before_pos != after_pos) { in do_sendfile()
116 (int64_t) before_pos, (int64_t) after_pos); in do_sendfile()
Dsendfile06.c69 off_t after_pos; in do_sendfile() local
77 if ((after_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) { in do_sendfile()
90 } else if (after_pos != sb.st_size) { in do_sendfile()
95 (int64_t) sb.st_size, (int64_t) after_pos); in do_sendfile()
Dsendfile02.c104 off_t before_pos, after_pos; in do_sendfile() local
120 if ((after_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.cc77 int after_pos = s.find(after); in ExpectSubstrOrder() local
79 ASSERT_NE(std::string::npos, after_pos); in ExpectSubstrOrder()
80 EXPECT_LT(before_pos, after_pos) in ExpectSubstrOrder()