Searched refs:safe_malloc_ (Results 1 – 6 of 6) sorted by relevance
116 if(0 == (page->header = (unsigned char *)safe_malloc_(OGG_MAX_HEADER_LEN))) { in simple_ogg_page__get_at()158 if(0 == (page->body = (unsigned char *)safe_malloc_(page->body_len))) { in simple_ogg_page__get_at()
68 x = safe_malloc_(bytes); in FLAC__memory_alloc_aligned()
412 if(0 == (ctx->internal_buf = (FLAC__byte*)safe_malloc_(bytes_needed))) in FLAC__MD5Accumulate()
64 if(0 == (x = (FLAC__byte*)safe_malloc_(bytes))) in copy_bytes_()
1912 if(0 == (obj->data = (FLAC__byte*)safe_malloc_(obj->data_length))) { in read_metadata_picture_()
23 static inline void *safe_malloc_(size_t n) in safe_malloc_() function