Searched refs:bp (Results 1 - 25 of 1380) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/lib/libcurses/
H A Dfullname.c49 fullname(const char *bp, char *def) argument
55 while (*bp && *bp != ':') {
57 while (*bp && *bp != ':' && *bp != '|')
58 *cp++ = *bp++; /* Copy name over. */
60 if (*bp == '|')
61 bp++; /* Skip over '|' if that is case. */
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/rtti/
H A Dpredefined-rtti-macro-2.C6 void f(B* bp) argument
8 bp =
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D20000801-1.c5 foo (char *bp, unsigned n) argument
8 register char *ep = bp + n;
11 while (bp < ep)
13 sp = bp + 3;
15 *sp = *bp;
16 *bp++ = c;
17 sp = bp + 1;
19 *sp = *bp;
20 *bp++ = c;
21 bp
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D20000801-1.c5 foo (char *bp, unsigned n) argument
8 register char *ep = bp + n;
11 while (bp < ep)
13 sp = bp + 3;
15 *sp = *bp;
16 *bp++ = c;
17 sp = bp + 1;
19 *sp = *bp;
20 *bp++ = c;
21 bp
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_entry_strmode.c44 char *bp = entry->strmode; local
49 strcpy(bp, "?rwxrwxrwx ");
53 case AE_IFREG: bp[0] = '-'; break;
54 case AE_IFBLK: bp[0] = 'b'; break;
55 case AE_IFCHR: bp[0] = 'c'; break;
56 case AE_IFDIR: bp[0] = 'd'; break;
57 case AE_IFLNK: bp[0] = 'l'; break;
58 case AE_IFSOCK: bp[0] = 's'; break;
59 case AE_IFIFO: bp[0] = 'p'; break;
62 bp[
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/lib/
H A Dbufgap.c57 #define AFTSUB(bp, n) ((bp)->buf[(int)n])
58 #define BEFSUB(bp, n) ((bp)->buf[(int)((bp)->size - (n) - 1)])
129 bufgap_open(bufgap_t *bp, const char *f) argument
136 (void) memset(bp, 0x0, sizeof(*bp));
142 bp->size = BGCHUNKSIZE;
143 NEWARRAY(char, bp
173 bufgap_close(bufgap_t *bp) argument
180 bufgap_forwards(bufgap_t *bp, uint64_t n, int type) argument
237 bufgap_backwards(bufgap_t *bp, uint64_t n, int type) argument
294 bufgap_seek(bufgap_t *bp, int64_t off, int whence, int type) argument
362 bufgap_getstr(bufgap_t *bp) argument
369 bufgap_getbin(bufgap_t *bp, void *dst, size_t len) argument
380 bufgap_tell(bufgap_t *bp, int whence, int type) argument
398 bufgap_size(bufgap_t *bp, int type) argument
407 bufgap_insert(bufgap_t *bp, const char *s, int n) argument
443 bufgap_delete(bufgap_t *bp, uint64_t n) argument
466 bufgap_peek(bufgap_t *bp, int64_t delta) argument
484 bufgap_gettext(bufgap_t *bp, int64_t from, int64_t to) argument
503 bufgap_write(bufgap_t *bp, FILE *filep) argument
516 bufgap_dirty(bufgap_t *bp) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash31.C11 struct mbuf *bp; local
13 bp = (struct mbuf *) malloc( 10 /*(unsigned) (size + sizeof(struct mbuf))*/);
14 return bp;
H A Ddelete2.C12 base* bp; variable
16 delete bp;
21 bp = (base *) 0;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash31.C11 struct mbuf *bp; local
13 bp = (struct mbuf *) malloc( 10 /*(unsigned) (size + sizeof(struct mbuf))*/);
14 return bp;
H A Ddelete2.C12 base* bp; variable
16 delete bp;
21 bp = (base *) 0;
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dvbuf.c11 /* int VBUF_GET(bp)
12 /* VBUF *bp;
14 /* int VBUF_PUT(bp, ch)
15 /* VBUF *bp;
18 /* int VBUF_SPACE(bp, len)
19 /* VBUF *bp;
22 /* int vbuf_unget(bp, ch)
23 /* VBUF *bp;
26 /* ssize_t vbuf_read(bp, buf, len)
27 /* VBUF *bp;
143 vbuf_unget(VBUF *bp, int ch) argument
157 vbuf_get(VBUF *bp) argument
164 vbuf_put(VBUF *bp, int ch) argument
171 vbuf_read(VBUF *bp, char *buf, ssize_t len) argument
197 vbuf_write(VBUF *bp, const char *buf, ssize_t len) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/byacc/dist/
H A Dsymtab.c36 bucket *bp; local
40 bp = (bucket *)MALLOC(sizeof(bucket));
41 NO_SPACE(bp);
43 bp->link = 0;
44 bp->next = 0;
46 bp->name = MALLOC(strlen(name) + 1);
47 NO_SPACE(bp->name);
49 bp->tag = 0;
50 bp->value = UNDEFINED;
51 bp
63 bucket *bp, **bpp; local
87 bucket *bp; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dmodetoa.c16 char *bp; local
30 LIB_GETBUF(bp);
31 snprintf(bp, LIB_BUFLENGTH, "mode#%zu", mode);
32 return bp;
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dprint-pim.c126 static void pimv2_print(register const u_char *bp, register u_int len, u_int cksum);
129 pimv1_join_prune_print(register const u_char *bp, register u_int len) argument
135 if (TTEST2(bp[0], 30) && bp[11] == 1 &&
136 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) {
139 (void)printf(" RPF %s ", ipaddr_string(bp));
140 hold = EXTRACT_16BITS(&bp[6]);
146 ipaddr_string(&bp[26]), bp[2
217 pimv1_print(register const u_char *bp, register u_int len) argument
331 cisco_autorp_print(register const u_char *bp, register u_int len) argument
421 pim_print(register const u_char *bp, register u_int len, u_int cksum) argument
525 pimv2_addr_print(const u_char *bp, enum pimv2_addrtype at, int silent) argument
626 pimv2_print(register const u_char *bp, register u_int len, u_int cksum) argument
[all...]
H A Dprint-dvmrp.c81 dvmrp_print(register const u_char *bp, register u_int len) argument
87 if (bp >= ep)
90 TCHECK(bp[1]);
91 type = bp[1];
94 bp += 8;
102 if (print_probe(bp, ep, len) < 0)
110 if (print_report(bp, ep, len) < 0)
121 if (print_neighbors(bp, ep, len) < 0)
135 bp -= 4;
136 TCHECK2(bp[
174 print_report(register const u_char *bp, register const u_char *ep, register u_int len) argument
231 print_probe(register const u_char *bp, register const u_char *ep, register u_int len) argument
264 print_neighbors(register const u_char *bp, register const u_char *ep, register u_int len) argument
295 print_neighbors2(register const u_char *bp, register const u_char *ep, register u_int len) argument
344 print_prune(register const u_char *bp) argument
357 print_graft(register const u_char *bp) argument
367 print_graft_ack(register const u_char *bp) argument
[all...]
H A Dprint-vrrp.c93 vrrp_print(register const u_char *bp, register u_int len, int ttl) argument
98 TCHECK(bp[0]);
99 version = (bp[0] & 0xf0) >> 4;
100 type = bp[0] & 0x0f;
107 TCHECK(bp[2]);
108 printf(", vrid %u, prio %u", bp[1], bp[2]);
109 TCHECK(bp[5]);
110 auth_type = bp[4];
112 printf(", intvl %us, length %u", bp[
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_buf.c49 dt_buf_create(dtrace_hdl_t *dtp, dt_buf_t *bp, const char *name, size_t len) argument
54 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len);
55 bp->dbu_len = len;
57 if (bp->dbu_buf == NULL)
58 bp->dbu_err = dtrace_errno(dtp);
60 bp->dbu_err = 0;
62 bp->dbu_resizes = 0;
63 bp->dbu_name = name;
67 dt_buf_destroy(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
76 dt_buf_reset(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
85 dt_buf_write(dtrace_hdl_t *dtp, dt_buf_t *bp, const void *buf, size_t len, size_t align) argument
139 dt_buf_offset(const dt_buf_t *bp, size_t align) argument
146 dt_buf_len(const dt_buf_t *bp) argument
152 dt_buf_error(const dt_buf_t *bp) argument
158 dt_buf_ptr(const dt_buf_t *bp) argument
164 dt_buf_claim(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/bootp/bootptest/
H A Dprint-bootp.c57 bootp_print(struct bootp *bp, int length, u_short sport, u_short dport) argument
74 switch (bp->bp_op) {
89 printf(" bootp-#%d", bp->bp_op);
93 if (bp->bp_htype != 1)
94 printf(" htype:%d", bp->bp_htype);
97 if (bp->bp_hlen != 6)
98 printf(" hlen:%d", bp->bp_hlen);
101 if (bp->bp_hlen) {
105 TCHECK(bp->bp_chaddr[0], 6);
107 if (bp
275 rfc1048_print(u_char *bp, int length) argument
375 cmu_print(u_char *bp, int length) argument
424 other_print(u_char *bp, int length) argument
462 dump_hex(u_char *bp, int len) argument
[all...]
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/
H A Dbufcache.c105 struct ubuf *bp, *nbp; local
123 bp = LIST_FIRST(&bufhash[i]);
124 while(bp) {
125 nbp = LIST_NEXT(bp, b_hash);
126 LIST_REMOVE(bp, b_hash);
127 bp->b_hashval = vl_hash(bp->b_vp, bp->b_lblkno);
128 LIST_INSERT_HEAD(&np[bp->b_hashval], bp, b_has
155 buf_destroy(struct ubuf * bp) argument
168 bremfree(struct ubuf * bp) argument
198 struct ubuf *bp; local
222 struct ubuf *bp; local
296 bwrite(struct ubuf * bp) argument
307 brelse(struct ubuf * bp, int set) argument
345 struct ubuf *bp; local
374 reassignbuf(struct ubuf * bp, struct uvnode * vp) argument
388 struct ubuf *bp; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/make/
H A Dbuf.c107 Buf_Expand_1(Buffer *bp) argument
109 bp->size += max(bp->size, 16);
110 bp->buffer = bmake_realloc(bp->buffer, bp->size);
127 Buf_AddBytes(Buffer *bp, int numBytes, const Byte *bytesPtr) argument
129 int count = bp->count;
132 if (__predict_false(count + numBytes >= bp->size)) {
133 bp
157 Buf_GetAll(Buffer *bp, int *numBytesPtr) argument
180 Buf_Empty(Buffer *bp) argument
206 Buf_Init(Buffer *bp, int size) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libmudflap/testsuite/libmudflap.c/
H A Dfail16-frag.c16 struct base *bp; local
18 bp = (struct base *) malloc (sizeof (struct base));;
19 p = bp;
20 bp->basic = 10;
21 ((struct derived *)bp)->extra = 'x';
/netbsd-6-1-5-RELEASE/sys/arch/alpha/stand/common/
H A Dputulong.c32 char buf[sizeof (ul) * 2], *bp; local
34 for (bp = buf; ul != 0; ul >>= 4)
35 *bp++ = hexdigits[ul & 0xf];
36 while (bp-- > buf)
37 putchar(*bp);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/gdbserver/
H A Dmem-break.c110 struct raw_breakpoint *bp; local
112 for (bp = proc->raw_breakpoints; bp != NULL; bp = bp->next)
113 if (bp->pc == where)
114 return bp;
123 struct raw_breakpoint *bp; local
129 bp = find_raw_breakpoint_at (where);
130 if (bp !
246 struct fast_tracepoint_jump *bp, **bp_link; local
475 struct breakpoint *bp; local
501 struct raw_breakpoint *bp, **bp_link; local
560 release_breakpoint(struct process_info *proc, struct breakpoint *bp) argument
583 struct breakpoint *bp, **bp_link; local
624 struct breakpoint *bp; local
636 struct breakpoint *bp; local
670 struct breakpoint *bp; local
690 struct breakpoint *bp = find_gdb_breakpoint_at (where); local
698 struct breakpoint *bp; local
708 struct breakpoint *bp, **bp_link; local
730 uninsert_raw_breakpoint(struct raw_breakpoint *bp) argument
762 struct raw_breakpoint *bp; local
785 struct raw_breakpoint *bp; local
793 reinsert_raw_breakpoint(struct raw_breakpoint *bp) argument
813 struct raw_breakpoint *bp; local
835 struct raw_breakpoint *bp; local
846 struct breakpoint *bp, **bp_link; local
893 struct raw_breakpoint *bp; local
901 validate_inserted_breakpoint(struct raw_breakpoint *bp) argument
925 struct breakpoint *bp, *next; local
946 struct breakpoint *bp; local
961 struct raw_breakpoint *bp = proc->raw_breakpoints; local
1035 struct raw_breakpoint *bp = proc->raw_breakpoints; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.other/
H A Dcast7.C9 int B::* bp = &B::i; member in class:B
10 const int A::* ap = static_cast<const int A::*>(bp);
11 return ap != bp;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.other/
H A Dcast7.C9 int B::* bp = &B::i; member in class:B
10 const int A::* ap = static_cast<const int A::*>(bp);
11 return ap != bp;

Completed in 306 milliseconds

1234567891011>>