Home
last modified time | relevance | path

Searched refs:nChars (Results 1 – 25 of 82) sorted by relevance

1234

/aoo4110/main/svtools/source/filter/
H A Dsgvtext.cxx787 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 …]
/aoo4110/main/svtools/source/svrtf/
H A Dsvparser.cxx257 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 …]
/aoo4110/main/oox/source/helper/
H A Dbinaryinputstream.cxx76 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 …]
/aoo4110/main/sal/workben/
H A Dtestpip2.cxx56 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 Dtestpipe.cxx43 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()
/aoo4110/main/sc/source/filter/excel/
H A Dxistream.cxx919 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 …]
/aoo4110/main/sw/source/core/para/
H A Dparatr.cxx73 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()
/aoo4110/main/oox/source/xls/
H A Dbiffinputstream.cxx373 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()
/aoo4110/main/sal/qa/osl/pipe/
H A Dosl_Pipe.cxx911 sal_Int32 nChars = 0; in run() local
922 nChars = aSenderPipe.read( buf, m_pTestString1.getLength() + 1 ); in run()
923 if ( nChars < 0 ) in run()
930nChars = aSenderPipe.send( m_pTestString2.getStr(), m_pTestString2.getLength() + 1 ); in run()
931 if ( nChars < 0 ) in run()
963 sal_Int32 nChars; in run() local
983nChars = 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()
/aoo4110/main/xmerge/source/wordsmith/java/org/openoffice/xmerge/converter/xml/sxw/wordsmith/
H A DWseHeader.java39 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()
/aoo4110/main/sc/source/filter/inc/
H A Dxistream.hxx417 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 );
/aoo4110/main/oox/source/ole/
H A Dolehelper.cxx97 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 Daxbinaryreader.cxx196 … 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()
/aoo4110/main/sal/osl/os2/
H A Dpipeimpl.cxx162 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()
/aoo4110/main/sal/osl/w32/
H A Dpipeimpl.cxx167 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()
/aoo4110/main/setup_native/source/win32/customactions/shellextensions/
H A Dcheckdirectory.cxx57 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 Dcheckpatches.cxx74 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 Dstartmenuicon.cxx52 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 Dcopyextensiondata.cxx59 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 Dmigrateinstallpath.cxx54 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 Dcompleteinstallpath.cxx54 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 Dpostuninstall.cxx52 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()
/aoo4110/main/vcl/source/glyphs/
H A Dgraphite_layout.cxx1089 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 …]
/aoo4110/main/setup_native/source/win32/customactions/languagepacks/
H A Drespintest.cxx56 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()
/aoo4110/main/sal/qa/rtl/textenc/
H A Drtl_textcvt.cxx270 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()

Completed in 130 milliseconds

1234