Home
last modified time | relevance | path

Searched refs:len (Results 101 – 125 of 414) sorted by relevance

12345678910>>...17

/aoo42x/main/setup_native/source/win32/customactions/patch/
H A Dswappatchfiles.cxx352 std::_tstring::size_type len = temp.length(); in trim() local
354 while ( len && temp[len-1] == ' ' || temp[len-1] == '\t' ) in trim()
356 temp.erase( len - 1, 1 ); in trim()
357 len = temp.length(); in trim()
373 int len = _tcslen(szBuffer); in readLine() local
377 while ( len && szBuffer[len - 1] == '\n' ) in readLine()
379 szBuffer[--len] = 0; in readLine()
/aoo42x/main/crashrep/source/unx/
H A Dmain.cxx131 string::size_type len = temp.length(); in trim_string() local
133 while ( len && (temp[len-1] == ' ' || temp[len-1] == '\t') ) in trim_string()
135 temp.erase( len - 1, 1 ); in trim_string()
136 len = temp.length(); in trim_string()
681 int len = strlen(szBuffer); in read_line() local
685 while ( len && szBuffer[len - 1] == '\n' ) in read_line()
687 szBuffer[--len] = 0; in read_line()
/aoo42x/main/xmlhelp/source/treeview/
H A Dtvread.cxx112 void setTitle( const XML_Char* itle,int len ) in setTitle() argument
115 len, in setTitle()
137 sal_Int32 len; in getTargetURL() local
140 len = p->application.getLength(); in getTargetURL()
141 if ( len != 0 ) in getTargetURL()
480 int len) in data_handler() argument
484 (*tvDom)->setTitle( s,len ); in data_handler()
508 sal_uInt64 ret,len = 0; in TVChildTarget() local
516 len = configData.vFileLen[--j]; in TVChildTarget()
520 aFile.read( s,len,ret ); in TVChildTarget()
[all …]
/aoo42x/main/codemaker/source/codemaker/
H A Dunotype.cxx63 sal_Int32 len = type.getLength(); in decompose() local
65 while (len - i > 1 && type[i + 1] == ']') { in decompose()
79 for (sal_Int32 level = 0; l != len; ++l) { in decompose()
96 } while (k != len && type[k] != '>'); in decompose()
97 OSL_ASSERT(k == len - 1 && type[k] == '>'); in decompose()
/aoo42x/main/sal/inc/rtl/
H A Dustrbuf.hxx336 OUStringBuffer & append( const sal_Unicode * str, sal_Int32 len) in append() argument
339 rtl_uStringbuffer_insert( &pData, &nCapacity, getLength(), str, len ); in append()
382 OUStringBuffer & appendAscii( const sal_Char * str, sal_Int32 len) in appendAscii() argument
384 rtl_uStringbuffer_insert_ascii( &pData, &nCapacity, getLength(), str, len ); in appendAscii()
566 OUStringBuffer & insert( sal_Int32 offset, const sal_Unicode * str, sal_Int32 len) in insert() argument
569 rtl_uStringbuffer_insert( &pData, &nCapacity, offset, str, len ); in insert()
/aoo42x/main/ucb/source/ucp/webdav/
H A DProppatchRequest.cxx42 sal_Int32 len; in generatePROPPATCHRequestBody() member
58 aBuffer.appendAscii( OpCode[lastOp].str, OpCode[lastOp].len ); in generatePROPPATCHRequestBody()
73 aBuffer.appendAscii( OpCode[lastOp].str, OpCode[lastOp].len ); in generatePROPPATCHRequestBody()
75 … aBuffer.appendAscii( OpCode[rProperty.operation].str, OpCode[rProperty.operation].len ); in generatePROPPATCHRequestBody()
117 aBuffer.appendAscii( OpCode[lastOp].str, OpCode[lastOp].len ); in generatePROPPATCHRequestBody()
/aoo42x/main/javaunohelper/com/sun/star/lib/uno/adapter/
H A DXInputStreamToInputStreamAdapter.java117 public int read(byte[] b, int off, int len) throws IOException { in read() argument
123 if ( av != 0 && len > av) { in read()
127 bytesRead = xin.readBytes(tmp,len); in read()
135 } else if (bytesRead < len) { in read()
138 System.arraycopy(tmp[0], 0, b, off, len); in read()
/aoo42x/main/slideshow/source/engine/transitions/
H A Dsnakewipe.cxx109 const double len = (t * M_SQRT2 * d); in calcHalfDiagonalSnake() local
114 poly.append( ::basegfx::B2DPoint( len + a, height ) ); in calcHalfDiagonalSnake()
115 poly.append( ::basegfx::B2DPoint( len + a, 0.0 ) ); in calcHalfDiagonalSnake()
153 const double len = ((1.0 - t) * M_SQRT2 * d); in calcHalfDiagonalSnake() local
158 poly.append( ::basegfx::B2DPoint( len + a, height ) ); in calcHalfDiagonalSnake()
159 poly.append( ::basegfx::B2DPoint( len + a, 0.0 ) ); in calcHalfDiagonalSnake()
H A Dspiralwipe.cxx65 sal_Int32 len = static_cast<sal_Int32>( (e - (edge /2)) * edge1 * 4 ); in calcNegSpiral() local
67 while (len > 0) { in calcNegSpiral()
68 const sal_Int32 alen = (len > edge1 ? edge1 : len); in calcNegSpiral()
69 len -= alen; in calcNegSpiral()
/aoo42x/main/dtrans/source/win32/misc/
H A DImplHelper.cxx130 sal_Int32 len = MultiByteToWideChar( in getWinCPFromLocaleId() local
133 OSL_ASSERT( len > 0 ); in getWinCPFromLocaleId()
135 std::auto_ptr< sal_Unicode > lpwchBuff( new sal_Unicode[len] ); in getWinCPFromLocaleId()
139 len = MultiByteToWideChar( in getWinCPFromLocaleId()
140 CP_ACP, 0, buff, -1, reinterpret_cast<LPWSTR>(lpwchBuff.get( )), len ); in getWinCPFromLocaleId()
142 winCP = OUString( lpwchBuff.get( ), (len - 1) ); in getWinCPFromLocaleId()
/aoo42x/main/xmerge/source/wordsmith/java/org/openoffice/xmerge/converter/xml/sxw/wordsmith/
H A DWseFontTable.java116 int len = fontNames.size(); in getFontIndex() local
117 for (int i = 0; i < len; i++) { in getFontIndex()
160 int len = ((dataArray[startIndex+1] << 8) in isValid() local
162 len &= 0xFFFF; // eliminate problems with sign-extension in isValid()
164 if (dataArray[startIndex + len + 2] != 0) in isValid()
/aoo42x/main/i18npool/source/breakiterator/
H A Dbreakiterator_ctl.cxx95 sal_Int32 len = Text.getLength(); in nextCharacters() local
98 if (nStartPos < len) { in nextCharacters()
109 nStartPos = len; in nextCharacters()
111 nDone = (len - nStartPos > nCount) ? nCount : len - nStartPos; in nextCharacters()
/aoo42x/main/xmlsecurity/source/xmlsec/nss/
H A Dsecurityenvironment_nssimpl.cxx661 issuerAndSN.derIssuer.len = derIssuer->len ; in getCertificate()
664 issuerAndSN.serialNumber.len = serialNumber.getLength() ; in getCertificate()
721 int len ; in buildCertificatePath() local
723 …for( len = 0, node = CERT_LIST_HEAD( certChain ); !CERT_LIST_END( node, certChain ); node = CERT_L… in buildCertificatePath()
724 Sequence< Reference< XCertificate > > xCertChain( len ) ; in buildCertificatePath()
726 …for( len = 0, node = CERT_LIST_HEAD( certChain ); !CERT_LIST_END( node, certChain ); node = CERT_L… in buildCertificatePath()
735 xCertChain[len] = pCert ; in buildCertificatePath()
821 item.len = der.getLength(); in verifyCertificate()
/aoo42x/main/bridges/source/jni_uno/
H A Djni_helper.h44 jsize len = jni->GetStringLength( jstr ); in jstring_to_ustring() local
47 sizeof (rtl_uString) + (len * sizeof (sal_Unicode)) ) ); in jstring_to_ustring()
49 jni->GetStringRegion( jstr, 0, len, (jchar *) ustr->buffer ); in jstring_to_ustring()
52 ustr->length = len; in jstring_to_ustring()
53 ustr->buffer[ len ] = '\0'; in jstring_to_ustring()
/aoo42x/main/basic/source/comp/
H A Dbuffer.cxx234 sal_Bool SbiBuffer::Add( const void* p, sal_uInt16 len ) in Add() argument
236 if( Check( len ) ) in Add()
238 memcpy( pCur, p, len ); in Add()
239 pCur += len; in Add()
240 nOff = nOff + len; in Add()
/aoo42x/main/writerfilter/source/rtftok/
H A DRTFScanner.skl714 if (len>0)
717 memcpy(buf, _buffer, len);
718 return len;
1306 int len;
1307 for ( len = 0; yy_str[len]; ++len )
1310 return yy_scan_bytes( yy_str, len );
1321 YY_BUFFER_STATE yy_scan_bytes( bytes, len )
1323 int len;
1332 n = len + 2;
1337 for ( i = 0; i < len; ++i )
[all …]
/aoo42x/main/registry/source/
H A Dreflread.cxx68 BlopObject(const sal_uInt8* buffer, sal_uInt32 len, sal_Bool copyBuffer);
137 BlopObject::BlopObject(const sal_uInt8* buffer, sal_uInt32 len, sal_Bool copyBuffer) in BlopObject() argument
138 : m_bufferLen(len) in BlopObject()
144 sal_uInt8* newBuffer = new sal_uInt8[len]; in BlopObject()
145 memcpy(newBuffer, buffer, len); in BlopObject()
220 sal_uInt32 len = UINT16StringLen(buffer); in createString() local
222 m_stringTable[m_stringsCopied] = new sal_Unicode[len + 1]; in createString()
1093 const sal_uInt8* buffer, sal_uInt32 len, sal_Bool copyBuffer);
1102 const sal_uInt8* buffer, sal_uInt32 len, sal_Bool copyBuffer): in TypeRegistryEntry() argument
1103 BlopObject(buffer, len, copyBuffer), m_pCP(NULL), m_pFields(NULL), in TypeRegistryEntry()
[all …]
H A Dregimpl.cxx1579 sal_uInt32 len = 0; in dumpValue() local
1581 readUINT32(pBuffer, len); in dumpValue()
1589 sal::static_int_cast< unsigned long >(len)); in dumpValue()
1593 for (sal_uInt32 i=0; i < len; i++) in dumpValue()
1612 sal_uInt32 len = 0; in dumpValue() local
1614 readUINT32(pBuffer, len); in dumpValue()
1622 sal::static_int_cast< unsigned long >(len)); in dumpValue()
1626 for (sal_uInt32 i=0; i < len; i++) in dumpValue()
1649 sal_uInt32 len = 0; in dumpValue() local
1651 readUINT32(pBuffer, len); in dumpValue()
[all …]
/aoo42x/main/sal/osl/unx/
H A Dnlsupport.c181 size_t len = strlen( locale ); in _parse_locale() local
183 if( len >= 2 ) in _parse_locale()
194 if( (len > 3 && '_' == locale[3]) || (len == 3 && '_' != locale[2]) ) in _parse_locale()
202 if( len >= offset+3 && '_' == locale[offset] ) in _parse_locale()
210 if( len > offset ) { in _parse_locale()
211 …rtl_string2UString( &pVariant, locale + offset, len - offset, RTL_TEXTENCODING_ASCII_US, OSTRING_T… in _parse_locale()
/aoo42x/main/pyuno/source/module/
H A Dpyuno_dlopenwrapper.c71 size_t len = strrchr(dl_info.dli_fname, '/') - dl_info.dli_fname + 1; local
72 char* libname = malloc(len + RTL_CONSTASCII_LENGTH( SAL_DLLPREFIX "pyuno" SAL_DLLEXTENSION ) + 1);
73 strncpy(libname, dl_info.dli_fname, len);
74 strcpy(libname + (len), SAL_DLLPREFIX "pyuno" SAL_DLLEXTENSION);
/aoo42x/main/writerfilter/source/resourcemodel/
H A Dresourcemodel.cxx275 void WW8StreamHandler::text(const sal_uInt8 * data, size_t len) in text() argument
279 for (unsigned int n = 0; n < len; ++n) in text()
314 gTableManager.text(data, len); in text()
317 void WW8StreamHandler::utext(const sal_uInt8 * data, size_t len) in utext() argument
323 for (unsigned int n = 0; n < len; ++n) in utext()
355 gTableManager.utext(data, len); in utext()
/aoo42x/main/solenv/bin/
H A Dbuildalyzer89 if sum((flag in target.cxxflags for target in compile_targets)) == len(compile_targets):
93 if sum((flag in target.cxxflags for target in compile_targets)) == len(compile_targets):
118 print '%d compilerflag groups:' % (len(flagsets))
135 print '%d include flag groups:' % (len(flagsets))
149 if len(target.inputfiles) > 1:
/aoo42x/main/testtools/source/bridgetest/pyuno/
H A Dimpl.py61 if( nByteCount + self.nIndex > len(self.s) ):
62 nByteCount = len(self.s) - self.nIndex
67 if( self.nIndex + nByteCount > len(self.s) ):
68 nRet = len(self.s) - self.nIndex
80 return len( self.s ) - self.nIndex
/aoo42x/main/registry/inc/registry/
H A Dregistry.hxx512 sal_uInt32 len);
525 sal_uInt32 len);
538 sal_uInt32 len);
969 sal_uInt32 len) in setLongListValue() argument
973 pValueList, len); in setLongListValue()
980 sal_uInt32 len) in setStringListValue() argument
984 pValueList, len); in setStringListValue()
991 sal_uInt32 len) in setUnicodeListValue() argument
995 pValueList, len); in setUnicodeListValue()
/aoo42x/main/jurt/java/jurt/src/main/java/com/sun/star/lib/uno/bridges/java_remote/
H A DXConnectionOutputStream_Adapter.java58 public void write(byte[] b, int off, int len) throws IOException { in write() argument
61 if(off == 0 && len == b.length) in write()
65 bytes = new byte[len]; in write()
67 System.arraycopy(b, off, bytes, 0, len); in write()

Completed in 632 milliseconds

12345678910>>...17