Home
last modified time | relevance | path

Searched refs:os_calloc (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/config/
H A Dsyscheck-config.c22 os_calloc(2, sizeof(char *), syscheck->registry); in dump_syscheck_entry()
39 os_calloc(2, sizeof(char *), syscheck->dir); in dump_syscheck_entry()
43 os_calloc(2, sizeof(int), syscheck->opts); in dump_syscheck_entry()
47 os_calloc(2, sizeof(OSMatch *), syscheck->filerestrict); in dump_syscheck_entry()
70 os_calloc(1, sizeof(OSMatch), syscheck->filerestrict[pl]); in dump_syscheck_entry()
588 os_calloc(2048, sizeof(char), new_ig); in Read_Syscheck()
616 os_calloc(1, sizeof(OSMatch), in Read_Syscheck()
665 os_calloc(2, sizeof(OSMatch *), in Read_Syscheck()
680 os_calloc(1, sizeof(OSMatch), in Read_Syscheck()
721 os_calloc(2048, sizeof(char), new_nodiff); in Read_Syscheck()
[all …]
H A Dremote-config.c56 os_calloc(1, sizeof(int), logr->conn); in Read_Remote()
60 os_calloc(1, sizeof(char *), logr->port); in Read_Remote()
64 os_calloc(1, sizeof(int), logr->proto); in Read_Remote()
68 os_calloc(1, sizeof(int), logr->ipv6); in Read_Remote()
72 os_calloc(1, sizeof(char *), logr->lip); in Read_Remote()
159 os_calloc(1, sizeof(os_ip), logr->allowips[allow_size - 2]); in Read_Remote()
174 os_calloc(1, sizeof(os_ip), logr->denyips[deny_size - 2]); in Read_Remote()
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/config/
H A Dsyscheck-config.c22 os_calloc(2, sizeof(char *), syscheck->registry); in dump_syscheck_entry()
39 os_calloc(2, sizeof(char *), syscheck->dir); in dump_syscheck_entry()
43 os_calloc(2, sizeof(int), syscheck->opts); in dump_syscheck_entry()
47 os_calloc(2, sizeof(OSMatch *), syscheck->filerestrict); in dump_syscheck_entry()
70 os_calloc(1, sizeof(OSMatch), syscheck->filerestrict[pl]); in dump_syscheck_entry()
588 os_calloc(2048, sizeof(char), new_ig); in Read_Syscheck()
616 os_calloc(1, sizeof(OSMatch), in Read_Syscheck()
665 os_calloc(2, sizeof(OSMatch *), in Read_Syscheck()
680 os_calloc(1, sizeof(OSMatch), in Read_Syscheck()
721 os_calloc(2048, sizeof(char), new_nodiff); in Read_Syscheck()
[all …]
H A Dremote-config.c56 os_calloc(1, sizeof(int), logr->conn); in Read_Remote()
60 os_calloc(1, sizeof(char *), logr->port); in Read_Remote()
64 os_calloc(1, sizeof(int), logr->proto); in Read_Remote()
68 os_calloc(1, sizeof(int), logr->ipv6); in Read_Remote()
72 os_calloc(1, sizeof(char *), logr->lip); in Read_Remote()
159 os_calloc(1, sizeof(os_ip), logr->allowips[allow_size - 2]); in Read_Remote()
174 os_calloc(1, sizeof(os_ip), logr->denyips[deny_size - 2]); in Read_Remote()
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/config/
H A Dsyscheck-config.c22 os_calloc(2, sizeof(char *), syscheck->registry); in dump_syscheck_entry()
39 os_calloc(2, sizeof(char *), syscheck->dir); in dump_syscheck_entry()
43 os_calloc(2, sizeof(int), syscheck->opts); in dump_syscheck_entry()
47 os_calloc(2, sizeof(OSMatch *), syscheck->filerestrict); in dump_syscheck_entry()
70 os_calloc(1, sizeof(OSMatch), syscheck->filerestrict[pl]); in dump_syscheck_entry()
588 os_calloc(2048, sizeof(char), new_ig); in Read_Syscheck()
616 os_calloc(1, sizeof(OSMatch), in Read_Syscheck()
665 os_calloc(2, sizeof(OSMatch *), in Read_Syscheck()
680 os_calloc(1, sizeof(OSMatch), in Read_Syscheck()
721 os_calloc(2048, sizeof(char), new_nodiff); in Read_Syscheck()
[all …]
H A Dremote-config.c56 os_calloc(1, sizeof(int), logr->conn); in Read_Remote()
60 os_calloc(1, sizeof(char *), logr->port); in Read_Remote()
64 os_calloc(1, sizeof(int), logr->proto); in Read_Remote()
68 os_calloc(1, sizeof(int), logr->ipv6); in Read_Remote()
72 os_calloc(1, sizeof(char *), logr->lip); in Read_Remote()
159 os_calloc(1, sizeof(os_ip), logr->allowips[allow_size - 2]); in Read_Remote()
174 os_calloc(1, sizeof(os_ip), logr->denyips[deny_size - 2]); in Read_Remote()
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/analysisd/
H A Drules.c505 os_calloc(1, sizeof(os_ip), in Rules_OP_ReadRules()
535 os_calloc(1, sizeof(os_ip), in Rules_OP_ReadRules()
1123 os_calloc(16, sizeof(char), config_ruleinfo->if_sid); in Rules_OP_ReadRules()
1130 os_calloc(1, sizeof(OSRegex), config_ruleinfo->regex); in Rules_OP_ReadRules()
1141 os_calloc(1, sizeof(OSPcre2), config_ruleinfo->pcre2); in Rules_OP_ReadRules()
1175 os_calloc(1, sizeof(OSMatch), config_ruleinfo->id); in Rules_OP_ReadRules()
1333 os_calloc(1, sizeof(OSMatch), config_ruleinfo->user); in Rules_OP_ReadRules()
1401 os_calloc(1, sizeof(OSMatch), config_ruleinfo->url); in Rules_OP_ReadRules()
1423 os_calloc(1, sizeof(OSMatch), in Rules_OP_ReadRules()
1439 os_calloc(1, sizeof(OSRegex), in Rules_OP_ReadRules()
[all …]
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/analysisd/
H A Drules.c505 os_calloc(1, sizeof(os_ip), in Rules_OP_ReadRules()
535 os_calloc(1, sizeof(os_ip), in Rules_OP_ReadRules()
1123 os_calloc(16, sizeof(char), config_ruleinfo->if_sid); in Rules_OP_ReadRules()
1130 os_calloc(1, sizeof(OSRegex), config_ruleinfo->regex); in Rules_OP_ReadRules()
1141 os_calloc(1, sizeof(OSPcre2), config_ruleinfo->pcre2); in Rules_OP_ReadRules()
1175 os_calloc(1, sizeof(OSMatch), config_ruleinfo->id); in Rules_OP_ReadRules()
1333 os_calloc(1, sizeof(OSMatch), config_ruleinfo->user); in Rules_OP_ReadRules()
1401 os_calloc(1, sizeof(OSMatch), config_ruleinfo->url); in Rules_OP_ReadRules()
1423 os_calloc(1, sizeof(OSMatch), in Rules_OP_ReadRules()
1439 os_calloc(1, sizeof(OSRegex), in Rules_OP_ReadRules()
[all …]
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/analysisd/
H A Drules.c505 os_calloc(1, sizeof(os_ip), in Rules_OP_ReadRules()
535 os_calloc(1, sizeof(os_ip), in Rules_OP_ReadRules()
1123 os_calloc(16, sizeof(char), config_ruleinfo->if_sid); in Rules_OP_ReadRules()
1130 os_calloc(1, sizeof(OSRegex), config_ruleinfo->regex); in Rules_OP_ReadRules()
1141 os_calloc(1, sizeof(OSPcre2), config_ruleinfo->pcre2); in Rules_OP_ReadRules()
1175 os_calloc(1, sizeof(OSMatch), config_ruleinfo->id); in Rules_OP_ReadRules()
1333 os_calloc(1, sizeof(OSMatch), config_ruleinfo->user); in Rules_OP_ReadRules()
1401 os_calloc(1, sizeof(OSMatch), config_ruleinfo->url); in Rules_OP_ReadRules()
1423 os_calloc(1, sizeof(OSMatch), in Rules_OP_ReadRules()
1439 os_calloc(1, sizeof(OSRegex), in Rules_OP_ReadRules()
[all …]
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/analysisd/decoders/plugins/
H A Dsonicwall_decoder.c38 os_calloc(1, sizeof(OSRegex), __sonic_regex_sdip); in SonicWall_Decoder_Init()
39 os_calloc(1, sizeof(OSRegex), __sonic_regex_prid); in SonicWall_Decoder_Init()
40 os_calloc(1, sizeof(OSRegex), __sonic_regex_prox); in SonicWall_Decoder_Init()
154 os_calloc(8, sizeof(char), proto); in SonicWall_Decoder_Exec()
241 os_calloc(url_size + 1, sizeof(char), final_url); in SonicWall_Decoder_Exec()
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/analysisd/decoders/plugins/
H A Dsonicwall_decoder.c38 os_calloc(1, sizeof(OSRegex), __sonic_regex_sdip); in SonicWall_Decoder_Init()
39 os_calloc(1, sizeof(OSRegex), __sonic_regex_prid); in SonicWall_Decoder_Init()
40 os_calloc(1, sizeof(OSRegex), __sonic_regex_prox); in SonicWall_Decoder_Init()
154 os_calloc(8, sizeof(char), proto); in SonicWall_Decoder_Exec()
241 os_calloc(url_size + 1, sizeof(char), final_url); in SonicWall_Decoder_Exec()
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/analysisd/decoders/plugins/
H A Dsonicwall_decoder.c38 os_calloc(1, sizeof(OSRegex), __sonic_regex_sdip); in SonicWall_Decoder_Init()
39 os_calloc(1, sizeof(OSRegex), __sonic_regex_prid); in SonicWall_Decoder_Init()
40 os_calloc(1, sizeof(OSRegex), __sonic_regex_prox); in SonicWall_Decoder_Init()
154 os_calloc(8, sizeof(char), proto); in SonicWall_Decoder_Exec()
241 os_calloc(url_size + 1, sizeof(char), final_url); in SonicWall_Decoder_Exec()
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/os_maild/
H A Dos_maild_client.c44 os_calloc(1, sizeof(MailMsg), mail); in OS_RecvMailQ()
45 os_calloc(BODY_SIZE, sizeof(char), mail->body); in OS_RecvMailQ()
46 os_calloc(SUBJECT_SIZE, sizeof(char), mail->subject); in OS_RecvMailQ()
320 os_calloc(1, sizeof(MailMsg), msg_sms_tmp); in OS_RecvMailQ()
321 os_calloc(BODY_SIZE, sizeof(char), msg_sms_tmp->body); in OS_RecvMailQ()
322 os_calloc(SUBJECT_SIZE, sizeof(char), msg_sms_tmp->subject); in OS_RecvMailQ()
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/os_maild/
H A Dos_maild_client.c44 os_calloc(1, sizeof(MailMsg), mail); in OS_RecvMailQ()
45 os_calloc(BODY_SIZE, sizeof(char), mail->body); in OS_RecvMailQ()
46 os_calloc(SUBJECT_SIZE, sizeof(char), mail->subject); in OS_RecvMailQ()
320 os_calloc(1, sizeof(MailMsg), msg_sms_tmp); in OS_RecvMailQ()
321 os_calloc(BODY_SIZE, sizeof(char), msg_sms_tmp->body); in OS_RecvMailQ()
322 os_calloc(SUBJECT_SIZE, sizeof(char), msg_sms_tmp->subject); in OS_RecvMailQ()
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/os_maild/
H A Dos_maild_client.c44 os_calloc(1, sizeof(MailMsg), mail); in OS_RecvMailQ()
45 os_calloc(BODY_SIZE, sizeof(char), mail->body); in OS_RecvMailQ()
46 os_calloc(SUBJECT_SIZE, sizeof(char), mail->subject); in OS_RecvMailQ()
320 os_calloc(1, sizeof(MailMsg), msg_sms_tmp); in OS_RecvMailQ()
321 os_calloc(BODY_SIZE, sizeof(char), msg_sms_tmp->body); in OS_RecvMailQ()
322 os_calloc(SUBJECT_SIZE, sizeof(char), msg_sms_tmp->subject); in OS_RecvMailQ()
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/shared/
H A Drules_op.c315 os_calloc(1, sizeof(os_ip), in OS_ReadXMLRules()
343 os_calloc(1, sizeof(os_ip), in OS_ReadXMLRules()
674 os_calloc(16, sizeof(char), config_ruleinfo->if_sid); in OS_ReadXMLRules()
681 os_calloc(1, sizeof(OSRegex), config_ruleinfo->regex); in OS_ReadXMLRules()
696 os_calloc(1, sizeof(OSMatch), config_ruleinfo->match); in OS_ReadXMLRules()
711 os_calloc(1, sizeof(OSMatch), config_ruleinfo->id); in OS_ReadXMLRules()
726 os_calloc(1, sizeof(OSMatch), config_ruleinfo->srcport); in OS_ReadXMLRules()
756 os_calloc(1, sizeof(OSMatch), config_ruleinfo->status); in OS_ReadXMLRules()
818 os_calloc(1, sizeof(OSMatch), config_ruleinfo->user); in OS_ReadXMLRules()
833 os_calloc(1, sizeof(OSMatch), config_ruleinfo->url); in OS_ReadXMLRules()
[all …]
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/shared/
H A Drules_op.c315 os_calloc(1, sizeof(os_ip), in OS_ReadXMLRules()
343 os_calloc(1, sizeof(os_ip), in OS_ReadXMLRules()
674 os_calloc(16, sizeof(char), config_ruleinfo->if_sid); in OS_ReadXMLRules()
681 os_calloc(1, sizeof(OSRegex), config_ruleinfo->regex); in OS_ReadXMLRules()
696 os_calloc(1, sizeof(OSMatch), config_ruleinfo->match); in OS_ReadXMLRules()
711 os_calloc(1, sizeof(OSMatch), config_ruleinfo->id); in OS_ReadXMLRules()
726 os_calloc(1, sizeof(OSMatch), config_ruleinfo->srcport); in OS_ReadXMLRules()
756 os_calloc(1, sizeof(OSMatch), config_ruleinfo->status); in OS_ReadXMLRules()
818 os_calloc(1, sizeof(OSMatch), config_ruleinfo->user); in OS_ReadXMLRules()
833 os_calloc(1, sizeof(OSMatch), config_ruleinfo->url); in OS_ReadXMLRules()
[all …]
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/shared/
H A Drules_op.c315 os_calloc(1, sizeof(os_ip), in OS_ReadXMLRules()
343 os_calloc(1, sizeof(os_ip), in OS_ReadXMLRules()
674 os_calloc(16, sizeof(char), config_ruleinfo->if_sid); in OS_ReadXMLRules()
681 os_calloc(1, sizeof(OSRegex), config_ruleinfo->regex); in OS_ReadXMLRules()
696 os_calloc(1, sizeof(OSMatch), config_ruleinfo->match); in OS_ReadXMLRules()
711 os_calloc(1, sizeof(OSMatch), config_ruleinfo->id); in OS_ReadXMLRules()
726 os_calloc(1, sizeof(OSMatch), config_ruleinfo->srcport); in OS_ReadXMLRules()
756 os_calloc(1, sizeof(OSMatch), config_ruleinfo->status); in OS_ReadXMLRules()
818 os_calloc(1, sizeof(OSMatch), config_ruleinfo->user); in OS_ReadXMLRules()
833 os_calloc(1, sizeof(OSMatch), config_ruleinfo->url); in OS_ReadXMLRules()
[all …]
/dports/science/py-pymol/pymol-open-source-2.4.0/contrib/champ/
H A Dmac.h25 #define mac_calloc(type) ((type*)os_calloc(1,sizeof(type)))
28 #define mac_calloc_array(type,cnt) ((type*)os_calloc(cnt,sizeof(type)))
H A Dos_memory.h48 #define os_calloc calloc macro
65 #define os_calloc(n,x) OSMemoryCalloc(n,x,__FILE__,__LINE__,_OSMemoryPointer) macro
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/analysisd/decoders/
H A Ddecode-xml.c213 os_calloc(1, sizeof(OSDecoderInfo), NULL_Decoder_tmp); in ReadDecodeXML()
513 os_calloc(Config.decoder_order_size, sizeof(void *), pi->order); in ReadDecodeXML()
514 os_calloc(Config.decoder_order_size, sizeof(char *), pi->fields); in ReadDecodeXML()
716 os_calloc(1, sizeof(OSRegex), pi->prematch); in ReadDecodeXML()
725 os_calloc(1, sizeof(OSPcre2), pi->prematch_pcre2); in ReadDecodeXML()
736 os_calloc(1, sizeof(OSMatch), pi->program_name); in ReadDecodeXML()
745 os_calloc(1, sizeof(OSPcre2), pi->program_name_pcre2); in ReadDecodeXML()
756 os_calloc(1, sizeof(OSRegex), pi->regex); in ReadDecodeXML()
771 os_calloc(1, sizeof(OSPcre2), pi->pcre2); in ReadDecodeXML()
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/analysisd/decoders/
H A Ddecode-xml.c213 os_calloc(1, sizeof(OSDecoderInfo), NULL_Decoder_tmp); in ReadDecodeXML()
513 os_calloc(Config.decoder_order_size, sizeof(void *), pi->order); in ReadDecodeXML()
514 os_calloc(Config.decoder_order_size, sizeof(char *), pi->fields); in ReadDecodeXML()
716 os_calloc(1, sizeof(OSRegex), pi->prematch); in ReadDecodeXML()
725 os_calloc(1, sizeof(OSPcre2), pi->prematch_pcre2); in ReadDecodeXML()
736 os_calloc(1, sizeof(OSMatch), pi->program_name); in ReadDecodeXML()
745 os_calloc(1, sizeof(OSPcre2), pi->program_name_pcre2); in ReadDecodeXML()
756 os_calloc(1, sizeof(OSRegex), pi->regex); in ReadDecodeXML()
771 os_calloc(1, sizeof(OSPcre2), pi->pcre2); in ReadDecodeXML()
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/analysisd/decoders/
H A Ddecode-xml.c213 os_calloc(1, sizeof(OSDecoderInfo), NULL_Decoder_tmp); in ReadDecodeXML()
513 os_calloc(Config.decoder_order_size, sizeof(void *), pi->order); in ReadDecodeXML()
514 os_calloc(Config.decoder_order_size, sizeof(char *), pi->fields); in ReadDecodeXML()
716 os_calloc(1, sizeof(OSRegex), pi->prematch); in ReadDecodeXML()
725 os_calloc(1, sizeof(OSPcre2), pi->prematch_pcre2); in ReadDecodeXML()
736 os_calloc(1, sizeof(OSMatch), pi->program_name); in ReadDecodeXML()
745 os_calloc(1, sizeof(OSPcre2), pi->program_name_pcre2); in ReadDecodeXML()
756 os_calloc(1, sizeof(OSRegex), pi->regex); in ReadDecodeXML()
771 os_calloc(1, sizeof(OSPcre2), pi->pcre2); in ReadDecodeXML()
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/os_execd/
H A Dexecd.c356 os_calloc(MAX_ARGS + 2, sizeof(char *), timeout_args); in ExecdStart()
433 os_calloc(10, sizeof(char), ntimes); in ExecdStart()
475 os_calloc(10, sizeof(char), ntimes); in ExecdStart()
490 os_calloc(1, sizeof(timeout_data), timeout_entry); in ExecdStart()
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/os_execd/
H A Dexecd.c356 os_calloc(MAX_ARGS + 2, sizeof(char *), timeout_args); in ExecdStart()
433 os_calloc(10, sizeof(char), ntimes); in ExecdStart()
475 os_calloc(10, sizeof(char), ntimes); in ExecdStart()
490 os_calloc(1, sizeof(timeout_data), timeout_entry); in ExecdStart()

12345678910>>...14