/external/tcpdump/ |
D | print-mptcp.c | 170 const u_char *opt _U_, u_int opt_len _U_, u_char flags _U_) in dummy_print() 177 const u_char *opt, u_int opt_len, u_char flags) in mp_capable_print() argument 181 if (!(opt_len == 12 && (flags & TH_SYN)) && in mp_capable_print() 182 !(opt_len == 20 && (flags & (TH_SYN | TH_ACK)) == TH_ACK)) in mp_capable_print() 193 if (opt_len == 20) /* ACK */ in mp_capable_print() 201 const u_char *opt, u_int opt_len, u_char flags) in mp_join_print() argument 205 if (!(opt_len == 12 && (flags & TH_SYN)) && in mp_join_print() 206 !(opt_len == 16 && (flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) && in mp_join_print() 207 !(opt_len == 24 && (flags & TH_ACK))) in mp_join_print() 210 if (opt_len != 24) { in mp_join_print() [all …]
|
D | print-pgm.c | 157 uint8_t opt_type, opt_len; in pgm_print() local 441 opt_len = *bp++; in pgm_print() 442 if (opt_len != 4) { in pgm_print() 443 ND_PRINT((ndo, "[Bad OPT_LENGTH option, length %u != 4]", opt_len)); in pgm_print() 465 opt_len = *bp++; in pgm_print() 466 if (opt_len < PGM_MIN_OPT_LEN) { in pgm_print() 467 ND_PRINT((ndo, "[Bad option, length %u < %u]", opt_len, in pgm_print() 471 if (opts_len < opt_len) { in pgm_print() 475 if (!ND_TTEST2(*bp, opt_len - 2)) { in pgm_print() 483 if (opt_len != PGM_OPT_LENGTH_LEN) { in pgm_print() [all …]
|
D | print-geneve.c | 110 uint8_t opt_len; in geneve_opts_print() local 117 opt_len = 4 + ((*(bp + 3) & OPT_LEN_MASK) * 4); in geneve_opts_print() 121 opt_type & OPT_TYPE_CRITICAL ? "(C)" : "", opt_len)); in geneve_opts_print() 123 if (opt_len > len) { in geneve_opts_print() 128 if (ndo->ndo_vflag > 1 && opt_len > 4) { in geneve_opts_print() 134 for (i = 4; i < opt_len; i += 4) { in geneve_opts_print() 140 bp += opt_len; in geneve_opts_print() 141 len -= opt_len; in geneve_opts_print()
|
/external/rust/crates/rayon/src/ |
D | range_inclusive.rs | 112 fn opt_len(&self) -> Option<usize> { 113 convert!(self.opt_len()) 197 fn opt_len(&self) -> Option<usize> { in opt_len() method 239 assert_eq!(Some(101), (0..=100u32).into_par_iter().opt_len()); in test_u32_opt_len() 242 (0..=u32::MAX - 1).into_par_iter().opt_len() in test_u32_opt_len() 246 (0..=u32::MAX).into_par_iter().opt_len() in test_u32_opt_len() 253 assert_eq!(Some(101), (0..=100u64).into_par_iter().opt_len()); in test_u64_opt_len() 256 (0..=usize::MAX as u64 - 1).into_par_iter().opt_len() in test_u64_opt_len() 258 assert_eq!(None, (0..=usize::MAX as u64).into_par_iter().opt_len()); in test_u64_opt_len() 259 assert_eq!(None, (0..=u64::MAX).into_par_iter().opt_len()); in test_u64_opt_len() [all …]
|
D | range.rs | 91 fn opt_len(&self) -> Option<usize> { 165 if let Some(len) = self.opt_len() { 176 fn opt_len(&self) -> Option<usize> { 259 fn opt_len(&self) -> Option<usize> { in opt_len() method 326 assert_eq!(Some(100), (0..100u64).into_par_iter().opt_len()); in test_u64_opt_len() 329 (0..usize::MAX as u64).into_par_iter().opt_len() in test_u64_opt_len() 336 .opt_len() in test_u64_opt_len() 338 assert_eq!(None, (0..u64::MAX).into_par_iter().opt_len()); in test_u64_opt_len() 345 assert_eq!(Some(100), (0..100u128).into_par_iter().opt_len()); in test_u128_opt_len() 348 (0..usize::MAX as u128).into_par_iter().opt_len() in test_u128_opt_len() [all …]
|
D | par_either.rs | 23 fn opt_len(&self) -> Option<usize> { in opt_len() function 24 self.as_ref().either(L::opt_len, R::opt_len) in opt_len()
|
D | delegate.rs | 33 fn opt_len(&self) -> Option<usize> { 34 self.inner.opt_len()
|
/external/ppp/pppd/ |
D | cbcp.c | 310 u_char type, opt_len, delay, addr_type; local 320 GETCHAR(opt_len, pckt); 321 if (opt_len < 2 || opt_len > len) 324 if (opt_len > 2) 336 if (opt_len > 4) { 338 memcpy(address, pckt, opt_len - 4); 339 address[opt_len - 4] = 0; 352 len -= opt_len; 452 int opt_len; local 457 GETCHAR(opt_len, pckt); [all …]
|
/external/ppp/pppd/include/net/ |
D | ppp-comp.h | 62 void *(*comp_alloc) __P((u_char *options, int opt_len)); 66 int (*comp_init) __P((void *state, u_char *options, int opt_len, 77 void *(*decomp_alloc) __P((u_char *options, int opt_len)); 81 int (*decomp_init) __P((void *state, u_char *options, int opt_len,
|
/external/usrsctp/programs/ |
D | ekr_loop_offload.c | 297 socklen_t opt_len; local 421 opt_len = (socklen_t)sizeof(int); 423 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) { 433 opt_len = (socklen_t)sizeof(int); 435 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) { 444 opt_len = (socklen_t)sizeof(int); 446 if (usrsctp_getsockopt(s_l, SOL_SOCKET, SO_RCVBUF, &cur_buf_size, &opt_len) < 0) { 456 opt_len = (socklen_t)sizeof(int); 458 if (usrsctp_getsockopt(s_l, SOL_SOCKET, SO_RCVBUF, &cur_buf_size, &opt_len) < 0) {
|
D | ekr_loop.c | 279 socklen_t opt_len; local 404 opt_len = (socklen_t)sizeof(int); 406 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) { 416 opt_len = (socklen_t)sizeof(int); 418 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) { 438 opt_len = (socklen_t)sizeof(int); 440 if (usrsctp_getsockopt(s_l, SOL_SOCKET, SO_RCVBUF, &cur_buf_size, &opt_len) < 0) { 450 opt_len = (socklen_t)sizeof(int); 452 if (usrsctp_getsockopt(s_l, SOL_SOCKET, SO_RCVBUF, &cur_buf_size, &opt_len) < 0) {
|
D | ekr_loop_upcall.c | 312 socklen_t opt_len; local 438 opt_len = (socklen_t)sizeof(int); 440 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) { 450 opt_len = (socklen_t)sizeof(int); 452 if (usrsctp_getsockopt(s_c, SOL_SOCKET, SO_SNDBUF, &cur_buf_size, &opt_len) < 0) { 462 opt_len = (socklen_t)sizeof(int); 464 if (usrsctp_getsockopt(s_l, SOL_SOCKET, SO_RCVBUF, &cur_buf_size, &opt_len) < 0) { 474 opt_len = (socklen_t)sizeof(int); 476 if (usrsctp_getsockopt(s_l, SOL_SOCKET, SO_RCVBUF, &cur_buf_size, &opt_len) < 0) {
|
/external/rust/crates/libz-sys/src/zlib-ng/ |
D | trees.c | 119 s->opt_len = s->static_len = 0L; in init_block() 227 s->opt_len += (unsigned long)f * (unsigned int)(bits + xbits); in gen_bitlen() 264 s->opt_len += (unsigned long)(bits * tree[m].Freq); in gen_bitlen() 265 s->opt_len -= (unsigned long)(tree[m].Len * tree[m].Freq); in gen_bitlen() 357 s->opt_len--; in build_tree() 548 s->opt_len += 3*((unsigned long)max_blindex+1) + 5+5+4; in build_bl_tree() 549 Tracev((stderr, "\ndyn trees: dyn %lu, stat %lu", s->opt_len, s->static_len)); in build_bl_tree() 648 Tracev((stderr, "\nlit data: dyn %lu, stat %lu", s->opt_len, s->static_len)); 651 Tracev((stderr, "\ndist data: dyn %lu, stat %lu", s->opt_len, s->static_len)); 662 opt_lenb = (s->opt_len+3+7) >> 3; [all …]
|
/external/rust/crates/rayon/src/iter/ |
D | chain.rs | 51 let (left, right, reducer) = if let Some(len) = a.opt_len() { in drive_unindexed() 62 fn opt_len(&self) -> Option<usize> { in opt_len() function 63 self.a.opt_len()?.checked_add(self.b.opt_len()?) in opt_len()
|
D | copied.rs | 43 fn opt_len(&self) -> Option<usize> { in opt_len() function 44 self.base.opt_len() in opt_len()
|
D | len.rs | 40 fn opt_len(&self) -> Option<usize> { in opt_len() function 174 fn opt_len(&self) -> Option<usize> { in opt_len() function
|
D | cloned.rs | 43 fn opt_len(&self) -> Option<usize> { in opt_len() function 44 self.base.opt_len() in opt_len()
|
D | unzip.rs | 229 fn opt_len(&self) -> Option<usize> { in opt_len() function 231 self.base.opt_len() in opt_len() 276 fn opt_len(&self) -> Option<usize> { in opt_len() function 278 self.base.opt_len() in opt_len()
|
/external/rust/crates/libz-sys/src/zlib/ |
D | trees.c | 418 s->opt_len = s->static_len = 0L; 523 s->opt_len += (ulg)f * (unsigned)(bits + xbits); 556 s->opt_len += ((ulg)bits - tree[m].Len) * tree[m].Freq; 650 s->opt_len--; if (stree) s->static_len -= stree[node].Len; 822 s->opt_len += 3*((ulg)max_blindex+1) + 5+5+4; 824 s->opt_len, s->static_len)); 929 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, 933 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, 945 opt_lenb = (s->opt_len+3+7)>>3; 949 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, [all …]
|
/external/angle/third_party/zlib/ |
D | trees.c | 418 s->opt_len = s->static_len = 0L; 523 s->opt_len += (ulg)f * (unsigned)(bits + xbits); 556 s->opt_len += ((ulg)bits - tree[m].Len) * tree[m].Freq; 650 s->opt_len--; if (stree) s->static_len -= stree[node].Len; 822 s->opt_len += 3*((ulg)max_blindex+1) + 5+5+4; 824 s->opt_len, s->static_len)); 929 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, 933 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, 945 opt_lenb = (s->opt_len+3+7)>>3; 949 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, [all …]
|
/external/zlib/ |
D | trees.c | 418 s->opt_len = s->static_len = 0L; 523 s->opt_len += (ulg)f * (unsigned)(bits + xbits); 556 s->opt_len += ((ulg)bits - tree[m].Len) * tree[m].Freq; 650 s->opt_len--; if (stree) s->static_len -= stree[node].Len; 822 s->opt_len += 3*((ulg)max_blindex+1) + 5+5+4; 824 s->opt_len, s->static_len)); 929 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, 933 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, 945 opt_lenb = (s->opt_len+3+7)>>3; 949 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, [all …]
|
/external/libwebsockets/win32port/zlib/ |
D | trees.c | 426 s->opt_len = s->static_len = 0L; 531 s->opt_len += (ulg)f * (bits + xbits); 564 s->opt_len += ((long)bits - (long)tree[m].Len) 658 s->opt_len--; if (stree) s->static_len -= stree[node].Len; 830 s->opt_len += 3*(max_blindex+1) + 5+5+4; 832 s->opt_len, s->static_len)); 943 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, 947 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, 959 opt_lenb = (s->opt_len+3+7)>>3; 963 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, [all …]
|
/external/python/cpython2/Modules/zlib/ |
D | trees.c | 418 s->opt_len = s->static_len = 0L; 523 s->opt_len += (ulg)f * (unsigned)(bits + xbits); 556 s->opt_len += ((ulg)bits - tree[m].Len) * tree[m].Freq; 650 s->opt_len--; if (stree) s->static_len -= stree[node].Len; 822 s->opt_len += 3*((ulg)max_blindex+1) + 5+5+4; 824 s->opt_len, s->static_len)); 929 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, 933 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, 945 opt_lenb = (s->opt_len+3+7)>>3; 949 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, [all …]
|
/external/ltp/utils/sctp/lib/ |
D | connectx.c | 134 socklen_t opt_len = sizeof(param); in sctp_connectx3() local 147 ¶m, &opt_len); in sctp_connectx3()
|
/external/rust/crates/rayon/src/slice/ |
D | mod.rs | 522 fn opt_len(&self) -> Option<usize> { in opt_len() method 588 fn opt_len(&self) -> Option<usize> { in opt_len() method 678 fn opt_len(&self) -> Option<usize> { in opt_len() method 758 fn opt_len(&self) -> Option<usize> { in opt_len() method 833 fn opt_len(&self) -> Option<usize> { in opt_len() method 896 fn opt_len(&self) -> Option<usize> { in opt_len() method 1003 fn opt_len(&self) -> Option<usize> { in opt_len() method
|