Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/fchownat/
Dfchownat02.c73 struct stat c_buf, l_buf; in setup() local
92 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf); in setup()
119 struct stat c_buf, l_buf; in test_verify() local
121 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf); in test_verify()
125 if (c_buf.st_uid != set_uid && l_buf.st_uid == set_uid && in test_verify()
126 c_buf.st_gid != set_gid && l_buf.st_gid == set_gid) { in test_verify()
132 "set_gid=%d", c_buf.st_uid, l_buf.st_uid, set_uid, in test_verify()
133 c_buf.st_gid, l_buf.st_gid, set_gid); in test_verify()
/external/tcpdump/
Dcpack.c62 next = cpack_next_boundary(cs->c_buf, cs->c_next, wordsize); in cpack_align_and_reserve()
65 if (next - cs->c_buf + wordsize > cs->c_len) in cpack_align_and_reserve()
76 if (cs->c_next - cs->c_buf + toskip > cs->c_len) in cpack_advance()
87 cs->c_buf = buf; in cpack_init()
89 cs->c_next = cs->c_buf; in cpack_init()
147 if ((size_t)(cs->c_next - cs->c_buf) >= cs->c_len) in cpack_uint8()
Dcpack.h34 const uint8_t *c_buf; member
/external/rust/crates/nix/src/
Dunistd.rs2799 let c_buf = buf.as_mut_ptr() as *mut libc::c_char; in ttyname() localVariable
2801 let ret = unsafe { libc::ttyname_r(fd, c_buf, buf.len()) }; in ttyname()