Home
last modified time | relevance | path

Searched refs:bufmode (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/external/llvm-libc/test/src/stdio/
H A Dftell_test.cpp23 void test_with_bufmode(int bufmode) { in test_with_bufmode() argument
30 ASSERT_EQ(LIBC_NAMESPACE::setvbuf(file, buffer, bufmode, BUFFER_SIZE), 0); in test_with_bufmode()
/aosp_15_r20/external/llvm-libc/src/__support/File/
H A Dfile.cpp29 if (bufmode == _IONBF) { // unbuffered. in write_unlocked()
34 } else if (bufmode == _IOFBF) { // fully buffered in write_unlocked()
385 bufmode = buffer_mode; in set_buffer()
H A Dfile.h101 int bufmode; variable
162 ungetc_buf(0), buf(buffer), bufsize(buffer_size), bufmode(buffer_mode), in File()
/aosp_15_r20/external/llvm-libc/test/src/__support/File/
H A Dfile_test.cpp41 explicit StringFile(char *buffer, size_t buflen, int bufmode, bool owned, in StringFile() argument
45 bufmode, owned, modeflags), in StringFile()
107 StringFile *new_string_file(char *buffer, size_t buflen, int bufmode, in new_string_file() argument
112 return new (ac) StringFile(buffer, buflen, bufmode, owned, in new_string_file()
/aosp_15_r20/external/libpcap/
H A Dpcap-bpf.c1792 u_int bufmode, zbufmax; local
2056 bufmode = BPF_BUFMODE_ZBUF;
2057 if (ioctl(fd, BIOCSETBUFMODE, (caddr_t)&bufmode) == 0) {