/bionic/libc/private/ |
D | bionic_asm.h | 35 #define __bionic_asm_custom_entry(f) argument 36 #define __bionic_asm_custom_end(f) argument 41 #define ENTRY_NO_DWARF(f) \ argument 43 .globl f; \ 45 .type f, __bionic_asm_function_type; \ 46 f: \ 47 __bionic_asm_custom_entry(f); \ 49 #define ENTRY(f) \ argument 50 ENTRY_NO_DWARF(f) \ 53 #define END_NO_DWARF(f) \ argument [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | tempnam.c | 46 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 …]
|
D | vasprintf.c | 29 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 …]
|
D | asprintf.c | 31 FILE f; in asprintf() local 35 _FILEEXT_SETUP(&f, &fext); in asprintf() 36 f._file = -1; in asprintf() 37 f._flags = __SWR | __SSTR | __SALC; in asprintf() 38 f._bf._base = f._p = malloc(128); in asprintf() 39 if (f._bf._base == NULL) in asprintf() 41 f._bf._size = f._w = 127; /* Leave room for the NUL */ in asprintf() 43 ret = __vfprintf(&f, fmt, ap); in asprintf() 47 *f._p = '\0'; in asprintf() 48 _base = realloc(f._bf._base, ret + 1); in asprintf() [all …]
|
D | vdprintf.c | 53 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 …]
|
D | vsscanf.c | 49 FILE f; in vsscanf() local 52 _FILEEXT_SETUP(&f, &fext); in vsscanf() 53 f._flags = __SRD; in vsscanf() 54 f._bf._base = f._p = (unsigned char *)str; in vsscanf() 55 f._bf._size = f._r = strlen(str); in vsscanf() 56 f._read = eofread; in vsscanf() 57 f._lb._base = NULL; in vsscanf() 58 return (__svfscanf(&f, fmt, ap)); in vsscanf()
|
D | vsprintf.c | 48 FILE f; in vsprintf() local 51 _FILEEXT_SETUP(&f, &fext); in vsprintf() 52 f._file = -1; in vsprintf() 53 f._flags = __SWR | __SSTR; in vsprintf() 54 f._bf._base = f._p = (unsigned char *)str; in vsprintf() 55 f._bf._size = f._w = INT_MAX; in vsprintf() 56 ret = __vfprintf(&f, fmt, ap); in vsprintf() 57 *f._p = '\0'; in vsprintf()
|
D | sscanf.c | 53 FILE f; in sscanf() local 56 _FILEEXT_SETUP(&f, &fext); in sscanf() 57 f._flags = __SRD; in sscanf() 58 f._bf._base = f._p = (unsigned char *)str; in sscanf() 59 f._bf._size = f._r = strlen(str); in sscanf() 60 f._read = eofread; in sscanf() 61 f._lb._base = NULL; in sscanf() 63 ret = __svfscanf(&f, fmt, ap); in sscanf()
|
D | vsnprintf.c | 44 FILE f; in vsnprintf() local 47 _FILEEXT_SETUP(&f, &fext); in vsnprintf() 57 f._file = -1; in vsnprintf() 58 f._flags = __SWR | __SSTR; in vsnprintf() 59 f._bf._base = f._p = (unsigned char *)str; in vsnprintf() 60 f._bf._size = f._w = n - 1; in vsnprintf() 61 ret = __vfprintf(&f, fmt, ap); in vsnprintf() 62 *f._p = '\0'; in vsnprintf()
|
D | vswprintf.c | 44 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 …]
|
D | vswscanf.c | 56 FILE f; in vswscanf() local 78 _FILEEXT_SETUP(&f, &fext); in vswscanf() 79 f._flags = __SRD; in vswscanf() 80 f._bf._base = f._p = (unsigned char *)mbstr; in vswscanf() 81 f._bf._size = f._r = mlen; in vswscanf() 82 f._read = eofread; in vswscanf() 83 f._lb._base = NULL; in vswscanf() 84 r = __vfwscanf(&f, fmt, ap); in vswscanf()
|
/bionic/libc/stdio/ |
D | sprintf.c | 51 FILE f; in sprintf() local 54 _FILEEXT_SETUP(&f, &fext); in sprintf() 55 f._file = -1; in sprintf() 56 f._flags = __SWR | __SSTR; in sprintf() 57 f._bf._base = f._p = (unsigned char *)str; in sprintf() 58 f._bf._size = f._w = INT_MAX; in sprintf() 60 ret = __vfprintf(&f, fmt, ap); in sprintf() 62 *f._p = '\0'; in sprintf()
|
D | snprintf.c | 47 FILE f; in snprintf() local 58 _FILEEXT_SETUP(&f, &fext); in snprintf() 59 f._file = -1; in snprintf() 60 f._flags = __SWR | __SSTR; in snprintf() 61 f._bf._base = f._p = (unsigned char *)str; in snprintf() 62 f._bf._size = f._w = n - 1; in snprintf() 64 ret = __vfprintf(&f, fmt, ap); in snprintf() 66 *f._p = '\0'; in snprintf()
|
/bionic/libc/bionic/ |
D | pututline.c | 35 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/libm/upstream-freebsd/lib/msun/src/ |
D | e_logf.c | 38 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 …]
|
D | e_log.c | 91 double hfsq,f,s,z,R,w,t1,t2,dk; in __ieee754_log() local 111 f = x-1.0; in __ieee754_log() 113 if(f==zero) { in __ieee754_log() 121 R = f*f*(0.5-0.33333333333333333*f); in __ieee754_log() 122 if(k==0) return f-R; else {dk=(double)k; in __ieee754_log() 123 return dk*ln2_hi-((R-dk*ln2_lo)-f);} in __ieee754_log() 125 s = f/(2.0+f); in __ieee754_log() 136 hfsq=0.5*f*f; in __ieee754_log() 137 if(k==0) return f-(hfsq-s*(hfsq+R)); else in __ieee754_log() 138 return dk*ln2_hi-((hfsq-(s*(hfsq+R)+dk*ln2_lo))-f); in __ieee754_log() [all …]
|
D | s_log1pf.c | 42 float hfsq,f,c,s,z,R,u; in log1pf() local 62 k=0;f=x;hu=1;} /* sqrt(2)/2- <= 1+x < sqrt(2)+ */ in log1pf() 94 f = u-(float)1.0; in log1pf() 96 hfsq=(float)0.5*f*f; in log1pf() 98 if(f==zero) { in log1pf() 106 R = hfsq*((float)1.0-(float)0.66666666666666666*f); in log1pf() 107 if(k==0) return f-R; else in log1pf() 108 return k*ln2_hi-((R-(k*ln2_lo+c))-f); in log1pf() 110 s = f/((float)2.0+f); in log1pf() 113 if(k==0) return f-(hfsq-s*(hfsq+R)); else in log1pf() [all …]
|
D | s_log1p.c | 104 double hfsq,f,c,s,z,R,u; in log1p() local 124 k=0;f=x;hu=1;} /* sqrt(2)/2- <= 1+x < sqrt(2)+ */ in log1p() 155 f = u-1.0; in log1p() 157 hfsq=0.5*f*f; in log1p() 159 if(f==zero) { in log1p() 167 R = hfsq*(1.0-0.66666666666666666*f); in log1p() 168 if(k==0) return f-R; else in log1p() 169 return k*ln2_hi-((R-(k*ln2_lo+c))-f); in log1p() 171 s = f/(2.0+f); in log1p() 174 if(k==0) return f-(hfsq-s*(hfsq+R)); else in log1p() [all …]
|
D | e_log2f.c | 34 float f,hfsq,hi,lo,r,y; in __ieee754_log2f() local 56 f = x - (float)1.0; in __ieee754_log2f() 57 hfsq = (float)0.5*f*f; in __ieee754_log2f() 58 r = k_log1pf(f); in __ieee754_log2f() 75 return (r - hfsq + f) * ((float_t)ivln2lo + ivln2hi) + y; in __ieee754_log2f() 77 hi = f - hfsq; in __ieee754_log2f() 80 lo = (f - hi) - hfsq + r; in __ieee754_log2f()
|
D | e_log10f.c | 36 float f,hfsq,hi,lo,r,y; in __ieee754_log10f() local 58 f = x - (float)1.0; in __ieee754_log10f() 59 hfsq = (float)0.5*f*f; in __ieee754_log10f() 60 r = k_log1pf(f); in __ieee754_log10f() 64 return (r - hfsq + f) * ((float_t)ivln10lo + ivln10hi) + in __ieee754_log10f() 66 hi = f - hfsq; in __ieee754_log10f() 69 lo = (f - hi) - hfsq + r; in __ieee754_log10f()
|
D | k_logf.h | 27 k_log1pf(float f) in k_log1pf() argument 31 s = f/((float)2.0+f); in k_log1pf() 37 hfsq=(float)0.5*f*f; in k_log1pf()
|
/bionic/libc/arch-x86/bionic/ |
D | __restore.S | 60 #define cfi_signal_frame_start(f) \ argument 62 .L ## f ## _START_EH_FRAME: \ 63 .long 2f - 1f; /* CIE length. */ \ 74 .long .L ## f ## _END_FDE - .L ## f ## _START_FDE; /* FDE length. */ \ 75 .L ## f ## _START_FDE: \ 76 .long .L ## f ## _START_FDE - .L ## f ## _START_EH_FRAME; /* CIE location. */ \ 77 ….long (.L ## f ## _START - 1) - .; /* pcrel start address (see FDE encoding abov… 78 .long .L ## f ## _END - (.L ## f ## _START - 1); /* Function this FDE applies to. */ \ 81 #define cfi_signal_frame_end(f) \ argument 82 .L ## f ## _END_FDE: \ [all …]
|
/bionic/libc/arch-x86_64/bionic/ |
D | __restore_rt.S | 78 #define cfi_signal_frame_start(f) \ argument 80 .L ## f ## _START_EH_FRAME: \ 81 .long 2f - 1f; /* CIE length. */ \ 92 .long .L ## f ## _END_FDE - .L ## f ## _START_FDE; /* FDE length. */ \ 93 .L ## f ## _START_FDE: \ 94 .long .L ## f ## _START_FDE - .L ## f ## _START_EH_FRAME; /* CIE location. */ \ 95 ….long (.L ## f ## _START - 1) - .; /* pcrel start address (see FDE encoding abov… 96 .long .L ## f ## _END - (.L ## f ## _START - 1); /* Function this FDE applies to. */ \ 99 #define cfi_signal_frame_end(f) \ argument 100 .L ## f ## _END_FDE: \ [all …]
|
/bionic/libc/arch-common/bionic/ |
D | crtbrand.S | 33 .long 2f-1f /* int32_t namesz */ 34 .long 3f-2f /* int32_t descsz */
|
/bionic/libc/tools/ |
D | symbols.py | 24 f = open(txt_file, 'r') 25 for line in f.read().splitlines(): 27 f.close() 62 for f in files: 66 '{}_intermediates'.format(os.path.splitext(f)[0])) 68 os.path.join(static_lib_dir, f), 80 for f in files: 81 results |= GetFromElf(os.path.join(lib_dir, f)) 88 for f in files: 89 results |= GetFromElf(glob.glob(os.path.join(lib_dir, f))[-1])
|