Home
last modified time | relevance | path

Searched refs:nLength (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/trunk/main/autodoc/source/cosv/strings/
H A Dstreamstr.cxx74 size_type nLength = strlen(i_sInitStr); in StreamStr() local
75 nCapacity1 = csv::max(nLength, i_nCapacity) + 1; in StreamStr()
78 pCur = dpData + nLength; in StreamStr()
167 size_type nLength = strlen(i_s); in operator <<() local
169 ProvideAddingSize( nLength ); in operator <<()
170 memcpy( pCur, i_s, nLength ); in operator <<()
171 Advance(nLength); in operator <<()
179 size_type nLength = i_s.length(); in operator <<() local
181 ProvideAddingSize( nLength ); in operator <<()
182 memcpy( pCur, i_s.c_str(), nLength ); in operator <<()
[all …]
/trunk/main/svx/workben/msview/
H A Dxmlconfig.cxx217 sal_Int32 nLength = rText.getLength() - 2; in toInt() local
218 while( (nLength--) > 0 ) in toInt()
354 rtl::OUString ElementConfig::format( SvStream& rStream, sal_Size& nLength ) const in format()
365 case ECT_BYTE: aRet += dump_byte( rStream, nLength ); break; in format()
366 case ECT_UINT: aRet += dump_uint( rStream, nLength ); break; in format()
367 case ECT_UNISTRING: aRet += dump_unistring( rStream, nLength ); break; in format()
368 case ETC_FLOAT: aRet += dump_float( rStream, nLength ); break; in format()
370 default: aRet += dump_hex( rStream, nLength ); break; in format()
376 rtl::OUString ElementConfig::dump_hex( SvStream& rStream, sal_Size& nLength ) in dump_hex() argument
383 while( nLength && (rStream.GetError() == 0) ) in dump_hex()
[all …]
/trunk/main/store/source/
H A Dstorlckb.cxx182 sal_uInt32 nLength = sal_uInt32(aDescr.m_nLength); in readAt() local
183 nLength = SAL_MIN(nLength, nBytes); in readAt()
188 nLength); in readAt()
191 rnDone += nLength; in readAt()
192 nOffset += nLength; in readAt()
193 nBytes -= nLength; in readAt()
201 sal_uInt32 nLength = sal_uInt32(aDescr.m_nLength); in readAt() local
202 nLength = SAL_MIN(nLength, nBytes); in readAt()
213 nLength); in readAt()
221 nLength); in readAt()
[all …]
/trunk/main/comphelper/source/misc/
H A Daccessibletexthelper.cxx101 …sal_Bool OCommonAccessibleText::implIsValidBoundary( i18n::Boundary& rBoundary, sal_Int32 nLength ) in implIsValidBoundary() argument
103 …tartPos >= 0 ) && ( rBoundary.startPos < nLength ) && ( rBoundary.endPos >= 0 ) && ( rBoundary.end… in implIsValidBoundary()
108 sal_Bool OCommonAccessibleText::implIsValidIndex( sal_Int32 nIndex, sal_Int32 nLength ) in implIsValidIndex() argument
110 return ( nIndex >= 0 ) && ( nIndex < nLength ); in implIsValidIndex()
115 …onAccessibleText::implIsValidRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex, sal_Int32 nLength ) in implIsValidRange() argument
117 …return ( nStartIndex >= 0 ) && ( nStartIndex <= nLength ) && ( nEndIndex >= 0 ) && ( nEndIndex <= in implIsValidRange()
238 sal_Int32 nLength = sText.getLength(); in implGetLineBoundary() local
240 if ( implIsValidIndex( nIndex, nLength ) || nIndex == nLength ) in implGetLineBoundary()
243 rBoundary.endPos = nLength; in implGetLineBoundary()
343 sal_Int32 nLength = sText.getLength(); in getTextAtIndex() local
[all …]
/trunk/main/vcl/unx/generic/app/
H A Di18n_cb.cxx60 pPreeditData->aText.nLength = 0; in PreeditStartCallback()
100 if (ptext->nLength == 0) in Preedit_DeleteText()
102 ptext->nLength = from; in Preedit_DeleteText()
108 if (to == (int)ptext->nLength) in Preedit_DeleteText()
111 ptext->nLength = from; in Preedit_DeleteText()
114 if (to < (int)ptext->nLength) in Preedit_DeleteText()
119 (ptext->nLength - to) * sizeof(sal_Unicode)); in Preedit_DeleteText()
122 (ptext->nLength - to) * sizeof(XIMFeedback)); in Preedit_DeleteText()
123 ptext->nLength -= howmuch; in Preedit_DeleteText()
130 from, to, ptext->nLength ); in Preedit_DeleteText()
[all …]
/trunk/main/sal/qa/rtl/oustring/
H A Drtl_ustr.cxx445 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
446 …sal_Unicode* pStr = (sal_Unicode*) malloc( nLength + sizeof(sal_Unicode)); // length + 1 (null ter… in TEST_F()
448 memset(pStr, 0, nLength + sizeof(sal_Unicode)); in TEST_F()
449 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
479 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
480 sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); in TEST_F()
482 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
496 sal_uInt32 nLength = aStr1.getLength() * sizeof(sal_Unicode); in TEST_F() local
497 … sal_Unicode* pStr = (sal_Unicode*) malloc(nLength); // no null terminator is need in TEST_F()
499 memcpy(pStr, aStr1.getStr(), nLength); in TEST_F()
[all …]
/trunk/main/sax/source/expatwrap/
H A Dsaxwriter.cxx1046 sal_Int32 nLength =-1; in getIndentPrefixLength() local
1052 nLength = m_nLevel; in getIndentPrefixLength()
1056 return nLength; in getIndentPrefixLength()
1150 sal_Int32 nLength(0); in startElement() local
1155 nLength ++; // "<" in startElement()
1156 nLength += calcXMLByteLength( aName.getStr() , aName.getLength(), in startElement()
1161 nLength ++; // " " in startElement()
1164 nLength += calcXMLByteLength( tmp.getStr() , tmp.getLength() , sal_False, sal_False ); in startElement()
1166 nLength += 2; // =" in startElement()
1170 nLength += calcXMLByteLength( tmp.getStr(), tmp.getLength(), sal_True, sal_True ); in startElement()
[all …]
/trunk/main/i18npool/source/textconversion/
H A Dtextconversion_zh.cxx67 TextConversion_zh::getCharConversion(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,… in getCharConversion() argument
83 rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength ); // defined in x_rtl_ustring.h in getCharConversion()
84 for (sal_Int32 i = 0; i < nLength; i++) in getCharConversion()
91 TextConversion_zh::getWordConversion(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,… in getWordConversion() argument
120 return getCharConversion(aText, nStartPos, nLength, toSChinese, nConversionOptions); in getWordConversion()
122 … rtl_uString * newStr = x_rtl_uString_new_WithLength( nLength * 2 ); // defined in x_rtl_ustring.h in getWordConversion()
124 while (currPos < nLength) { in getWordConversion()
125 sal_Int32 len = nLength - currPos; in getWordConversion()
223 TextConversion_zh::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument
230 …result.Candidates[0] = getConversion( aText, nStartPos, nLength, rLocale, nConversionType, nConver… in getConversions()
[all …]
H A DtextconversionImpl.cxx37 TextConversionImpl::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversions() argument
44 if (nLength > len) in getConversions()
45 nLength = len > 0 ? len : 0; in getConversions()
46 …return xTC->getConversions(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions… in getConversions()
50 TextConversionImpl::getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversion() argument
57 if (nLength > len) in getConversion()
58 nLength = len > 0 ? len : 0; in getConversion()
59 …return xTC->getConversion(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions); in getConversion()
63 …ersionImpl::getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, in getConversionWithOffset() argument
70 if (nLength > len) in getConversionWithOffset()
[all …]
/trunk/main/ucbhelper/source/provider/
H A Dsimpleinteractionrequest.cxx41 sal_Int32 nLength = 0; in SimpleInteractionRequest() local
50 ++nLength; in SimpleInteractionRequest()
56 ++nLength; in SimpleInteractionRequest()
62 ++nLength; in SimpleInteractionRequest()
68 ++nLength; in SimpleInteractionRequest()
72 OSL_ENSURE( nLength > 0, in SimpleInteractionRequest()
76 aContinuations( nLength ); in SimpleInteractionRequest()
78 nLength = 0; in SimpleInteractionRequest()
81 aContinuations[ nLength++ ] = xAbort; in SimpleInteractionRequest()
84 aContinuations[ nLength++ ] = xRetry; in SimpleInteractionRequest()
[all …]
/trunk/main/sal/rtl/source/
H A Dstring.c169 sal_Int32 nLength, in rtl_impl_convertUStringToString() argument
175 && (pSource != NULL || nLength == 0) in rtl_impl_convertUStringToString()
176 && nLength >= 0 in rtl_impl_convertUStringToString()
179 if ( !nLength ) in rtl_impl_convertUStringToString()
196 nNewLen = rtl_ImplGetFastUTF8ByteLen( pSource, nLength ); in rtl_impl_convertUStringToString()
199 if ( nNewLen == (sal_Size)nLength ) in rtl_impl_convertUStringToString()
204 *pTarget = IMPL_RTL_STRINGNAME( ImplAlloc )( nLength ); in rtl_impl_convertUStringToString()
216 nLength--; in rtl_impl_convertUStringToString()
218 while ( nLength ); in rtl_impl_convertUStringToString()
234 nNewLen = nLength*aTextEncInfo.AverageCharSize; in rtl_impl_convertUStringToString()
[all …]
H A Dbyteseq.c149 void SAL_CALL rtl_byte_sequence_construct( sal_Sequence **ppSequence , sal_Int32 nLength ) in rtl_byte_sequence_construct() argument
158 if( nLength ) in rtl_byte_sequence_construct()
160 *ppSequence = (sal_Sequence *) rtl_allocateZeroMemory( SAL_SEQUENCE_HEADER_SIZE + nLength ); in rtl_byte_sequence_construct()
165 (*ppSequence)->nElements = nLength; in rtl_byte_sequence_construct()
176 void SAL_CALL rtl_byte_sequence_constructNoDefault( sal_Sequence **ppSequence , sal_Int32 nLength ) in rtl_byte_sequence_constructNoDefault() argument
185 *ppSequence = (sal_Sequence *) rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE + nLength ); in rtl_byte_sequence_constructNoDefault()
190 (*ppSequence)->nElements = nLength; in rtl_byte_sequence_constructNoDefault()
196 sal_Sequence **ppSequence, const sal_Int8 *pData , sal_Int32 nLength ) in rtl_byte_sequence_constructFromArray() argument
198 rtl_byte_sequence_constructNoDefault( ppSequence , nLength ); in rtl_byte_sequence_constructFromArray()
200 rtl_copyMemory( (*ppSequence)->elements, pData, nLength ); in rtl_byte_sequence_constructFromArray()
/trunk/main/sw/source/core/access/
H A Daccportions.cxx117 void SwAccessiblePortionData::Text(sal_uInt16 nLength, sal_uInt16 nType) in Text() argument
119 DBG_ASSERT( (nModelPosition + nLength) <= pTxtNode->GetTxt().Len(), in Text()
125 if( nLength == 0 ) in Text()
140 nLength ) ) ); in Text()
141 nModelPosition += nLength; in Text()
152 sal_uInt16 nLength, const String& rText, sal_uInt16 nType) in Special() argument
155 DBG_ASSERT( (nModelPosition + nLength) <= pTxtNode->GetTxt().Len(), in Special()
229 if( (nLength == 0) && (sDisplay.Len() == 0) && (nType != POR_TERMINATE) ) in Special()
234 if( ( nLength == 0 ) && ( nModelPosition == 0 ) ) in Special()
244 if( nLength == 0 ) nAttr |= PORATTR_READONLY; in Special()
[all …]
/trunk/main/reportdesign/source/ui/dlg/
H A DDateTime.cxx160 sal_Int32 nLength = 0; in Execute() local
162 aValues[nLength].Name = PROPERTY_SECTION; in Execute()
163 aValues[nLength++].Value <<= m_xHoldAlive; in Execute()
165 aValues[nLength].Name = PROPERTY_TIME_STATE; in Execute()
166 aValues[nLength++].Value <<= m_aTime.IsChecked(); in Execute()
168 aValues[nLength].Name = PROPERTY_DATE_STATE; in Execute()
169 aValues[nLength++].Value <<= m_aDate.IsChecked(); in Execute()
171 aValues[nLength].Name = PROPERTY_FORMATKEYDATE; in Execute()
172 aValues[nLength++].Value <<= getFormatKey(sal_True); in Execute()
174 aValues[nLength].Name = PROPERTY_FORMATKEYTIME; in Execute()
[all …]
/trunk/main/sc/source/filter/lotus/
H A Dfilter.cxx109 sal_uInt16 nOpcode, nLength; in generate_Opcodes() local
111 aStream >> nOpcode >> nLength; in generate_Opcodes()
120 pOps[ nOpcode ] ( aStream, nLength ); in generate_Opcodes()
126 aStream.SeekRel(nLength); in generate_Opcodes()
127 aStream >> nOpcode >> nLength; in generate_Opcodes()
130 aStream.SeekRel(nLength); in generate_Opcodes()
131 aStream >> nOpcode >> nLength; in generate_Opcodes()
134 aStream.SeekRel(nLength); in generate_Opcodes()
138 aStream.SeekRel(nLength); in generate_Opcodes()
141 aStream.SeekRel(nLength); in generate_Opcodes()
[all …]
/trunk/main/filter/source/placeware/
H A DBase64Codec.cxx145 void FourByteToThreeByte (sal_uInt8* pBuffer, sal_Int32& nLength, const sal_Int32 nStart, const rtl…
147 nLength = 0;
157 nLength = 1;
159 nLength = 2;
161 nLength = 3;
171 if (nLength == 1)
177 if (nLength == 2)
189 sal_Int32 nLength(0);
194 FourByteToThreeByte (pBuffer, nLength, k, sBuffer.copy(i, 4));
195 nSecondLength += nLength;
[all …]
H A Dtempfile.cxx94 DWORD nLength; in my_getTempDirURL() local
99 nLength = GetTempPathW( elementsof(szBuffer), lpBuffer ); in my_getTempDirURL()
100 if ( nLength > nBufferLength ) in my_getTempDirURL()
102 nLength++; in my_getTempDirURL()
103 lpBuffer = (LPWSTR)alloca( sizeof(WCHAR) * nLength ); in my_getTempDirURL()
104 nBufferLength = nLength - 1; in my_getTempDirURL()
106 } while ( nLength > nBufferLength ); in my_getTempDirURL()
108 if ( nLength ) in my_getTempDirURL()
112 if ( '\\' == lpBuffer[nLength-1] ) in my_getTempDirURL()
113 lpBuffer[nLength-1] = 0; in my_getTempDirURL()
/trunk/main/filter/source/xsltfilter/
H A DXMLBase64Codec.cxx148 void FourByteToThreeByte (sal_uInt8* pBuffer, sal_Int32& nLength, const sal_Int32 nStart, const rtl…
150 nLength = 0;
160 nLength = 1;
162 nLength = 2;
164 nLength = 3;
174 if (nLength == 1)
180 if (nLength == 2)
192 sal_Int32 nLength(0);
197 FourByteToThreeByte (pBuffer, nLength, k, sBuffer.copy(i, 4));
198 nSecondLength += nLength;
[all …]
/trunk/main/xmloff/source/style/
H A DMultiPropertySetHelper.cxx56 nLength( 0 ), in MultiPropertySetHelper()
64 nLength++; in MultiPropertySetHelper()
67 pPropertyNames = new OUString[nLength]; in MultiPropertySetHelper()
68 for( sal_Int16 i = 0; i < nLength; i++ ) in MultiPropertySetHelper()
75 nLength( 0 ), in MultiPropertySetHelper()
83 nLength++; in MultiPropertySetHelper()
86 pPropertyNames = new OUString[nLength]; in MultiPropertySetHelper()
87 for( sal_Int16 i = 0; i < nLength; i++ ) in MultiPropertySetHelper()
109 pSequenceIndex = new sal_Int16[nLength] ; in hasProperties()
115 for( i = 0; i < nLength; i++ ) in hasProperties()
[all …]
/trunk/main/unotools/source/config/
H A Dhistoryoptions.cxx324 const sal_uInt32 nLength = xOrderList->getElementNames().getLength(); in impl_truncateList() local
325 if (nSize < nLength) in impl_truncateList()
327 for (sal_uInt32 i=nLength-1; i>=nSize; --i) in impl_truncateList()
387 const sal_Int32 nLength = lOrders.getLength(); in Clear() local
388 for(sal_Int32 i=0; i<nLength; ++i) in Clear()
394 for(sal_Int32 j=0; j<nLength; ++j) in Clear()
459 const sal_Int32 nLength = xOrderList->getElementNames().getLength(); in GetList() local
460 Sequence< Sequence< PropertyValue > > aRet(nLength); in GetList()
462 for(sal_Int32 nItem=0; nItem<nLength; ++nItem) in GetList()
536 sal_Int32 nLength = xOrderList->getElementNames().getLength(); in AppendItem() local
[all …]
/trunk/main/vbahelper/source/msforms/
H A Dvbalistbox.cxx91 sal_Int16 nLength = static_cast<sal_Int16>( sList.getLength() ); in setValue() local
94 for( i = 0; i < nLength; i++ ) in setValue()
145 sal_Int16 nLength = static_cast< sal_Int16 >( sList.getLength() ); in Selected() local
149 if( nIndex < 0 || nIndex >= nLength ) in Selected()
188 sal_Int16 nLength = static_cast<sal_Int16>( nList.getLength() ); in setValueEvent() local
190 for( sal_Int16 i = 0; i < nLength; i++ ) in setValueEvent()
198 for( ; i < nLength - 1; i++ ) in setValueEvent()
202 nList.realloc( nLength - 1 ); in setValueEvent()
213 nList.realloc( nLength + 1 ); in setValueEvent()
214 nList[nLength] = nIndex; in setValueEvent()
[all …]
/trunk/main/drawinglayer/source/primitive2d/
H A Dtextlayoutdevice.cxx215 sal_uInt32 nLength) const in getTextWidth()
217 return mrDevice.GetTextWidth(rText, nIndex, nLength); in getTextWidth()
224 sal_uInt32 nLength, in getTextOutlines() argument
228 sal_uInt32 nTextLength(nLength); in getTextOutlines()
251 nLength, in getTextOutlines()
263 nLength, in getTextOutlines()
273 sal_uInt32 nLength) const in getTextBoundRect()
275 sal_uInt32 nTextLength(nLength); in getTextBoundRect()
292 nLength); in getTextBoundRect()
331 sal_uInt32 nLength) const in getTextArray()
[all …]
/trunk/main/package/source/package/zipapi/
H A DDeflater.cxx77 , nLength(0) in Deflater()
89 pStream->avail_in = nLength; in doDeflateBytes()
101 nOffset += nLength - pStream->avail_in; in doDeflateBytes()
102 nLength = pStream->avail_in; in doDeflateBytes()
115 pStream->avail_in = nLength; in doDeflateBytes()
128 nOffset += nLength - pStream->avail_in; in doDeflateBytes()
129 nLength = pStream->avail_in; in doDeflateBytes()
146 nLength = nNewLength; in setInputSegment()
162 return nLength <=0; in needsInput()
194 nOffset = nLength = 0; in reset()
/trunk/main/sw/source/core/unocore/
H A Dunotextmarkup.cxx123 ::sal_Int32 nLength, in commitStringMarkup() argument
130 if ( !mpTxtNode || nLength <= 0 ) in commitStringMarkup()
189 ModelToViewHelper::ConvertToModelPosition( mpConversionMap, nStart + nLength - 1); in commitStringMarkup()
218 nLength = aEndPos.mnPos + 1 - aStartPos.mnPos; in commitStringMarkup()
267 nLength = nEnd - nStart; in commitStringMarkup()
278 static_cast< xub_StrLen >(nStart), static_cast< xub_StrLen >(nLength) ); in commitStringMarkup()
292 ::sal_Int32 nLength, in lcl_commitGrammarMarkUp() argument
299 ModelToViewHelper::ConvertToModelPosition( pConversionMap, nStart + nLength - 1); in lcl_commitGrammarMarkUp()
325 nLength = aEndPos.mnPos + 1 - aStartPos.mnPos; in lcl_commitGrammarMarkUp()
366 nLength = nEnd - nStart; in lcl_commitGrammarMarkUp()
[all …]
/trunk/main/i18npool/inc/
H A Dtextconversion.hxx50 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
57 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
64 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
110 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
117 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
124 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
146 …getCharConversions(const rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, sal_Bool to…
166 getConversions( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
173 getConversion( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
180 … getConversionWithOffset( const ::rtl::OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
[all …]

12345678910>>...19