Home
last modified time | relevance | path

Searched refs:checked_malloc (Results 1 – 25 of 207) sorted by last modified time

123456789

/dports/security/aide/aide-0.17.4/src/
H A Dcommandconf.c60 u=checked_malloc(sizeof(url_t)); in parse_url()
269 s=(symba*)checked_malloc(sizeof(symba)); in do_define()
350 s=checked_malloc(sizeof(symba)); in do_groupdef()
H A Dconf_lex.c1939 conflval.s=checked_malloc(length+1);
H A Daide.c178 config = checked_malloc((line_length+2)*sizeof(char)); in append_line_to_config()
182 char *tmp = checked_malloc(sizeof(char) *(strlen(config)+line_length+2)); in append_line_to_config()
271 conf->limit=checked_malloc(strlen(optarg)+1); in read_param()
342 conf=(db_config*)checked_malloc(sizeof(db_config)); in setdefaults_before_config()
546 conf->hostname = checked_malloc(sizeof(char) * MAXHOSTNAMELEN + 1); in main()
H A Dconf_lex.l449 conflval.s=checked_malloc(length+1);
H A Ddb_file.c94 temp=(char*)checked_malloc(retval+2); in dofprintf()
126 db->fields = checked_malloc(1*sizeof(ATTRIBUTE)); in db_file_read_spec()
253 s = checked_malloc(sizeof(char*)*num_attrs); in db_readline_file()
443 ptr=(char*)checked_malloc(sizeof(char)*TIMEBUFSIZE); in db_write_time_base64()
H A Dseltree.c127 p=(char*)checked_malloc(sizeof(char)*lastslash+1); in strlastslash()
218 node=(seltree*)checked_malloc(sizeof(seltree)); in new_seltree_node()
268 r=(rx_rule*)checked_malloc(sizeof(rx_rule)); in add_rx_to_tree()
H A Dgen_list.c567 line=(db_line*)checked_malloc(sizeof(db_line)); in get_file_attrs()
746 line->linkname=(char*)checked_malloc(_POSIX_PATH_MAX+1); in hsymlnk()
H A Dmd.c176 line->hashsums[i] = checked_malloc(hashsums[i].length);
H A Dreport.c225 *values = checked_malloc(n * sizeof(char*));
226 (*values)[0]=checked_malloc((6+floor(log10(n)))*sizeof(char));
275 *values = checked_malloc(n * sizeof(char*));
288 char* string = checked_malloc ((length+1) * sizeof (char));
468 report_t* r = checked_malloc(sizeof(report_t));
531 char* str = checked_malloc((2*ssize+1) * sizeof (char));
544 *values[0] = checked_malloc(l * sizeof (char)); \
550 *values[0] = checked_malloc(l * sizeof (char)); \
571 *values = checked_malloc(1 * sizeof (char*));
909 time = checked_malloc(time_string_len * sizeof (char));
[all …]
H A Dconf_eval.c100 str = checked_malloc(length+1); in eval_string_expression()
385 s=(symba*)checked_malloc(sizeof(symba)); in eval_x_include_setenv_statement()
467 char * source_name = checked_malloc((strlen(file) + 10) * sizeof(char)); in include_file()
533 char * filepath = checked_malloc((dir_len+strlen(namelist[i]->d_name)+2)*sizeof(char)); in include_directory()
H A Ddo_md.c322 buf=checked_malloc(READ_BLOCK_SIZE); in calc_md()
462 ret = checked_malloc(sizeof(acl_type)); in acl2line()
496 ret = checked_malloc(sizeof(xattrs_type)); in xattr_new()
499 ret->ents = checked_malloc(sizeof(xattr_node) * ret->sz); in xattr_new()
508 ret = checked_malloc(len+1); in xzmemdup()
539 if (!xatrs) xatrs = checked_malloc(xsz); in xattrs2line()
555 if (!val) val = checked_malloc(asz); in xattrs2line()
H A Dbase64.c104 outbuf = (char *)checked_malloc(length + 1); in encode_base64()
197 outbuf = (byte *)checked_malloc(length + 1); in decode_base64()
H A Drx_rule.c119 str = checked_malloc(n); in get_restriction_string()
H A Dutil.c49 void* checked_malloc(size_t size) { in checked_malloc() function
157 res = (char *)checked_malloc (i + 1); in encode_string()
180 pc=(char*)checked_malloc(sizeof(char)*11); in perm_to_char()
275 full = checked_malloc(sizeof(char) * (full_len+1)); in expand_tilde()
H A Ddb.c94 mdc = checked_malloc(sizeof(struct md_container)); /* freed in close_db_attrs */ in init_db_attrs()
98 char *str = checked_malloc(length * sizeof(char)); in init_db_attrs()
119 line = checked_malloc(sizeof(struct db_line)); in close_db_attrs()
220 db_line* line=(db_line*)checked_malloc(sizeof(db_line)*1); in db_char2line()
326 line->acl = checked_malloc(sizeof(acl_type)); in db_char2line()
347 line->xattrs = checked_malloc(sizeof(xattrs_type)); in db_char2line()
H A Ddb_disk.c103 ret = (char *) checked_malloc (len); in name_construct()
132 new_r = checked_malloc (sizeof (seltree)); in add_child()
136 new_r->path = checked_malloc (i + 1); in add_child()
186 fullname=checked_malloc((conf->root_prefix_length+2)*sizeof(char)); in db_readline_disk()
316 fullname=checked_malloc((conf->root_prefix_length+strlen(r->path)+1)*sizeof(char)); in db_readline_disk()
394 char* fullname=checked_malloc((conf->root_prefix_length+2)*sizeof(char)); in db_disk_init()
/dports/security/aide/aide-0.17.4/include/
H A Dutil.h45 void* checked_malloc(size_t);
/dports/games/mirrormagic/mirrormagic-2.0.2/src/libgame/
H A Dsound.c989 snd_info->data_ptr = checked_malloc(snd_info->data_len); in LoadSoundExt()
H A Dpcx.c166 file_buffer = checked_malloc(file_length); in Read_PCX_to_Image()
H A Dmisc.h106 void *checked_malloc(unsigned long);
H A Dmisc.c375 char *complete_path = checked_malloc(strlen(path1) + 1 + in getPath2()
384 char *complete_path = checked_malloc(strlen(path1) + 1 + in getPath3()
399 s_copy = checked_malloc(strlen(s) + 1); in getStringCopy()
407 char *s_copy = checked_malloc(strlen(s) + 1); in getStringToLower()
614 void *checked_malloc(unsigned long size) in checked_malloc() function
1536 struct SetupFileList *new = checked_malloc(sizeof(struct SetupFileList)); in newSetupFileList()
1538 new->token = checked_malloc(strlen(token) + 1); in newSetupFileList()
1541 new->value = checked_malloc(strlen(value) + 1); in newSetupFileList()
1569 setup_file_list->value = checked_malloc(strlen(value) + 1); in setTokenValue()
H A Dimage.c33 image = checked_malloc(sizeof(Image)); in newImage()
34 image->data = checked_malloc(width * height * bytes_per_pixel); in newImage()
169 ximageinfo = checked_malloc(sizeof(XImageInfo)); in Image_to_Pixmap()
184 redvalue = (Pixel *)checked_malloc(sizeof(Pixel) * 256); in Image_to_Pixmap()
185 greenvalue = (Pixel *)checked_malloc(sizeof(Pixel) * 256); in Image_to_Pixmap()
186 bluevalue = (Pixel *)checked_malloc(sizeof(Pixel) * 256); in Image_to_Pixmap()
301 (Pixel *)checked_malloc(sizeof(Pixel) * NOFLASH_COLORS); in Image_to_Pixmap()
406 checked_malloc(image->width * image->height * bytes_per_pixel); in Image_to_Pixmap()
H A Dgadgets.c564 struct GadgetInfo *new_gadget = checked_malloc(sizeof(struct GadgetInfo)); in CreateGadget()
/dports/games/rnd_jue/rnd_jue-3.3.0.0/src/libgame/
H A Dsound.c542 set_identifier = checked_malloc(snd_ctrl->data_len); in ReadReloadInfoFromPipe()
1662 snd_info->data_ptr = checked_malloc(snd_info->data_len); in Load_WAV()
1707 void *buffer_ptr = checked_malloc(data_byte_len * 2); in Load_WAV()
/dports/games/rocksndiamonds/rocksndiamonds-3.3.1.2/src/libgame/
H A Dsound.c558 set_identifier = checked_malloc(snd_ctrl->data_len); in ReadReloadInfoFromPipe()
1679 snd_info->data_ptr = checked_malloc(snd_info->data_len); in Load_WAV()
1724 void *buffer_ptr = checked_malloc(data_byte_len * 2); in Load_WAV()

123456789