| /AOO41X/main/sax/source/expatwrap/ |
| H A D | xml2utf.cxx | 41 sal_Int32 XMLFile2UTFConverter::readAndConvert( Sequence<sal_Int8> &seq , sal_Int32 nMaxToRead ) in readAndConvert() argument 59 nRead = m_in->readSomeBytes( seq , nMaxToRead ); in readAndConvert() 70 sal_Int32 nLength = seq.getLength(); in readAndConvert() 71 seq.realloc( seqStart.getLength() + nLength ); in readAndConvert() 73 memmove (seq.getArray() + seqStart.getLength(), in readAndConvert() 74 seq.getConstArray(), in readAndConvert() 76 memcpy (seq.getArray(), in readAndConvert() 82 if( ! isEncodingRecognizable( seq ) ) in readAndConvert() 85 seqStart = seq; in readAndConvert() 90 if( scanForEncoding( seq ) || m_sEncoding.getLength() ) { in readAndConvert() [all …]
|
| /AOO41X/main/extensions/test/ole/OleClient/ |
| H A D | funcs.cxx | 183 Sequence<sal_Unicode> seq; in equalSequences() local 184 orig >>= seq; in equalSequences() 187 return equalSequences(seq, seq2); in equalSequences() 191 Sequence<sal_Bool> seq; in equalSequences() local 192 orig >>= seq; in equalSequences() 195 return equalSequences(seq, seq2); in equalSequences() 199 Sequence<sal_Int8> seq; in equalSequences() local 200 orig >>= seq; in equalSequences() 203 return equalSequences(seq, seq2); in equalSequences() 207 Sequence<sal_Int16> seq; in equalSequences() local [all …]
|
| /AOO41X/main/io/source/stm/ |
| H A D | streamhelper.cxx | 41 void MemFIFO::write( const Sequence< sal_Int8 > &seq ) in write() argument 47 writeAt(getSize(), seq ); in write() 59 void MemFIFO::read( Sequence<sal_Int8> &seq , sal_Int32 nBufferLen ) throw (IFIFO_OutOfBoundsExcept… in read() argument 63 readAt(0, seq , nBufferLen); in read() 129 void MemRingBuffer::readAt( sal_Int32 nPos, Sequence<sal_Int8> &seq , sal_Int32 nBytesToRead ) const in readAt() argument 141 seq.realloc( nBytesToRead ); in readAt() 145 memcpy( seq.getArray() , &(m_p[nStartReadingPos]) , nDeltaLen ); in readAt() 146 memcpy( &(seq.getArray()[nDeltaLen]), m_p , nBytesToRead - nDeltaLen ); in readAt() 149 memcpy( seq.getArray() , &(m_p[nStartReadingPos]) , nBytesToRead ); in readAt() 154 void MemRingBuffer::writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &seq ) in writeAt() argument [all …]
|
| /AOO41X/main/cli_ure/source/uno_bridge/ |
| H A D | cli_data.cxx | 67 auto_ptr< rtl_mem > seq( in seq_allocate() local 69 uno_Sequence * p = (uno_Sequence *)seq.get(); in seq_allocate() 72 return seq; in seq_allocate() 1266 auto_ptr< rtl_mem > seq; in map_to_uno() local 1279 seq = seq_allocate(nElements, sizeof (sal_Unicode)); in map_to_uno() 1281 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno() 1284 seq = seq_allocate(nElements, sizeof (sal_Bool)); in map_to_uno() 1286 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno() 1289 seq = seq_allocate( nElements, sizeof (sal_Int8) ); in map_to_uno() 1291 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno() [all …]
|
| /AOO41X/main/i18npool/source/localedata/ |
| H A D | localedata.cxx | 586 Sequence< Currency2 > seq(currencyCount); in getAllCurrencies2() local 598 seq[i] = cur; in getAllCurrencies2() 600 return seq; in getAllCurrencies2() 689 Sequence< FormatElement > seq(formatCount); in getAllFormats() local 706 seq[f] = elem; in getAllFormats() 710 return seq; in getAllFormats() 743 Sequence< Implementation > seq(collatorCount); in getCollatorImplementations() local 748 seq[i] = impl; in getCollatorImplementations() 750 return seq; in getCollatorImplementations() 768 Sequence< OUString > seq(optionsCount); in getCollationOptions() local [all …]
|
| /AOO41X/main/ucb/source/ucp/ftp/ |
| H A D | ftpcontent.cxx | 227 const Sequence<Property>& seq, in ResultSetFactoryI() argument 233 m_seq(seq), in ResultSetFactoryI() 372 Sequence<Any> seq(1); in execute() local 378 seq[0] <<= value; in execute() 381 seq, in execute() 407 Sequence<Any> seq(1); in execute() local 413 seq[0] <<= value; in execute() 416 seq, in execute() 529 Sequence<Any> seq(1); in execute() local 536 seq[0] <<= value; in execute() [all …]
|
| H A D | ftpresultsetbase.cxx | 44 const uno::Sequence< beans::Property >& seq, in ResultSetBase() 52 m_sProperty( seq ), in ResultSetBase() 511 uno::Sequence< beans::Property > seq(2); in getPropertySetInfo() local 512 seq[0].Name = rtl::OUString::createFromAscii( "RowCount" ); in getPropertySetInfo() 513 seq[0].Handle = -1; in getPropertySetInfo() 514 seq[0].Type = getCppuType( static_cast< sal_Int32* >(0) ); in getPropertySetInfo() 515 seq[0].Attributes = beans::PropertyAttribute::READONLY; in getPropertySetInfo() 517 seq[1].Name = rtl::OUString::createFromAscii( "IsRowCountFinal" ); in getPropertySetInfo() 518 seq[1].Handle = -1; in getPropertySetInfo() 519 seq[1].Type = getCppuType( static_cast< sal_Bool* >(0) ); in getPropertySetInfo() [all …]
|
| /AOO41X/main/stoc/source/simpleregistry/ |
| H A D | textualservices.cxx | 724 css::uno::Sequence< rtl::OUString > seq( in getAsciiListValue() local 730 seq[i++] = *j; in getAsciiListValue() 732 return seq; in getAsciiListValue() 1060 css::uno::Sequence< rtl::OUString > seq(3); in getChildren() local 1061 seq[0] = rtl::OUString( in getChildren() 1063 seq[1] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SERVICES")); in getChildren() 1064 seq[2] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SINGLETONS")); in getChildren() 1065 return seq; in getChildren() 1077 css::uno::Sequence< rtl::OUString > seq( in getChildren() local 1083 seq[i++] = j->first; in getChildren() [all …]
|
| /AOO41X/main/ucb/source/ucp/file/ |
| H A D | filrset.cxx | 50 const uno::Sequence< beans::Property >& seq, in XResultSet_impl() 59 m_sProperty( seq ), in XResultSet_impl() 228 uno::Sequence< uno::Reference< uno::XInterface > > seq; in rowCountChanged() local 232 seq = m_pRowCountListeners->getElements(); in rowCountChanged() 242 for( sal_Int32 i = 0; i < seq.getLength(); ++i ) in rowCountChanged() 245 seq[i], uno::UNO_QUERY ); in rowCountChanged() 254 uno::Sequence< uno::Reference< XInterface > > seq; in isFinalChanged() local 258 seq = m_pIsFinalListeners->getElements(); in isFinalChanged() 269 for( sal_Int32 i = 0; i < seq.getLength(); ++i ) in isFinalChanged() 272 seq[i], uno::UNO_QUERY ); in isFinalChanged() [all …]
|
| H A D | shell.cxx | 612 uno::Sequence< sal_Int8 > seq( BFF, (sal_uInt32)nrc ); in page() local 615 xOutputStream->writeBytes( seq ); in page() 751 const uno::Sequence< beans::Property >& seq, in ls() 755 XResultSet_impl* p = new XResultSet_impl( this,aUnqPath,OpenMode,seq,seqSort ); in ls() 1064 uno::Sequence< uno::Any > seq( properties.getLength() ); in getv() local 1093 for( sal_Int32 i = 0; i < seq.getLength(); ++i ) in getv() 1098 seq[i] = uno::Any(); in getv() 1100 seq[i] = it1->getValue(); in getv() 1104 XRow_impl* p = new XRow_impl( this,seq ); in getv() 1857 uno::Sequence< sal_Int8 > seq( nRequestedBytes ); in write() local [all …]
|
| H A D | bc.cxx | 421 Sequence< beans::Property > seq(1); in execute() local 422 seq[0] = beans::Property( in execute() 427 Reference< sdbc::XRow > xRow = getPropertyValues( CommandId,seq ); in execute() 531 Sequence< beans::Property > seq(1); in getContentType() local 532 seq[0] = beans::Property( rtl::OUString::createFromAscii("IsDocument"), in getContentType() 536 Reference< sdbc::XRow > xRow = getPropertyValues( -1,seq ); in getContentType() 670 Sequence< beans::Property > seq(1); in createNewContent() local 671 seq[0] = beans::Property( rtl::OUString::createFromAscii("IsDocument"), in createNewContent() 675 Reference< sdbc::XRow > xRow = getPropertyValues( -1,seq ); in createNewContent() 1130 Sequence< beans::Property > seq(1); in transfer() local [all …]
|
| /AOO41X/main/bridges/source/jni_uno/ |
| H A D | jni_data.cxx | 43 auto_ptr< rtl_mem > seq( in seq_allocate() local 45 uno_Sequence * p = (uno_Sequence *)seq.get(); in seq_allocate() 48 return seq.release(); in seq_allocate() 135 auto_ptr< rtl_mem > seq(seq_allocate(0, 0)); in createDefaultUnoValue() local 140 = reinterpret_cast< uno_Sequence * >(seq.release()); in createDefaultUnoValue() 1025 auto_ptr< rtl_mem > seq; in map_to_uno() local 1031 seq.reset( seq_allocate( nElements, sizeof (sal_Unicode) ) ); in map_to_uno() 1034 (jchar *) ((uno_Sequence *) seq.get())->elements ); in map_to_uno() 1038 seq.reset( seq_allocate( nElements, sizeof (sal_Bool) ) ); in map_to_uno() 1041 (jboolean *) ((uno_Sequence *) seq.get())->elements ); in map_to_uno() [all …]
|
| H A D | nativethreadpool.cxx | 99 rtl::ByteSequence seq(s); in Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_threadId() local 101 sal_Int32 n = seq.getLength(); in Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_threadId() 111 rtl_copyMemory(p, seq.getConstArray(), n); in Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_threadId() 186 rtl::ByteSequence seq( in Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_putJob() local 207 p->pool, seq.getHandle(), in Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_putJob()
|
| /AOO41X/main/xmlhelp/source/treeview/ |
| H A D | tvfactory.cxx | 143 Sequence< Any > seq( 1 ); in createInstance() local 144 seq[0] <<= PropertyValue( in createInstance() 151 seq ); in createInstance() 205 Sequence< rtl::OUString > seq( 1 ); in getAvailableServiceNames() local 206 seq[0] = rtl::OUString::createFromAscii( "com.sun.star.ucb.HierarchyDataReadAccess" ); in getAvailableServiceNames() 207 return seq; in getAvailableServiceNames() 225 Sequence< rtl::OUString > seq( 2 ); in getSupportedServiceNames_static() local 226 seq[0] = rtl::OUString::createFromAscii( "com.sun.star.help.TreeView" ); in getSupportedServiceNames_static() 227 seq[1] = rtl::OUString::createFromAscii( "com.sun.star.ucb.HiearchyDataSource" ); in getSupportedServiceNames_static() 228 return seq; in getSupportedServiceNames_static()
|
| /AOO41X/main/comphelper/inc/comphelper/ |
| H A D | unwrapargs.hxx | 51 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any> const& seq, in extract() 56 if (nArg >= seq.getLength()) { in extract() 62 if (! (seq[nArg] >>= v)) { in extract() 65 buf.append( seq[nArg].getValueType().getTypeName() ); in extract() 77 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any> const& seq, in extract() 82 if (nArg < seq.getLength()) { in extract() 84 extract( seq, nArg, t, xErrorContext ); in extract() 92 detail::extract( seq, n_, BOOST_PP_CAT(v, n_), xErrorContext ); 123 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > const& seq, \
|
| /AOO41X/main/lingucomponent/source/thesaurus/libnth/ |
| H A D | nthesimp.cxx | 416 Sequence<OUString>seq = xTmpRes2->getAlternatives(); in queryMeanings() local 417 if (seq.getLength() > 0) in queryMeanings() 419 codeTerm = seq[0]; in queryMeanings() 459 Sequence<OUString>seq = xTmpRes->getAlternatives(); in queryMeanings() local 460 if (seq.getLength() > 0) in queryMeanings() 461 sTerm = seq[0]; in queryMeanings() 520 Sequence<OUString>seq = xTmpRes->getAlternatives(); in queryMeanings() local 522 for (int i = 0; i < seq.getLength(); i++) in queryMeanings() 524 OString o = OUStringToOString(seq[i], RTL_TEXTENCODING_UTF8); in queryMeanings() 528 if (seq.getLength() > 0) in queryMeanings() [all …]
|
| /AOO41X/main/io/test/ |
| H A D | testconnection.cxx | 69 Sequence < sal_Int8 > seq(10); in doWrite() local 72 seq.getArray()[i] = i; in doWrite() 75 r->write( seq ); in doWrite() 80 Sequence < sal_Int8 > seq(10); in doRead() local 82 OSL_ASSERT( 10 == r->read( seq , 10 ) ); in doRead() 86 OSL_ASSERT( seq.getConstArray()[i] == i ); in doRead() 105 Sequence < sal_Int8 > seq(12); in run() local 159 Sequence < sal_Int8 > seq(10); in testConnection() local 160 r->write( seq ); in testConnection()
|
| /AOO41X/main/xmlhelp/source/cxxhelp/provider/ |
| H A D | resultsetbase.cxx | 44 const uno::Sequence< beans::Property >& seq, in ResultSetBase() 52 m_sProperty( seq ), in ResultSetBase() 504 uno::Sequence< beans::Property > seq(2); in getPropertySetInfo() local 505 seq[0].Name = rtl::OUString::createFromAscii( "RowCount" ); in getPropertySetInfo() 506 seq[0].Handle = -1; in getPropertySetInfo() 507 seq[0].Type = getCppuType( static_cast< sal_Int32* >(0) ); in getPropertySetInfo() 508 seq[0].Attributes = beans::PropertyAttribute::READONLY; in getPropertySetInfo() 510 seq[1].Name = rtl::OUString::createFromAscii( "IsRowCountFinal" ); in getPropertySetInfo() 511 seq[1].Handle = -1; in getPropertySetInfo() 512 seq[1].Type = getCppuType( static_cast< sal_Bool* >(0) ); in getPropertySetInfo() [all …]
|
| H A D | content.cxx | 228 const uno::Sequence< beans::Property >& seq, in ResultSetForRootFactory() 235 m_seq( seq ), in ResultSetForRootFactory() 276 const uno::Sequence< beans::Property >& seq, in ResultSetForQueryFactory() 283 m_seq( seq ), in ResultSetForQueryFactory() 545 uno::Sequence< rtl::OUString > seq( 2 ); in getPropertyValues() local 546 seq[0] = rtl::OUString::createFromAscii( "Heading" ); in getPropertyValues() 547 seq[1] = rtl::OUString::createFromAscii( "FullText" ); in getPropertyValues() 549 aAny <<= seq; in getPropertyValues()
|
| /AOO41X/main/extensions/test/ole/VisualBasic/ |
| H A D | Module1.vb | 612 Dim seq() As Object 613 seq = objOleTest.methodLong(arrLong) 616 Debug.Print(CStr(seq(countvar))) 617 If arrLong(countvar) <> seq(countvar) Then 621 seq = objOleTest.methodXInterface(arrObj) 624 seq(countvar).resetDisposing() 625 seq(countvar).disposing(CObj(tmp)) 626 If seq(countvar).disposingCalled = False Then 639 seq = objOleTest.methodXEventListeners(arEventListener) 652 seq = objOleTest.methodXEventListeners(arEventListener2) [all …]
|
| /AOO41X/main/configmgr/source/ |
| H A D | valueparser.cxx | 160 comphelper::SequenceAsVector< sal_Int8 > seq; in parseValue() local 169 seq.push_back(static_cast< sal_Int8 >((n1 << 4) | n2)); in parseValue() 171 *value = seq.getAsConstList(); in parseValue() 190 comphelper::SequenceAsVector< T > seq; in parseListValue() local 209 seq.push_back(val); in parseListValue() 217 return css::uno::makeAny(seq.getAsConstList()); in parseListValue() 467 css::uno::Sequence< T > seq(items_.size()); in convertItems() local 468 for (sal_Int32 i = 0; i < seq.getLength(); ++i) { in convertItems() 469 OSL_VERIFY(items_[i] >>= seq[i]); in convertItems() 471 return css::uno::makeAny(seq); in convertItems()
|
| /AOO41X/main/bridges/test/ |
| H A D | testoffice.cxx | 91 Sequence < sal_Int8 > seq( 10 ); in testPipe() local 92 seq.getArray()[0] = 42; in testPipe() 93 rOut->writeBytes( seq ); in testPipe() 98 Sequence < sal_Int8 > seq; in testPipe() local 102 if( ! ( rIn->readBytes( seq , 10 ) == 10 ) ) in testPipe() 104 if( ! ( 42 == seq.getArray()[0] ) ) in testPipe()
|
| /AOO41X/main/extensions/workben/ |
| H A D | pythontest.cxx | 258 Sequence<UString> seq = (*m_pDebuggingRef)->getStackTrace(); in cmdLine() local 260 aUString = seq.getArray(); in cmdLine() 261 int iMax = seq.getLen(); in cmdLine() 340 Sequence<XIdlMethodRef> seq = ref->getMethods( 0 ); in dumpIntrospectionToStream() local 341 iMax = seq.getLen(); in dumpIntrospectionToStream() 342 XIdlMethodRef *aRef = seq.getArray(); in dumpIntrospectionToStream() 407 Sequence< Property > seq = refInfo->getProperties(); in dumpVarToStream() local 408 int i,iMax = seq.getLen(); in dumpVarToStream() 411 pArray = seq.getArray(); in dumpVarToStream()
|
| /AOO41X/main/testtools/source/bridgetest/pyuno/ |
| H A D | impl.py | 40 def writeBytes( self, seq ): argument 41 self.s = self.s + seq 51 def __init__( self, seq ): argument 52 self.s = seq 83 def __init__( self, seq ): argument 84 SequenceInputStream.__init__( self, seq )
|
| /AOO41X/main/odk/examples/DevelopersGuide/Components/CppComponent/ |
| H A D | service1_impl.cxx | 157 Sequence< Type > seq( 3 ); in getTypes() local 158 seq[ 0 ] = ::cppu::UnoType< Reference< lang::XTypeProvider > >::get(); in getTypes() 159 seq[ 1 ] = ::cppu::UnoType< Reference< lang::XServiceInfo > >::get(); in getTypes() 160 seq[ 2 ] = ::cppu::UnoType< Reference< ::my_module::XSomething > >::get(); in getTypes() 161 return seq; in getTypes()
|