Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/xkb/
H A Dxkmread.c59 int newCount = *newCountRtrn; in XkmInsureSize() local
62 if (newCount == 0) in XkmInsureSize()
64 oldPtr = calloc(newCount, elemSize); in XkmInsureSize()
66 else if (oldCount < newCount) { in XkmInsureSize()
67 oldPtr = reallocarray(oldPtr, newCount, elemSize); in XkmInsureSize()
72 (newCount - oldCount) * elemSize); in XkmInsureSize()
75 else if (newCount < oldCount) { in XkmInsureSize()