Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 1008) sorted by relevance

12345678910>>...41

/bionic/tests/headers/posix/
Dmath_h.c123 FUNCTION(acos, double (*f)(double)); in math_h()
124 FUNCTION(acosf, float (*f)(float)); in math_h()
125 FUNCTION(acosh, double (*f)(double)); in math_h()
126 FUNCTION(acoshf, float (*f)(float)); in math_h()
127 FUNCTION(acoshl, long double (*f)(long double)); in math_h()
128 FUNCTION(acosl, long double (*f)(long double)); in math_h()
130 FUNCTION(asin, double (*f)(double)); in math_h()
131 FUNCTION(asinf, float (*f)(float)); in math_h()
132 FUNCTION(asinh, double (*f)(double)); in math_h()
133 FUNCTION(asinhf, float (*f)(float)); in math_h()
[all …]
Dstdlib_h.c70 FUNCTION(_Exit, void (*f)(int)); in stdlib_h()
72 FUNCTION(a64l, long (*f)(const char*)); in stdlib_h()
74 FUNCTION(abort, void (*f)(void)); in stdlib_h()
75 FUNCTION(abs, int (*f)(int)); in stdlib_h()
76 FUNCTION(atexit, int (*f)(void (*)(void))); in stdlib_h()
77 FUNCTION(atof, double (*f)(const char*)); in stdlib_h()
78 FUNCTION(atoi, int (*f)(const char*)); in stdlib_h()
79 FUNCTION(atol, long (*f)(const char*)); in stdlib_h()
80 FUNCTION(atoll, long long (*f)(const char*)); in stdlib_h()
81 …FUNCTION(bsearch, void* (*f)(const void*, const void*, size_t, size_t, int (*)(const void*, const … in stdlib_h()
[all …]
Dstring_h.c38 FUNCTION(memccpy, void* (*f)(void*, const void*, int, size_t)); in string_h()
39 FUNCTION(memchr, void* (*f)(const void*, int, size_t)); in string_h()
40 FUNCTION(memcmp, int (*f)(const void*, const void*, size_t)); in string_h()
41 FUNCTION(memcpy, void* (*f)(void*, const void*, size_t)); in string_h()
42 FUNCTION(memmove, void* (*f)(void*, const void*, size_t)); in string_h()
43 FUNCTION(memset, void* (*f)(void*, int, size_t)); in string_h()
44 FUNCTION(stpcpy, char* (*f)(char*, const char*)); in string_h()
45 FUNCTION(stpncpy, char* (*f)(char*, const char*, size_t)); in string_h()
46 FUNCTION(strcat, char* (*f)(char*, const char*)); in string_h()
47 FUNCTION(strchr, char* (*f)(const char*, int)); in string_h()
[all …]
Dstdio_h.c78 FUNCTION(clearerr, void (*f)(FILE*)); in stdio_h()
79 FUNCTION(ctermid, char* (*f)(char*)); in stdio_h()
80 FUNCTION(dprintf, int (*f)(int, const char*, ...)); in stdio_h()
81 FUNCTION(fclose, int (*f)(FILE*)); in stdio_h()
82 FUNCTION(fdopen, FILE* (*f)(int, const char*)); in stdio_h()
83 FUNCTION(feof, int (*f)(FILE*)); in stdio_h()
84 FUNCTION(ferror, int (*f)(FILE*)); in stdio_h()
85 FUNCTION(fflush, int (*f)(FILE*)); in stdio_h()
86 FUNCTION(fgetc, int (*f)(FILE*)); in stdio_h()
87 FUNCTION(fgetpos, int (*f)(FILE*, fpos_t*)); in stdio_h()
[all …]
Dctype_h.c34 FUNCTION(isalnum, int (*f)(int)); in ctype_h()
35 FUNCTION(isalnum_l, int (*f)(int, locale_t)); in ctype_h()
36 FUNCTION(isalpha, int (*f)(int)); in ctype_h()
37 FUNCTION(isalpha_l, int (*f)(int, locale_t)); in ctype_h()
38 FUNCTION(isascii, int (*f)(int)); in ctype_h()
39 FUNCTION(isblank, int (*f)(int)); in ctype_h()
40 FUNCTION(isblank_l, int (*f)(int, locale_t)); in ctype_h()
41 FUNCTION(iscntrl, int (*f)(int)); in ctype_h()
42 FUNCTION(iscntrl_l, int (*f)(int, locale_t)); in ctype_h()
43 FUNCTION(isdigit, int (*f)(int)); in ctype_h()
[all …]
Dcomplex_h.c54 FUNCTION(cabs, double (*f)(double complex)); in complex_h()
55 FUNCTION(cabsf, float (*f)(float complex)); in complex_h()
56 FUNCTION(cabsl, long double (*f)(long double complex)); in complex_h()
58 FUNCTION(cacos, double complex (*f)(double complex)); in complex_h()
59 FUNCTION(cacosf, float complex (*f)(float complex)); in complex_h()
60 FUNCTION(cacosl, long double complex (*f)(long double complex)); in complex_h()
62 FUNCTION(cacosh, double complex (*f)(double complex)); in complex_h()
63 FUNCTION(cacoshf, float complex (*f)(float complex)); in complex_h()
64 FUNCTION(cacoshl, long double complex (*f)(long double complex)); in complex_h()
66 FUNCTION(carg, double (*f)(double complex)); in complex_h()
[all …]
Dpthread_h.c89 FUNCTION(pthread_atfork, int (*f)(void (*)(void), void (*)(void), void (*)(void))); in pthread_h()
90 FUNCTION(pthread_attr_destroy, int (*f)(pthread_attr_t*)); in pthread_h()
91 FUNCTION(pthread_attr_getdetachstate, int (*f)(const pthread_attr_t*, int*)); in pthread_h()
92 FUNCTION(pthread_attr_getguardsize, int (*f)(const pthread_attr_t*, size_t*)); in pthread_h()
93 FUNCTION(pthread_attr_getinheritsched, int (*f)(const pthread_attr_t*, int*)); in pthread_h()
94 FUNCTION(pthread_attr_getschedparam, int (*f)(const pthread_attr_t*, struct sched_param*)); in pthread_h()
95 FUNCTION(pthread_attr_getschedpolicy, int (*f)(const pthread_attr_t*, int*)); in pthread_h()
96 FUNCTION(pthread_attr_getscope, int (*f)(const pthread_attr_t*, int*)); in pthread_h()
97 FUNCTION(pthread_attr_getstack, int (*f)(const pthread_attr_t*, void**, size_t*)); in pthread_h()
98 FUNCTION(pthread_attr_getstacksize, int (*f)(const pthread_attr_t*, size_t*)); in pthread_h()
[all …]
Dwctype_h.c41 FUNCTION(iswalnum, int (*f)(wint_t)); in wctype_h()
42 FUNCTION(iswalnum_l, int (*f)(wint_t, locale_t)); in wctype_h()
43 FUNCTION(iswalpha, int (*f)(wint_t)); in wctype_h()
44 FUNCTION(iswalpha_l, int (*f)(wint_t, locale_t)); in wctype_h()
45 FUNCTION(iswblank, int (*f)(wint_t)); in wctype_h()
46 FUNCTION(iswblank_l, int (*f)(wint_t, locale_t)); in wctype_h()
47 FUNCTION(iswcntrl, int (*f)(wint_t)); in wctype_h()
48 FUNCTION(iswcntrl_l, int (*f)(wint_t, locale_t)); in wctype_h()
49 FUNCTION(iswctype, int (*f)(wint_t, wctype_t)); in wctype_h()
50 FUNCTION(iswctype_l, int (*f)(wint_t, wctype_t, locale_t)); in wctype_h()
[all …]
Dwchar_h.c48 FUNCTION(btowc, wint_t (*f)(int)); in wchar_h()
49 FUNCTION(fgetwc, wint_t (*f)(FILE*)); in wchar_h()
50 FUNCTION(fgetws, wchar_t* (*f)(wchar_t*, int, FILE*)); in wchar_h()
51 FUNCTION(fputwc, wint_t (*f)(wchar_t, FILE*)); in wchar_h()
52 FUNCTION(fputws, int (*f)(const wchar_t*, FILE*)); in wchar_h()
53 FUNCTION(fwide, int (*f)(FILE*, int)); in wchar_h()
54 FUNCTION(fwprintf, int (*f)(FILE*, const wchar_t*, ...)); in wchar_h()
55 FUNCTION(fwscanf, int (*f)(FILE*, const wchar_t*, ...)); in wchar_h()
56 FUNCTION(getwc, wint_t (*f)(FILE*)); in wchar_h()
57 FUNCTION(getwchar, wint_t (*f)(void)); in wchar_h()
[all …]
Dspawn_h.c51 …FUNCTION(posix_spawn, int (*f)(pid_t*, const char*, const posix_spawn_file_actions_t*, const posix… in spawn_h()
52 FUNCTION(posix_spawn_file_actions_addclose, int (*f)(posix_spawn_file_actions_t*, int)); in spawn_h()
53 FUNCTION(posix_spawn_file_actions_adddup2, int (*f)(posix_spawn_file_actions_t*, int, int)); in spawn_h()
54 …FUNCTION(posix_spawn_file_actions_addopen, int (*f)(posix_spawn_file_actions_t*, int, const char*,… in spawn_h()
55 FUNCTION(posix_spawn_file_actions_destroy, int (*f)(posix_spawn_file_actions_t*)); in spawn_h()
56 FUNCTION(posix_spawn_file_actions_init, int (*f)(posix_spawn_file_actions_t*)); in spawn_h()
57 FUNCTION(posix_spawnattr_destroy, int (*f)(posix_spawnattr_t*)); in spawn_h()
58 FUNCTION(posix_spawnattr_getflags, int (*f)(const posix_spawnattr_t*, short*)); in spawn_h()
59 FUNCTION(posix_spawnattr_getpgroup, int (*f)(const posix_spawnattr_t*, pid_t*)); in spawn_h()
60 FUNCTION(posix_spawnattr_getschedparam, int (*f)(const posix_spawnattr_t*, struct sched_param*)); in spawn_h()
[all …]
Dunistd_h.c288 FUNCTION(access, int (*f)(const char*, int)); in unistd_h()
289 FUNCTION(alarm, unsigned (*f)(unsigned)); in unistd_h()
290 FUNCTION(chdir, int (*f)(const char*)); in unistd_h()
291 FUNCTION(chown, int (*f)(const char*, uid_t, gid_t)); in unistd_h()
292 FUNCTION(close, int (*f)(int)); in unistd_h()
294 FUNCTION(confstr, size_t (*f)(int, char*, size_t)); in unistd_h()
295 FUNCTION(crypt, char* (*f)(const char*, const char*)); in unistd_h()
297 FUNCTION(dup, int (*f)(int)); in unistd_h()
298 FUNCTION(dup2, int (*f)(int, int)); in unistd_h()
299 FUNCTION(_exit, void (*f)(int)); in unistd_h()
[all …]
Dtime_h.c76 FUNCTION(asctime, char* (*f)(const struct tm*)); in time_h()
77 FUNCTION(asctime_r, char* (*f)(const struct tm*, char*)); in time_h()
78 FUNCTION(clock, clock_t (*f)(void)); in time_h()
79 FUNCTION(clock_getcpuclockid, int (*f)(pid_t, clockid_t*)); in time_h()
80 FUNCTION(clock_getres, int (*f)(clockid_t, struct timespec*)); in time_h()
81 FUNCTION(clock_gettime, int (*f)(clockid_t, struct timespec*)); in time_h()
82 FUNCTION(clock_nanosleep, int (*f)(clockid_t, int, const struct timespec*, struct timespec*)); in time_h()
83 FUNCTION(clock_settime, int (*f)(clockid_t, const struct timespec*)); in time_h()
84 FUNCTION(ctime, char* (*f)(const time_t*)); in time_h()
85 FUNCTION(ctime_r, char* (*f)(const time_t*, char*)); in time_h()
[all …]
Dsemaphore_h.c38 FUNCTION(sem_close, int (*f)(sem_t*)); in semaphore_h()
39 FUNCTION(sem_destroy, int (*f)(sem_t*)); in semaphore_h()
40 FUNCTION(sem_getvalue, int (*f)(sem_t*, int*)); in semaphore_h()
41 FUNCTION(sem_init, int (*f)(sem_t*, int, unsigned)); in semaphore_h()
42 FUNCTION(sem_open, sem_t* (*f)(const char*, int, ...)); in semaphore_h()
43 FUNCTION(sem_post, int (*f)(sem_t*)); in semaphore_h()
44 FUNCTION(sem_timedwait, int (*f)(sem_t*, const struct timespec*)); in semaphore_h()
45 FUNCTION(sem_trywait, int (*f)(sem_t*)); in semaphore_h()
46 FUNCTION(sem_unlink, int (*f)(const char*)); in semaphore_h()
47 FUNCTION(sem_wait, int (*f)(sem_t*)); in semaphore_h()
Dfenv_h.c52 FUNCTION(feclearexcept, int (*f)(int)); in fenv_h()
53 FUNCTION(fegetenv, int (*f)(fenv_t*)); in fenv_h()
54 FUNCTION(fegetexceptflag, int (*f)(fexcept_t*, int)); in fenv_h()
55 FUNCTION(fegetround, int (*f)(void)); in fenv_h()
56 FUNCTION(feholdexcept, int (*f)(fenv_t*)); in fenv_h()
57 FUNCTION(feraiseexcept, int (*f)(int)); in fenv_h()
58 FUNCTION(fesetenv, int (*f)(const fenv_t*)); in fenv_h()
59 FUNCTION(fesetexceptflag, int (*f)(const fexcept_t*, int)); in fenv_h()
60 FUNCTION(fesetround, int (*f)(int)); in fenv_h()
61 FUNCTION(fetestexcept, int (*f)(int)); in fenv_h()
[all …]
Dsearch_h.c51 FUNCTION(hcreate, int (*f)(size_t)); in search_h()
52 FUNCTION(hdestroy, void (*f)(void)); in search_h()
53 FUNCTION(hsearch, ENTRY* (*f)(ENTRY, ACTION)); in search_h()
54 FUNCTION(insque, void (*f)(void*, void*)); in search_h()
55 FUNCTION(lfind, void* (*f)(const void*, const void*, size_t*, size_t, in search_h()
57 FUNCTION(lsearch, void* (*f)(const void*, void*, size_t*, size_t, in search_h()
59 FUNCTION(remque, void (*f)(void*)); in search_h()
60 FUNCTION(tdelete, void* (*f)(const void*, void**, int (*)(const void*, const void*))); in search_h()
61 FUNCTION(tfind, void* (*f)(const void*, void* const*, int (*)(const void*, const void*))); in search_h()
62 FUNCTION(tsearch, void* (*f)(const void*, void**, int (*)(const void*, const void*))); in search_h()
[all …]
Ddirent_h.c46 FUNCTION(alphasort, int (*f)(const struct dirent**, const struct dirent**)); in dirent_h()
47 FUNCTION(closedir, int (*f)(DIR*)); in dirent_h()
48 FUNCTION(dirfd, int (*f)(DIR*)); in dirent_h()
49 FUNCTION(fdopendir, DIR* (*f)(int)); in dirent_h()
50 FUNCTION(opendir, DIR* (*f)(const char*)); in dirent_h()
51 FUNCTION(readdir, struct dirent* (*f)(DIR*)); in dirent_h()
52 FUNCTION(readdir_r, int (*f)(DIR*, struct dirent*, struct dirent**)); in dirent_h()
53 FUNCTION(rewinddir, void (*f)(DIR*)); in dirent_h()
54 FUNCTION(scandir, int (*f)(const char*, struct dirent***, in dirent_h()
57 FUNCTION(seekdir, void (*f)(DIR*, long)); in dirent_h()
[all …]
/bionic/libc/private/
Dbionic_asm.h35 #define __bionic_asm_custom_entry(f) argument
36 #define __bionic_asm_custom_end(f) argument
51 #define ENTRY_NO_DWARF(f) \ argument
53 .globl f; \
55 .type f, __bionic_asm_function_type; \
56 f: \
57 __bionic_asm_custom_entry(f); \
59 #define ENTRY(f) \ argument
60 ENTRY_NO_DWARF(f) \
63 #define END_NO_DWARF(f) \ argument
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dtempnam.c46 char *f, *name; in tempnam() local
54 if (issetugid() == 0 && (f = getenv("TMPDIR")) && *f != '\0') { in tempnam()
55 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, in tempnam()
56 f[strlen(f) - 1] == '/' ? "" : "/", pfx); in tempnam()
61 if ((f = _mktemp(name))) in tempnam()
62 return(f); in tempnam()
66 f = *dir ? (char *)dir : "."; in tempnam()
67 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, in tempnam()
68 f[strlen(f) - 1] == '/' ? "" : "/", pfx); in tempnam()
73 if ((f = _mktemp(name))) in tempnam()
[all …]
Dvasprintf.c29 FILE f; in vasprintf() local
33 _FILEEXT_SETUP(&f, &fext); in vasprintf()
34 f._file = -1; in vasprintf()
35 f._flags = __SWR | __SSTR | __SALC; in vasprintf()
36 f._bf._base = f._p = malloc(128); in vasprintf()
37 if (f._bf._base == NULL) in vasprintf()
39 f._bf._size = f._w = 127; /* Leave room for the NUL */ in vasprintf()
40 ret = __vfprintf(&f, fmt, ap); in vasprintf()
43 *f._p = '\0'; in vasprintf()
44 _base = realloc(f._bf._base, ret + 1); in vasprintf()
[all …]
Dvdprintf.c53 FILE f; in vdprintf() local
58 _FILEEXT_SETUP(&f, &fext); in vdprintf()
60 f._p = buf; in vdprintf()
61 f._w = sizeof(buf); in vdprintf()
62 f._flags = __SWR; in vdprintf()
63 f._file = -1; in vdprintf()
64 f._bf._base = buf; in vdprintf()
65 f._bf._size = sizeof(buf); in vdprintf()
66 f._cookie = &fd; in vdprintf()
67 f._write = __dwrite; in vdprintf()
[all …]
Dvsscanf.c48 FILE f; in vsscanf() local
51 _FILEEXT_SETUP(&f, &fext); in vsscanf()
52 f._flags = __SRD; in vsscanf()
53 f._bf._base = f._p = (unsigned char *)str; in vsscanf()
54 f._bf._size = f._r = strlen(str); in vsscanf()
55 f._read = eofread; in vsscanf()
56 f._lb._base = NULL; in vsscanf()
57 return (__svfscanf(&f, fmt, ap)); in vsscanf()
Dvswprintf.c44 FILE f; in vswprintf() local
55 _FILEEXT_SETUP(&f, &fext); in vswprintf()
56 f._file = -1; in vswprintf()
57 f._flags = __SWR | __SSTR | __SALC; in vswprintf()
58 f._bf._base = f._p = malloc(128); in vswprintf()
59 if (f._bf._base == NULL) { in vswprintf()
63 f._bf._size = f._w = 127; /* Leave room for the NUL */ in vswprintf()
64 ret = __vfwprintf(&f, fmt, ap); in vswprintf()
67 free(f._bf._base); in vswprintf()
73 free(f._bf._base); in vswprintf()
[all …]
/bionic/libc/bionic/
Dpututline.c35 FILE* f; in pututline() local
39 if (!(f = fopen(_PATH_UTMP, "w+e"))) in pututline()
42 while (fread(&u, sizeof(struct utmp), 1, f) == 1) in pututline()
46 if ((i = ftell(f)) < 0) in pututline()
48 if (fseek(f, i - sizeof(struct utmp), SEEK_SET) < 0) in pututline()
50 fwrite(utmp, sizeof(struct utmp), 1, f); in pututline()
56 fclose(f); in pututline()
58 if (!(f = fopen(_PATH_UTMP, "w+e"))) in pututline()
60 fwrite(utmp, sizeof(struct utmp), 1, f); in pututline()
63 fclose(f); in pututline()
/bionic/libc/seccomp/
Dseccomp_policy.cpp124 inline void Allow(filter& f) { in Allow() argument
125 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)); in Allow()
128 inline void Disallow(filter& f) { in Disallow() argument
129 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRAP)); in Disallow()
132 static void ExamineSyscall(filter& f) { in ExamineSyscall() argument
133 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_nr)); in ExamineSyscall()
137 static bool SetValidateArchitectureJumpTarget(size_t offset, filter& f) { in SetValidateArchitectureJumpTarget() argument
138 size_t jump_length = f.size() - offset - 1; in SetValidateArchitectureJumpTarget()
145 f[offset] = BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, SECONDARY_ARCH, u8_jump_length, 0); in SetValidateArchitectureJumpTarget()
149 static size_t ValidateArchitectureAndJumpIfNeeded(filter& f) { in ValidateArchitectureAndJumpIfNeeded() argument
[all …]
/bionic/libm/upstream-freebsd/lib/msun/src/
De_logf.c38 float hfsq,f,s,z,R,w,t1,t2,dk; in __ieee754_logf() local
57 f = x-(float)1.0; in __ieee754_logf()
59 if(f==zero) { in __ieee754_logf()
67 R = f*f*((float)0.5-(float)0.33333333333333333*f); in __ieee754_logf()
68 if(k==0) return f-R; else {dk=(float)k; in __ieee754_logf()
69 return dk*ln2_hi-((R-dk*ln2_lo)-f);} in __ieee754_logf()
71 s = f/((float)2.0+f); in __ieee754_logf()
82 hfsq=(float)0.5*f*f; in __ieee754_logf()
83 if(k==0) return f-(hfsq-s*(hfsq+R)); else in __ieee754_logf()
84 return dk*ln2_hi-((hfsq-(s*(hfsq+R)+dk*ln2_lo))-f); in __ieee754_logf()
[all …]

12345678910>>...41