HomeSort by relevance Sort by last modified time
    Searched refs:fp (Results 1 - 25 of 4020) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/stdio/
refill.c 40 lflush(FILE *fp)
42 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR))
43 return (__sflush_locked(fp)); /* ignored... */
52 __srefill(FILE *fp)
54 fp->_r = 0; /* largely a convenience for callers */
58 if (fp->_flags & __SEOF)
63 if ((fp->_flags & __SRD) == 0) {
64 if ((fp->_flags & __SRW) == 0) {
66 fp->_flags |= __SERR;
70 if (fp->_flags & __SWR)
    [all...]
  /external/compiler-rt/test/dfsan/
vararg.c 15 int (*fp)(const char *, ...);
18 fp = do_nothing;
20 fp = printf;
23 fp("hello %s\n", "world");
  /bionic/libc/bionic/
flockfile.cpp 38 void flockfile(FILE* fp) {
39 if (fp != nullptr) {
40 pthread_mutex_lock(&_FLOCK(fp));
44 int ftrylockfile(FILE* fp) {
47 if (fp == nullptr) {
51 return pthread_mutex_trylock(&_FLOCK(fp));
54 void funlockfile(FILE* fp) {
55 if (fp != nullptr) {
56 pthread_mutex_unlock(&_FLOCK(fp));
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
ungetc.c 58 * Expand the ungetc buffer `in place'. That is, adjust fp->_p when
64 __submore(FILE *fp)
69 _DIAGASSERT(fp != NULL);
70 if(fp == NULL) {
75 if (_UB(fp)._base == fp->_ubuf) {
81 _UB(fp)._base = p;
82 _UB(fp)._size = BUFSIZ;
83 p += BUFSIZ - sizeof(fp->_ubuf);
84 for (i = sizeof(fp->_ubuf); --i >= 0;)
    [all...]
fclose.c 57 fclose(FILE *fp)
61 _DIAGASSERT(fp != NULL);
62 if(fp == NULL) {
67 if (fp->_flags == 0) { /* not open! */
71 FLOCKFILE(fp);
72 WCIO_FREE(fp);
73 r = fp->_flags & __SWR ? __sflush(fp) : 0;
74 if (fp->_close != NULL && (*fp->_close)(fp->_cookie) < 0)
    [all...]
wsetup.c 60 __swsetup(FILE *fp)
63 _DIAGASSERT(fp != NULL);
64 if(fp == NULL) {
76 if ((fp->_flags & __SWR) == 0) {
77 if ((fp->_flags & __SRW) == 0)
79 if (fp->_flags & __SRD) {
81 if (HASUB(fp))
82 FREEUB(fp);
83 fp->_flags &= ~(__SRD|__SEOF);
84 fp->_r = 0;
    [all...]
flockfile.c 68 flockfile(FILE *fp)
71 __flockfile_internal(fp, 0);
75 ftrylockfile(FILE *fp)
83 mutex_lock(&_LOCK(fp));
85 if (_LOCKOWNER(fp) == thr_self()) {
86 _LOCKCOUNT(fp)++;
87 } else if (_LOCKOWNER(fp) == NULL) {
88 _LOCKOWNER(fp) = thr_self();
89 _LOCKCOUNT(fp) = 1;
93 mutex_unlock(&_LOCK(fp));
    [all...]
refill.c 61 lflush(FILE *fp)
64 _DIAGASSERT(fp != NULL);
65 if(fp == NULL) {
70 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR))
71 return (__sflush(fp));
80 __srefill(FILE *fp)
83 _DIAGASSERT(fp != NULL);
84 if(fp == NULL) {
93 fp->_r = 0; /* largely a convenience for callers */
96 if (fp->_flags & __SEOF) {
    [all...]
ftell.c 58 ftell(FILE *fp)
62 FLOCKFILE(fp);
64 if (fp->_seek == NULL) {
65 FUNLOCKFILE(fp);
74 __sflush(fp); /* may adjust seek offset on append stream */
75 if (fp->_flags & __SOFF)
76 pos = fp->_offset;
78 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR);
80 FUNLOCKFILE(fp);
    [all...]
ftello.c 55 ftello(FILE *fp)
59 FLOCKFILE(fp);
61 if (fp->_seek == NULL) {
62 FUNLOCKFILE(fp);
71 __sflush(fp); /* may adjust seek offset on append stream */
72 if (fp->_flags & __SOFF)
73 pos = fp->_offset;
75 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR);
77 FUNLOCKFILE(fp);
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
wsetup.c 44 __swsetup(FILE *fp)
53 if ((fp->_flags & __SWR) == 0) {
54 if ((fp->_flags & __SRW) == 0)
56 if (fp->_flags & __SRD) {
58 if (HASUB(fp))
59 FREEUB(fp);
60 fp->_flags &= ~(__SRD|__SEOF);
61 fp->_r = 0;
62 fp->_p = fp->_bf._base
    [all...]
fpurge.c 44 fpurge(FILE *fp)
46 FLOCKFILE(fp);
47 if (!fp->_flags) {
48 FUNLOCKFILE(fp);
53 if (HASUB(fp))
54 FREEUB(fp);
55 WCIO_FREE(fp);
56 fp->_p = fp->_bf._base;
57 fp->_r = 0
    [all...]
wbuf.c 44 __swbuf(int c, FILE *fp)
48 _SET_ORIENTATION(fp, -1);
56 fp->_w = fp->_lbfsize;
57 if (cantwrite(fp)) {
72 n = fp->_p - fp->_bf._base;
73 if (n >= fp->_bf._size) {
74 if (__sflush(fp))
78 fp->_w--
    [all...]
rget.c 43 __srget(FILE *fp)
45 _SET_ORIENTATION(fp, -1);
46 if (__srefill(fp) == 0) {
47 fp->_r--;
48 return (*fp->_p++);
ungetc.c 41 * Expand the ungetc buffer `in place'. That is, adjust fp->_p when
47 __submore(FILE *fp)
52 if (_UB(fp)._base == fp->_ubuf) {
58 _UB(fp)._base = p;
59 _UB(fp)._size = BUFSIZ;
60 p += BUFSIZ - sizeof(fp->_ubuf);
61 for (i = sizeof(fp->_ubuf); --i >= 0;)
62 p[i] = fp->_ubuf[i];
63 fp->_p = p
    [all...]
  /external/clang/test/CodeGen/
2002-07-14-MiscTests2.c 5 extern fp(int, char*);
10 fp (12, Ext ? Ext : "<none>");
  /external/clang/test/Index/
werror.c 1 inline int *get_int_ptr(float *fp) {
2 return fp;
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/mep/
dj2.s 3 sb $7,($fp)
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/
attr-gnu-4-1-mfp32.l 2 .*: Warning: `fp=32' used with a 64-bit ABI
3 .*: Warning: .gnu_attribute 4,1 is incompatible with `gp=64 fp=32'
mips-gp32-fp64.l 2 .* Warning: `fp=64' used with a 32-bit ABI
mips-gp64-fp32-pic.l 2 .*:16: Warning: `fp=32' used with a 64-bit ABI
mips-gp64-fp32.l 2 .* Warning: `fp=32' used with a 64-bit ABI
module-check-warn.l 2 .*:3: Error: `fp=64' used with a 32-bit fpu
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-arm/
attr-merge-vfp-armv8.s 1 .fpu fp-armv8
  /art/test/303-verification-stress/
classes-gen.c 13 FILE* fp; local
21 fp = fopen(nameBuf, "w");
22 if (fp == NULL) {
27 fprintf(fp, "public class Test%03d {\n", i);
28 fprintf(fp, " static String[] array = new String[%d];\n", array_size);
29 fprintf(fp, " static {\n");
31 fprintf(fp, " array[%d] = \"string_%04d\";\n", k, k);
33 fprintf(fp, " }\n");
34 fprintf(fp, "}\n");
35 fclose(fp);
    [all...]

Completed in 2187 milliseconds

1 2 3 4 5 6 7 8 91011>>