Lines Matching refs:malloc
136 else if ((appends = malloc(sizeof (struct s_appends) * appendnum)) ==
138 err(1, "malloc");
139 if ((match = malloc((maxnsub + 1) * sizeof (regmatch_t))) == NULL)
140 err(1, "malloc");
177 if ((*link = cmd = malloc(sizeof (struct s_command))) == NULL)
178 err(1, "malloc");
188 if ((cmd->a1 = malloc(sizeof (struct s_addr))) == NULL)
189 err(1, "malloc");
196 if ((cmd->a2 = malloc(sizeof (struct s_addr)))
198 err(1, "malloc");
316 err(1, "malloc");
446 if ((rep = malloc(sizeof (regex_t))) == NULL)
447 err(1, "malloc");
477 if ((text = malloc(asize)) == NULL)
478 err(1, "malloc");
640 if ((*py = y = malloc(sizeof (*y))) == NULL)
726 if ((text = malloc(asize)) == NULL)
727 err(1, "malloc");
828 if ((p = malloc(len)) == NULL)
829 err(1, "malloc");
884 if ((lh = malloc(sizeof (*lh))) == NULL)
885 err(1, "malloc");