Home
last modified time | relevance | path

Searched refs:newarray (Results 1 – 2 of 2) sorted by relevance

/vim-8.2.3635/src/
H A Dhashtab.c326 hashitem_T *oldarray, *newarray; in hash_may_resize() local
388 newarray = ht->ht_smallarray; in hash_may_resize()
389 if (ht->ht_array == newarray) in hash_may_resize()
394 mch_memmove(temparray, newarray, sizeof(temparray)); in hash_may_resize()
404 newarray = ALLOC_CLEAR_MULT(hashitem_T, newsize); in hash_may_resize()
405 if (newarray == NULL) in hash_may_resize()
434 newitem = &newarray[newi]; in hash_may_resize()
440 newitem = &newarray[newi & newmask]; in hash_may_resize()
450 ht->ht_array = newarray; in hash_may_resize()
H A Dundo.c2669 undoline_T *newarray = NULL; in u_undoredo() local
2773 if ((newarray = U_ALLOC_LINE(sizeof(undoline_T) * oldsize)) == NULL) in u_undoredo()
2791 if (u_save_line(&newarray[i], lnum) == FAIL) in u_undoredo()
2801 newarray = NULL; in u_undoredo()
2850 uep->ue_array = newarray; in u_undoredo()