Home
last modified time | relevance | path

Searched refs:unpack (Results 1 – 25 of 79) sorted by relevance

1234

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_table.lua59 local unpack = table.unpack
64 assert(select(lim, unpack(a)) == lim and select('#', unpack(a)) == lim)
65 x = unpack(a)
67 x = {unpack(a)}
69 x = {unpack(a, lim-2)}
71 x = {unpack(a, 10, 6)}
73 x = {unpack(a, 11, 10)}
75 x,y = unpack(a, 10, 10)
77 x,y,z = unpack(a, 10, 11)
79 a,x = unpack{1}
[all …]
H A Dtst.lib_coroutine.lua53 _G.x = {coroutine.yield(table.unpack(arg[i]))}
55 return table.unpack(a)
/freebsd/contrib/libarchive/cpio/test/
H A Dtest_option_f.c31 unpack(const char *dirname, const char *option) in unpack() function
46 unpack("t0", "--no-preserve-owner"); in DEFINE_TEST()
55 unpack("t1", "--no-preserve-owner -f a*"); in DEFINE_TEST()
57 unpack("t1", "--no-preserve-owner -f 'a*'"); in DEFINE_TEST()
67 unpack("t2", "--no-preserve-owner -f b*"); in DEFINE_TEST()
69 unpack("t2", "--no-preserve-owner -f 'b*'"); in DEFINE_TEST()
/freebsd/contrib/ntp/scripts/monitoring/
H A Dntptrap170 return sprintf("[%d.%d.%d.%d]",unpack("C4",$addr));
198 ($addr,$assoc,$op) = unpack("a4SC",($req = shift(@Requests)));
202 &set_timeout("retry-".unpack("H*",$req),time+$BASE_TIMEOUT,
203 sprintf("&retry(\"%s\");",unpack("H*",$req)));
255 $from = (unpack("Sna4",$from))[$[+2]; # keep host addr only
280 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op)));
334 unpack("x4SC",$tag)));
339 unpack("x4SC",$tag)));
431 &set_timeout("refresh-".unpack("H*",$from),time+$REFRESH_TIME,
432 sprintf("&refresh(\"%s\");",unpack("H*",$from)));
[all …]
/freebsd/tests/atf_python/sys/netlink/
H A Dattrs.py48 nla_len, nla_type = struct.unpack("@HH", data[:4])
56 nla_len, nla_type = struct.unpack("@HH", data[:4])
128 nla_len, nla_type = struct.unpack("@HH", data[:4])
133 nla_len, nla_type, val = struct.unpack("@HHI", data)
155 nla_len, nla_type = struct.unpack("@HH", data[:4])
182 nla_len, nla_type = struct.unpack("@HH", data[:4])
209 nla_len, nla_type = struct.unpack("@HH", data[:4])
232 nla_len, nla_type = struct.unpack("@HH", data[:4])
251 nla_len, nla_type = struct.unpack("@HH", data[:4])
298 nla_len, nla_type = struct.unpack("@HH", data[:4])
[all …]
H A Dnetlink_generic.py256 nla_len, nla_type = struct.unpack("@HH", data[: NlAttr.HDR_LEN])
261 nla_len, nla_type = struct.unpack("@HH", data[: NlAttr.HDR_LEN])
H A Dmessage.py205 nla_len, raw_nla_type = struct.unpack("@HH", data[off : off + 4])
222 nla_len, raw_nla_type = struct.unpack("@HH", data[off : off + 4])
/freebsd/contrib/lib9p/pytest/
H A Dsequencer.py97 def unpack(self, vdict, cdict, bstring, offset, noerror=False): member in EncDec
250 def unpack(self, vdict, cdict, bstring, offset, noerror=False): member in EncDecSimple
353 def unpack(self, vdict, cdict, bstring, offset, noerror=False): member in EncDecTyped
442 def unpack(self, vdict, cdict, bstring, offset, noerror=False): member in EncDecA
457 obj, offset = self.sub.unpack(vdict, cdict, bstring, offset,
636 obj, offset = code.unpack(vdict, cdict, bstring, offset, noerror)
641 def unpack(self, vdict, cdict, bstring, noerror=False): member in Sequencer
/freebsd/contrib/libfido2/fuzz/
H A Dlibfuzzer.c61 if ((p = unpack(buf, n)) == NULL) { in save_seed()
177 if ((p = unpack(data, size)) == NULL) in LLVMFuzzerTestOneInput()
211 if ((p = unpack(data, size)) == NULL) { in LLVMFuzzerCustomMutator()
H A Dmutator_aux.h68 struct param *unpack(const uint8_t *, size_t);
/freebsd/lib/libutil/
H A Dkinfo_getvmobject.c54 goto unpack; in kinfo_getvmobject_impl()
63 unpack: in kinfo_getvmobject_impl()
/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dinsns.py94 (opcode_len,) = struct.unpack("@B", data[1:2])
101 opcode_type, opcode_len = struct.unpack("@BB", data[:2])
302 self.u32 = struct.unpack("@I", data[4:8])[0]
350 self.u32 = struct.unpack("@I", ip_bin)[0]
366 (self.val,) = struct.unpack("@I", data[4:8])
401 (self.mtu,) = struct.unpack("@I", data[4:8])
441 low, high = struct.unpack("@HH", data[off : off + 4])
/freebsd/contrib/unbound/contrib/
H A Dunbound-querycachedb.py39 timestamp = struct.unpack('!Q', value[-16:-8])[0]
40 expire = struct.unpack('!Q', value[-8:])[0]
/freebsd/contrib/libucl/haskell/
H A Dhucl.hs7 module Data.UCL ( unpack ) where
85 unpack :: MSG.MessagePack a => String -> Either a ErrorString
86 unpack s = case ucl_parser_parse_string_pure s of function
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitfields.h131 static T unpack(T StorageValue) { return StorageValue; } in unpack() function
147 static T unpack(T StorageValue) {
180 return C::unpack(StorageValue);
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dcrash_handler.cpp126 size_t UnpackedLength = gwp_asan::compression::unpack( in __gwp_asan_get_allocation_trace()
150 size_t UnpackedLength = gwp_asan::compression::unpack( in __gwp_asan_get_deallocation_trace()
H A Dstack_trace_compressor.h32 size_t unpack(const uint8_t *Packed, size_t PackedSize, uintptr_t *Unpacked,
H A Dstack_trace_compressor.cpp87 size_t unpack(const uint8_t *Packed, size_t PackedSize, uintptr_t *Unpacked, in unpack() function
/freebsd/contrib/bsnmp/
H A DFREEBSD-upgrade8 1. unpack distribution into clean directory
/freebsd/crypto/openssl/include/openssl/
H A Dfipskey.h.in24 {- join(', ', map { "0x$_" } unpack("(A2)*", $config{FIPSKEY})) -}
/freebsd/sys/contrib/openzfs/module/lua/
H A Dltablib.c134 static int unpack (lua_State *L) { in unpack() function
266 {"unpack", unpack},
/freebsd/sys/contrib/dev/acpica/
H A Dacpica_prep.sh50 echo unpack
/freebsd/lib/libifconfig/
H A Dlibifconfig_sfp_tables.tpl.h50 val, sym, desc, disp = table.unpack(item)
H A Dlibifconfig_sfp_tables.tpl.c63 _, sym, desc, disp = table.unpack(item)
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A Dembedded_interpreter.py39 hw = struct.unpack("hh", fcntl.ioctl(fd, termios.TIOCGWINSZ, "1234"))

1234