Lines Matching full:buffersize
681 int32_t bufferSize = U_COL_SAFECLONE_BUFFERSIZE;
710 if (0 != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, 0))
716 if (0 != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || err != U_MEMORY_ALLOCATION_ERROR)
725 log_err("FAIL: Cloned Collator failed to deal correctly with null bufferSize pointer\n");
730 bufferSize = 0;
731 if (0 != ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err) || U_FAILURE(err) || bufferSize <= 0)
736 if (U_COL_SAFECLONE_BUFFERSIZE < bufferSize)
741 if (0 == (col = ucol_safeClone(someCollators[0], buffer[0], &bufferSize, &err)) || U_FAILURE(err))
747 --bufferSize;
748 if (0 == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_WARNING)
754 bufferSize = U_COL_SAFECLONE_BUFFERSIZE;
758 if (0 == (col = ucol_safeClone(someCollators[0], 0, &bufferSize, &err)) || err != U_SAFECLONE_ALLOCATED_WARNING)
766 if (0 != ucol_safeClone(0, buffer[0], &bufferSize, &err) || err != U_ILLEGAL_ARGUMENT_ERROR)
775 bufferSize = U_COL_SAFECLONE_BUFFERSIZE;
776 someClonedCollators[0] = ucol_safeClone(col, buffer[0], &bufferSize, &err);
792 bufferSize = 1;
794 ucol_close(ucol_safeClone(someCollators[index], buffer[index], &bufferSize, &err));
800 bufferSize = U_COL_SAFECLONE_BUFFERSIZE;
802 someClonedCollators[index] = ucol_safeClone(someCollators[index], buffer[index], &bufferSize, &err);