/aoo41x/main/svtools/source/filter/ |
H A D | sgvtext.cxx | 787 nChars++; in ProcessChar() 790 cLine[nChars]=c; in ProcessChar() 829 nChars=0; in FormatLine() 851 WEnChar=nChars-1; in FormatLine() 856 WEnChar=nChars; in FormatLine() 882 if (AbsEnd) WEnChar=nChars; else WEnChar=nChars-1; in FormatLine() 918 nChars++; in FormatLine() 920 cLine[nChars]=c; in FormatLine() 923 nChars--; in FormatLine() 951 re=nChars; in FormatLine() [all …]
|
/aoo41x/main/svtools/source/svrtf/ |
H A D | svparser.cxx | 257 sal_Size nChars = 0; in GetNextChar() local 272 nChars = 1; in GetNextChar() 282 nChars = rtl_convertTextToUnicode( in GetNextChar() 312 if( 1 == nChars && 0 == nInfo ) in GetNextChar() 322 DBG_ASSERT( 0 == nChars, in GetNextChar() 327 nChars = 1; in GetNextChar() 366 DBG_ASSERT( 0 == nChars, in GetNextChar() 373 nChars = 1; in GetNextChar() 387 DBG_ASSERT( 0 == nChars, in GetNextChar() 394 nChars = 1; in GetNextChar() [all …]
|
/aoo41x/main/oox/source/helper/ |
H A D | binaryinputstream.cxx | 76 OString BinaryInputStream::readCharArray( sal_Int32 nChars, bool bAllowNulChars ) in readCharArray() argument 78 if( nChars <= 0 ) in readCharArray() 82 sal_Int32 nCharsRead = readArray( aBuffer, nChars ); in readCharArray() 93 OUString BinaryInputStream::readCharArrayUC( sal_Int32 nChars, rtl_TextEncoding eTextEnc, bool bAll… in readCharArrayUC() argument 95 return OStringToOUString( readCharArray( nChars, bAllowNulChars ), eTextEnc ); in readCharArrayUC() 98 OUString BinaryInputStream::readUnicodeArray( sal_Int32 nChars, bool bAllowNulChars ) in readUnicodeArray() argument 100 if( nChars <= 0 ) in readUnicodeArray() 104 sal_Int32 nCharsRead = readArray( aBuffer, nChars ); in readUnicodeArray() 119 OUString BinaryInputStream::readCompressedUnicodeArray( sal_Int32 nChars, bool bCompressed, bool bA… in readCompressedUnicodeArray() argument 123 readCharArrayUC( nChars, RTL_TEXTENCODING_ISO_8859_1, bAllowNulChars ) : in readCompressedUnicodeArray() [all …]
|
/aoo41x/main/sal/workben/ |
H A D | testpip2.cxx | 56 sSize_t nChars; in main() local 70 nChars = osl_receivePipe( Pipe, szBuffer, 256 ); in main() 72 if( nChars < 0 ) in main() 79 nChars = osl_sendPipe( Pipe, szBuffer, nChars ); in main() 81 if( nChars < 0 ) in main()
|
H A D | testpipe.cxx | 43 sSize_t nChars; variable 118 nChars = osl_sendPipe( C1Pipe, cp, n ); in main() 120 if( nChars < 0 ) in main() 125 nChars = osl_receivePipe( C1Pipe, szBuffer, 256 ); in main() 127 if( nChars < 0 ) in main()
|
/aoo41x/main/sc/source/filter/excel/ |
H A D | xistream.cxx | 919 sal_uInt16 nCharsLeft = nChars; in ReadRawUniString() 973 String aRet( ReadRawUniString( nChars, b16Bit ) ); in ReadUniString() 978 String XclImpStream::ReadUniString( sal_uInt16 nChars ) in ReadUniString() argument 980 return ReadUniString( nChars, ReaduInt8() ); in ReadUniString() 990 sal_uInt16 nCharsLeft = nChars; in IgnoreRawUniString() 1018 IgnoreRawUniString( nChars, b16Bit ); in IgnoreUniString() 1022 void XclImpStream::IgnoreUniString( sal_uInt16 nChars ) in IgnoreUniString() argument 1024 IgnoreUniString( nChars, ReaduInt8() ); in IgnoreUniString() 1034 String XclImpStream::ReadRawByteString( sal_uInt16 nChars ) in ReadRawByteString() argument 1036 sal_Char* pcBuffer = new sal_Char[ nChars + 1 ]; in ReadRawByteString() [all …]
|
/aoo41x/main/sw/source/core/para/ |
H A D | paratr.cxx | 73 nChars( 0 ), in SwFmtDrop() 87 nChars( rCpy.GetChars() ), in SwFmtDrop() 138 nChars == ((SwFmtDrop&)rAttr).GetChars() && in operator ==() 155 case MID_DROPCAP_COUNT : rVal <<= (sal_Int16)nChars; break; in QueryValue() 161 aDrop.Count = nChars ; in QueryValue() 199 nChars = (sal_uInt8)nTemp; in PutValue() 217 nChars = pDrop->Count; in PutValue()
|
/aoo41x/main/oox/source/xls/ |
H A D | biffinputstream.cxx | 373 OUString BiffInputStream::readUniStringChars( sal_uInt16 nChars, bool b16BitChars, bool bAllowNulCh… in readUniStringChars() argument 376 aBuffer.ensureCapacity( nChars ); in readUniStringChars() 381 sal_Int32 nCharsLeft = nChars; in readUniStringChars() 401 OUString BiffInputStream::readUniStringBody( sal_uInt16 nChars, bool bAllowNulChars ) in readUniStringBody() argument 406 OUString aString = readUniStringChars( nChars, b16BitChars, bAllowNulChars ); in readUniStringBody() 416 void BiffInputStream::skipUniStringChars( sal_uInt16 nChars, bool b16BitChars ) in skipUniStringChars() argument 418 sal_Int32 nCharsLeft = nChars; in skipUniStringChars() 432 void BiffInputStream::skipUniStringBody( sal_uInt16 nChars ) in skipUniStringBody() argument 437 skipUniStringChars( nChars, b16BitChars ); in skipUniStringBody()
|
/aoo41x/main/sal/qa/osl/pipe/ |
H A D | osl_Pipe.cxx | 911 sal_Int32 nChars = 0; in run() local 922 nChars = aSenderPipe.read( buf, m_pTestString1.getLength() + 1 ); in run() 923 if ( nChars < 0 ) in run() 930 … nChars = aSenderPipe.send( m_pTestString2.getStr(), m_pTestString2.getLength() + 1 ); in run() 931 if ( nChars < 0 ) in run() 963 sal_Int32 nChars; in run() local 983 … nChars = aConnectionPipe.write( m_pTestString1.getStr(), m_pTestString1.getLength() + 1 ); in run() 984 if ( nChars < 0) in run() 990 nChars = aConnectionPipe.recv( buf, 256 ); in run() 992 if ( nChars < 0) in run()
|
/aoo41x/main/xmerge/source/wordsmith/java/org/openoffice/xmerge/converter/xml/sxw/wordsmith/ |
H A D | WseHeader.java | 39 private int nChars = 0; field in WseHeader 51 public WseHeader(int nPara, int nAtoms, int nChars, WseFontTable ft, in WseHeader() argument 55 this.nChars = nChars; in WseHeader() 129 os.writeInt(nChars); in getBytes()
|
/aoo41x/main/sc/source/filter/inc/ |
H A D | xistream.hxx | 417 String ReadRawUniString( sal_uInt16 nChars, bool b16Bit ); 419 String ReadUniString( sal_uInt16 nChars, sal_uInt8 nFlags ); 421 String ReadUniString( sal_uInt16 nChars ); 427 void IgnoreRawUniString( sal_uInt16 nChars, bool b16Bit ); 429 void IgnoreUniString( sal_uInt16 nChars, sal_uInt8 nFlags ); 431 void IgnoreUniString( sal_uInt16 nChars ); 438 String ReadRawByteString( sal_uInt16 nChars );
|
/aoo41x/main/oox/source/ole/ |
H A D | olehelper.cxx | 97 sal_Int32 nChars = rInStrm.readInt32(); in lclReadStdHlinkString() local 98 if( nChars > 0 ) in lclReadStdHlinkString() 100 sal_Int32 nReadChars = getLimitedValue< sal_Int32, sal_Int32 >( nChars, 0, SAL_MAX_UINT16 ); in lclReadStdHlinkString() 108 rInStrm.skip( (bUnicode ? 2 : 1) * (nChars - nReadChars) ); in lclReadStdHlinkString() 274 …sal_uInt16 nChars = getLimitedValue< sal_uInt16, sal_Int32 >( rInStrm.readInt32() / 2, 0, SAL_MAX_… in importStdHlink() local 276 … orHlinkInfo.maTarget = rInStrm.readUnicodeArray( nChars ); // NOT null terminated in importStdHlink()
|
H A D | axbinaryreader.cxx | 196 … sal_Int32 nChars = static_cast< sal_Int32 >( nBufSize / ((bCompressed || bArrayString) ? 1 : 2) ); in lclReadString() local 197 bool bValidChars = nChars <= 65536; in lclReadString() 199 sal_Int64 nEndPos = rInStrm.tell() + nChars * (bCompressed ? 1 : 2); in lclReadString() 200 nChars = ::std::min< sal_Int32 >( nChars, 65536 ); in lclReadString() 201 rValue = rInStrm.readCompressedUnicodeArray( nChars, bCompressed ); in lclReadString()
|
/aoo41x/main/sal/osl/w32/ |
H A D | pipeimpl.cxx | 167 DWORD nChars = GetTempPath( MAX_PATH, lpMappingFileName ); in CreatePipeDataMapping() local 169 if ( MAX_PATH + _tcslen(lpName) < nChars + 1 ) in CreatePipeDataMapping() 171 lpMappingFileName = (LPTSTR)alloca( (nChars + 1 + _tcslen(lpName)) * sizeof(TCHAR) ); in CreatePipeDataMapping() 173 nChars = GetTempPath( nChars, lpMappingFileName ); in CreatePipeDataMapping() 176 nChars = 0; in CreatePipeDataMapping() 181 if ( nChars ) in CreatePipeDataMapping()
|
/aoo41x/main/sal/osl/os2/ |
H A D | pipeimpl.cxx | 162 DWORD nChars = GetTempPath( MAX_PATH, lpMappingFileName ); in CreatePipeDataMapping() local 164 if ( MAX_PATH + _tcslen(lpName) < nChars + 1 ) in CreatePipeDataMapping() 166 lpMappingFileName = (LPTSTR)alloca( (nChars + 1 + _tcslen(lpName)) * sizeof(TCHAR) ); in CreatePipeDataMapping() 168 nChars = GetTempPath( nChars, lpMappingFileName ); in CreatePipeDataMapping() 171 nChars = 0; in CreatePipeDataMapping() 176 if ( nChars ) in CreatePipeDataMapping()
|
/aoo41x/main/setup_native/source/win32/customactions/shellextensions/ |
H A D | checkdirectory.cxx | 57 DWORD nChars = 0; in GetMsiProperty() local 59 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty() 61 DWORD nBytes = ++nChars * sizeof(TCHAR); in GetMsiProperty() 64 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
|
H A D | checkpatches.cxx | 74 DWORD nChars = 0; in GetMsiProperty() local 76 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty() 78 DWORD nBytes = ++nChars * sizeof(TCHAR); in GetMsiProperty() 81 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
|
H A D | startmenuicon.cxx | 52 DWORD nChars = 0; in GetMsiProperty() local 54 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty() 56 DWORD nBytes = ++nChars * sizeof(TCHAR); in GetMsiProperty() 59 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
|
H A D | copyextensiondata.cxx | 59 DWORD nChars = 0; in GetMsiProperty() local 61 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty() 63 DWORD nBytes = ++nChars * sizeof(TCHAR); in GetMsiProperty() 66 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
|
H A D | migrateinstallpath.cxx | 54 DWORD nChars = 0; in GetMsiProperty() local 56 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty() 58 DWORD nBytes = ++nChars * sizeof(TCHAR); in GetMsiProperty() 61 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
|
H A D | completeinstallpath.cxx | 54 DWORD nChars = 0; in GetMsiProperty() local 56 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty() 58 DWORD nBytes = ++nChars * sizeof(TCHAR); in GetMsiProperty() 61 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
|
H A D | postuninstall.cxx | 52 DWORD nChars = 0; in GetMsiProperty() local 54 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty() 56 DWORD nBytes = ++nChars * sizeof(TCHAR); in GetMsiProperty() 59 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
|
/aoo41x/main/vcl/source/glyphs/ |
H A D | graphite_layout.cxx | 1089 const size_t nChars = args.mnEndCharPos - args.mnMinCharPos; in ApplyDXArray() local 1090 if (nChars == 0) return; in ApplyDXArray() 1101 nXOffset = args.mpDXArray[nChars - 1] - mvCharDxs[nChars - 1]; in ApplyDXArray() 1105 for (size_t i = 0; i < nChars; i++) in ApplyDXArray() 1119 for (; j < nChars; j++) in ApplyDXArray() 1146 if (j == nChars) in ApplyDXArray() 1148 nLastChar = nChars - 1; in ApplyDXArray() 1151 assert((nLastChar > -1) && (nLastChar < (signed)nChars)); in ApplyDXArray() 1157 assert(nPrevClusterLastChar < (signed)nChars); in ApplyDXArray() 1199 std::copy(args.mpDXArray, args.mpDXArray + nChars, in ApplyDXArray() [all …]
|
/aoo41x/main/setup_native/source/win32/customactions/languagepacks/ |
H A D | respintest.cxx | 56 DWORD nChars = 0; in GetMsiProperty() local 58 if (MsiGetProperty(handle, sProperty.c_str(), szDummy, &nChars) == ERROR_MORE_DATA) in GetMsiProperty() 60 DWORD nBytes = ++nChars * sizeof(TCHAR); in GetMsiProperty() 63 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
|
/aoo41x/main/sal/qa/rtl/textenc/ |
H A D | rtl_textcvt.cxx | 270 sal_Size nChars = rtl_convertTextToUnicode( in doComplexCharSetTest() local 290 nChars = rtl_convertTextToUnicode( in doComplexCharSetTest() 299 if (nChars == 1 && nInfo == 0) { in doComplexCharSetTest() 302 } else if (nChars == 2 && nInfo == 0) { in doComplexCharSetTest() 309 && nChars == 0 && nInfo != 0); in doComplexCharSetTest() 313 } else if (nChars == 1 && nInfo == 0) { in doComplexCharSetTest() 316 } else if (nChars == 2 && nInfo == 0) { in doComplexCharSetTest() 321 OSL_ASSERT(nChars == 0 && nInfo != 0); in doComplexCharSetTest()
|