Home
last modified time | relevance | path

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

/bionic/libc/stdio/
Dstdio_ext.cpp80 int old_state = _EXT(fp)->_caller_handles_locking ? FSETLOCKING_BYCALLER : FSETLOCKING_INTERNAL; in __fsetlocking()
85 if (type != FSETLOCKING_INTERNAL && type != FSETLOCKING_BYCALLER) { in __fsetlocking()
90 _EXT(fp)->_caller_handles_locking = (type == FSETLOCKING_BYCALLER); in __fsetlocking()
/bionic/benchmarks/
Dstdio_benchmark.cpp42 __fsetlocking(fp, FSETLOCKING_BYCALLER); in ReadWriteTest()
86 if (no_locking) __fsetlocking(fp, FSETLOCKING_BYCALLER); in FopenFgetlnFclose()
111 if (no_locking) __fsetlocking(fp, FSETLOCKING_BYCALLER); in FopenFgetsFclose()
133 if (no_locking) __fsetlocking(fp, FSETLOCKING_BYCALLER); in FopenGetlineFclose()
157 if (no_locking) __fsetlocking(fp, FSETLOCKING_BYCALLER); in FopenFgetcFclose()
/bionic/tests/
Dstdio_ext_test.cpp213 ASSERT_EQ(FSETLOCKING_INTERNAL, __fsetlocking(fp, FSETLOCKING_BYCALLER)); in TEST()
214 ASSERT_EQ(FSETLOCKING_BYCALLER, __fsetlocking(fp, FSETLOCKING_QUERY)); in TEST()
215 ASSERT_EQ(FSETLOCKING_BYCALLER, __fsetlocking(fp, FSETLOCKING_INTERNAL)); in TEST()
228 int old_state = __fsetlocking(stdout, FSETLOCKING_BYCALLER); in TEST()
/bionic/libc/include/
Dstdio_ext.h126 #define FSETLOCKING_BYCALLER 2 macro