/external/scapy/scapy/contrib/ |
D | bgp.py | 233 remain, ret = s[:length], s[length:] 237 remain = s[:index] 240 remain = s 242 while remain: 243 mask_length_in_bits = orb(remain[0]) 245 current = remain[:mask_length_in_bytes + 1] 246 remain = remain[mask_length_in_bytes + 1:] 250 return remain + ret, lst 746 remain = s 748 remain = s[:length] [all …]
|
D | openflow3.py | 103 remain = s 105 while remain: 106 l = HelloElemPacketListField._get_hello_elem_length(remain) 107 current = remain[:l] 108 remain = remain[l:] 112 return remain, lst 597 remain = s[:lim] 599 while remain and len(remain) > 4: 600 l = OXMPacketListField._get_oxm_length(remain) + 4 602 if l <= 4 or len(remain) < l: [all …]
|
D | openflow.py | 346 remain = s 348 while remain: 349 l = ActionPacketListField._get_action_length(remain) 350 current = remain[:l] 351 remain = remain[l:] 355 return remain, lst 402 remain = s 404 while remain: 405 l = QueuePropertyPacketListField._get_queue_property_length(remain) 406 current = remain[:l] [all …]
|
D | dtp.py | 56 remain = s 57 while len(remain) > 0: 58 p = self.m2i(pkt,remain) 61 remain = pad.load 64 remain = "" 66 return remain,lst
|
D | eigrp.py | 427 remain = s 428 while len(remain) > 0: 429 p = self.m2i(pkt, remain) 432 remain = pad.load 435 remain = b"" 437 return remain,lst
|
/external/scapy/scapy/layers/ |
D | ntp.py | 238 remain = s 244 remain = s[start:] 245 return remain, ret 328 remain = s 333 remain = s[end:] 350 return remain, lst 1518 remain = s 1523 while len(remain) >= pkt.data_item_size and item_counter < pkt.nb_items: 1524 current = remain[:length] 1525 remain = remain[length:] [all …]
|
D | radius.py | 1071 remain, ret = s[:length], s[length:] 1073 while remain: 1074 attr_len = orb(remain[1]) 1075 current = remain[:attr_len] 1076 remain = remain[attr_len:] 1080 return remain + ret, lst
|
D | eap.py | 713 remain = s 715 while remain: 716 len_bytes = struct.unpack("!H", remain[2:4])[0] 718 current = remain[:4 + param_set_len] 719 remain = remain[4 + param_set_len:] 723 return remain, lst
|
/external/syzkaller/vendor/cloud.google.com/go/storage/ |
D | reader.go | 29 remain, size int64 member 44 if r.remain != -1 { 45 r.remain -= int64(n) 52 if r.remain == 0 && r.gotCRC != r.wantCRC { 69 return r.remain
|
/external/libmtp/src/ |
D | util.c | 102 uint32_t remain = n; in data_dump_ascii() local 108 while (remain) { in data_dump_ascii() 111 ln = ( remain > 16 ) ? 16 : remain; in data_dump_ascii() 132 remain -= ln; in data_dump_ascii()
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | proto_buffer_writer.h | 89 size_t remain = total_size_ - byte_count_; in Next() local 94 if (GRPC_SLICE_LENGTH(slice_) > remain) { in Next() 95 GRPC_SLICE_SET_LENGTH(slice_, remain); in Next() 101 remain > static_cast<size_t>(block_size_) ? block_size_ : remain; in Next()
|
/external/u-boot/drivers/spi/ |
D | sh_spi.c | 141 int remain = (int)len; in sh_spi_send() local 146 while (remain > 0) { in sh_spi_send() 147 cur_len = (remain < SH_SPI_FIFO_SIZE) ? in sh_spi_send() 148 remain : SH_SPI_FIFO_SIZE; in sh_spi_send() 165 remain -= cur_len; in sh_spi_send() 168 if (remain > 0) in sh_spi_send()
|
/external/mdnsresponder/mDNSPosix/ |
D | Identify.c | 189 struct timeval now, remain = end; in WaitForAnswer() local 194 if (remain.tv_usec < now.tv_usec) { remain.tv_usec += 1000000; remain.tv_sec--; } in WaitForAnswer() 195 if (remain.tv_sec < now.tv_sec) in WaitForAnswer() 200 remain.tv_usec -= now.tv_usec; in WaitForAnswer() 201 remain.tv_sec -= now.tv_sec; in WaitForAnswer() 202 mDNSPosixGetFDSet(m, &nfds, &readfds, &remain); in WaitForAnswer() 203 result = select(nfds, &readfds, NULL, NULL, &remain); in WaitForAnswer()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/ |
D | CpioArchiveEntry.java | 514 final int remain = size % this.alignmentBoundary; in getHeaderPadCount() local 515 if (remain > 0) { in getHeaderPadCount() 516 return this.alignmentBoundary - remain; in getHeaderPadCount() 529 final int remain = (int) (size % this.alignmentBoundary); in getDataPadCount() local 530 if (remain > 0){ in getDataPadCount() 531 return this.alignmentBoundary - remain; in getDataPadCount()
|
/external/scapy/scapy/layers/tls/ |
D | record.py | 123 remain = s 125 remain, ret = s[:l], s[l:] 127 if remain == b"": 135 return ret, _TLSEncryptedContent(remain) 137 while remain: 138 raw_msg = remain 139 p = self.m2i(pkt, remain) 142 remain = pad.load 144 if len(remain) != 0: 145 raw_msg = raw_msg[:-len(remain)] [all …]
|
D | keyexchange.py | 208 def __init__(self, name, default, length_from=None, remain=0): argument 210 PacketField.__init__(self, name, default, _TLSSignature, remain=remain) 222 remain = b"" 226 remain = r.load 227 return remain, i 242 def __init__(self, name, default, length_from=None, remain=0): argument 244 PacketField.__init__(self, name, default, None, remain=remain) 411 def __init__(self, name, default, enum, basis_type_of, remain=0): argument 424 def __init__(self, name, default, basis_type_from, clsdict, remain=0): argument 427 PacketField.__init__(self, name, default, None, remain=remain)
|
/external/scapy/scapy/ |
D | plist.py | 458 remain = self.res[:] 461 while i < len(remain): 462 s = remain[i] 464 while j < len(remain)-1: 466 r = remain[j] 470 remain[i]._answered=1 471 remain[j]._answered=2 473 del(remain[j]) 474 del(remain[i]) 479 remain = [x for x in remain if not hasattr(x, "_answered")] [all …]
|
D | sendrecv.py | 212 remain = list(itertools.chain(*six.itervalues(hsent))) 214 remain = [p for p in remain if not hasattr(p, '_answered')] 216 if autostop and len(remain) > 0 and len(remain) != len(tobesent): 219 tobesent = remain 225 debug.sent=plist.PacketList(remain[:], "Sent") 236 return plist.SndRcvList(ans), plist.PacketList(remain, "Unanswered") 527 remain = list(itertools.chain(*six.itervalues(hsent))) 536 return plist.SndRcvList(ans), plist.PacketList(remain, "Unanswered") 712 remain = None 717 return bpf_select(sockets, remain) [all …]
|
D | fields.py | 175 remain,val = self._fld.getfield(pkt,s) 176 padlen = self.padlen(len(s)-len(remain)) 177 return remain[padlen:], val 387 def __init__(self, name, default, fmt="H", remain=0): argument 389 self.remain = remain 410 if self.remain == 0: 413 return s[-self.remain:],self.m2i(pkt, s[:-self.remain]) 420 def __init__(self, name, default, cls, remain=0): argument 421 StrField.__init__(self, name, default, remain=remain) 431 remain = b"" [all …]
|
D | automaton.py | 127 def _timeout_thread(self, remain): argument 129 time.sleep(remain) 143 def __init__(self, inputs, remain): argument 146 self.remain = remain 161 elif not self.remain and i.check_recv(): 167 self.results.extend(select(select_inputs, [], [], self.remain)[0]) 168 if not self.remain: 171 threading.Thread(target=self._timeout_thread, args=(self.remain,)).start() 176 r,_,_ = select(self.inputs,[],[],self.remain) 179 def select_objects(inputs, remain): argument [all …]
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | base64.cc | 118 const int remain = static_cast<int>(end - b64); in Base64Decode() local 119 if (TF_PREDICT_FALSE(remain == 1)) { in Base64Decode() 129 std::memcpy(tail, b64, remain * sizeof(*b64)); in Base64Decode() 132 current += remain - 1; in Base64Decode()
|
/external/python/cpython2/Lib/ |
D | inspect.py | 768 stack, remain, count = [], [], [] 777 remain.append(value) 788 if not remain: 792 remain[-1] = remain[-1] - 1 793 while remain[-1] == 0: 794 remain.pop() 797 if not remain: break 798 remain[-1] = remain[-1] - 1 799 if not remain: break
|
/external/syzkaller/vendor/golang.org/x/net/http2/ |
D | flow.go | 44 remain := (1<<31 - 1) - f.n 45 if n > remain {
|
/external/u-boot/drivers/i2c/ |
D | mxs_i2c.c | 134 int i, remain, off; in mxs_i2c_write() local 167 remain = 24 - ((i & 3) * 8); in mxs_i2c_write() 168 if (remain) in mxs_i2c_write() 169 writel(data >> remain, &i2c_regs->hw_i2c_data); in mxs_i2c_write()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objcopy/ |
D | strip-all.test | 19 # RUN: cp %t %t-should-remain-the-same 20 # RUN: llvm-strip %t4 -o %t-should-remain-the-same -o %t-should-be-stripped 22 # RUN: cmp %t %t-should-remain-the-same
|