Searched refs:BJAM_MALLOC (Results 1 – 18 of 18) sorted by relevance
31 CMDLIST * result = (CMDLIST *)BJAM_MALLOC( sizeof( CMDLIST ) ); in cmdlist_append_cmd()40 CMDLIST * result = (CMDLIST *)BJAM_MALLOC( sizeof( CMDLIST ) ); in cmdlist_append_target()63 CMD * cmd = (CMD *)BJAM_MALLOC( sizeof( CMD ) ); in cmd_new()
95 return (char *)BJAM_MALLOC( n ); in allocate()114 new_block = (strblock *)BJAM_MALLOC( offsetof( strblock, data[ 0 ] ) + in allocate()161 set->data = (struct hash_item * *)BJAM_MALLOC( set->num * sizeof( struct hash_item * ) ); in string_set_init()178 new_set.data = (struct hash_item * *)BJAM_MALLOC( sizeof( struct hash_item * in string_set_resize()257 struct hash_item * const m = (struct hash_item *)BJAM_MALLOC( sizeof( in object_new_range()
50 #define BJAM_MALLOC(s) (profile_memory(s), bjam_malloc_x(s)) macro61 #define BJAM_MALLOC(s) bjam_malloc_x(s) macro
516 FILELIST * list = (FILELIST *)BJAM_MALLOC( sizeof( FILELIST ) ); in filelist_new()540 item = (FILEITEM *)BJAM_MALLOC( sizeof( FILEITEM ) ); in filelist_push_back()542 item->value = (file_info_t *)BJAM_MALLOC( sizeof( file_info_t ) ); in filelist_push_back()578 item = (FILEITEM *)BJAM_MALLOC( sizeof( FILEITEM ) ); in filelist_push_front()580 item->value = (file_info_t *)BJAM_MALLOC( sizeof( file_info_t ) ); in filelist_push_front()
61 TARGET * const i = (TARGET *)BJAM_MALLOC( sizeof( *t ) ); in get_target_includes()260 TARGETS * const c = (TARGETS *)BJAM_MALLOC( sizeof( TARGETS ) ); in targetentry()311 ACTIONS * const actions = (ACTIONS *)BJAM_MALLOC( sizeof( ACTIONS ) ); in actionlist()352 v = (SETTINGS *)BJAM_MALLOC( sizeof( *v ) ); in addsettings()617 rule_actions * const result = (rule_actions *)BJAM_MALLOC( sizeof( in actions_new()
101 struct hash * hp = (struct hash *)BJAM_MALLOC( sizeof( *hp ) ); in hashinit()240 hp->items.next = (char *)BJAM_MALLOC( hp->items.more * hp->items.size ); in hashrehash()251 hp->tab.base = (ITEM * *)BJAM_MALLOC( hp->tab.nel * sizeof( ITEM * ) ); in hashrehash()
94 PARSE * p = (PARSE *)BJAM_MALLOC( sizeof( PARSE ) ); in parse_make()
234 stack = BJAM_MALLOC( size ); in stack_global()1280 array->data = BJAM_MALLOC( array->capacity * unit_size ); in dynamic_array_push_impl()1286 new_data = BJAM_MALLOC( array->capacity * unit_size ); in dynamic_array_push_impl()1530 JAM_FUNCTION * const result = (JAM_FUNCTION*)BJAM_MALLOC( sizeof( JAM_FUNCTION ) ); in compile_to_function()1540 result->code = (instruction*)BJAM_MALLOC( c->code->size * sizeof( instruction ) ); in compile_to_function()1543 result->constants = (OBJECT**)BJAM_MALLOC( c->constants->size * sizeof( OBJECT * ) ); in compile_to_function()1550 result->functions = (SUBFUNCTION*)BJAM_MALLOC( c->rules->size * sizeof( SUBFUNCTION ) ); in compile_to_function()1562 result->actions = (SUBACTION*)BJAM_MALLOC( c->actions->size * sizeof( SUBACTION ) ); in compile_to_function()1630 VAR_PARSE_GROUP * const result = (VAR_PARSE_GROUP*)BJAM_MALLOC( sizeof( VAR_PARSE_GROUP ) ); in var_parse_group_new()1655 VAR_PARSE_STRING * const value = (VAR_PARSE_STRING *)BJAM_MALLOC( in var_parse_group_maybe_add_constant()[all …]
112 ACTION * const action = (ACTION *)BJAM_MALLOC( sizeof( ACTION ) ); in evaluate_rule()
402 LIST * * fixed_variables = (LIST * *)BJAM_MALLOC( n_variables * sizeof( LIST * ) ); in module_set_fixed_variables()
93 include * i = (include *)BJAM_MALLOC( sizeof( *i ) ); in yyfparse()
35 return (LIST *)BJAM_MALLOC( sizeof( LIST ) + ( 1u << bucket ) * in list_alloc()
246 r = (regexp *)BJAM_MALLOC(sizeof(regexp) + (unsigned)regsize); in regcomp()
1758 char * buffer = (char *)BJAM_MALLOC( desired + 1 ); in builtin_pad()1906 buf = (char *)BJAM_MALLOC( bufsize ); in builtin_readlink()
126 return (state *)BJAM_MALLOC( sizeof( state ) ); in alloc_state()
69 …map->table = (struct ps_map_entry * *)BJAM_MALLOC( map->table_size * sizeof( struct ps_map_entry *… in ps_map_init()97 …map->table = (struct ps_map_entry * *)BJAM_MALLOC( map->table_size * 2 * sizeof( struct ps_map_ent… in ps_map_rehash()137 pos = (struct ps_map_entry *)BJAM_MALLOC( sizeof( struct ps_map_entry ) ); in ps_map_insert()
167 indices = (int *)BJAM_MALLOC( size * sizeof( int ) ); in regex_transform()174 indices = (int *)BJAM_MALLOC( sizeof( int ) ); in regex_transform()
101 int * order = ( int * )BJAM_MALLOC( ( length + 1 ) * sizeof( int ) ); in order()