Searched refs:tmpbuflen (Results 1 – 3 of 3) sorted by relevance
| /xnu-11215/libkern/c++/ |
| H A D | OSUnserializeXML.y | 796 size_t tmpbuflen = DATA_ALLOC_SIZE; in getCFEncodedData() local 797 unsigned char *tmpbuf = (unsigned char *)malloc(tmpbuflen); in getCFEncodedData() 805 safe_free(tmpbuf, tmpbuflen); in getCFEncodedData() 824 if (tmpbuflen <= tmpbufpos + 2) { in getCFEncodedData() 825 size_t oldsize = tmpbuflen; in getCFEncodedData() 826 tmpbuflen *= 2; in getCFEncodedData() 827 tmpbuf = (unsigned char *)realloc(tmpbuf, oldsize, tmpbuflen); in getCFEncodedData() 841 safe_free(tmpbuf, tmpbuflen); in getCFEncodedData()
|
| /xnu-11215/iokit/System/ |
| H A D | OSUnserializeXMLSharedImplementation.h | 2407 size_t tmpbuflen = DATA_ALLOC_SIZE; in getCFEncodedData() local 2408 unsigned char *tmpbuf = (unsigned char *)malloc(tmpbuflen); in getCFEncodedData() 2416 safe_free(tmpbuf, tmpbuflen); in getCFEncodedData() 2435 if (tmpbuflen <= tmpbufpos + 2) { in getCFEncodedData() 2436 size_t oldsize = tmpbuflen; in getCFEncodedData() 2437 tmpbuflen *= 2; in getCFEncodedData() 2438 tmpbuf = (unsigned char *)realloc(tmpbuf, oldsize, tmpbuflen); in getCFEncodedData() 2452 safe_free(tmpbuf, tmpbuflen); in getCFEncodedData()
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSUnserializeXMLSharedImplementation.h | 2407 size_t tmpbuflen = DATA_ALLOC_SIZE; in getCFEncodedData() local 2408 unsigned char *tmpbuf = (unsigned char *)malloc(tmpbuflen); in getCFEncodedData() 2416 safe_free(tmpbuf, tmpbuflen); in getCFEncodedData() 2435 if (tmpbuflen <= tmpbufpos + 2) { in getCFEncodedData() 2436 size_t oldsize = tmpbuflen; in getCFEncodedData() 2437 tmpbuflen *= 2; in getCFEncodedData() 2438 tmpbuf = (unsigned char *)realloc(tmpbuf, oldsize, tmpbuflen); in getCFEncodedData() 2452 safe_free(tmpbuf, tmpbuflen); in getCFEncodedData()
|