/netbsd-current/external/lgpl3/mpfr/dist/src/ |
H A D | set.c | 116 mp_limb_t rb, sb; local 140 sb = (u0 & mask) ^ rb; 150 sb = ((u1 & mask) ^ rb) | up[0]; 159 thus we need to subtract something from (u0, rb, sb): 160 (a) if sb is not zero, since the subtracted value is < 1, we can leave 161 sb as it is; 162 (b) if rb <> 0 and sb = 0: change to rb = 0 and sb = 1 163 (c) if rb = sb = 0: change to rb = 1 and sb [all...] |
H A D | add1sp1_extracted.c | 36 uint64_t sb; member in struct:MPFR_Add1sp1_state_s 41 MPFR_Add1sp1_mk_state(int64_t sh, int64_t bx, uint64_t rb, uint64_t sb) argument 43 return ((MPFR_Add1sp1_state){ .sh = sh, .bx = bx, .rb = rb, .sb = sb }); 95 uint64_t sb = (uint64_t)0U; local 96 st = MPFR_Add1sp1_mk_state(sh, bx1, rb, sb); 129 uint64_t sb = (a02 & mask) ^ rb; local 131 ite1 = MPFR_Add1sp1_mk_state(sh, bx3, rb, sb); 142 uint64_t sb = cp[0U] << (uint32_t)(MPFR_Lib_gmp_NUMB_BITS - d); local 149 .fst = sb | (a0 171 uint64_t sb = (uint64_t)1U; local 206 uint64_t sb = (a02 & mask) ^ rb; local 219 uint64_t sb = cp[0U] << (uint32_t)(MPFR_Lib_gmp_NUMB_BITS - d); local 248 uint64_t sb = (uint64_t)1U; local [all...] |
H A D | mul.c | 274 mp_limb_t rb, sb, mask = MPFR_LIMB_MASK(sh); local 280 sb = 0; 283 umul_ppmm (a0, sb, b0, c0); 290 a0 = (a0 << 1) | (sb >> (GMP_NUMB_BITS - 1)); 291 sb <<= 1; 294 sb |= (a0 & mask) ^ rb; 310 (MPFR_IS_LIKE_RNDA(rnd_mode, MPFR_IS_NEG (a)) && (rb | sb)))) 315 (b) or ax = emin - 1 and ap[0] = 1000....000 and rb = sb = 0 */ 318 (ap[0] == MPFR_LIMB_HIGHBIT && (rb | sb) == 0))) 326 if ((rb == 0 && sb 373 mp_limb_t rb, sb; local 471 mp_limb_t rb, sb, sb2, mask = MPFR_LIMB_MASK(sh); local 595 mp_limb_t rb, sb, sb2, mask = MPFR_LIMB_MASK(sh); local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/nds32/ |
H A D | ls.s | 9 sb $r0, [$r1 + ($r2 << 1)] 17 sb.bi $r0, [$r1], $r2 << 1
|
/netbsd-current/sys/compat/common/ |
H A D | vfs_syscalls_30.c | 118 struct stat sb; local 122 error = do_sys_stat(SCARG(uap, path), FOLLOW, &sb); 125 cvtstat(&osb, &sb); 142 struct stat sb; local 146 error = do_sys_stat(SCARG(uap, path), NOFOLLOW, &sb); 149 cvtstat(&osb, &sb); 160 syscallarg(struct stat13 *) sb; 162 struct stat sb; local 166 error = do_fhstat(l, SCARG(uap, fhp), sizeof(*SCARG(uap, fhp)), &sb); 169 cvtstat(&osb, &sb); 185 struct stat sb; local 410 struct stat sb; local 431 struct statvfs *sb = STATVFSBUF_GET(); local [all...] |
/netbsd-current/bin/pax/ |
H A D | buf_subs.c | 617 off_t size = arcn->sb.st_size; 618 struct stat origsb, sb; local 622 * (in arcn->sb) for comparing the mtime after reading. 625 origsb = arcn->sb; 653 else if (fstat(ifd, &sb) < 0) 655 else if (origsb.st_mtime != sb.st_mtime) 686 off_t size = arcn->sb.st_size; 692 struct stat sb; local 701 else if (fstat(ofd, &sb) == 0) { 702 if (sb 792 struct stat sb, origsb; local [all...] |
/netbsd-current/sys/arch/ia64/stand/ia64/ski/ |
H A D | skifs.c | 120 skifs_stat(struct open_file *f, struct stat *sb) argument 122 memset(sb, 0, sizeof(*sb)); 123 sb->st_mode = S_IFREG | S_IRUSR;
|
/netbsd-current/share/examples/puffs/pnullfs/ |
H A D | pnullfs.c | 55 struct stat sb; local 91 if (lstat(argv[0], &sb) == -1) 93 if ((sb.st_mode & S_IFDIR) == 0) 113 puffs_stat2vattr(&pn_root->pn_va, &sb);
|
/netbsd-current/usr.bin/compress/ |
H A D | compress.c | 203 struct stat isb, sb; local 210 exists = !stat(out, &sb); 211 if (!force && exists && S_ISREG(sb.st_mode) && !permission(out)) 213 oreg = !exists || S_ISREG(sb.st_mode); 262 if (stat(out, &sb)) { 267 if (!force && sb.st_size >= isb.st_size) { 280 if (isb.st_size > sb.st_size) 282 ((double)sb.st_size / isb.st_size) * 100.0); 285 ((double)isb.st_size / sb.st_size) * 100.0); 302 struct stat sb; local [all...] |
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/ |
H A D | Elf.cc | 926 #define ADD_S(x) if ((f & (x)) == (x)) { sb->append(' '); sb->append(#x); f &= ~(x); } 929 dump_sh_flags (StringBuilder *sb, long long flags) argument 934 sb->append (NTXT (" [")); 948 sb->appendf (NTXT (" 0x%llx"), (long long) f); 949 sb->append (NTXT (" ]")); 951 sb->append (NTXT ("\n")); 955 dump_p_flags (StringBuilder *sb, long long flags) argument 960 sb->append (NTXT (" [")); 966 sb 975 StringBuilder sb; local [all...] |
/netbsd-current/distrib/utils/libhack/ |
H A D | opendir.c | 62 struct stat sb; local 66 if (fstat(fd, &sb) || !S_ISDIR(sb.st_mode)) {
|
/netbsd-current/sys/arch/alpha/stand/setnetbootinfo/ |
H A D | setnetbootinfo.c | 72 struct stat sb; local 171 if (fstat(fd, &sb) == -1) 173 if (!S_ISREG(sb.st_mode)) 178 netbb = malloc(sb.st_size); 181 (unsigned long)sb.st_size, netboot); 182 if (read(fd, netbb, sb.st_size) != sb.st_size) 184 (unsigned long)sb.st_size, netboot); 193 for (qp = (u_int64_t *)netbb; qp < (u_int64_t *)(netbb + sb.st_size); 237 if (write(fd, netbb, sb [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/ |
H A D | mmap5.c | 18 struct stat sb; local 30 if (fstat (fd, &sb) < 0) 72 size = sb.st_size;
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mips/ |
H A D | micromips@24k-triple-stores-6.d | 18 *[0-9a-f]+: 1bfd 0051 sb ra,81\(sp\) 20 *[0-9a-f]+: 183d 0050 sb at,80\(sp\) 21 *[0-9a-f]+: 1a7d 0059 sb s3,89\(sp\) 23 *[0-9a-f]+: 183d 0058 sb at,88\(sp\) 24 *[0-9a-f]+: 1bdd 0061 sb s8,97\(sp\) 26 *[0-9a-f]+: 183d 0060 sb at,96\(sp\)
|
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/cris/c/ |
H A D | mmap5.c | 18 struct stat sb; local 30 if (fstat (fd, &sb) < 0) 72 size = sb.st_size;
|
/netbsd-current/sys/compat/netbsd32/ |
H A D | netbsd32_compat_43.c | 77 netbsd32_from_stat(const struct stat *sb, struct netbsd32_stat43 *sp32) argument 81 sp32->st_dev = sb->st_dev; 82 sp32->st_ino = sb->st_ino; 83 sp32->st_mode = sb->st_mode; 84 sp32->st_nlink = sb->st_nlink; 85 sp32->st_uid = sb->st_uid; 86 sp32->st_gid = sb->st_gid; 87 sp32->st_rdev = sb->st_rdev; 88 sp32->st_size = sb->st_size < (quad_t)1 << 32 ? sb 142 struct stat sb; local 161 struct stat sb; local 180 struct stat sb; local [all...] |
H A D | netbsd32_compat_30.c | 112 struct stat sb; local 118 error = do_sys_stat(path, FOLLOW, &sb); 121 netbsd32_from___stat13(&sb, &sb32); 131 syscallarg(netbsd32_stat13p_t) sb; 140 error = copyout(&sb32, SCARG_P32(uap, sb), sizeof(sb32)); 153 struct stat sb; local 159 error = do_sys_stat(path, NOFOLLOW, &sb); 162 netbsd32_from___stat13(&sb, &sb32); 172 syscallarg(netbsd32_stat13p_t) sb; 174 struct stat sb; local 272 struct stat sb; local [all...] |
/netbsd-current/sbin/mount_ntfs/ |
H A D | mount_ntfs.c | 83 struct stat sb; local 135 if (stat(dir, &sb) == -1) 139 args->uid = sb.st_uid; 141 args->gid = sb.st_gid; 143 args->mode = sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO);
|
/netbsd-current/share/examples/refuse/ian/libfetch/ |
H A D | file.c | 95 struct stat sb; local 99 if (stat(fn, &sb) == -1) { 103 us->size = sb.st_size; 104 us->atime = sb.st_atime; 105 us->mtime = sb.st_mtime;
|
/netbsd-current/usr.bin/whereis/ |
H A D | whereis.c | 61 struct stat sb; local 116 if (stat(*argv, &sb) == -1) 118 if (!S_ISREG(sb.st_mode)) 141 if (stat(path, &sb) == -1) 143 if (!S_ISREG(sb.st_mode))
|
/netbsd-current/sys/lib/libsa/ |
H A D | ls.c | 96 struct stat sb; local 103 || fstat(fd, &sb) < 0 104 || (sb.st_mode & S_IFMT) != S_IFDIR) { 129 if (fstat(fd, &sb) < 0) { 133 if ((sb.st_mode & S_IFMT) != S_IFDIR) {
|
/netbsd-current/external/gpl2/xcvs/dist/src/ |
H A D | socket-client.c | 67 struct socket_buffer *sb = closure; local 94 nbytes = recv (sb->socket, data + *got, size - *got, 0); 124 struct socket_buffer *sb = closure; local 135 if (send (sb->socket, data, have, 0) < 0) 143 nbytes = send (sb->socket, data, have, 0);
|
/netbsd-current/sys/netinet/ |
H A D | sctp_var.h | 91 #define sctp_sbspace(sb) ((long) (((sb)->sb_hiwat > (sb)->sb_cc) ? ((sb)->sb_hiwat - (sb)->sb_cc) : 0))
|
/netbsd-current/sbin/mount_ados/ |
H A D | mount_ados.c | 82 struct stat sb; local 131 if (stat(dir, &sb) == -1) 135 args.uid = sb.st_uid; 137 args.gid = sb.st_gid; 139 args.mask = sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO);
|
/netbsd-current/usr.sbin/acpitools/amldb/ |
H A D | amldb.c | 80 struct stat sb; local 90 if (fstat(fd, &sb) == -1) { 94 if ((code = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0)) == 110 env.end = code + sb.st_size; 119 env.end = code + sb.st_size;
|