Home
last modified time | relevance | path

Searched refs:fv_str (Results 1 – 10 of 10) sorted by relevance

/dports/security/suricata/suricata-6.0.4/src/
H A Dflow-var.c38 if (fv->data.fv_str.value) in FlowVarUpdateStr()
39 SCFree(fv->data.fv_str.value); in FlowVarUpdateStr()
40 fv->data.fv_str.value = value; in FlowVarUpdateStr()
41 fv->data.fv_str.value_len = size; in FlowVarUpdateStr()
103 fv->data.fv_str.value = value; in FlowVarAddKeyValue()
104 fv->data.fv_str.value_len = size; in FlowVarAddKeyValue()
124 fv->data.fv_str.value = value; in FlowVarAddIdValue()
125 fv->data.fv_str.value_len = size; in FlowVarAddIdValue()
167 if (fv->data.fv_str.value != NULL) in FlowVarFree()
168 SCFree(fv->data.fv_str.value); in FlowVarFree()
[all …]
H A Ddetect-lua.c1296 if (fv->data.fv_str.value_len != 1) { in LuaMatchTest01()
1302 PrintRawDataFp(stdout, fv->data.fv_str.value, fv->data.fv_str.value_len); in LuaMatchTest01()
1457 if (fv->data.fv_str.value_len != 1) { in LuaMatchTest01a()
1463 PrintRawDataFp(stdout, fv->data.fv_str.value, fv->data.fv_str.value_len); in LuaMatchTest01a()
1592 if (fv->data.fv_str.value_len != 1) { in LuaMatchTest02()
1598 PrintRawDataFp(stdout, fv->data.fv_str.value, fv->data.fv_str.value_len); in LuaMatchTest02()
1725 if (fv->data.fv_str.value_len != 1) { in LuaMatchTest02a()
1731 PrintRawDataFp(stdout, fv->data.fv_str.value, fv->data.fv_str.value_len); in LuaMatchTest02a()
1858 if (fv->data.fv_str.value_len != 1) { in LuaMatchTest03()
1864 PrintRawDataFp(stdout, fv->data.fv_str.value, fv->data.fv_str.value_len); in LuaMatchTest03()
[all …]
H A Dalert-debuglog.c96 for (i = 0; i < fv->data.fv_str.value_len; i++) { in AlertDebugLogFlowVars()
97 if (isprint(fv->data.fv_str.value[i])) { in AlertDebugLogFlowVars()
99 fv->data.fv_str.value[i]); in AlertDebugLogFlowVars()
102 fv->data.fv_str.value[i]); in AlertDebugLogFlowVars()
H A Dflow-var.h57 FlowVarTypeStr fv_str; member
H A Doutput-json.c305 uint32_t len = fv->data.fv_str.value_len; in EveAddFlowVars()
310 fv->data.fv_str.value, fv->data.fv_str.value_len); in EveAddFlowVars()
329 uint32_t len = fv->data.fv_str.value_len; in EveAddFlowVars()
334 fv->data.fv_str.value, fv->data.fv_str.value_len); in EveAddFlowVars()
H A Ddetect-flowvar.c104 uint8_t *ptr = SpmSearch(fv->data.fv_str.value, in DetectFlowvarMatch()
105 fv->data.fv_str.value_len, in DetectFlowvarMatch()
H A Ddetect-lua-extensions.c230 (const uint8_t *)fv->data.fv_str.value, in LuaGetFlowvar()
231 (size_t)fv->data.fv_str.value_len); in LuaGetFlowvar()
H A Ddetect-pcre.c3264 FAIL_IF(fv->data.fv_str.value_len != ualen1); in DetectPcreFlowvarCapture01()
3266 if (memcmp(fv->data.fv_str.value, uabuf1, ualen1) != 0) { in DetectPcreFlowvarCapture01()
3267 PrintRawDataFp(stdout, fv->data.fv_str.value, fv->data.fv_str.value_len); in DetectPcreFlowvarCapture01()
3378 if (fv->data.fv_str.value_len != ualen1) { in DetectPcreFlowvarCapture02()
3379 PrintRawDataFp(stdout, fv->data.fv_str.value, fv->data.fv_str.value_len); in DetectPcreFlowvarCapture02()
3381 printf("%u != %u: ", fv->data.fv_str.value_len, ualen1); in DetectPcreFlowvarCapture02()
3385 if (memcmp(fv->data.fv_str.value, uabuf1, ualen1) != 0) { in DetectPcreFlowvarCapture02()
3386 PrintRawDataFp(stdout, fv->data.fv_str.value, fv->data.fv_str.value_len); in DetectPcreFlowvarCapture02()
/dports/x11/wmfocus/wmfocus-1.2.0/cargo-crates/css-color-parser-0.1.2/src/color/
H A Dcolor.rs302 fn parse_css_float(fv_str: &str) -> Result<f32, num::ParseFloatError> { in parse_css_float()
306 if fv_str.ends_with("%") { in parse_css_float()
307 let mut percentage_string = fv_str.to_string(); in parse_css_float()
313 fv = try!(f32::from_str(fv_str)); in parse_css_float()
/dports/devel/clixon/clixon-4.8.0/lib/src/
H A Dclixon_proto.c85 char *fv_str; member
110 return fv?(fv->fv_str?fv->fv_str:"unknown"):"unknown"; in format_int2str()
123 if (strcmp(fv->fv_str, str) == 0) in format_str2int()