• Home
  • Raw
  • Download

Lines Matching refs:BJAM_MALLOC

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()
1684 VAR_PARSE_ACTIONS * const result = (VAR_PARSE_ACTIONS *)BJAM_MALLOC( in var_parse_actions_new()
1707 VAR_PARSE_VAR * result = (VAR_PARSE_VAR*)BJAM_MALLOC( sizeof( VAR_PARSE_VAR ) ); in var_parse_var_new()
1753 VAR_PARSE_FILE * const result = (VAR_PARSE_FILE *)BJAM_MALLOC( sizeof( in var_parse_file_new()
2986 BUILTIN_FUNCTION * result = (BUILTIN_FUNCTION*)BJAM_MALLOC( sizeof( BUILTIN_FUNCTION ) ); in function_builtin()
3411 result.args = (struct argument*)BJAM_MALLOC( c->args->size * sizeof( struct argument ) ); in arg_compile_impl()
3470 result = (struct arg_list*)BJAM_MALLOC( c->args->size * sizeof( struct arg_list ) ); in arg_list_compile()
3510 result = (struct arg_list *)BJAM_MALLOC( c->args->size * sizeof( struct arg_list ) ); in arg_list_compile_builtin()
3554 struct arg_list * result = (struct arg_list *)BJAM_MALLOC( sizeof( in argument_list_bind_variables()
3561 struct argument * args = (struct argument *)BJAM_MALLOC( sizeof( in argument_list_bind_variables()
3627 JAM_FUNCTION * new_func = (JAM_FUNCTION *)BJAM_MALLOC( sizeof( JAM_FUNCTION ) ); in function_bind_variables()
3635 new_func->code = (instruction *)BJAM_MALLOC( func->code_size * sizeof( instruction ) ); in function_bind_variables()
5104 result = (struct arg_list *)BJAM_MALLOC( c->args->size * sizeof( struct arg_list ) ); in arg_list_compile_python()
5116 PYTHON_FUNCTION * result = (PYTHON_FUNCTION *)BJAM_MALLOC( sizeof( PYTHON_FUNCTION ) ); in function_python()