Searched refs:bp (Results 26 - 50 of 201) sorted by relevance

123456789

/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-mobility.c92 mobility_opt_print(const u_char *bp, int len) argument
98 if (bp[i] == IP6MOPT_PAD1)
102 optlen = bp[i + 1] + 2;
109 switch (bp[i]) {
127 EXTRACT_16BITS(&bp[i+2]) << 2);
134 printf("(alt-CoA: %s)", ip6addr_string(&bp[i+2]));
142 EXTRACT_16BITS(&bp[i+2]),
143 EXTRACT_16BITS(&bp[i+4]));
154 printf("(sopt_type %d: trunc)", bp[i]);
157 printf("(type-0x%02x: len=%d)", bp[
171 mobility_print(const u_char *bp, const u_char *bp2 _U_) argument
[all...]
H A Dprint-ah.c44 ah_print(register const u_char *bp) argument
51 ah = (const struct ah *)bp;
63 if (bp + sizeof(struct ah) + sumlen > ep)
H A Dprint-frag6.c44 frag6_print(register const u_char *bp, register const u_char *bp2) argument
49 dp = (const struct ip6_frag *)bp;
59 (long)(bp - bp2) - sizeof(struct ip6_frag));
64 (long)(bp - bp2) - sizeof(struct ip6_frag));
H A Dprint-mpls.c61 mpls_print(const u_char *bp, u_int length) argument
67 p = bp;
92 ip_print(gndo, p, length - (p - bp));
100 ip6_print(p, length - (p - bp));
134 ip_print(gndo, p, length - (p - bp));
157 ip6_print(p, length - (p - bp));
167 isoclns_print(p, length - (p - bp), length - (p - bp));
H A Dprint-icmp6.c236 icmp6_print(const u_char *bp, u_int length, const u_char *bp2, int fragmented) argument
246 dp = (struct icmp6_hdr *)bp;
257 if (TTEST2(bp[0], length)) {
321 print_unknown_data(bp,"\n\t",length);
461 icmp6_rrenum_print(bp, ep);
465 icmp6_nodeinfo_print(length, bp, ep);
511 print_unknown_data(bp,"\n\t", length);
522 get_upperlayer(u_char *bp, u_int *prot) argument
525 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp;
542 while (bp < e
596 icmp6_opt_print(const u_char *bp, int resid) argument
727 mld6_print(const u_char *bp) argument
743 mldv2_report_print(const u_char *bp, u_int len) argument
801 mldv2_query_print(const u_char *bp, u_int len) argument
903 icmp6_nodeinfo_print(u_int icmp6len, const u_char *bp, const u_char *ep) argument
1152 icmp6_rrenum_print(const u_char *bp, const u_char *ep) argument
[all...]
H A Dprint-ipcomp.c51 ipcomp_print(register const u_char *bp, int *nhdr _U_) argument
60 ipcomp = (struct ipcomp *)bp;
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/
H A Dbio.h53 unsigned char *bp; member in struct:opj_bio
82 @param bp Output buffer
85 void bio_init_enc(opj_bio_t *bio, unsigned char *bp, int len);
89 @param bp Input buffer
92 void bio_init_dec(opj_bio_t *bio, unsigned char *bp, int len);
H A Dcio.c77 cio->bp = cio->buffer;
100 return cio->bp - cio->start;
109 cio->bp = cio->start + pos;
116 return cio->end - cio->bp;
123 return cio->bp;
130 if (cio->bp >= cio->end) {
134 *cio->bp++ = v;
142 if (cio->bp >= cio->end) {
143 opj_event_msg(cio->cinfo, EVT_ERROR, "read error: passed the end of the codestream (start = %d, current = %d, end = %d\n", cio->start, cio->bp, cio->end);
146 return *cio->bp
[all...]
H A Dmqc.c199 if (*mqc->bp == 0xff) {
200 mqc->bp++;
201 *mqc->bp = mqc->c >> 20;
206 mqc->bp++;
207 *mqc->bp = mqc->c >> 19;
211 (*mqc->bp)++;
212 if (*mqc->bp == 0xff) {
214 mqc->bp++;
215 *mqc->bp = mqc->c >> 20;
219 mqc->bp
378 mqc_init_enc(opj_mqc_t *mqc, unsigned char *bp) argument
511 mqc_init_dec(opj_mqc_t *mqc, unsigned char *bp, int len) argument
[all...]
H A Draw.c57 return raw->bp - raw->start;
60 void raw_init_dec(opj_raw_t *raw, unsigned char *bp, int len) { argument
61 raw->start = bp;
/haiku-fatelf/src/system/libroot/posix/glibc/stdio-common/
H A D_itowa.h42 wchar_t *bp = buflim; local
49 *--bp = digits[value % Base]; \
58 *--bp = digits[value % base];
61 return bp;
/haiku-fatelf/src/bin/diffutils/lib/
H A Dcmpbuf.c86 char *bp = buf; local
92 size_t bytes_to_read = MIN (buflim - bp, readlim);
93 ssize_t nread = read (fd, bp, bytes_to_read);
117 bp += nread;
119 while (bp < buflim);
121 return bp - buf;
/haiku-fatelf/src/libs/termcap/
H A Dtermcap.c137 find_capability (bp, cap)
138 register char *bp, *cap;
140 for (; *bp; bp++)
141 if (bp[0] == ':'
142 && bp[1] == cap[0]
143 && bp[2] == cap[1])
144 return &bp[4];
452 tgetent (bp, name)
453 char *bp, *nam
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Dsplit.c197 cwrite (bool new_file_flag, const char *bp, size_t bytes)
214 if (full_write (output_desc, bp, bytes) != bytes)
270 char *bp, *bp_out, *eob;
279 bp = bp_out = buf;
280 eob = bp + n_read;
284 bp = memchr (bp, '\n', eob - bp + 1);
285 if (bp == eob)
296 ++bp;
196 cwrite(bool new_file_flag, const char *bp, size_t bytes) argument
269 char *bp, *bp_out, *eob; local
318 char *bp; local
[all...]
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap-nit.c103 register u_char *bp, *cp, *ep; local
117 bp = p->buffer;
119 bp = p->bp;
127 ep = bp + cc;
128 while (bp < ep) {
143 p->cc = ep - bp;
144 p->bp = bp;
149 nh = (struct nit_hdr *)bp;
[all...]
/haiku-fatelf/src/libs/crypt/
H A Dcrypt-blowfish.c101 u_int8_t *bp = buffer; local
104 while (bp < buffer + len) {
112 *bp++ = (u_int8_t)((c1 << 2) | ((c2 & 0x30) >> 4));
113 if (bp >= buffer + len)
120 *bp++ = ((c2 & 0x0f) << 4) | ((c3 & 0x3c) >> 2);
121 if (bp >= buffer + len)
127 *bp++ = ((c3 & 0x03) << 6) | c4;
251 u_int8_t *bp = buffer; local
256 *bp++ = Base64Code[(c1 >> 2)];
259 *bp
[all...]
/haiku-fatelf/src/system/kernel/arch/x86/
H A Darch_debug.cpp42 already_visited(addr_t* visited, int32* _last, int32* _num, addr_t bp) argument
49 if (visited[(NUM_PREVIOUS_LOCATIONS + last - i) % NUM_PREVIOUS_LOCATIONS] == bp)
54 visited[last] = bp;
66 get_next_frame_no_debugger(addr_t bp, addr_t* _next, addr_t* _ip) argument
70 if (user_memcpy(&frame, (void*)bp, sizeof(frame)) != B_OK)
83 get_next_frame_debugger(addr_t bp, addr_t* _next, addr_t* _ip) argument
86 if (debug_memcpy(B_CURRENT_TEAM, &frame, (void*)bp, sizeof(frame)) != B_OK)
364 print_stack_frame(Thread* thread, addr_t ip, addr_t bp, addr_t nextBp, argument
374 diff = nextBp - bp;
384 B_PRINTF_POINTER_WIDTH, bp, dif
677 addr_t bp = x86_get_stack_frame(); local
1059 addr_t bp; local
1140 addr_t bp = x86_get_stack_frame(); local
[all...]
/haiku-fatelf/src/libs/iconv/
H A Diconv.c207 char* bp; local
224 for (cp = tocode, bp = buf, count = MAX_WORD_LENGTH+10+1; ; cp++, bp++) {
230 *bp = c;
237 if (bp-buf >= 10 && memcmp(bp-10,"//TRANSLIT",10)==0) {
238 bp -= 10;
239 *bp = '\0';
243 if (bp-buf >= 8 && memcmp(bp
627 char* bp; local
[all...]
/haiku-fatelf/src/kits/network/libbind/irs/
H A Ddns_ho.c163 static void map_v4v6_hostent(struct hostent *hp, char **bp,
172 static int add_hostent(struct pvt *pvt, char *bp, char **hap,
709 char *bp, *ep, **ap, **hap; local
748 bp = pvt->hostbuf;
755 n = dn_expand(ansbuf, eom, cp, bp, ep - bp);
756 if (n < 0 || !maybe_ok(pvt->res, bp, name_ok)) {
770 n = strlen(bp) + 1; /*%< for the \\0 */
775 pvt->host.h_name = bp;
776 hname = bp;
1043 add_hostent(struct pvt *pvt, char *bp, char **hap, struct addrinfo *ai) argument
[all...]
/haiku-fatelf/src/libs/ncurses/form/
H A Dfty_enum.c178 unsigned char *bp = (unsigned char *)field_buffer(field, 0); local
184 if ((res = Compare((unsigned char *)s, bp, ccase)) != NOMATCH)
191 if ((res = Compare((unsigned char *)p, bp, ccase)) != NOMATCH)
235 unsigned char *bp = (unsigned char *)field_buffer(field, 0); local
241 if (Compare((unsigned char *)(*kwds++), bp, ccase) == EXACT)
246 if ((cnt >= 0) || (Compare((const unsigned char *)dummy, bp, ccase) == EXACT))
273 unsigned char *bp = (unsigned char *)field_buffer(field, 0); local
279 if (Compare((unsigned char *)(*kwds--), bp, ccase) == EXACT)
286 if ((cnt >= 0) || (Compare((const unsigned char *)dummy, bp, ccase) == EXACT))
/haiku-fatelf/src/bin/gdb/bfd/
H A Daout-encap.c162 struct coffscn *tp, *dp, *bp; local
166 bp = &coffheader.scns[2];
188 strcpy (bp->s_name, ".bss");
189 bp->s_paddr = dp->s_vaddr + dp->s_size;
190 bp->s_vaddr = bp->s_paddr;
191 bp->s_size = bss_size;
192 bp->s_scnptr = 0;
193 bp->s_relptr = 0;
194 bp
[all...]
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_packbits.c67 tif_char* bp = (tif_char*) buf; local
82 b = *bp++, cc--, n = 1;
83 for (; cc > 0 && b == *bp; cc--, bp++)
194 PackBitsEncodeChunk(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument
215 if (PackBitsEncode(tif, bp, chunk, s) < 0)
217 bp += chunk;
227 char *bp; local
233 bp = (char*) tif->tif_rawcp;
236 n = (long) *bp
[all...]
/haiku-fatelf/src/libs/tiff/
H A Dtif_packbits.c74 unsigned char* bp = (unsigned char*) buf; local
89 b = *bp++, cc--, n = 1;
90 for (; cc > 0 && b == *bp; cc--, bp++)
199 PackBitsEncodeChunk(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument
209 if (PackBitsEncode(tif, bp, chunk, s) < 0)
211 bp += chunk;
220 char *bp; local
226 bp = (char*) tif->tif_rawcp;
229 n = (long) *bp
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/
H A Dread_termcap.c188 register char *bp; local
190 bp = buf;
198 if (*bp == '\0')
200 else if (*bp++ == ':')
207 for (cp = cap; *cp == *bp && *bp != '\0'; cp++, bp++)
211 if (*bp == '@')
214 if (*bp != '\0' && *bp !
347 register char *bp = buf; local
600 register char *bp; local
775 _nc_tgetent(char *bp, char **sourcename, int *lineno, const char *name) argument
[all...]
/haiku-fatelf/src/bin/gawk/
H A Dansi2knr.c570 char **bp; local
587 bp = breaks;
595 if ( bp >= btop )
602 *bp++ = p;
675 { *bp++ = "va_alist";
680 if ( bp == breaks + 1 ) /* sole argument */
683 writeblanks(bp[-1] - 1, p);
684 bp--;
689 *bp++ = p+1;
694 *bp
[all...]

Completed in 142 milliseconds

123456789