Searched refs:NOFAIL (Results 1 – 3 of 3) sorted by relevance
122 buf = NOFAIL(malloc(st.st_size + 1)); in read_text_file()180 mod = NOFAIL(malloc(sizeof(*mod) + namelen + 1)); in new_module()242 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol()312 ns_entry = NOFAIL(malloc(sizeof(*ns_entry) + in add_namespace()369 s->namespace = namespace[0] ? NOFAIL(strdup(namespace)) : NULL; in sym_update_namespace()645 char *munged = NOFAIL(strdup(symname)); in handle_symbol()1900 buf->p = NOFAIL(realloc(buf->p, buf->size)); in buf_write()2149 tmp = NOFAIL(malloc(b->pos)); in write_if_changed()2335 dl = NOFAIL(malloc(sizeof(*dl))); in main()
97 #define NOFAIL(ptr) do_nofail((ptr), #ptr) macro
308 cmd = NOFAIL(malloc(strlen(objfile) + sizeof("..cmd"))); in parse_source_files()319 dir = NOFAIL(malloc(dirlen + 1)); in parse_source_files()