Searched refs:my_malloc (Results 1 – 1 of 1) sorted by relevance
149 static void *my_malloc(size_t size) in my_malloc() function197 v = my_malloc(sizeof(struct vendor) + strlen(name)); in new_vendor()217 p = my_malloc(sizeof(struct product) + strlen(name)); in new_product()237 c = my_malloc(sizeof(struct class) + strlen(name)); in new_class()256 s = my_malloc(sizeof(struct subclass) + strlen(name)); in new_subclass()279 p = my_malloc(sizeof(struct protocol) + strlen(name)); in new_protocol()