Home
last modified time | relevance | path

Searched refs:from_bytes (Results 1 – 14 of 14) sorted by relevance

/freebsd/tests/atf_python/sys/netlink/
H A Dmessage.py124 def from_bytes(cls, helper, data): member in BaseNetlinkMessage
157 def from_bytes(cls, helper, data): member in StdNetlinkMessage
232 val = v["ad"].cls.from_bytes(data[off : off + nla_len], v["ad"].val)
H A Dattrs.py60 def from_bytes(cls, data, attr_type_enum=None): member in NlAttr
H A Dnetlink.py302 return cls.from_bytes(self.helper, data)
/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dioctl.py112 def from_bytes(cls, data, attr_map=None): member in BaseTlv
173 obj = cls.from_bytes(obj_data, child_map)
367 rule = RawRule.from_bytes(data[off : off + rule_len])
449 def from_bytes(cls, data): member in BaseIpFwMessage
H A Dipfw.py89 return cls.from_bytes(data)
H A Dinsns.py124 def from_bytes(cls, data, attr_type_enum): member in BaseInsn
177 insn = cls.from_bytes(data[off : off + insn_len], type_enum)
/freebsd/tests/sys/netpfil/pf/
H A Dpft_read_ipfix.py46 (int.from_bytes(r.natEvent, "big"), r.PROTOCOL,
H A Dsctp.py74 addr.sin_addr = socket.htonl(int.from_bytes(ip.packed, byteorder='big'))
118 return ''.join([chr(int.from_bytes(i, byteorder='big')) for i in buf]).rstrip('\x00')
/freebsd/tests/sys/net/routing/
H A Dtest_rtsock_multipath.py123 msg_in = RtsockRtMessage.from_bytes(data)
256 msg_in = RtsockRtMessage.from_bytes(data)
H A Dtest_routing_l3.py112 msg_in = RtsockRtMessage.from_bytes(data)
/freebsd/tests/atf_python/sys/net/
H A Drtsock.py206 addr_int = int.from_bytes(socket.inet_pton(2, ip), sys.byteorder)
442 def from_bytes(cls, data: bytes): member in RtsockRtMessage
/freebsd/contrib/llvm-project/libcxx/include/
H A Dlocale107 wide_string from_bytes(char byte);
108 wide_string from_bytes(const char* ptr);
109 wide_string from_bytes(const byte_string& str);
110 wide_string from_bytes(const char* first, const char* last);
3178 …_LIBCPP_HIDE_FROM_ABI wide_string from_bytes(char __byte) { return from_bytes(&__byte, &__byte + 1…
3179 _LIBCPP_HIDE_FROM_ABI wide_string from_bytes(const char* __ptr) {
3180 return from_bytes(__ptr, __ptr + char_traits<char>::length(__ptr));
3182 _LIBCPP_HIDE_FROM_ABI wide_string from_bytes(const byte_string& __str) {
3183 return from_bytes(__str.data(), __str.data() + __str.size());
3185 _LIBCPP_HIDE_FROM_ABI wide_string from_bytes(const char* __first, const char* __last);
[all …]
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h2141 std::wstring wide_path = converter.from_bytes(path);
2142 std::wstring wide_mode = converter.from_bytes(mode);
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DEditline.cpp688 m_utf8conv.from_bytes(lines[index])); in EndOrAddLineCommand()
872 m_input_lines[m_current_line_index] = m_utf8conv.from_bytes(currentLine); in FixIndentationCommand()