/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/soundlib/ |
H A D | modsmp_ctrl.cpp | 54 …if(smp.nSustainStart < smp.nSustainEnd && smp.nSustainEnd <= smp.nLength && smp.uFlags[CHN_SUSTAIN… in UpdateLoopPoints() 62 } else if(smp.nLoopStart < smp.nLoopEnd && smp.nLoopEnd <= smp.nLength && smp.uFlags[CHN_LOOP]) in UpdateLoopPoints() 106 if(end == 0 || start > smp.nLength || end > smp.nLength) in ReverseSample() 142 if(end == 0 || start > smp.nLength || end > smp.nLength) in InvertSample() 145 end = smp.nLength; in InvertSample() 198 …XFadeSampleImpl(smp.sample16() + start, smp.sample16() + end, smp.sample16() + end, fadeLength, e); in XFadeSample() 202 XFadeSampleImpl(smp.sample8() + start, smp.sample8() + end, smp.sample8() + end, fadeLength, e); in XFadeSample() 236 if(!smp.HasSampleData() || smp.GetNumChannels() != 2) return false; in ConvertToMono() 242 ConvertStereoToMonoMixImpl(smp.sample16(), smp.nLength); in ConvertToMono() 244 ConvertStereoToMonoMixImpl(smp.sample8(), smp.nLength); in ConvertToMono() [all …]
|
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/milkyplay/ |
H A D | SampleLoaderWAV.cpp | 90 TXMSample* smp = &theModule.smp[index]; in parseDATAChunk() local 97 if (smp->sample) in parseDATAChunk() 147 theModule.loadSample(f, smp->sample, smp->samplen, smp->samplen, XModule::ST_UNSIGNED); in parseDATAChunk() 149 smp->type = 0; in parseDATAChunk() 206 smp->type = 16; in parseDATAChunk() 411 smp->vol = 255; in parseDATAChunk() 413 smp->flags = 3; in parseDATAChunk() 586 TXMSample* smp = &theModule.smp[index]; in loadSample() local 615 TXMSample* smp = &theModule.smp[index]; in saveSample() local 627 hdr.length = 44 + ((smp->type&16) ? smp->samplen*2 : smp->samplen) - 8 + in saveSample() [all …]
|
/dports/net/haproxy23/haproxy-2.3.16/src/ |
H A D | ssl_sample.c | 48 smp->flags = 0; in smp_fetch_ssl_fc_has_early() 104 conn = smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_x_der() 673 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_x_sig_alg() 729 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_x_key_alg() 749 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_fc() 786 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_fc_is_resumed() 809 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_fc_cipher() 822 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_cipher() 987 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_protocol() 1125 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_sni() [all …]
|
H A D | http_fetch.c | 48 #define SMP_REQ_CHN(smp) (smp->strm ? &smp->strm->req : NULL) argument 49 #define SMP_RES_CHN(smp) (smp->strm ? &smp->strm->res : NULL) argument 461 smp->data.u.str.area = smp->strm->unique_id.ptr; in smp_fetch_uniqueid() 462 smp->data.u.str.data = smp->strm->unique_id.len; in smp_fetch_uniqueid() 1005 smp->data.u.sint = strl2ic(smp->data.u.str.area, in smp_fetch_hdr_val() 1408 smp->data.u.str.area = smp->strm->txn->auth.user; in smp_fetch_http_auth_grp() 1436 smp->data.u.str.area = smp->strm->req_cap[idx]; in smp_fetch_capture_req_hdr() 1464 smp->data.u.str.area = smp->strm->res_cap[idx]; in smp_fetch_capture_res_hdr() 1655 smp->ctx.a[1] = smp->ctx.a[0] + ctx->value.len; in smp_fetch_cookie() 1660 smp->ctx.a[0] = http_extract_cookie_value(smp->ctx.a[0], smp->ctx.a[1], in smp_fetch_cookie() [all …]
|
H A D | tcp_sample.c | 61 smp->data.type = SMP_T_IPV4; in smp_fetch_src() 71 smp->flags = 0; in smp_fetch_src() 87 smp->data.type = SMP_T_SINT; in smp_fetch_sport() 91 smp->flags = 0; in smp_fetch_sport() 120 smp->flags = 0; in smp_fetch_dst() 139 smp->flags = 0; in smp_fetch_dst_is_local() 159 smp->flags = 0; in smp_fetch_src_is_local() 180 smp->flags = 0; in smp_fetch_dport() 250 if (!smp->strm) in get_tcp_info() 303 smp->data.u.sint = (smp->data.u.sint + 500) / 1000; in smp_fetch_fc_rtt() [all …]
|
/dports/net/haproxy/haproxy-2.4.10/src/ |
H A D | ssl_sample.c | 48 smp->flags = 0; in smp_fetch_ssl_fc_has_early() 104 conn = smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_x_der() 673 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_x_sig_alg() 729 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_x_key_alg() 749 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_fc() 786 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_fc_is_resumed() 809 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_fc_cipher() 822 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_cipher() 987 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_protocol() 1125 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_sni() [all …]
|
H A D | http_fetch.c | 48 #define SMP_REQ_CHN(smp) (smp->strm ? &smp->strm->req : NULL) argument 49 #define SMP_RES_CHN(smp) (smp->strm ? &smp->strm->res : NULL) argument 456 smp->data.u.str.area = smp->strm->unique_id.ptr; in smp_fetch_uniqueid() 457 smp->data.u.str.data = smp->strm->unique_id.len; in smp_fetch_uniqueid() 990 smp->data.u.sint = strl2ic(smp->data.u.str.area, in smp_fetch_hdr_val() 1397 smp->data.u.str.area = smp->strm->txn->auth.user; in smp_fetch_http_auth_grp() 1425 smp->data.u.str.area = smp->strm->req_cap[idx]; in smp_fetch_capture_req_hdr() 1453 smp->data.u.str.area = smp->strm->res_cap[idx]; in smp_fetch_capture_res_hdr() 1644 smp->ctx.a[1] = smp->ctx.a[0] + ctx->value.len; in smp_fetch_cookie() 1649 smp->ctx.a[0] = http_extract_cookie_value(smp->ctx.a[0], smp->ctx.a[1], in smp_fetch_cookie() [all …]
|
H A D | tcp_sample.c | 56 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_src() 77 smp->flags = 0; in smp_fetch_src() 93 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_sport() 105 smp->flags = 0; in smp_fetch_sport() 121 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_dst() 142 smp->flags = 0; in smp_fetch_dst() 161 smp->flags = 0; in smp_fetch_dst_is_local() 181 smp->flags = 0; in smp_fetch_src_is_local() 198 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_dport() 333 smp->data.u.sint = (smp->data.u.sint + 500) / 1000; in smp_fetch_fc_rtt() [all …]
|
/dports/net/haproxy21/haproxy-2.1.12/src/ |
H A D | http_fetch.c | 54 #define SMP_REQ_CHN(smp) (smp->strm ? &smp->strm->req : NULL) argument 55 #define SMP_RES_CHN(smp) (smp->strm ? &smp->strm->res : NULL) argument 431 build_logline(smp->strm, smp->strm->unique_id, in smp_fetch_uniqueid() 434 smp->data.u.str.data = strlen(smp->strm->unique_id); in smp_fetch_uniqueid() 436 smp->data.u.str.area = smp->strm->unique_id; in smp_fetch_uniqueid() 953 smp->data.u.sint = strl2ic(smp->data.u.str.area, in smp_fetch_hdr_val() 1342 smp->data.u.str.area = smp->strm->txn->auth.user; in smp_fetch_http_auth_grp() 1370 smp->data.u.str.area = smp->strm->req_cap[idx]; in smp_fetch_capture_req_hdr() 1398 smp->data.u.str.area = smp->strm->res_cap[idx]; in smp_fetch_capture_res_hdr() 1588 smp->ctx.a[1] = smp->ctx.a[0] + ctx->value.len; in smp_fetch_cookie() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/bluetooth/ |
H A D | smp.c | 955 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm() 984 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random() 1001 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random() 1017 smp_s1(smp->tk, smp->prnd, smp->rrnd, stk); in smp_random() 1227 if (smp_h6(smp->tfm_cmac, smp->tk, brle, smp->tk)) in sc_generate_ltk() 1467 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check() 1485 if (smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, r, in sc_passkey_send_confirm() 1521 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk)) in sc_passkey_round() 2204 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk); in smp_cmd_pairing_random() 2854 err = smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, in smp_cmd_public_key() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/bluetooth/ |
H A D | smp.c | 955 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm() 984 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random() 1001 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random() 1017 smp_s1(smp->tk, smp->prnd, smp->rrnd, stk); in smp_random() 1227 if (smp_h6(smp->tfm_cmac, smp->tk, brle, smp->tk)) in sc_generate_ltk() 1467 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check() 1485 if (smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, r, in sc_passkey_send_confirm() 1521 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk)) in sc_passkey_round() 2204 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk); in smp_cmd_pairing_random() 2854 err = smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, in smp_cmd_public_key() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/bluetooth/ |
H A D | smp.c | 955 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm() 984 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random() 1001 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random() 1017 smp_s1(smp->tk, smp->prnd, smp->rrnd, stk); in smp_random() 1227 if (smp_h6(smp->tfm_cmac, smp->tk, brle, smp->tk)) in sc_generate_ltk() 1467 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check() 1485 if (smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, r, in sc_passkey_send_confirm() 1521 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk)) in sc_passkey_round() 2204 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk); in smp_cmd_pairing_random() 2854 err = smp_f4(smp->tfm_cmac, smp->local_pk, smp->remote_pk, smp->prnd, in smp_cmd_public_key() [all …]
|
/dports/net/haproxy19/haproxy-1.9.16/src/ |
H A D | http_fetch.c | 53 #define SMP_REQ_CHN(smp) (smp->strm ? &smp->strm->req : NULL) argument 54 #define SMP_RES_CHN(smp) (smp->strm ? &smp->strm->res : NULL) argument 623 build_logline(smp->strm, smp->strm->unique_id, in smp_fetch_uniqueid() 628 smp->data.u.str.area = smp->strm->unique_id; in smp_fetch_uniqueid() 1553 smp->data.u.sint = strl2ic(smp->data.u.str.area, in smp_fetch_hdr_val() 2008 smp->data.u.str.area = smp->strm->txn->auth.user; in smp_fetch_http_auth_grp() 2036 smp->data.u.str.area = smp->strm->req_cap[idx]; in smp_fetch_capture_req_hdr() 2064 smp->data.u.str.area = smp->strm->res_cap[idx]; in smp_fetch_capture_res_hdr() 2263 smp->ctx.a[0] = http_extract_cookie_value(smp->ctx.a[0], smp->ctx.a[1], in smp_fetch_cookie() 2335 smp->ctx.a[1] = smp->ctx.a[0] + ctx->vlen; in smp_fetch_cookie() [all …]
|
/dports/net/haproxy22/haproxy-2.2.19/src/ |
H A D | http_fetch.c | 48 #define SMP_REQ_CHN(smp) (smp->strm ? &smp->strm->req : NULL) argument 49 #define SMP_RES_CHN(smp) (smp->strm ? &smp->strm->res : NULL) argument 461 smp->data.u.str.area = smp->strm->unique_id.ptr; in smp_fetch_uniqueid() 462 smp->data.u.str.data = smp->strm->unique_id.len; in smp_fetch_uniqueid() 1005 smp->data.u.sint = strl2ic(smp->data.u.str.area, in smp_fetch_hdr_val() 1408 smp->data.u.str.area = smp->strm->txn->auth.user; in smp_fetch_http_auth_grp() 1436 smp->data.u.str.area = smp->strm->req_cap[idx]; in smp_fetch_capture_req_hdr() 1464 smp->data.u.str.area = smp->strm->res_cap[idx]; in smp_fetch_capture_res_hdr() 1655 smp->ctx.a[1] = smp->ctx.a[0] + ctx->value.len; in smp_fetch_cookie() 1660 smp->ctx.a[0] = http_extract_cookie_value(smp->ctx.a[0], smp->ctx.a[1], in smp_fetch_cookie() [all …]
|
H A D | ssl_sample.c | 48 smp->flags = 0; in smp_fetch_ssl_fc_has_early() 80 smp->flags = 0; in smp_fetch_ssl_fc_has_crt() 104 conn = smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_x_der() 663 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_x_sig_alg() 719 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_x_key_alg() 739 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_fc() 776 smp->strm ? cs_conn(objt_cs(smp->strm->si[1].end)) : NULL; in smp_fetch_ssl_fc_is_resumed() 812 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_cipher() 974 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_protocol() 1112 smp->data.u.str.data = strlen(smp->data.u.str.area); in smp_fetch_ssl_fc_sni() [all …]
|
/dports/net/nuster/nuster-5.0.4.21/src/ |
H A D | http_fetch.c | 54 #define SMP_REQ_CHN(smp) (smp->strm ? &smp->strm->req : NULL) argument 55 #define SMP_RES_CHN(smp) (smp->strm ? &smp->strm->res : NULL) argument 419 build_logline(smp->strm, smp->strm->unique_id, in smp_fetch_uniqueid() 422 smp->data.u.str.data = strlen(smp->strm->unique_id); in smp_fetch_uniqueid() 424 smp->data.u.str.area = smp->strm->unique_id; in smp_fetch_uniqueid() 937 smp->data.u.sint = strl2ic(smp->data.u.str.area, in smp_fetch_hdr_val() 1325 smp->data.u.str.area = smp->strm->txn->auth.user; in smp_fetch_http_auth_grp() 1349 smp->data.u.str.area = smp->strm->req_cap[idx]; in smp_fetch_capture_req_hdr() 1373 smp->data.u.str.area = smp->strm->res_cap[idx]; in smp_fetch_capture_res_hdr() 1548 smp->ctx.a[1] = smp->ctx.a[0] + ctx->value.len; in smp_fetch_cookie() [all …]
|
/dports/audio/schismtracker/schismtracker-20211116/fmt/ |
H A D | its.c | 112 smp->flags |= CHN_LOOP; in load_its_sample() 140 if (smp->loop_start > smp->length) { in load_its_sample() 141 smp->loop_start = smp->length; in load_its_sample() 144 if (smp->loop_end > smp->length) { in load_its_sample() 145 smp->loop_end = smp->length; in load_its_sample() 148 if (smp->sustain_start > smp->length) { in load_its_sample() 149 smp->sustain_start = smp->length; in load_its_sample() 152 if (smp->sustain_end > smp->length) { in load_its_sample() 153 smp->sustain_end = smp->length; in load_its_sample() 177 if (smp->data && smp->length) in save_its_header() [all …]
|
/dports/net/haproxy20/haproxy-2.0.26/src/ |
H A D | http_fetch.c | 53 #define SMP_REQ_CHN(smp) (smp->strm ? &smp->strm->req : NULL) argument 54 #define SMP_RES_CHN(smp) (smp->strm ? &smp->strm->res : NULL) argument 641 build_logline(smp->strm, smp->strm->unique_id, in smp_fetch_uniqueid() 646 smp->data.u.str.area = smp->strm->unique_id; in smp_fetch_uniqueid() 1579 smp->data.u.sint = strl2ic(smp->data.u.str.area, in smp_fetch_hdr_val() 2045 smp->data.u.str.area = smp->strm->txn->auth.user; in smp_fetch_http_auth_grp() 2073 smp->data.u.str.area = smp->strm->req_cap[idx]; in smp_fetch_capture_req_hdr() 2101 smp->data.u.str.area = smp->strm->res_cap[idx]; in smp_fetch_capture_res_hdr() 2299 smp->ctx.a[0] = http_extract_cookie_value(smp->ctx.a[0], smp->ctx.a[1], in smp_fetch_cookie() 2371 smp->ctx.a[1] = smp->ctx.a[0] + ctx->vlen; in smp_fetch_cookie() [all …]
|
/dports/net/haproxy18/haproxy-1.8.30/include/proto/ |
H A D | sample.h | 75 return smp; in smp_set_owner() 96 (!smp->data.u.str.size || smp->data.u.str.len >= smp->data.u.str.size)) in smp_is_safe() 99 if (smp->data.u.str.str[smp->data.u.str.len] == 0) in smp_is_safe() 105 smp->data.u.str.str[smp->data.u.str.len] = 0; in smp_is_safe() 110 (!smp->data.u.str.size || smp->data.u.str.len <= smp->data.u.str.size); in smp_is_safe() 124 return smp && (smp_is_safe(smp) || smp_dup(smp)); in smp_make_safe() 149 smp->data.u.str.len >= smp->data.u.str.size) in smp_is_rw() 152 if (smp->data.u.str.str[smp->data.u.str.len] != 0) in smp_is_rw() 153 smp->data.u.str.str[smp->data.u.str.len] = 0; in smp_is_rw() 159 smp->data.u.str.len <= smp->data.u.str.size; in smp_is_rw() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/infiniband/core/ |
H A D | smi.c | 133 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send() 135 smp->return_path, in smi_handle_dr_smp_send() 145 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send() 244 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_recv() 260 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_recv() 304 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in smi_check_forward_dr_smp() 312 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in opa_smi_check_forward_dr_smp() 326 return (!ib_get_smp_direction(smp) ? smp->initial_path[smp->hop_ptr+1] : in smi_get_fwd_port() 327 smp->return_path[smp->hop_ptr-1]); in smi_get_fwd_port() 336 return !opa_get_smp_direction(smp) ? smp->route.dr.initial_path[smp->hop_ptr+1] : in opa_smi_get_fwd_port() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/infiniband/core/ |
H A D | smi.c | 133 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send() 135 smp->return_path, in smi_handle_dr_smp_send() 145 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send() 244 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_recv() 260 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_recv() 304 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in smi_check_forward_dr_smp() 312 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in opa_smi_check_forward_dr_smp() 326 return (!ib_get_smp_direction(smp) ? smp->initial_path[smp->hop_ptr+1] : in smi_get_fwd_port() 327 smp->return_path[smp->hop_ptr-1]); in smi_get_fwd_port() 336 return !opa_get_smp_direction(smp) ? smp->route.dr.initial_path[smp->hop_ptr+1] : in opa_smi_get_fwd_port() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/infiniband/core/ |
H A D | smi.c | 133 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_send() 135 smp->return_path, in smi_handle_dr_smp_send() 145 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_send() 244 &smp->hop_ptr, smp->hop_cnt, in smi_handle_dr_smp_recv() 260 &smp->hop_ptr, smp->hop_cnt, in opa_smi_handle_dr_smp_recv() 304 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in smi_check_forward_dr_smp() 312 return __smi_check_forward_dr_smp(smp->hop_ptr, smp->hop_cnt, in opa_smi_check_forward_dr_smp() 326 return (!ib_get_smp_direction(smp) ? smp->initial_path[smp->hop_ptr+1] : in smi_get_fwd_port() 327 smp->return_path[smp->hop_ptr-1]); in smi_get_fwd_port() 336 return !opa_get_smp_direction(smp) ? smp->route.dr.initial_path[smp->hop_ptr+1] : in opa_smi_get_fwd_port() [all …]
|
/dports/net/haproxy/haproxy-2.4.10/include/haproxy/ |
H A D | sample.h | 83 return smp; in smp_set_owner() 103 if (!smp->data.u.str.size || smp->data.u.str.data >= smp->data.u.str.size) in smp_is_safe() 106 if (smp->data.u.str.area[smp->data.u.str.data] == 0) in smp_is_safe() 112 smp->data.u.str.area[smp->data.u.str.data] = 0; in smp_is_safe() 116 return !smp->data.u.str.size || smp->data.u.str.data <= smp->data.u.str.size; in smp_is_safe() 130 return smp && (smp_is_safe(smp) || smp_dup(smp)); in smp_make_safe() 154 smp->data.u.str.data >= smp->data.u.str.size) in smp_is_rw() 157 if (smp->data.u.str.area[smp->data.u.str.data] != 0) in smp_is_rw() 158 smp->data.u.str.area[smp->data.u.str.data] = 0; in smp_is_rw() 163 smp->data.u.str.data <= smp->data.u.str.size; in smp_is_rw() [all …]
|
/dports/net/haproxy20/haproxy-2.0.26/include/proto/ |
H A D | sample.h | 78 return smp; in smp_set_owner() 98 if (!smp->data.u.str.size || smp->data.u.str.data >= smp->data.u.str.size) in smp_is_safe() 101 if (smp->data.u.str.area[smp->data.u.str.data] == 0) in smp_is_safe() 107 smp->data.u.str.area[smp->data.u.str.data] = 0; in smp_is_safe() 111 return !smp->data.u.str.size || smp->data.u.str.data <= smp->data.u.str.size; in smp_is_safe() 125 return smp && (smp_is_safe(smp) || smp_dup(smp)); in smp_make_safe() 149 smp->data.u.str.data >= smp->data.u.str.size) in smp_is_rw() 152 if (smp->data.u.str.area[smp->data.u.str.data] != 0) in smp_is_rw() 153 smp->data.u.str.area[smp->data.u.str.data] = 0; in smp_is_rw() 158 smp->data.u.str.data <= smp->data.u.str.size; in smp_is_rw() [all …]
|
/dports/net/haproxy22/haproxy-2.2.19/include/haproxy/ |
H A D | sample.h | 83 return smp; in smp_set_owner() 103 if (!smp->data.u.str.size || smp->data.u.str.data >= smp->data.u.str.size) in smp_is_safe() 106 if (smp->data.u.str.area[smp->data.u.str.data] == 0) in smp_is_safe() 112 smp->data.u.str.area[smp->data.u.str.data] = 0; in smp_is_safe() 116 return !smp->data.u.str.size || smp->data.u.str.data <= smp->data.u.str.size; in smp_is_safe() 130 return smp && (smp_is_safe(smp) || smp_dup(smp)); in smp_make_safe() 154 smp->data.u.str.data >= smp->data.u.str.size) in smp_is_rw() 157 if (smp->data.u.str.area[smp->data.u.str.data] != 0) in smp_is_rw() 158 smp->data.u.str.area[smp->data.u.str.data] = 0; in smp_is_rw() 163 smp->data.u.str.data <= smp->data.u.str.size; in smp_is_rw() [all …]
|