Lines Matching refs:alloc
117 r = BBUF_INIT(to, from->alloc); in bbuf_clone()
590 int alloc; member
724 int alloc; in name_add() local
756 alloc = INIT_NAMES_ALLOC_NUM; in name_add()
760 t->alloc = 0; in name_add()
763 t->e = (NameEntry* )xmalloc(sizeof(NameEntry) * alloc); in name_add()
768 t->alloc = alloc; in name_add()
772 else if (t->num == t->alloc) { in name_add()
775 alloc = t->alloc * 2; in name_add()
776 t->e = (NameEntry* )xrealloc(t->e, sizeof(NameEntry) * alloc); in name_add()
778 t->alloc = alloc; in name_add()
781 for (i = t->num; i < t->alloc; i++) { in name_add()
810 alloc = INIT_NAME_BACKREFS_ALLOC_NUM; in name_add()
811 e->back_refs = (int* )xmalloc(sizeof(int) * alloc); in name_add()
813 e->back_alloc = alloc; in name_add()
819 alloc = e->back_alloc * 2; in name_add()
820 e->back_refs = (int* )xrealloc(e->back_refs, sizeof(int) * alloc); in name_add()
822 e->back_alloc = alloc; in name_add()
959 int i, need, alloc; in scan_env_add_mem_entry() local
966 alloc = INIT_SCANENV_MEMNODES_ALLOC_SIZE; in scan_env_add_mem_entry()
967 p = (Node** )xmalloc(sizeof(Node*) * alloc); in scan_env_add_mem_entry()
972 alloc = env->mem_alloc * 2; in scan_env_add_mem_entry()
973 p = (Node** )xrealloc(env->mem_nodes_dynamic, sizeof(Node*) * alloc); in scan_env_add_mem_entry()
977 for (i = env->num_mem + 1; i < alloc; i++) in scan_env_add_mem_entry()
981 env->mem_alloc = alloc; in scan_env_add_mem_entry()
1189 bbuf->alloc = n + 1; in node_new_cclass_by_codepoint_range()