Home | History | Annotate | Download | only in cintltst

Lines Matching full:buffersize

1690     int32_t bufferSize, maxBufferSize;
1715 bufferSize = U_CNV_SAFECLONE_BUFFERSIZE;
1716 if (0 != ucnv_safeClone(cnv, buffer[0], &bufferSize, 0))
1722 if (0 != ucnv_safeClone(cnv, buffer[0], &bufferSize, &err) || err != U_MEMORY_ALLOCATION_ERROR)
1731 log_err("FAIL: Cloned converter failed to deal correctly with null bufferSize pointer\n");
1736 bufferSize = 0;
1737 if (0 != ucnv_safeClone(cnv, buffer[0], &bufferSize, &err) || U_FAILURE(err) || bufferSize <= 0)
1742 if (U_CNV_SAFECLONE_BUFFERSIZE < bufferSize)
1747 if (0 == (cnv2 = ucnv_safeClone(cnv, buffer[0], &bufferSize, &err)) || U_FAILURE(err))
1756 bufferSize;
1757 if (0 == (cnv2 = ucnv_safeClone(cnv, 0, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_WARNING)
1766 bufferSize = U_CNV_SAFECLONE_BUFFERSIZE;
1769 if (0 == (cnv2 = ucnv_safeClone(cnv, 0, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_WARNING)
1780 if (0 != ucnv_safeClone(0, buffer[0], &bufferSize, &err) || err != U_ILLEGAL_ARGUMENT_ERROR)
1815 bufferSize = bufferSizes[j];
1816 cnv2 = ucnv_safeClone(cnv, buffer[1], &bufferSize, &err);
1828 if(bufferSize <= bufferSizes[j]) {
1831 containsAnyOtherByte(buffer[1]+bufferSize, (int32_t)(sizeof(buffer)-(sizeof(buffer[0])+bufferSize)), 0xaa)
1833 log_err("cloning %s in a stack buffer overwrote bytes outside the bufferSize %d (requested %d)\n",
1834 names[idx], bufferSize, bufferSizes[j]);
1839 log_err("cloning %s used the heap (bufferSize %d, requested %d) but overwrote stack buffer bytes\n",
1840 names[idx], bufferSize, bufferSizes[j]);