/haiku/src/system/libroot/posix/musl/math/ |
H A D | scalb.c | 13 * scalb(x, fn) is provide for 21 double scalb(double x, double fn) argument 23 if (isnan(x) || isnan(fn)) 24 return x*fn; 25 if (!isfinite(fn)) { 26 if (fn > 0.0) 27 return x*fn; 29 return x/(-fn); 31 if (rint(fn) != fn) retur [all...] |
H A D | scalbf.c | 19 float scalbf(float x, float fn) argument 21 if (isnan(x) || isnan(fn)) return x*fn; 22 if (!isfinite(fn)) { 23 if (fn > 0.0f) 24 return x*fn; 26 return x/(-fn); 28 if (rintf(fn) != fn) return (fn [all...] |
H A D | __rem_pio2f.c | 46 double_t fn; local 53 /* Use a specialized rint() to get fn. Assume round-to-nearest. */ 54 fn = (double_t)x*invpio2 + toint - toint; 55 n = (int32_t)fn; 56 *y = x - fn*pio2_1 - fn*pio2_1t;
|
H A D | __rem_pio2.c | 51 double_t z,w,t,r,fn; local 121 fn = (double_t)x*invpio2 + toint - toint; 122 n = (int32_t)fn; 123 r = x - fn*pio2_1; 124 w = fn*pio2_1t; /* 1st round, good to 85 bits */ 131 w = fn*pio2_2; 133 w = fn*pio2_2t - ((t-r)-w); 139 w = fn*pio2_3; 141 w = fn*pio2_3t - ((t-r)-w);
|
H A D | __rem_pio2l.c | 72 long double z,w,t,r,fn; local 80 fn = x*invpio2 + toint - toint; 81 n = QUOBITS(fn); 82 r = x-fn*pio2_1; 83 w = fn*pio2_1t; /* 1st round good to 102/180 bits (ld80/ld128) */ 89 w = fn*pio2_2; 91 w = fn*pio2_2t-((t-r)-w); 97 w = fn*pio2_3; 99 w = fn*pio2_3t-((t-r)-w);
|
/haiku/src/system/libroot/posix/musl/misc/ |
H A D | ftw.c | 3 int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit) 8 return nftw(path, (int (*)())fn, fd_limit, FTW_PHYS);
|
H A D | nftw.c | 23 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h) 75 if (!(flags & FTW_DEPTH) && (r=fn(path, &st, type, &lev))) 103 if ((r=do_nftw(path, fn, fd_limit-1, flags, &new))) { 117 if ((flags & FTW_DEPTH) && (r=fn(path, &st, type, &lev))) 123 int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) 139 r = do_nftw(pathbuf, fn, fd_limit, flags, NULL);
|
/haiku/src/bin/pcmcia-cs/ |
H A D | dump_cisreg.c | 84 char fn[B_OS_NAME_LENGTH]; local 85 sprintf(fn, "/dev/bus/pcmcia/sock/%d", sock); 86 return open(fn, O_RDONLY); 92 char **p, fn[64]; 96 sprintf(fn, "%s/dc%d", *p, getpid()); 97 if (mknod(fn, (S_IFCHR|S_IREAD|S_IWRITE), dev) == 0) { 98 fd = open(fn, O_RDONLY); 99 unlink(fn); 111 static int get_reg(int fd, int fn, off_t off) argument 116 arg.conf_reg.Function = fn; 127 dump_option(int fd, int fn, int mfc) argument 146 dump_status(int fd, int fn) argument 162 dump_pin(int fd, int fn) argument 179 dump_copy(int fd, int fn) argument 189 dump_ext_status(int fd, int fn) argument 201 dump_all(int fd, int fn, int mfc, u_int mask) argument [all...] |
H A D | cardctl.c | 100 char fn[B_OS_NAME_LENGTH]; local 101 sprintf(fn, "/dev/bus/pcmcia/sock/%d", sock); 102 return open(fn, O_RDONLY); 108 char **p, fn[64]; 112 sprintf(fn, "%s/cc-%d", *p, getpid()); 113 if (mknod(fn, (S_IFCHR|S_IREAD|S_IWRITE), dev) == 0) { 114 fd = open(fn, O_RDONLY); 115 unlink(fn); 323 static char *fn[] = { local 342 fn[funci [all...] |
H A D | dump_cis.c | 85 char fn[B_OS_NAME_LENGTH]; local 86 sprintf(fn, "/dev/bus/pcmcia/sock/%d", sock); 87 return open(fn, O_RDONLY); 93 char **p, fn[64]; 97 sprintf(fn, "%s/dc%d", *p, getpid()); 98 if (mknod(fn, (S_IFCHR|S_IREAD|S_IWRITE), dev) == 0) { 99 fd = open(fn, O_RDONLY); 100 unlink(fn); 128 static void print_funcid(cistpl_funcid_t *fn) argument 131 switch (fn [all...] |
/haiku/headers/private/shared/ |
H A D | ScopeExit.h | 21 explicit ScopeExit(F&& fn) : fFn(fn) argument
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | callout.h | 26 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \ 27 callout_reset(c, to_ticks, fn, arg)
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | task.h | 21 task_set(struct task *t, void (*fn)(void *), void *arg) 23 TASK_INIT(t, 0, fn, arg);
|
H A D | timeout.h | 18 timeout_set(struct timeout *to, void (*fn)(void *), void *arg) 21 callout_reset(&to->c, -1, fn, arg);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | dir.c | 963 FILE_NAME_ATTR *fn = &ie->key.file_name; local 997 || !(fn->file_attributes & FILE_ATTR_HIDDEN))) 1001 res = filldir(dirent, fn->file_name, 1002 fn->file_name_length, 1003 fn->file_name_type, *pos, 1006 loname = (ntfschar*)ntfs_malloc(2*fn->file_name_length); 1008 memcpy(loname, fn->file_name, 1009 2*fn->file_name_length); 1010 ntfs_name_locase(loname, fn->file_name_length, 1014 fn 1051 FILE_NAME_ATTR *fn; local 1479 FILE_NAME_ATTR *fn = NULL; local 1871 ntfs_check_unlinkable_dir(ntfs_inode *ni, FILE_NAME_ATTR *fn) argument 1912 FILE_NAME_ATTR *fn = NULL; local 2206 FILE_NAME_ATTR *fn = NULL; local 2305 FILE_NAME_ATTR *fn; local 2345 FILE_NAME_ATTR *fn; local 2397 FILE_NAME_ATTR *fn; local 2511 FILE_NAME_ATTR *fn = NULL; local 2872 FILE_NAME_ATTR *fn; local [all...] |
H A D | inode.c | 805 FILE_NAME_ATTR *fn; local 831 fn = (FILE_NAME_ATTR *)((u8 *)ctx->attr + 833 if (MREF_LE(fn->parent_directory) == ni->mft_no) { 847 le64_to_cpu(fn->parent_directory)); 852 (long long)MREF_LE(fn->parent_directory)); 866 if (ntfs_index_lookup(fn, sizeof(FILE_NAME_ATTR), ictx)) { 896 fn->allocated_size = fnx->allocated_size; 906 fnx->creation_time = fn->creation_time; 907 fnx->last_data_change_time = fn->last_data_change_time; 908 fnx->last_mft_change_time = fn 1532 FILE_NAME_ATTR *fn; local [all...] |
H A D | index.h | 152 extern int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn,
|
/haiku/headers/private/firewire/ |
H A D | iec68113.h | 56 uint8_t fn:2, member in struct:ciphdr 64 fn:2; member in struct:ciphdr
|
/haiku/src/bin/fwcontrol/ |
H A D | fwmpegts.c | 89 |0|0| sid | dbs |fn | qpc |S|RSV| dbc | 118 fn = 3 225 if (ciph->fn != 3) { 227 "unsupported MPEG TS stream, fn=%d (only fn=3 is supported)", 228 ciph->fn); 246 ciph->fn, (1<<ciph->fn) ); 256 if (ciph->dbc % (1<<ciph->fn) == 0)
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | mkntfs.c | 1713 FILE_NAME_ATTR *fn; local 1735 fn = ntfs_malloc(fn_size); 1736 if (!fn) { 1740 fn->parent_directory = parent_dir; 1742 fn->creation_time = si->creation_time; 1743 fn->last_data_change_time = si->last_data_change_time; 1744 fn->last_mft_change_time = si->last_mft_change_time; 1745 fn->last_access_time = si->last_access_time; 1748 fn->allocated_size = cpu_to_sle64(allocated_size); 1749 fn 2862 FILE_NAME_ATTR *fn; local 2978 FILE_NAME_ATTR *fn; local [all...] |
H A D | utils.h | 111 #define ntfs_log_redirect(fn,fi,li,le,d,fmt, args...) \ 112 do { char _b[MAX_FMT]; ntfs_log_redirect(fn,fi,li,le,d, \
|
/haiku/src/libs/stdc++/legacy/ |
H A D | libiberty.h | 107 extern int xatexit PARAMS ((void (*fn) (void)));
|
/haiku/src/add-ons/media/media-add-ons/firewire_dv/ |
H A D | FireWireCard.cpp | 402 if (ciph->fn != 3) { 403 fprintf(stderr, "unsupported MPEG TS stream, fn=%d (only" 404 "fn=3 is supported)", ciph->fn); 417 if (ciph->dbc % (1<<ciph->fn) == 0)
|
/haiku/src/libs/compat/freebsd_iflib/compat/sys/ |
H A D | gtaskqueue.h | 85 gtask_fn_t *fn, const char *name);
|
/haiku/headers/os/drivers/pcmcia/ |
H A D | k_compat.h | 164 #define PCI_DEVFN(dev,fn) (((dev)<<3)|((fn)&7))
|