Searched refs:nr (Results 26 - 50 of 461) sorted by relevance

1234567891011>>

/netbsd-current/libexec/rexecd/unit-tests/
H A Drexec.c48 ssize_t nr; local
79 while ((nr = read(s, line, sizeof(line))) > 0)
80 (void)write(STDOUT_FILENO, line, nr);
81 if (nr == -1)
/netbsd-current/sys/lib/libsa/
H A Dloadfile_aout.c97 ssize_t nr; local
137 nr = READ(fd, maxp, x->a_text - sub);
138 if (nr == -1) {
142 if (nr != (ssize_t)(x->a_text - sub)) {
178 nr = READ(fd, maxp, x->a_data);
179 if (nr == -1) {
183 if (nr != (ssize_t)x->a_data) {
229 nr = READ(fd, maxp, x->a_syms);
230 if (nr == -1) {
234 if (nr !
[all...]
H A Dloadfile_ecoff.c58 ssize_t nr; local
72 nr = READ(fd, coff->a.text_start, coff->a.tsize);
73 if (nr == -1) {
76 if (nr != coff->a.tsize) {
101 nr = READ(fd, coff->a.data_start, coff->a.dsize);
102 if (nr == -1) {
106 if (nr != coff->a.dsize) {
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/avr/
H A Dtestutils.inc9 .macro exit nr
10 ldi r16, \nr
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
H A Dwatchpoint-fork-parent.c31 forkoff (int nr) argument
34 int exit_code = 42 + nr;
44 printf ("child%d: %d\n", nr, (int) getpid ());
61 printf ("parent%d: %d\n", nr, (int) child);
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dwatchpoint-fork-parent.c31 forkoff (int nr) argument
34 int exit_code = 42 + nr;
44 printf ("child%d: %d\n", nr, (int) getpid ());
61 printf ("parent%d: %d\n", nr, (int) child);
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/avr/
H A Dtestutils.inc9 .macro exit nr
10 ldi r16, \nr
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_ioc32.c44 unsigned int nr = DRM_IOCTL_NR(cmd); local
47 if (nr < DRM_COMMAND_BASE)
/netbsd-current/distrib/vax/tk50/
H A DMakefile20 dd if=tk50-file1-${DISTRIBREV} of=/dev/nr${TAPEDEV} bs=512
21 dd if=tk50-file2-${DISTRIBREV} of=/dev/nr${TAPEDEV} bs=512
22 dd if=${DESTDIR}/snapshot/bin.tar.gz of=/dev/nr${TAPEDEV} bs=64k
23 dd if=${DESTDIR}/snapshot/dev.tar.gz of=/dev/nr${TAPEDEV} bs=64k
24 dd if=${DESTDIR}/snapshot/etc.tar.gz of=/dev/nr${TAPEDEV} bs=64k
25 dd if=${DESTDIR}/snapshot/sbin.tar.gz of=/dev/nr${TAPEDEV} bs=64k
26 dd if=${DESTDIR}/snapshot/usr.bin.tar.gz of=/dev/nr${TAPEDEV} bs=64k
27 dd if=${DESTDIR}/snapshot/usr.games.tar.gz of=/dev/nr${TAPEDEV} bs=64k
28 dd if=${DESTDIR}/snapshot/usr.include.tar.gz of=/dev/nr${TAPEDEV} bs=64k
29 dd if=${DESTDIR}/snapshot/usr.lib.tar.gz of=/dev/nr
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/iq2000/
H A Diq2000.c45 int nr = 0; local
47 pc, read_map, CPU2DATA(addr + nr)) != 0)
48 nr++;
49 buf = NZALLOC (char, nr + 1);
50 sim_read (CPU_STATE (current_cpu), CPU2DATA(addr), buf, nr); local
209 iq2000bf_fetch_register (SIM_CPU *cpu, int nr, void *buf, int len) argument
211 if (nr >= GPR0_REGNUM
212 && nr < (GPR0_REGNUM + NR_GPR)
216 H2T_4 (iq2000bf_h_gr_get (cpu, nr - GPR0_REGNUM));
219 else if (nr
230 iq2000bf_store_register(SIM_CPU *cpu, int nr, const void *buf, int len) argument
[all...]
/netbsd-current/external/gpl2/xcvs/dist/src/
H A Dlog.c1066 struct revlist *nr; local
1068 nr = xmalloc (sizeof *nr);
1069 nr->inclusive = r->inclusive;
1075 nr->first = RCS_head (rcs);
1076 if (!nr->first)
1081 nr->last = NULL;
1082 nr->fields = 0;
1086 nr->last = xstrdup (nr
1279 struct revlist *nr; local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_ioc32.c85 unsigned int nr = DRM_IOCTL_NR(cmd); local
89 if (nr < DRM_COMMAND_BASE || nr >= DRM_COMMAND_END)
92 if (nr < DRM_COMMAND_BASE + ARRAY_SIZE(i915_compat_ioctls))
93 fn = i915_compat_ioctls[nr - DRM_COMMAND_BASE];
/netbsd-current/libexec/makekey/
H A Dmakekey.c69 int nr; local
72 if ((nr = read(STDIN_FILENO, bp, len)) == len)
74 if (nr >= 0)
/netbsd-current/sys/crypto/chacha/
H A Dchacha_impl.c124 unsigned nr)
127 (*chacha_impl->ci_chacha_core)(out, in, k, c, nr);
135 unsigned nr)
138 (*chacha_impl->ci_hchacha)(out, in, k, c, nr);
145 unsigned nr)
148 (*chacha_impl->ci_chacha_stream)(s, nbytes, blkno, nonce, key, nr);
155 unsigned nr)
159 nr);
166 unsigned nr)
169 (*chacha_impl->ci_xchacha_stream)(s, nbytes, blkno, nonce, key, nr);
120 chacha_core(uint8_t out[restrict static CHACHA_CORE_OUTBYTES], const uint8_t in[static CHACHA_CORE_INBYTES], const uint8_t k[static CHACHA_CORE_KEYBYTES], const uint8_t c[static CHACHA_CORE_CONSTBYTES], unsigned nr) argument
131 hchacha(uint8_t out[restrict static HCHACHA_OUTBYTES], const uint8_t in[static HCHACHA_INBYTES], const uint8_t k[static HCHACHA_KEYBYTES], const uint8_t c[static HCHACHA_CONSTBYTES], unsigned nr) argument
142 chacha_stream(uint8_t *restrict s, size_t nbytes, uint32_t blkno, const uint8_t nonce[static CHACHA_STREAM_NONCEBYTES], const uint8_t key[static CHACHA_STREAM_KEYBYTES], unsigned nr) argument
152 chacha_stream_xor(uint8_t *c, const uint8_t *p, size_t nbytes, uint32_t blkno, const uint8_t nonce[static CHACHA_STREAM_NONCEBYTES], const uint8_t key[static CHACHA_STREAM_KEYBYTES], unsigned nr) argument
163 xchacha_stream(uint8_t *restrict s, size_t nbytes, uint32_t blkno, const uint8_t nonce[static XCHACHA_STREAM_NONCEBYTES], const uint8_t key[static XCHACHA_STREAM_KEYBYTES], unsigned nr) argument
173 xchacha_stream_xor(uint8_t *c, const uint8_t *p, size_t nbytes, uint32_t blkno, const uint8_t nonce[static XCHACHA_STREAM_NONCEBYTES], const uint8_t key[static XCHACHA_STREAM_KEYBYTES], unsigned nr) argument
[all...]
/netbsd-current/tests/fs/ffs/
H A Dt_extattr.c66 check_list(const char *buf, ssize_t nr) argument
126 ssize_t nr; local
139 if ((nr = rump_sys_extattr_get_file(M, EXTATTR_NAMESPACE_USER,
147 if ((nr = rump_sys_extattr_get_fd(fd, EXTATTR_NAMESPACE_USER,
153 if ((nr = rump_sys_extattr_list_fd(fd, EXTATTR_NAMESPACE_USER,
155 atf_tc_fail_errno("extattr_list_fd %zd", nr);
158 if ((nr = rump_sys_extattr_list_file(M, EXTATTR_NAMESPACE_USER,
160 atf_tc_fail_errno("extattr_list_file %zd", nr);
165 if ((nr = rump_sys_extattr_list_fd(fd, EXTATTR_NAMESPACE_USER,
167 atf_tc_fail_errno("extattr_list_fd %zd", nr);
[all...]
/netbsd-current/usr.sbin/vipw/
H A Dvipw.c132 int nr, nw, off; local
135 while ((nr = read(from, buf, sizeof(buf))) > 0)
136 for (off = 0; off < nr; nr -= nw, off += nw)
137 if ((nw = write(to, buf + off, nr)) < 0)
139 if (nr < 0)
/netbsd-current/usr.bin/grep/
H A Dfile.c76 ssize_t nr = -1; local
84 nr = gzread(gzbufdesc, buffer, MAXBUFSIZ);
85 if (nr == -1)
91 nr = BZ2_bzRead(&bzerr, bzbufdesc, buffer, MAXBUFSIZ);
95 /* No problem, nr will be okay */
110 nr = read(f->fd, buffer, MAXBUFSIZ);
114 nr = -1;
116 if (nr == -1)
120 if (nr == -1) {
121 nr
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/
H A Dnv04.h23 int index, int nr, const struct nv04_fifo_ramfc *,
/netbsd-current/usr.sbin/kvm_mkdb/
H A Dnlist_aout.c114 int fd, nr, strsize; local
125 nr = read(fd, &ebuf, sizeof(struct exec));
126 if (nr != sizeof(struct exec)) {
151 nr = read(fd, (char *)&strsize, sizeof(strsize));
152 if (nr != sizeof(strsize))
153 badread(nr, "no symbol table");
161 if ((nr = read(fd, strtab, strsize)) != strsize)
162 badread(nr, "corrupted symbol table");
245 badread(int nr, char *p) argument
247 if (nr <
[all...]
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A Dpassfile.c43 size_t nread, nleft, nr; local
96 nr = fread( &passwd->bv_val[nread], 1, nleft, f );
98 if( nr < nleft && ferror( f ) ) {
106 nread += nr;
107 nleft -= nr;
/netbsd-current/external/gpl3/gdb.old/dist/sim/iq2000/
H A Diq2000.c65 int nr = 0; local
67 pc, read_map, CPU2DATA(addr + nr)) != 0)
68 nr++;
69 buf = NZALLOC (char, nr + 1);
70 sim_read (CPU_STATE (current_cpu), CPU2DATA(addr), buf, nr); local
228 iq2000bf_fetch_register (SIM_CPU *cpu, int nr, unsigned char *buf, int len) argument
230 if (nr >= GPR0_REGNUM
231 && nr < (GPR0_REGNUM + NR_GPR)
235 H2T_4 (iq2000bf_h_gr_get (cpu, nr - GPR0_REGNUM));
238 else if (nr
249 iq2000bf_store_register(SIM_CPU *cpu, int nr, unsigned char *buf, int len) argument
[all...]
/netbsd-current/usr.bin/progress/
H A Dprogress.c87 ssize_t nr, nw, off; local
232 nr = read(fd, fb_buf, buffersize);
233 } while (nr < 0 && errno == EINTR);
234 if (nr < 0) {
238 if (nr == 0)
240 for (off = 0; nr; nr -= nw, off += nw, bytes += nw)
242 (size_t) nr)) < 0) {
249 (unsigned) nr);
/netbsd-current/external/gpl3/gdb.old/dist/sim/ppc/
H A Digen.c58 int nr = 0; local
60 return nr;
61 nr += print_insn_bits(file, bits->last);
62 nr += lf_putchr(file, '_');
63 nr += lf_putstr(file, bits->field->val_string);
65 nr += lf_putint(file, bits->opcode->boolean_constant);
68 nr += lf_putint(file, bits->value << (bits->field->last - bits->opcode->last));
70 nr += lf_putint(file, bits->value);
72 return nr;
81 int nr local
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/ppc/
H A Digen.c57 int nr = 0; local
59 return nr;
60 nr += print_insn_bits(file, bits->last);
61 nr += lf_putchr(file, '_');
62 nr += lf_putstr(file, bits->field->val_string);
64 nr += lf_putint(file, bits->opcode->boolean_constant);
67 nr += lf_putint(file, bits->value << (bits->field->last - bits->opcode->last));
69 nr += lf_putint(file, bits->value);
71 return nr;
80 int nr local
[all...]
/netbsd-current/external/bsd/wpa/dist/src/ap/
H A Drrm.c156 static int hostapd_check_lci_age(struct hostapd_neighbor_entry *nr, u16 max_age) argument
161 if (nr->stationary || max_age == 0xffff)
170 os_time_sub(&curr, &nr->lci_date, &diff);
184 struct hostapd_neighbor_entry *nr,
187 size_t len = 2 + wpabuf_len(nr->nr);
189 if (send_lci && nr->lci)
190 len += 2 + wpabuf_len(nr->lci);
192 if (send_civic && nr->civic)
193 len += 2 + wpabuf_len(nr
183 hostapd_neighbor_report_len(struct wpabuf *buf, struct hostapd_neighbor_entry *nr, int send_lci, int send_civic) argument
204 struct hostapd_neighbor_entry *nr; local
519 struct hostapd_neighbor_entry *nr; local
[all...]

Completed in 229 milliseconds

1234567891011>>