Home
last modified time | relevance | path

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

1234

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_table.lua40 return table.unpack(res, 1, res.n)
60 local unpack = table.unpack
65 assert(select(lim, unpack(a)) == lim and select('#', unpack(a)) == lim)
66 x = unpack(a)
68 x = {unpack(a)}
70 x = {unpack(a, lim-2)}
72 x = {unpack(a, 10, 6)}
74 x = {unpack(a, 11, 10)}
76 x,y = unpack(a, 10, 10)
78 x,y,z = unpack(a, 10, 11)
[all …]
/freebsd/contrib/libarchive/cpio/test/
H A Dtest_option_f.c13 unpack(const char *dirname, const char *option) in unpack() function
28 unpack("t0", "--no-preserve-owner"); in DEFINE_TEST()
37 unpack("t1", "--no-preserve-owner -f a*"); in DEFINE_TEST()
39 unpack("t1", "--no-preserve-owner -f 'a*'"); in DEFINE_TEST()
49 unpack("t2", "--no-preserve-owner -f b*"); in DEFINE_TEST()
51 unpack("t2", "--no-preserve-owner -f 'b*'"); in DEFINE_TEST()
/freebsd/contrib/ntp/scripts/monitoring/
H A Dntptrap166 &debug(sprintf("hostname(%d.%d.%d.%d) = \"%s\"",unpack("C4",$addr),$name))
169 &debug(sprintf("Failed to get name for %d.%d.%d.%d",unpack("C4",$addr)));
170 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
269 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op))) unless $op == 7;
280 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op)));
334 unpack("x4SC",$tag)));
[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])
160 nla_len, nla_type, val = struct.unpack("@HHi", data)
182 nla_len, nla_type = struct.unpack("@HH", data[:4])
187 nla_len, nla_type, val = struct.unpack("@HHH", data)
209 nla_len, nla_type = struct.unpack("@HH", data[:4])
214 nla_len, nla_type, val = struct.unpack("@HHB", data)
[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])
/freebsd/contrib/lyaml/build-aux/
H A Dluke86 …interpolate(env,concat(command,' ')),'\n')local status,err,out=spawn(env,unpack(command))if status…
92 local function defines(env,deftables)return zip_with(merge({},unpack(deftables)),function(name,valu…
103 …al command={'$MAKEDIRS',dirname(c_module)}local status,err,out=spawn(env,unpack(command))if status…
131 …g.incdir),'$CPPFLAGS',filename)L.log(interpolate(env,concat(command,' ')))return unpack(command)end
132 …GS',lib,'$libs',CONFIGENV.libs)L.log(interpolate(env,concat(command,' ')))return unpack(command)end
376 return fn(unpack(argu))end
402 if not predicate(unpack(valu))then
409 visit(unpack(valu))end
419 if unpack(valu)then
446 local expr,consequence=destructure(unpack(clauseu))if expr then
[all …]
/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/lyaml/spec/
H A Dspec_helper.lua33 unpack = table.unpack or unpack
130 local cmd = {LUA, f, unpack(arg)}
/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dinsns.py96 (opcode_len,) = struct.unpack("@B", data[1:2])
103 opcode_type, opcode_len = struct.unpack("@BB", data[:2])
304 self.u32 = struct.unpack("@I", data[4:8])[0]
368 self.u32 = struct.unpack("@I", ip_bin)[0]
387 (self.kidx,) = struct.unpack("@I", data[4:8])
389 (self.val,) = struct.unpack("@I", data[8:12])
432 self.bm = ':'.join(f'{b:02x}' for b in struct.unpack('!6B', data[8:14]))
436 (self.bm,) = struct.unpack("@I", data[8:12])
444 (self.val,) = struct.unpack("@I", data[8:12])
546 (self.mtu,) = struct.unpack("@I", data[4:8])
[all …]
/freebsd/contrib/libfido2/fuzz/
H A Dlibfuzzer.c62 if ((p = unpack(buf, n)) == NULL) { in save_seed()
178 if ((p = unpack(data, size)) == NULL) in LLVMFuzzerTestOneInput()
212 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/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/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/tools/tools/git/
H A Dsanitize.lua51 print("/* from " .. table.concat(table.pack(table.unpack(arg, 2)), ' ') .. " */")
/freebsd/crypto/krb5/src/kdc/
H A Dt_bigreply.py26 resplen, = struct.unpack('>L', lenbytes)
/freebsd/contrib/bsnmp/
H A DFREEBSD-upgrade8 1. unpack distribution into clean directory
/freebsd/sys/contrib/openzfs/module/lua/
H A Dltablib.c135 static int unpack (lua_State *L) { in unpack() function
267 {"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/crypto/openssl/include/openssl/
H A Dfipskey.h.in25 {- join(', ', map { "0x$_" } unpack("(A2)*", $config{FIPSKEY})) -}

1234