Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libc/src/__support/File/
H A Dfile.h78 int bufmode; variable
134 buf(buffer), bufsize(buffer_size), bufmode(buffer_mode), own_buf(owned), in File()
152 f->bufmode = buffer_mode; in init()
H A Dfile.cpp28 if (bufmode == _IOFBF) { // fully buffered in write_unlocked()
30 } else if (bufmode == _IOLBF) { // line buffered in write_unlocked()
/llvm-project-15.0.7/libc/test/src/__support/File/
H A Dfile_test.cpp34 explicit StringFile(char *buffer, size_t buflen, int bufmode, bool owned, in StringFile() argument
37 &str_flush, buffer, buflen, bufmode, owned, in StringFile()
44 void init(char *buffer, size_t buflen, int bufmode, bool owned, in init() argument
47 buffer, buflen, bufmode, owned, modeflags); in init()
108 StringFile *new_string_file(char *buffer, size_t buflen, int bufmode, in new_string_file() argument
111 f->init(buffer, buflen, bufmode, owned, __llvm_libc::File::mode_flags(mode)); in new_string_file()