Home
last modified time | relevance | path

Searched refs:buffer (Results 101 – 125 of 456) sorted by relevance

12345678910>>...19

/trunk/main/setup_native/source/win32/customactions/languagepacks/
H A Dlngpckinsthelper.cxx109 UINT GetInstallProperty(MSIHANDLE handle, LPCTSTR name, CharacterBuffer_t* buffer) in GetInstallProperty() argument
111 DWORD size = buffer->size(); in GetInstallProperty()
112 UINT ret = MsiGetProperty(handle, name, &(*buffer)[0], &size); in GetInstallProperty()
116 buffer->resize(size + 1); in GetInstallProperty()
117 size = buffer->size(); in GetInstallProperty()
118 ret = MsiGetProperty(handle, name, &(*buffer)[0], &size); in GetInstallProperty()
/trunk/main/ucb/source/ucp/webdav/
H A DCurlRequest.hxx99 static size_t Curl_SendMoreBody( char *buffer, size_t size, size_t nitems, void *userdata );
100 size_t curlSendMoreBody( char *buffer, size_t len );
102 static size_t Curl_HeaderReceived( char *buffer, size_t size, size_t nitems, void *userdata );
103 void curlHeaderReceived( const char *buffer, size_t len );
105 static size_t Curl_MoreBodyReceived( char *buffer, size_t size, size_t nitems, void *userdata );
106 void curlMoreBodyReceived( const char *buffer, size_t len );
/trunk/main/cppu/source/uno/
H A DEnvDcp.c29 sal_Int32 colIdx = rtl_ustr_indexOfChar_WithLength(pEnvDcp->buffer, pEnvDcp->length, ':'); in uno_EnvDcp_getTypeName()
31 rtl_uString_newFromStr_WithLength(ppEnvTypeName, pEnvDcp->buffer, colIdx); in uno_EnvDcp_getTypeName()
34 rtl_uString_newFromStr(ppEnvTypeName, pEnvDcp->buffer); in uno_EnvDcp_getTypeName()
39 sal_Int32 colIdx = rtl_ustr_indexOfChar_WithLength(pEnvDcp->buffer, pEnvDcp->length, ':'); in uno_EnvDcp_getPurpose()
41 …rtl_uString_newFromStr_WithLength(ppEnvPurpose, pEnvDcp->buffer + colIdx, pEnvDcp->length - colIdx… in uno_EnvDcp_getPurpose()
/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/
H A DOOoBean.java737 byte[] buffer = new byte[s]; in loadFromStream()
739 while ((r = iInStream.read(buffer, n, buffer.length-n))>0) { in loadFromStream()
741 if (iInStream.available() > buffer.length - n) { in loadFromStream()
742 newBuffer = new byte[buffer.length*2]; in loadFromStream()
743 System.arraycopy(buffer, 0, newBuffer, 0, n); in loadFromStream()
744 buffer = newBuffer; in loadFromStream()
747 if (buffer.length != n) { in loadFromStream()
749 System.arraycopy(buffer, 0, newBuffer, 0, n); in loadFromStream()
750 buffer = newBuffer; in loadFromStream()
753 new com.sun.star.lib.uno.adapter.ByteArrayToXInputStreamAdapter(buffer); in loadFromStream()
/trunk/main/extensions/source/macosx/spotlight/
H A DOOoSpotlightImporter.m177 unsigned buffer[BUFFER_SIZE];
179 while ((bytesRead = unzReadCurrentFile(unzipFile, buffer, sizeof(buffer))) > 0) {
181 [data appendData:[NSData dataWithBytes:(const void *)buffer length:bytesRead]];
214 unsigned buffer[BUFFER_SIZE];
216 while ((bytesRead = unzReadCurrentFile(unzipFile, buffer, sizeof(buffer))) > 0) {
218 [data appendData:[NSData dataWithBytes:(const void *)buffer length:bytesRead]];
/trunk/main/stoc/source/uriproc/
H A DUriReference.cxx191 void UriReference::appendSchemeSpecificPart(rtl::OUStringBuffer & buffer) const in appendSchemeSpecificPart()
194 buffer.appendAscii(RTL_CONSTASCII_STRINGPARAM("//")); in appendSchemeSpecificPart()
195 buffer.append(m_authority); in appendSchemeSpecificPart()
197 buffer.append(m_path); in appendSchemeSpecificPart()
199 buffer.append(static_cast< sal_Unicode >('?')); in appendSchemeSpecificPart()
200 buffer.append(m_query); in appendSchemeSpecificPart()
/trunk/main/rdbmaker/inc/codemaker/
H A Dregistry.hxx36 TypeReader_Impl(const sal_uInt8* buffer, in TypeReader_Impl()
42 , m_pBlop(buffer) in TypeReader_Impl()
47 rtl_copyMemory((void*)m_pBlop, buffer, bufferLen); in TypeReader_Impl()
51 m_pBlop = buffer; in TypeReader_Impl()
86 inline TypeReader( const sal_uInt8* buffer, in TypeReader() argument
90 m_pImpl = new TypeReader_Impl(buffer, bufferLen, copyData); in TypeReader()
/trunk/main/i18npool/source/textconversion/
H A Dtextconversion_zh.cxx85 newStr->buffer[i] = in getCharConversion()
158 newStr->buffer[count++] = conversions[0][current++]; in getWordConversion()
163 newStr->buffer[count++] = conversions[0][current++]; in getWordConversion()
194 newStr->buffer[count++] = wordData[current++]; in getWordConversion()
199 newStr->buffer[count++] = wordData[current++]; in getWordConversion()
210 newStr->buffer[count++] = in getWordConversion()
217 OUString resultStr( newStr->buffer, count ); in getWordConversion()
/trunk/main/jurt/source/pipe/
H A Dcom_sun_star_lib_connections_pipe_PipeConnection.c340 (JNIEnv * env, jobject obj_this, jobjectArray buffer, jint len) in PipeConnection_read() argument
421 (*env)->SetObjectArrayElement(env, buffer, 0, bytes); in PipeConnection_read()
460 (JNIEnv * env, jobject obj_this, jbyteArray buffer) in PipeConnection_write() argument
495 nwrite = (*env)->GetArrayLength(env, buffer); in PipeConnection_write()
498 nbuff = (*env)->GetByteArrayElements(env, buffer, NULL); in PipeConnection_write()
527 (*env)->ReleaseByteArrayElements(env, buffer, nbuff, JNI_ABORT); in PipeConnection_write()
535 (*env)->ReleaseByteArrayElements(env, buffer, nbuff, JNI_ABORT); in PipeConnection_write()
/trunk/main/writerfilter/source/ooxml/
H A DOOXMLPropertySetImpl.cxx616 char buffer[256]; in toString() local
617 snprintf(buffer, sizeof(buffer), "%" SAL_PRIdINT32, mnValue); in toString()
619 return buffer; in toString()
652 char buffer[256]; in toString() local
653 snprintf(buffer, sizeof(buffer), "0x%" SAL_PRIxUINT32, mnValue); in toString()
655 return buffer; in toString()
/trunk/main/binaryurp/source/
H A Dlessoperators.cxx46 rA.pTypeName->buffer, rA.pTypeName->length, in operator <()
47 rB.pTypeName->buffer, rB.pTypeName->length); in operator <()
59 rA.pTypeName->buffer, rA.pTypeName->length, in operator ()()
60 rB.pTypeName->buffer, rB.pTypeName->length); in operator ()()
68 sal_Int32 h = rtl_ustr_hashCode_WithLength( rA.pTypeName->buffer, rA.pTypeName->length); in operator ()()
/trunk/main/xmlhelp/source/cxxhelp/provider/
H A Ddatabases.cxx491 sal_Char buffer[2048]; in getStaticInformationForModule() local
1148 *buffer = new char[ 1+*byteCount ]; in popupDocument()
1150 rtl_copyMemory( *buffer,pop1,l1 ); in popupDocument()
1151 rtl_copyMemory( *buffer+l1,pop2,l2 ); in popupDocument()
1155 (*buffer)[*byteCount] = 0; in popupDocument()
1168 char** buffer, in cascadingStylesheet() argument
1255 *buffer = new char[ 1 + *byteCount ]; in cascadingStylesheet()
1256 (*buffer)[*byteCount] = 0; in cascadingStylesheet()
1265 char** buffer, in setActiveText() argument
1310 *buffer = new char[ 1 + nSize ]; in setActiveText()
[all …]
/trunk/main/cppu/source/typelib/
H A Dtypelib.cxx1271 pTypeName->buffer, pTypeName->length, ':'); in typelib_typedescription_newInterfaceMethod()
1272 if (nOffset <= 0 || pTypeName->buffer[nOffset - 1] != ':') { in typelib_typedescription_newInterfaceMethod()
1295 pTypeName->buffer + nOffset +1, in typelib_typedescription_newInterfaceMethod()
1364 pTypeName->buffer, pTypeName->length, ':'); in typelib_typedescription_newExtendedInterfaceAttribute()
1365 if (nOffset <= 0 || pTypeName->buffer[nOffset - 1] != ':') { in typelib_typedescription_newExtendedInterfaceAttribute()
1388 pTypeName->buffer + nOffset +1, in typelib_typedescription_newExtendedInterfaceAttribute()
1758 (*rInit.pWeakMap)[pTDR->pTypeName->buffer] = pTDR; in typelib_typedescription_register()
1772 …OSL_ASSERT( rtl_ustr_compare( pTDR->pTypeName->buffer, (*ppNewDescription)->pTypeName->buffer ) ==… in typelib_typedescription_register()
1784 rtl_ustr_compare( p1->pTypeName->buffer, p2->pTypeName->buffer ) == 0)); in type_equals()
2448 …OSL_ASSERT( !*ppRet || rtl_ustr_compare( pRef->pTypeName->buffer, (*ppRet)->pTypeName->buffer ) ==… in typelib_typedescriptionreference_getDescription()
[all …]
/trunk/main/connectivity/source/drivers/hsqldb/
H A DStorageNativeInputStream.cxx105 (JNIEnv * env, jobject obj_this,jstring key, jstring name, jbyteArray buffer, jint off, jint len) in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3BII() argument
111 …return read_from_storage_stream_into_buffer( env, obj_this, name, key, buffer, off, len, &aDataLog… in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3BII()
113 return read_from_storage_stream_into_buffer(env,obj_this,name,key,buffer,off,len); in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3BII()
252 (JNIEnv * env, jobject /*obj_this*/,jstring key, jstring name, jbyteArray buffer) in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3B() argument
267 jsize nLen = env->GetArrayLength(buffer); in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3B()
292 env->SetByteArrayRegion(buffer,0,nBytesRead,&aData[0]); in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeInputStream_read__Ljava_lang_String_2Ljava_lang_String_2_3B()
/trunk/main/shell/source/win32/shlxthandler/infotips/
H A Dinfotips.cxx162 char buffer[3]; in formatSizeOfFile() local
165 _itoa( dFileSize, buffer, 10 ); in formatSizeOfFile()
166 return StringToWString( buffer ).append(StringToWString(" B")); in formatSizeOfFile()
169 char *buffer=NULL; in formatSizeOfFile() local
173 buffer = _fcvt( dFileSize, 1, &decimal, &sign ); in formatSizeOfFile()
175 ::std::wstring wsTemp = StringToWString( buffer ); in formatSizeOfFile()
/trunk/main/sal/osl/w32/
H A Dprofile.cxx902 copy_ustr_n( aFile, strName->buffer, strName->length+1); in osl_getProfileName()
927 pProgName = strProgName->buffer; in osl_getProfileName()
976 copy_ustr_n( aPath, strHome->buffer, strHome->length+1); in osl_getProfileName()
1008 copy_ustr_n( aPath, strConfig->buffer, strConfig->length+1 ); in osl_getProfileName()
1075 copy_ustr_n(aPath, strConfigDir->buffer, strConfigDir->length+1); in osl_getProfileName()
2432 ((strCommandArg->buffer[0] == L'-') || (strCommandArg->buffer[0] == L'+')) && in lookupProfile()
2435 sal_Unicode *pCommandArg = strCommandArg->buffer + RTL_CONSTASCII_LENGTH(SVERSION_OPTION); in lookupProfile()
2498 if ((nPos = rtl_ustr_lastIndexOfChar(strExecutable->buffer, L'\\')) == -1) in lookupProfile()
2500 if ((nPos = rtl_ustr_lastIndexOfChar(strExecutable->buffer, L':')) == -1) in lookupProfile()
2506 copy_ustr_n(aPath, strExecutable->buffer, nPos); in lookupProfile()
[all …]
/trunk/main/basic/source/runtime/
H A Ddllmgr.cxx101 variable(theVariable), buffer(theBuffer) {} in UnmarshalData()
104 void * buffer; member
197 SbxVariable * variable, bool special, MarshalData & data, void ** buffer) in marshalString() argument
199 OSL_ASSERT(variable != 0 && buffer != 0); in marshalString()
208 *buffer = address(*blob); in marshalString()
209 data.unmarshalStrings.push_back(StringData(variable, *buffer, special)); in marshalString()
454 if (data.buffer != 0) { in unmarshalString()
455 char const * p = static_cast< char const * >(data.buffer); in unmarshalString()
564 unmarshal(i->variable, i->buffer); in call()
/trunk/main/desktop/win32/source/guistdio/
H A Dguistdio.inc67 //put at the front of the buffer. We increase the number of read bytes by one to reflect
81 //Move the last byte to the front of the buffer, so that it is the start of the
92 //wchar_t at the front of the buffer. We will use the complete buffer the next time
192 //Grow the buffer if necessary
199 //If the buffer was filled completely then
201 //and the console input fits exactly in the buffer, then the next
209 //The buffer was completely filled and the last byte(s) are no
213 //Obtain the size of the buffer for the converted string.
/trunk/main/ucb/source/ucp/file/
H A Dfilstr.cxx209 sal_Int8 * buffer; in readBytes() local
212 buffer = new sal_Int8[nBytesToRead]; in readBytes()
221 if(m_aFile.read( (void* )buffer,sal_uInt64(nBytesToRead),nrc ) in readBytes()
224 delete[] buffer; in readBytes()
227 aData = uno::Sequence< sal_Int8 > ( buffer, (sal_uInt32)nrc ); in readBytes()
228 delete[] buffer; in readBytes()
/trunk/main/extensions/source/logging/
H A Dloggerconfig.cxx115 char buffer[ 30 ]; in lcl_substituteFileHandlerURLVariables_nothrow() local
116 const size_t buffer_size = sizeof( buffer ); in lcl_substituteFileHandlerURLVariables_nothrow()
118 snprintf( buffer, buffer_size, "%04i-%02i-%02i", in lcl_substituteFileHandlerURLVariables_nothrow()
122 rtl::OUString sDate = rtl::OUString::createFromAscii( buffer ); in lcl_substituteFileHandlerURLVariables_nothrow()
124 snprintf( buffer, buffer_size, "%02i-%02i-%02i.%03i", in lcl_substituteFileHandlerURLVariables_nothrow()
129 rtl::OUString sTime = rtl::OUString::createFromAscii( buffer ); in lcl_substituteFileHandlerURLVariables_nothrow()
/trunk/main/sal/rtl/source/
H A Dbootstrap.cxx173 if( ('-' == pArg->buffer[0] || '/' == pArg->buffer[0] ) && in getFromCommandLineArgs()
174 'e' == pArg->buffer[1] && in getFromCommandLineArgs()
175 'n' == pArg->buffer[2] && in getFromCommandLineArgs()
176 'v' == pArg->buffer[3] && in getFromCommandLineArgs()
177 ':' == pArg->buffer[4] ) in getFromCommandLineArgs()
179 sal_Int32 nIndex = rtl_ustr_indexOfChar( pArg->buffer, '=' ); in getFromCommandLineArgs()
184 nameValue.sName = OUString( &(pArg->buffer[5]), nIndex - 5 ); in getFromCommandLineArgs()
185 nameValue.sValue = OUString( &(pArg->buffer[nIndex+1]) ); in getFromCommandLineArgs()
858 sal_Unicode c = value->buffer[i]; in rtl_bootstrap_encode()
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/
H A DOfficeDocument.java1148 StringBuffer buffer = new StringBuffer(); in hack() local
1158 buffer.append(str.substring(0, sIndex)); in hack()
1164 buffer.append(str.substring(eIndex + 1, str.length())); in hack()
1166 buffer.append("\n"); in hack()
1175 buffer.append(str.substring(eIndex+1)); in hack()
1177 buffer.append("\n"); in hack()
1188 buffer.append(str); in hack()
1190 buffer.append("\n"); in hack()
1194 StringReader r = new StringReader(buffer.toString()); in hack()
/trunk/main/l10ntools/scripts/
H A Dfast_merge.pl37 my @buffer;
287 push @buffer, $plainline;
296 my $cnt = $#buffer+1;
299 foreach ( @buffer )
303 @buffer = ();
/trunk/main/sw/qa/complex/writer/
H A DCheckBookmarks.java70 StringBuffer buffer = new StringBuffer(""); in getBookmarksHash() local
80 buffer.append(sBookmarkname); in getBookmarksHash()
81 buffer.append(":"); in getBookmarksHash()
82 buffer.append(xBookmarkAsContent.getAnchor().getString()); in getBookmarksHash()
83 buffer.append(";"); in getBookmarksHash()
87 sha1.update(buffer.toString().getBytes()); in getBookmarksHash()
/trunk/main/libxmlsec/
H A Dxmlsec1-nssmangleciphers.patch425 - /* copy iv to our buffer*/
564 - /* we want to have the last block in the input buffer
598 - /* set correct output buffer size */
753 - "padding=%d;buffer=%d",
763 - /* set correct output buffer size */
963 - xmlSecBufferPtr buffer;
1002 - xmlSecAssert2(buffer != NULL, -1);
1006 - if(xmlSecBufferGetSize(buffer) < ctx->keySize) {
1014 - xmlSecBufferGetSize(buffer), ctx->keySize);
1021 - xmlSecAssert2(xmlSecBufferGetData(buffer) != NULL, -1);
[all …]

Completed in 134 milliseconds

12345678910>>...19