Lines Matching refs:nLen
214 sal_Int32 nLen = 0; in bindData() local
215 nLen = ((const ::com::sun::star::uno::Sequence< sal_Int8 > *)_pValue)->getLength(); in bindData()
216 *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); in bindData()
221 sal_Int32 nLen = 0; in bindData() local
223 nLen = sizeof(sal_Unicode) * ((::rtl::OUString*)_pValue)->getLength(); in bindData()
227 nLen = aString.getLength(); in bindData()
229 *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); in bindData()
367 sal_Int32 nLen = 0; in bindValue() local
368 … nLen = ((const ::com::sun::star::uno::Sequence< sal_Int8 > *)_pValue)->getLength(); in bindValue()
369 *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); in bindValue()
375 sal_Int32 nLen = 0; in bindValue() local
376 nLen = ((::rtl::OUString*)_pValue)->getLength(); in bindValue()
377 *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); in bindValue()
525 sal_Int32 nLen = aData.getLength(); in getBytesValue() local
526 aData.realloc(nLen + nBytes); in getBytesValue()
527 memcpy(aData.getArray() + nLen, aCharArray, nBytes); in getBytesValue()
569 SQLLEN nLen = pcbValue != SQL_NO_TOTAL ? std::min(nRealSize, nMaxLen) : (nMaxLen-1); in getStringValue() local
570 waCharArray[nLen] = 0; in getStringValue()
571 aData.append(waCharArray,nLen); in getStringValue()
577 while ((pcbValue == SQL_NO_TOTAL ) || nLen > nMaxLen) in getStringValue()
583 nLen = pcbValue - nMaxLen; in getStringValue()
585 nLen = nMaxLen; in getStringValue()
593 (SQLLEN)nLen+1, in getStringValue()
599 nLen = pcbValue != SQL_NO_TOTAL ? std::min(nRealSize, nMaxLen) : (nMaxLen-1); in getStringValue()
600 waCharArray[nLen] = 0; in getStringValue()
625 SQLLEN nLen = pcbValue != SQL_NO_TOTAL ? std::min(pcbValue, nMaxLen) : (nMaxLen-1); in getStringValue() local
626 aCharArray[nLen] = 0; in getStringValue()
627 if ( ((pcbValue == SQL_NO_TOTAL) || pcbValue > nMaxLen) && aCharArray[nLen-1] == 0 && nLen > 0 ) in getStringValue()
628 --nLen; in getStringValue()
629 aData.append(::rtl::OUString((const sal_Char*)aCharArray,nLen, _nTextEncoding)); in getStringValue()
646 nLen = pcbValue != SQL_NO_TOTAL ? std::min(pcbValue, nMaxLen) : (nMaxLen-1); in getStringValue()
647 if ( ((pcbValue == SQL_NO_TOTAL) || pcbValue > nMaxLen) && aCharArray[nLen-1] == 0 && nLen > 0 ) in getStringValue()
648 --nLen; in getStringValue()
649 aCharArray[nLen] = 0; in getStringValue()
651 aData.append(::rtl::OUString((const sal_Char*)aCharArray,nLen,_nTextEncoding)); in getStringValue()