Searched refs:ngp_alloc (Results 1 – 8 of 8) sorted by relevance
83 #define ngp_alloc(x) dal_malloc(x) macro89 #define ngp_alloc(x) malloc(x)
126 { p = (NGP_EXTVER_TAB *)ngp_alloc(sizeof(NGP_EXTVER_TAB)); } in ngp_get_extver()132 p2 = ngp_alloc(strlen(extname) + 1); in ngp_get_extver()165 { p = (NGP_EXTVER_TAB *)ngp_alloc(sizeof(NGP_EXTVER_TAB)); } in ngp_set_extver()171 p2 = ngp_alloc(strlen(extname) + 1); in ngp_set_extver()219 *p = (char *)ngp_alloc(1); /* preallocate 1 byte */ in ngp_line_from_file()536 cp = (char *)ngp_alloc(strlen(fname) + strlen(p2) + 2); in ngp_include_file()564 p = ngp_alloc(strlen(fname) + strlen(ngp_master_dir) + 1); in ngp_include_file()880 tkp = (NGP_TOKEN *)ngp_alloc((ngph->tokcnt + 1) * sizeof(NGP_TOKEN)); in ngp_hdu_insert_token()891 { ngph->tok[ngph->tokcnt].value.s = (char *)ngp_alloc(1 + strlen(newtok->value.s)); in ngp_hdu_insert_token()
126 { p = (NGP_EXTVER_TAB *)ngp_alloc(sizeof(NGP_EXTVER_TAB)); } in ngp_get_extver()132 p2 = ngp_alloc(strlen(extname) + 1); in ngp_get_extver()165 { p = (NGP_EXTVER_TAB *)ngp_alloc(sizeof(NGP_EXTVER_TAB)); } in ngp_set_extver()171 p2 = ngp_alloc(strlen(extname) + 1); in ngp_set_extver()261 *p = (char *)ngp_alloc(1); /* preallocate 1 byte */ in ngp_line_from_file()577 cp = (char *)ngp_alloc(strlen(fname) + strlen(p2) + 2); in ngp_include_file()605 p = ngp_alloc(strlen(fname) + strlen(ngp_master_dir) + 1); in ngp_include_file()921 tkp = (NGP_TOKEN *)ngp_alloc((ngph->tokcnt + 1) * sizeof(NGP_TOKEN)); in ngp_hdu_insert_token()932 { ngph->tok[ngph->tokcnt].value.s = (char *)ngp_alloc(1 + strlen(newtok->value.s)); in ngp_hdu_insert_token()