/ast/src/cmd/dsslib/netflow/ |
H A D | flow-dump.c | 241 swapmem(1, state->data, &rp->version, 4); 242 swapmem(3, state->data + 4, &rp->uptime, 12); 251 swapmem(1, state->data, &rp->version, 4); 252 swapmem(3, state->data + 4, &rp->uptime, 16); 254 swapmem(1, state->data + 22, &rp->sampler_interval, 2); 265 swapmem(1, state->data, &rp->version, 4); 266 swapmem(3, state->data + 4, &rp->uptime, 16); 293 swapmem(3, state->data, &rp->src_addrv4, 12); 294 swapmem(1, state->data + 12, &rp->input, 4); 295 swapmem( [all...] |
H A D | flow-tool.c | 362 swapmem(n, &R1(fp)->unix_secs, &R1(fp)->unix_secs, (char*)&R1(fp)->input - (char*)&R1(fp)->unix_secs); 363 swapmem(n, &R1(fp)->dPkts, &R1(fp)->dPkts, (char*)&R1(fp)->srcport - (char*)&R1(fp)->dPkts); 366 swapmem(n, &R1(fp)->input, &R1(fp)->input, (char*)&R1(fp)->dPkts - (char*)&R1(fp)->input); 367 swapmem(n, &R1(fp)->srcport, &R1(fp)->srcport, (char*)&R1(fp)->prot - (char*)&R1(fp)->srcport); 392 swapmem(n, &R5(fp)->unix_secs, &R5(fp)->unix_secs, (char*)&R5(fp)->input - (char*)&R5(fp)->unix_secs); 393 swapmem(n, &R5(fp)->dPkts, &R5(fp)->dPkts, (char*)&R5(fp)->srcport - (char*)&R5(fp)->dPkts); 396 swapmem(n, &R5(fp)->input, &R5(fp)->input, (char*)&R5(fp)->dPkts - (char*)&R5(fp)->input); 397 swapmem(n, &R5(fp)->srcport, &R5(fp)->srcport, (char*)&R5(fp)->prot - (char*)&R5(fp)->srcport); 398 swapmem(n, &R5(fp)->src_as, &R5(fp)->src_as, (char*)(R5(fp)+1) - (char*)&R5(fp)->src_as); 429 swapmem( [all...] |
/ast/src/lib/libast/include/ |
H A D | swap.h | 46 extern void* swapmem(int, const void*, void*, size_t);
|
/ast/src/lib/libast/string/ |
H A D | swapput.c | 48 swapmem(op, p, p, n);
|
H A D | swapget.c | 47 if (op) swapmem(op, b, d = tmp, n);
|
H A D | swapop.c | 52 if (!memcmp(internal, swapmem(op, external, tmp, z), z))
|
H A D | swapmem.c | 39 swapmem(int op, const void* from, void* to, register size_t n) function
|
/ast/src/lib/libast/comp/ |
H A D | swab.c | 57 swapmem(1, src, dst, n & ~1);
|
/ast/src/cmd/dsslib/bgp/ |
H A D | bgp-fixed.c | 131 swapmem(state->swap, rp, rp, (char*)&rp->path - (char*)rp); 133 swapmem(state->swap, rp->data + rp->cluster.offset, rp->data + rp->cluster.offset, rp->cluster.size * sizeof(Bgpnum_t)); 136 swapmem(state->swap & 1, (char*)&rp->path, (char*)&rp->path, (char*)&rp->bits - (char*)&rp->path); 138 swapmem(state->swap & 1, rp->data + rp->path.offset, rp->data + rp->path.offset, rp->path.size * sizeof(Bgpasn_t)); 140 swapmem(state->swap & 1, rp->data + rp->community.offset, rp->data + rp->community.offset, rp->community.size * sizeof(Bgpasn_t));
|
H A D | bgp-mrt.c | 125 #define AET(p) (swapmem(int_swap,&anonymize.time,p,4),anonymize.time++)
|
/ast/src/cmd/pax/ |
H A D | pax-rpm.c | 102 swapmem(swap, &lead_old, &lead_old, sizeof(lead_old)); 118 swapmem(swap & 1, &lead, &lead, sizeof(lead)); 185 swapmem(swap, &verify.magic, &verify.magic, sizeof(verify.magic)); 187 swapmem(swap & 1, &verify.type, &verify.type, sizeof(verify.type)); 201 swapmem(swap, &head, &head, sizeof(head));
|
H A D | pax-cpio.c | 727 swapmem(ap->swap, &hdr, &hdr, BINARY_HEADER);
|
H A D | bio.c | 79 swapmem((a)->swapio, b, b, c); \
|
H A D | pax-tar.c | 574 swapmem(i, tmp, tmp, TARSIZEOF(chksum));
|
/ast/src/lib/libsum/ |
H A D | sum-ast4.c | 115 swapmem(_ast_intswap, data->buf = ((Ast4_t*)p)->buf, &((Ast4_t*)p)->cur, sizeof(((Ast4_t*)p)->cur));
|
/ast/src/cmd/dsslib/num_t/ |
H A D | num_t.c | 277 swapmem(_ast_intswap, u, s, format->width); 316 swapmem(_ast_intswap, u, s, format->width); 326 swapmem(_ast_intswap, u, s, format->width); 1017 swapmem(_ast_intswap ^ 7, u, s, format->width); 1056 swapmem(_ast_intswap ^ 7, u, s, format->width); 1066 swapmem(_ast_intswap ^ 7, u, s, format->width);
|
/ast/src/cmd/coshell/ |
H A D | event.c | 579 swapmem(state->swap, val.dptr, &dat, sizeof(dat)); 595 swapmem(state->swap, val.dptr, &dat, val.dsize); 626 swapmem(state->swap, val.dptr, &dat, val.dsize); 865 swapmem(state->swap, val.dptr, &data, val.dsize); 885 swapmem(state->swap, val.dptr, &data, val.dsize); 1024 swapmem(state->swap, &data, &data, sizeof(data));
|
/ast/src/cmd/builtin/ |
H A D | od.c | 710 swapmem(state->swap ^ int_swap, u, mem.m_char, fp->size.internal); 719 swapmem(state->swap ^ int_swap, u, mem.m_char, fp->size.internal); 730 swapmem(state->swap ^ int_swap, u, mem.m_char, fp->size.internal);
|
/ast/src/cmd/nmake/ |
H A D | object.c | 1546 swapmem(old_swap, &old_header, &old_header, sizeof(old_header)); 1547 swapmem(old_swap, &old_trailer, &old_trailer, sizeof(old_trailer)); 1666 swapmem(old_swap, &old_var, &old_var, sizeof(old_var)); 1784 swapmem(old_swap, &old_rule, &old_rule, (char*)&old_rule.noswap - (char*)&old_rule); 2185 swapmem(old_swap, &old_list, &old_list, sizeof(old_list));
|
/ast/src/cmd/dsslib/flat/ |
H A D | flat.c | 709 swapmem(swap, &magicid->size, &magicid->size, sizeof(magicid->size)); 710 swapmem(swap, &magicid->version, &magicid->version, sizeof(magicid->version)); 1398 swapmem(flat->magic->swap, &magicid.magic, &magicid.magic, sizeof(magicid.magic)); 1399 swapmem(flat->magic->swap, &magicid.version, &magicid.version, sizeof(magicid.version)); 1400 swapmem(flat->magic->swap, &magicid.size, &magicid.size, sizeof(magicid.size)); 1440 swapmem(flat->magic->swap, num.buf, num.buf, flat->magic->length);
|
/ast/src/cmd/std/ |
H A D | dd.c | 904 swapmem(state.swap.value.number, s, s, n);
|
/ast/src/lib/libast/ |
H A D | Makefile | 97 swapget.c swapmem.c swapop.c swapput.c \
|