Home
last modified time | relevance | path

Searched refs:nLen (Results 101 – 125 of 867) sorted by relevance

12345678910>>...35

/trunk/main/bridges/source/cpp_uno/cc50_solaris_intel/
H A Dhash.cxx97 NIST_Hash( const char* pString, sal_uInt32 nLen );
210 NIST_Hash::NIST_Hash( const char* pString, sal_uInt32 nLen ) in NIST_Hash() argument
218 sal_uInt32 nBytes = nLen; in NIST_Hash()
220 while( nLen >= sizeof( data ) ) in NIST_Hash()
224 nLen -= sizeof( data ); in NIST_Hash()
227 memcpy( data, pString, nLen ); in NIST_Hash()
228 ((char*)data)[nLen++] = 0x80; in NIST_Hash()
229 if( nLen > sizeof( data ) - 8 ) in NIST_Hash()
231 memset( ((char*)data)+nLen, 0, sizeof( data ) - nLen ); in NIST_Hash()
236 memset( ((char*)data)+nLen, 0, sizeof( data ) - 8 - nLen ); in NIST_Hash()
/trunk/main/bridges/source/cpp_uno/cc50_solaris_sparc/
H A Dhash.cxx98 NIST_Hash( const char* pString, sal_uInt32 nLen );
211 NIST_Hash::NIST_Hash( const char* pString, sal_uInt32 nLen ) in NIST_Hash() argument
219 sal_uInt32 nBytes = nLen; in NIST_Hash()
221 while( nLen >= sizeof( data ) ) in NIST_Hash()
225 nLen -= sizeof( data ); in NIST_Hash()
228 memcpy( data, pString, nLen ); in NIST_Hash()
229 ((char*)data)[nLen++] = 0x80; in NIST_Hash()
230 if( nLen > sizeof( data ) - 8 ) in NIST_Hash()
232 memset( ((char*)data)+nLen, 0, sizeof( data ) - nLen ); in NIST_Hash()
237 memset( ((char*)data)+nLen, 0, sizeof( data ) - 8 - nLen ); in NIST_Hash()
/trunk/main/sal/qa/OStringBuffer/
H A Drtl_String_Utils.cxx305 sal_uInt32 nLen = AStringLen( pAStr ); in AStringIsValid() local
323 if ( nLen > 0 ) in AStringIsValid()
325 nLen--; in AStringIsValid()
343 sal_uInt32 nLen = nStrLen; in AStringNIsValid() local
361 if ( nLen > 0 ) in AStringNIsValid()
363 nLen--; in AStringNIsValid()
526 sal_uInt32 nLen = nCount; in AStringToUStringCopy() local
530 && ( AStringNIsValid( pSrc, nLen ) ) in AStringToUStringCopy()
572 sal_uInt32 nLen = nSrcLen; in AStringToUStringNCopy() local
576 && ( AStringNIsValid( pSrc, nLen ) ) in AStringToUStringNCopy()
/trunk/main/sfx2/source/dialog/
H A Dpasswd.cxx50 sal_Int32 nLen = aTest.getLength(); in IMPL_LINK_INLINE_START() local
51 rtl::OUStringBuffer aFilter( nLen ); in IMPL_LINK_INLINE_START()
53 for( sal_Int32 i = 0; i < nLen; i++ ) in IMPL_LINK_INLINE_START()
64 pEdit->SetSelection( Selection( 0, nLen ) ); in IMPL_LINK_INLINE_START()
190 void SfxPasswordDialog::SetMinLen( sal_uInt16 nLen ) in SetMinLen() argument
192 mnMinLen = nLen; in SetMinLen()
198 void SfxPasswordDialog::SetMaxLen( sal_uInt16 nLen ) in SetMaxLen() argument
200 maPasswordED.SetMaxTextLen( nLen ); in SetMaxLen()
201 maConfirmED.SetMaxTextLen( nLen ); in SetMaxLen()
/trunk/main/sw/source/filter/ww8/
H A Dww8par.cxx1048 if (nLen < 0) in Read_StyleCode()
1519 if (nLen < 0) in Read_Tab()
2108 long nLen; in HasOwnHeaderFooter() local
2117 bOk = ( pHdFt->GetTextPos(grpfIhdt, nI, start, nLen ) && nLen >= 2 ); in HasOwnHeaderFooter()
2156 long nLen; in Read_HdFt() local
2824 xub_StrLen nLen; in ReadPlainChars() local
2830 if (!nLen) in ReadPlainChars()
2935 return nL2 >= nLen; in ReadPlainChars()
4855 sal_uLong nBS = (nLen - nI > WW_BLOCKSIZE) ? WW_BLOCKSIZE : nLen - nI; in DecryptRC4()
4876 sal_uLong nBS = (nLen - nI > 0x4096 ) ? 0x4096 : nLen - nI; in DecryptXOR()
[all …]
H A Dwriterwordglue.cxx620 xub_StrLen nLen = rTxt.Len(); in GetPseudoCharRuns() local
622 while (nPos != nLen) in GetPseudoCharRuns()
627 (nPos != nLen) && in GetPseudoCharRuns()
642 xub_StrLen nLen = rTxt.Len(); in GetPseudoCharRuns() local
644 while (nPos < nLen) in GetPseudoCharRuns()
827 xub_StrLen nLen = rParams.Len(); in MSDateTimeFormatToSwFormat() local
829 while (nI < nLen) in MSDateTimeFormatToSwFormat()
867 nLen+=2; in MSDateTimeFormatToSwFormat()
877 nLen+=2; in MSDateTimeFormatToSwFormat()
889 nLen++; in MSDateTimeFormatToSwFormat()
[all …]
H A Dww8par5.cxx133 while( nLen > nNext in _ReadFieldParams()
223 if( nLen == n ) in FindNextStringPiece()
232 while( (nLen > n2) in FindNextStringPiece()
258 if( nLen > n2 ) in FindNextStringPiece()
351 nLen = pSBase->WW8ReadString( *pStrm, aVal, pB->GetStartPos(), nLen, in Read_Book()
984 return aF.nLen; in Read_Field()
998 return aF.nLen; in Read_Field()
1003 return aF.nLen; in Read_Field()
1031 return aF.nLen; in Read_Field()
1202 return pF->nLen; in Read_F_Tag()
[all …]
/trunk/main/editeng/inc/editeng/
H A Dsvxfont.hxx89 const sal_uInt16 nIdx, const sal_uInt16 nLen) const;
91 const sal_uInt16 nIdx, const sal_uInt16 nLen ) const;
94 const sal_uInt16 nIdx, const sal_uInt16 nLen ) const;
99 const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN );
102 const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const;
105 …const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN, const sal_Int32* pDXArray = NULL ) …
108 const sal_uInt16 nIdx, const sal_uInt16 nLen, sal_Int32* pDXArray = NULL ) const;
112 const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const;
/trunk/main/oox/source/docprop/
H A Ddocprophandler.cxx97 sal_Int32 nLen = aChars.getLength(); in GetDateTimeFromW3CDTF() local
98 if ( nLen >= 4 ) in GetDateTimeFromW3CDTF()
102 if ( nLen >= 7 && aChars.getStr()[4] == (sal_Unicode)'-' ) in GetDateTimeFromW3CDTF()
106 if ( nLen >= 10 && aChars.getStr()[7] == (sal_Unicode)'-' ) in GetDateTimeFromW3CDTF()
116 if ( nLen >= 19 && aChars.getStr()[16] == (sal_Unicode)':' ) in GetDateTimeFromW3CDTF()
128 if ( nLen >= 16 + nOptTime + 6 ) in GetDateTimeFromW3CDTF()
247 sal_Int32 nLen = aSet.getLength(); in UpdateDocStatistic() local
248 for ( sal_Int32 nInd = 0; nInd < nLen; nInd++ ) in UpdateDocStatistic()
258 aSet.realloc( nLen + 1 ); in UpdateDocStatistic()
259 aSet[nLen].Name = aName; in UpdateDocStatistic()
[all …]
/trunk/main/comphelper/source/property/
H A Dproperty.cxx158 const sal_Int32 nLen(i_seqProps.getLength()); in findProperty() local
160 std::find_if(pAry,pAry+nLen, in findProperty()
164 if( pRes == pAry+nLen ) in findProperty()
174 sal_Int32 nLen = _rProps.getLength(); in RemoveProperty() local
178 …const Property* pResult = ::std::lower_bound(pProperties, pProperties + nLen, _rPropName,PropertyS… in RemoveProperty()
181 if ( pResult && (pResult != pProperties + nLen) && (pResult->Name == _rPropName) ) in RemoveProperty()
191 sal_Int32 nLen = seqProps.getLength(); in ModifyPropertyAttributes() local
195 …Property* pResult = ::std::lower_bound(pProperties, pProperties + nLen,sPropName, PropertyStringLe… in ModifyPropertyAttributes()
198 if ( pResult && (pResult != pProperties + nLen) && (pResult->Name == sPropName) ) in ModifyPropertyAttributes()
H A Dpropagg.cxx56 sal_Int32 nLen = _rProps.getLength(); in lcl_findPropertyByName() local
506 sal_Int32 nLen = _rEvents.getLength(); in propertiesChange() local
509 if (1 == nLen) in propertiesChange()
526 sal_Int32* pHandles = new sal_Int32[nLen]; in propertiesChange()
532 for (sal_Int32 nSource=0; nSource<nLen; ++nSource, ++pEvents) in propertiesChange()
756 sal_Int32 nLen(_rPropertyNames.getLength()); in setPropertyValues() local
758 for ( sal_Int32 i = 0; i < nLen; ++i, ++pNames ) in setPropertyValues()
774 if (nAggCount == nLen) in setPropertyValues()
805 Sequence< Any > DelValues( nLen - nAggCount ); in setPropertyValues()
825 pHandles = new sal_Int32[ nLen - nAggCount ]; in setPropertyValues()
[all …]
/trunk/main/vcl/inc/vcl/
H A Doutdev.hxx408 xub_StrLen nIndex, xub_StrLen nLen,
607 xub_StrLen nLen = STRING_LEN ) const;
612 xub_StrLen nLen = STRING_LEN );
615 xub_StrLen nLen = STRING_LEN ) const;
617 xub_StrLen nIndex, xub_StrLen nLen,
628 xub_StrLen nIndex, xub_StrLen nLen,
656 xub_StrLen nLen = STRING_LEN,
678 int nLen, int nBase, MetricVector& rVector );
851 sal_uInt32 nLen = 8,
1134 xub_StrLen nIdx, xub_StrLen nLen,
[all …]
/trunk/main/comphelper/inc/comphelper/
H A Dbasicio.hxx72 sal_Int32 nLen = _rxInStream->readLong(); in operator >>() local
73 _rSeq.realloc(nLen); in operator >>()
74 if (nLen) in operator >>()
77 for (sal_Int32 i=0; i<nLen; ++i, ++pElement) in operator >>()
86 sal_Int32 nLen = _rSeq.getLength(); in operator <<() local
87 _rxOutStream->writeLong(nLen); in operator <<()
88 if (nLen) in operator <<()
91 for (sal_Int32 i = 0; i < nLen; ++i, ++pElement) in operator <<()
/trunk/main/sax/source/expatwrap/
H A Dsax_expat.cxx63 OUString XmlNChar2OUString( const XML_Char *p , int nLen ) in XmlNChar2OUString() argument
68 return OUString( (sal_Unicode*)p,nLen); in XmlNChar2OUString()
72 sal_Unicode *pWchar = (sal_Unicode *)alloca( sizeof( sal_Unicode ) * nLen ); in XmlNChar2OUString()
73 for( int n = 0 ; n < nLen ; n++ ) { in XmlNChar2OUString()
76 return OUString( pWchar , nLen ); in XmlNChar2OUString()
87 int nLen; in XmlChar2OUString() local
88 for( nLen = 0 ; p[nLen] ; nLen ++ ) in XmlChar2OUString()
90 return XmlNChar2OUString( p , nLen ); in XmlChar2OUString()
263 void static callbackCharacters( void *userData , const XML_Char *s , int nLen );
314 SaxExpatParser_Impl::callbackCharacters(userData,s,nLen); in call_callbackCharacters()
[all …]
/trunk/main/setup_native/source/win32/customactions/regactivex/
H A Dregactivex.cxx108 int nLen = strlen( pActiveXPath ); in RegisterActiveXNative() local
110 if ( nLen > nRemoveLen ) in RegisterActiveXNative()
112 char* pProgramPath = reinterpret_cast<char*>( malloc( nLen - nRemoveLen + 1 ) ); in RegisterActiveXNative()
113 strncpy( pProgramPath, pActiveXPath, nLen - nRemoveLen ); in RegisterActiveXNative()
114 pProgramPath[ nLen - nRemoveLen ] = 0; in RegisterActiveXNative()
179 int nLen = strlen( pCharProgPath ); in GetActiveXControlPath() local
180 *ppActiveXPath = reinterpret_cast<char*>( malloc( nLen + 23 ) ); in GetActiveXControlPath()
181 strncpy( *ppActiveXPath, pCharProgPath, nLen ); in GetActiveXControlPath()
182 strncpy( (*ppActiveXPath) + nLen, "program\\so_activex.dll", 22 ); in GetActiveXControlPath()
183 (*ppActiveXPath)[nLen+22] = 0; in GetActiveXControlPath()
/trunk/main/filter/source/graphicfilter/idxf/
H A Ddxfgrprd.cxx51 sal_uInt16 nLen = (sal_uInt16)rIStm.Read( buf, sizeof(buf)-1 ); in DXFReadLine() local
52 if( !nLen ) in DXFReadLine()
60 for( sal_uInt16 n = 0; n < nLen ; n++ ) in DXFReadLine()
273 sal_uLong nLen; in ReadLine() local
277 nLen = aStr.Len(); in ReadLine()
278 if ( nLen > DXF_MAX_STRING_LEN ) in ReadLine()
279 nLen = DXF_MAX_STRING_LEN; in ReadLine()
281 memcpy( ptgt, aStr.GetBuffer(), nLen ); in ReadLine()
282 ptgt[ nLen ] = 0x00; in ReadLine()
/trunk/main/sdext/source/pdfimport/
H A Dfilterdet.cxx221 virtual bool write( const void* pBuf, unsigned int nLen );
277 bool FileEmitContext::write( const void* pBuf, unsigned int nLen ) in write() argument
282 uno::Sequence< sal_Int8 > aSeq( nLen ); in write()
283 rtl_copyMemory( aSeq.getArray(), pBuf, nLen ); in write()
298 bool FileEmitContext::copyOrigBytes( unsigned int nOrigOffset, unsigned int nLen ) in copyOrigBytes() argument
300 if( nOrigOffset + nLen > m_nReadLen ) in copyOrigBytes()
306 uno::Sequence< sal_Int8 > aSeq( nLen ); in copyOrigBytes()
311 nLen, in copyOrigBytes()
313 || nBytesRead != static_cast<sal_uInt64>(nLen) ) in copyOrigBytes()
324 if( nOrigOffset + nLen > m_nReadLen ) in readOrigBytes()
[all …]
/trunk/main/scripting/source/stringresource/
H A Dstringresource.cxx1911 while( ri < nLen ) in skipWhites()
1990 sal_Int32& nLen, sal_Int32& i ) in CheckContinueInNextLine() argument
1999 nLen = aLine.getLength(); in CheckContinueInNextLine()
2003 skipWhites( pBuf, nLen, i ); in CheckContinueInNextLine()
2038 if( 0 == nLen ) in implReadPropertiesFile()
2045 skipWhites( pBuf, nLen, i ); in implReadPropertiesFile()
2046 if( i == nLen ) in implReadPropertiesFile()
2083 if( i == nLen ) in implReadPropertiesFile()
2122 if( i == nLen ) in implReadPropertiesFile()
2737 if( bOk && nLen == 0 ) in initialize()
[all …]
/trunk/main/sc/source/filter/ftools/
H A Dftools.cxx160 xub_StrLen nLen = rName.Len(); in ConvertToScDefinedName() local
161 if( nLen && !ScCompiler::IsCharFlagAllConventions( rName, 0, SC_COMPILER_C_CHAR_NAME ) ) in ConvertToScDefinedName()
163 for( xub_StrLen nPos = 1; nPos < nLen; ++nPos ) in ConvertToScDefinedName()
277 sal_uInt32 nLen = 0; in ReadCString() local
279 while( cChar && nLen++ < STRING_MAXLEN ) in ReadCString()
295 sal_uInt32 nLen = 0; in ReadCString() local
298 while( cChar && nLen++ < STRING_MAXLEN ) in ReadCString()
308 void ScfTools::AppendCStringWithLen( SvStream& rStrm, ByteString& rString, sal_uInt32 nLen ) in AppendCStringWithLen() argument
313 while( cChar && nLen++ < STRING_MAXLEN ) in AppendCStringWithLen()
/trunk/main/rsc/source/tools/
H A Drsctools.cxx110 int nLen = strlen( pStr ); in rsc_strdup() local
111 char* pBuffer = (char*)rtl_allocateMemory( nLen+1 ); in rsc_strdup()
112 rtl_copyMemory( pBuffer, pStr, nLen+1 ); in rsc_strdup()
399 nLen = 0; in RscWriteRc()
429 nLen += nSize; in IncSize()
431 pMem = (char*)rtl_reallocateMemory( pMem, nLen ); in IncSize()
432 return( nLen - nSize ); in IncSize()
447 pMem = (char *)rtl_allocateMemory( nLen ); in GetPointer()
/trunk/main/sal/osl/w32/
H A Dprofile.cxx920 sal_Int32 nLen; in osl_getProfileName() local
928 nLen = strProgName->length ; in osl_getProfileName()
936 nLen -= 4; in osl_getProfileName()
960 sal_Int32 nLen = rtl_uString_getLength(strPath); in osl_getProfileName() local
987 copy_ustr_n(aPath + nPathLen, pPath, nLen+1); in osl_getProfileName()
988 nPathLen += nLen; in osl_getProfileName()
1019 copy_ustr_n(aPath + nPathLen, pPath, nLen+1); in osl_getProfileName()
1020 nPathLen += nLen; in osl_getProfileName()
1040 copy_ustr_n(aPath + nPathLen, pPath, nLen+1); in osl_getProfileName()
1041 nPathLen += nLen; in osl_getProfileName()
[all …]
/trunk/main/automation/source/simplecm/
H A Dtcpio.cxx30 comm_USHORT TCPIO::TransferBytes( const void* pBuffer, comm_UINT32 nLen ) in TransferBytes() argument
38 nLastSent = pStreamSocket->write( pBuffer, nLen ); in TransferBytes()
39 if ( nLastSent == nLen ) in TransferBytes()
46 comm_USHORT TCPIO::ReceiveBytes( void* pBuffer, comm_UINT32 nLen ) in ReceiveBytes() argument
54 nLastReceived = pStreamSocket->read( pBuffer, nLen ); in ReceiveBytes()
55 if ( nLastReceived == nLen ) in ReceiveBytes()
/trunk/main/vcl/source/gdi/
H A Dmetaact.cxx1209 mnLen ( nLen ) in IMPL_META_ACTION()
1264 rOStm << nLen; in Write()
1285 rIStm >> nLen; in Read()
1333 mnLen ( ( nLen == STRING_LEN ) ? rStr.Len() : nLen ) in MetaTextArrayAction()
1417 rOStm << nLen; in Write()
1476 rIStm >> nLen; in Read()
1503 mnLen ( nLen ) in IMPL_META_ACTION()
1561 rOStm << nLen; in Write()
1583 rIStm >> nLen; in Read()
1654 rOStm << nLen; in Write()
[all …]
H A Dgraph.cxx140 sal_uInt16 nLen = 0; in ImplDrawDefault() local
144 while( nStart+nLen < pText->Len() && pText->GetChar( nStart+nLen ) != ' ' ) in ImplDrawDefault()
145 nLen++; in ImplDrawDefault()
148 sal_uInt16 nNext = nLen; in ImplDrawDefault()
158 nLen = nNext; in ImplDrawDefault()
162 sal_uInt16 n = nLen; in ImplDrawDefault()
169 nStart = sal::static_int_cast<sal_uInt16>(nStart + nLen); in ImplDrawDefault()
170 nLen = nNext-nLen; in ImplDrawDefault()
174 nLen--; in ImplDrawDefault()
/trunk/main/sw/source/core/undo/
H A Dunins.cxx83 nLen ) ); in GetTxtFromDoc()
112 nNode( rNd.GetIndex() ), nCntnt(nCnt), nLen(nL), in SwUndoInsert()
122 pRedlData( 0 ), nNode( rNd.GetIndex() ), nCntnt(0), nLen(1), in SwUndoInsert()
138 nLen++; in CanGrouping()
242 if( nLen ) in UndoImpl()
253 aPaM.GetPoint()->nContent -= nLen; in UndoImpl()
257 pTxt = new String( pTxtNode->GetTxt().Copy(nCntnt-nLen, nLen) ); in UndoImpl()
258 pTxtNode->EraseText( aPaM.GetPoint()->nContent, nLen ); in UndoImpl()
327 if( nLen ) in RedoImpl()
372 if( !nLen ) in RepeatImpl()
[all …]

Completed in 208 milliseconds

12345678910>>...35