Searched refs:newCount (Results 1 - 3 of 3) sorted by relevance
| /xsrc/external/mit/libxkbfile/dist/src/ |
| H A D | xkmread.c | 59 int newCount = *newCountRtrn; local in function:XkmInsureSize 62 if (newCount == 0) 64 oldPtr = (XPointer) _XkbCalloc(newCount, elemSize); 66 else if (oldCount < newCount) { 67 oldPtr = (XPointer) _XkbRealloc(oldPtr, newCount * elemSize); 71 bzero(&tmp[oldCount * elemSize], (newCount - oldCount) * elemSize); 74 else if (newCount < oldCount) {
|
| /xsrc/external/mit/xorg-server.old/dist/xkb/ |
| H A D | xkmread.c | 72 int newCount= *newCountRtrn; local in function:XkmInsureSize 75 if (newCount==0) 77 oldPtr= calloc(newCount,elemSize); 79 else if (oldCount<newCount) { 80 oldPtr= realloc(oldPtr,newCount*elemSize); 83 memset(&tmp[oldCount*elemSize], 0, (newCount-oldCount)*elemSize); 86 else if (newCount<oldCount) {
|
| /xsrc/external/mit/xorg-server/dist/xkb/ |
| H A D | xkmread.c | 59 int newCount = *newCountRtrn; local in function:XkmInsureSize 62 if (newCount == 0) 64 oldPtr = calloc(newCount, elemSize); 66 else if (oldCount < newCount) { 67 oldPtr = reallocarray(oldPtr, newCount, elemSize); 72 (newCount - oldCount) * elemSize); 75 else if (newCount < oldCount) {
|
Completed in 29 milliseconds