Home
last modified time | relevance | path

Searched refs:chb (Results 1 – 25 of 129) sorted by relevance

123456

/external/scapy/scapy/asn1/
Dber.py64 return chb(l)
67 s = chb(l&0xff)+s
72 return chb(len(s)|0x80)+s
94 return b"".join(chb(k) for k in x)
136 return chb(n)
144 return chb(tag) + s[1:]
160 s = chb(hash(hidden_tag)) + s
287 s = [chb(hash(c)) for c in s]
289 s.append(chb(hash(cls.tag)))
332 s = b"".join(chb(int(b"".join(chb(y) for y in x),2)) for x in zip(*[iter(s)]*8))
[all …]
/external/scapy/scapy/layers/
Dvrrp.py39 p = p[:6]+chb(ck>>8)+chb(ck&0xff)+p[8:]
75 p = p[:6]+chb(ck>>8)+chb(ck&0xff)+p[8:]
Disakmp.py117 s = chb(val&0xff)+s
236 p = p[:2]+chb((l>>8)&0xff)+chb(l&0xff)+p[4:]
Deap.py22 from scapy.compat import orb, chb
84 return chb(self.type) + self.payload.hashret()
278 p = p[:2] + chb((l >> 8) & 0xff) + chb(l & 0xff) + p[4:]
Dlltd.py219 pkt = chb(flags + (count >> 8)) + chb(count % 256) + pkt[2:]
261 pkt = chb(flags + (length >> 8)) + chb(length % 256) + pkt[2:]
Ddhcp.py275 s += chb(onum)
276 s += chb(len(oval))
281 s += chb(DHCPRevOptions[o][0])
283 s += chb(o)+b"\0"
Dl2.py354 p = p[:4]+chb((c>>8)&0xff)+chb(c&0xff)+p[6:]
385 p = p[:4] + chb((pay_len >> 8) & 0xff) + chb(pay_len & 0xff) + p[6:]
Dinet.py320 opt += chb(onum) + chb(2+len(oval))+ raw(oval)
387 p = chb(((self.version&0xf)<<4) | ihl&0x0f)+p[1:]
393 p = p[:10]+chb(ck>>8)+chb(ck&0xff)+p[12:]
528 p = p[:12]+chb((dataofs << 4) | orb(p[12])&0x0f)+p[13:]
696 p = p[:2] + chb(ck>>8) + chb(ck&0xff) + p[4:]
/external/scapy/scapy/contrib/
Deigrp.py51 from scapy.compat import chb, raw
229 p = p[:6] + chb((keysize >> 8) & 0xff) + chb(keysize & 0xff) + p[8:]
249 p = p[:2] + chb((l >> 8) & 0xff) + chb(l & 0xff) + p[4:]
480 p = p[:2] + chb((c >> 8) & 0xff) + chb(c & 0xff) + p[4:]
Digmp.py26 from scapy.compat import chb, orb
77 p = p[:2]+chb(ck>>8)+chb(ck&0xff)+p[4:]
Dbgp.py627 p = chb(p[0]) + chb(length) + p[2:]
918 packet = chb(p[0]) + chb(length)
1168 p = chb(p[0]) + chb(segment_len) + p[2:]
1197 p = chb(p[0]) + chb(segment_len) + p[2:]
1936 p = chb(p[0]) + chb(segment_len) + p[2:]
Dmqtt.py12 from scapy.compat import orb, chb
29 data = b"".join(chb(val | (0 if i == lastoffset else 128))
Dhttp2.py320 return chb(x)
324 sl = [chb(self._max_value)]
327 sl.append(chb(0x80 | (x & 0x7F)))
329 sl.append(chb(x))
391 return s[0] + chb((s[2] << self.size) + self._max_value) + self.i2m(pkt, val)[1:]
394 return chb(s[0]) + chb((s[2] << self.size) + orb(self.i2m(pkt, val)))
1119 s.insert(0, chb((bit_str >> (i*8)) & 0xFF))
1161 parent[b] = chb(i) if i < 256 else EOS()
Dtacacs.py30 from scapy.compat import chb, orb
63 return b"".join(chb(orb(pad[i]) ^ orb(pay[i])) for i in range(len(pay)))
Dcdp.py324 return pkt[:-1] + b'\xff' + chb(orb(last_chr) - 1)
/external/scapy/scapy/
Dcompat.py82 def chb(x): function
106 def chb(x): function
Dutils6.py396 d = b"".join(chb(x) for x in range(256))
398 s += chb(random.choice(d))
404 s1 = chb(orb(s1[0]) | 0x04) + s1[1:]
Dutils.py357 return chb(x) + chb(y)
361 return b"".join(chb(int(x, 16)) for x in mac.split(':'))
385 return b"".join(map(lambda x,y:chb(orb(x)^orb(y)), s1, s2))
392 return b"".join(map(lambda x,y:chb(orb(x)&orb(y)), s1, s2))
/external/icu/icu4c/source/data/lang/
Dde_AT.txt7 chb{"Chibcha-Sprache"}
Dde_CH.txt17 chb{"Chibcha-Sprache"}
/external/deqp-deps/SPIRV-Tools/source/opt/
Daggressive_dead_code_elim_pass.cpp213 Instruction* chb = currentHeaderBranch.top(); in ComputeBlock2HeaderMaps() local
214 if (chb != nullptr) in ComputeBlock2HeaderMaps()
215 currentMergeBlockId = branch2merge_[chb]->GetSingleWordInOperand(0); in ComputeBlock2HeaderMaps()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Daggressive_dead_code_elim_pass.cpp213 Instruction* chb = currentHeaderBranch.top(); in ComputeBlock2HeaderMaps() local
214 if (chb != nullptr) in ComputeBlock2HeaderMaps()
215 currentMergeBlockId = branch2merge_[chb]->GetSingleWordInOperand(0); in ComputeBlock2HeaderMaps()
/external/clang/test/SemaObjC/
Dblock-explicit-return-type.m37 …const char * (^chb) (int flag, const char *arg, char *arg1) = ^ const char * (int flag, const char…
/external/scapy/scapy/modules/krack/
Dautomaton.py14 from scapy.compat import raw, hex_bytes, chb
240 chb(key_descriptor_type),
295 chb(len(self.gtk_full) + 6),
/external/scapy/scapy/arch/
Dpcapdnet.py88 if_raw_addr = b"".join(chb(x) for x in val.contents.sin_addr[:4])
123 addr = inet_ntop(socket.AF_INET6, b"".join(chb(x) for x in val.contents.sin6_addr[:]))
147 pkt = b"".join(chb(i) for i in self.pkt_data[:self.header.contents.len])

123456