Lines Matching refs:alloc
116 r = BBUF_INIT(to, from->alloc); in bbuf_clone()
585 int alloc; member
721 int alloc; in name_add() local
751 alloc = INIT_NAMES_ALLOC_NUM; in name_add()
755 t->alloc = 0; in name_add()
758 t->e = (NameEntry* )xmalloc(sizeof(NameEntry) * alloc); in name_add()
763 t->alloc = alloc; in name_add()
767 else if (t->num == t->alloc) { in name_add()
770 alloc = t->alloc * 2; in name_add()
771 t->e = (NameEntry* )xrealloc(t->e, sizeof(NameEntry) * alloc); in name_add()
773 t->alloc = alloc; in name_add()
776 for (i = t->num; i < t->alloc; i++) { in name_add()
804 alloc = INIT_NAME_BACKREFS_ALLOC_NUM; in name_add()
805 e->back_refs = (int* )xmalloc(sizeof(int) * alloc); in name_add()
807 e->back_alloc = alloc; in name_add()
813 alloc = e->back_alloc * 2; in name_add()
814 e->back_refs = (int* )xrealloc(e->back_refs, sizeof(int) * alloc); in name_add()
816 e->back_alloc = alloc; in name_add()
955 int i, need, alloc; in scan_env_add_mem_entry() local
962 alloc = INIT_SCANENV_MEMNODES_ALLOC_SIZE; in scan_env_add_mem_entry()
963 p = (Node** )xmalloc(sizeof(Node*) * alloc); in scan_env_add_mem_entry()
968 alloc = env->mem_alloc * 2; in scan_env_add_mem_entry()
969 p = (Node** )xrealloc(env->mem_nodes_dynamic, sizeof(Node*) * alloc); in scan_env_add_mem_entry()
973 for (i = env->num_mem + 1; i < alloc; i++) in scan_env_add_mem_entry()
977 env->mem_alloc = alloc; in scan_env_add_mem_entry()
1184 bbuf->alloc = n + 1; in node_new_cclass_by_codepoint_range()