Searched refs:SWAP_VARS (Results 1 – 6 of 6) sorted by relevance
/dports/editors/aewan/aewan-1.0.01/aewl/ |
H A D | util.c | 35 #define SWAP_VARS(type, x, y) { type tmp; tmp = x; x = y; y = tmp; } macro 91 if (x0 > x1) SWAP_VARS(int, x0, x1); in aewl_util_drawline_h() 104 if (y0 > y1) SWAP_VARS(int, y0, y1); in aewl_util_drawline_v()
|
/dports/security/suricata/suricata-6.0.4/src/ |
H A D | flow.c | 246 SWAP_VARS(TcpStream, ssn->server, ssn->client); in TcpStreamFlowSwap() 265 SWAP_VARS(uint32_t, f->probing_parser_toserver_alproto_masks, in FlowSwap() 275 SWAP_VARS(AppProto, f->alproto_ts, f->alproto_tc); in FlowSwap() 276 SWAP_VARS(uint8_t, f->min_ttl_toserver, f->max_ttl_toserver); in FlowSwap() 277 SWAP_VARS(uint8_t, f->min_ttl_toclient, f->max_ttl_toclient); in FlowSwap() 281 SWAP_VARS(const void *, f->sgh_toclient, f->sgh_toserver); in FlowSwap() 283 SWAP_VARS(uint32_t, f->todstpktcnt, f->tosrcpktcnt); in FlowSwap() 284 SWAP_VARS(uint64_t, f->todstbytecnt, f->tosrcbytecnt); in FlowSwap()
|
H A D | suricata-common.h | 414 #define SWAP_VARS(type, a, b) \ macro
|
H A D | app-layer-detect-proto.c | 519 SWAP_VARS(uint16_t, dp, sp); /* look up parsers in rev dir */ in AppLayerProtoDetectPPGetProto()
|
/dports/math/sympow/sympow-7fd4d97cabc07951200b98ee841afc4151c2c287/ |
H A D | ec_ap_bsgs.c | 61 #define SWAP_VARS(type,A,B) {type _ttemmp; _ttemmp=A; A=B; B=_ttemmp;} macro 62 #define SWAP_DATA(A,B) {SWAP_VARS(int,A->x,B->x);\ 63 SWAP_VARS(int,A->y,B->y); SWAP_VARS(int,A->i,B->i);}
|
H A D | ec_ap_large.c | 74 #define SWAP_VARS(type,A,B) {type _ttemmp; _ttemmp=A; A=B; B=_ttemmp;} macro 75 #define SWAP_DATA(A,B) {SWAP_VARS(double,A->x,B->x);\ 76 SWAP_VARS(double,A->y,B->y); SWAP_VARS(int,A->i,B->i);}
|