/aoo41x/main/rdbmaker/inc/codemaker/ |
H A D | registry.hxx | 36 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()
|
/aoo41x/main/connectivity/source/drivers/file/ |
H A D | quotedstring.cxx | 110 ::rtl::OUStringBuffer buffer( nLen - nStartPos); in GetTokenSpecial() 125 buffer.append( m_sString[ i ] ); // Zeichen gehoert zum Resultat-String in GetTokenSpecial() 135 buffer.append( cChar ); // Zeichen gehoert zum Resultat-String in GetTokenSpecial() 151 buffer.append( cChar ); // Zeichen gehoert zum Resultat-String in GetTokenSpecial() 155 *_rStr = buffer.makeStringAndClear(); in GetTokenSpecial()
|
/aoo41x/main/extensions/source/macosx/spotlight/ |
H A D | OOoSpotlightImporter.m | 177 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]];
|
/aoo41x/main/binaryurp/source/ |
H A D | lessoperators.cxx | 46 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 ()()
|
/aoo41x/main/jurt/source/pipe/ |
H A D | com_sun_star_lib_connections_pipe_PipeConnection.c | 340 (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()
|
/aoo41x/main/i18npool/source/textconversion/ |
H A D | textconversion_zh.cxx | 85 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()
|
/aoo41x/main/tools/source/stream/ |
H A D | stream.cxx | 2248 char buffer[256+12]; in WriteNumber() local 2260 nLen = sprintf( buffer, aFStr.GetBuffer(), nLong ); in WriteNumber() 2263 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, nLong ); in WriteNumber() 2266 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision,nLong); in WriteNumber() 2271 Write( buffer, (long)nLen ); in WriteNumber() 2277 char buffer[256+12]; in WriteNumber() local 2289 nLen = sprintf( buffer, aFStr.GetBuffer(), nUInt32 ); in WriteNumber() 2300 Write( buffer, (long)nLen ); in WriteNumber() 2307 char buffer[256+24]; in WriteNumber() local 2314 nLen = sprintf( buffer, aFStr.GetBuffer(), rDouble ); in WriteNumber() [all …]
|
/aoo41x/main/writerfilter/source/ooxml/ |
H A D | OOXMLPropertySetImpl.cxx | 616 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()
|
/aoo41x/main/connectivity/source/drivers/hsqldb/ |
H A D | StorageNativeInputStream.cxx | 105 (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()
|
/aoo41x/main/shell/source/win32/shlxthandler/infotips/ |
H A D | infotips.cxx | 162 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()
|
/aoo41x/main/xmlhelp/source/cxxhelp/provider/ |
H A D | databases.cxx | 491 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 …]
|
/aoo41x/main/cppu/source/typelib/ |
H A D | typelib.cxx | 1273 pTypeName->buffer, pTypeName->length, ':'); in typelib_typedescription_newInterfaceMethod() 1274 if (nOffset <= 0 || pTypeName->buffer[nOffset - 1] != ':') { in typelib_typedescription_newInterfaceMethod() 1278 rtl::OUString aInterfaceTypeName(pTypeName->buffer, nOffset - 1); in typelib_typedescription_newInterfaceMethod() 1366 pTypeName->buffer, pTypeName->length, ':'); in typelib_typedescription_newExtendedInterfaceAttribute() 1367 if (nOffset <= 0 || pTypeName->buffer[nOffset - 1] != ':') { in typelib_typedescription_newExtendedInterfaceAttribute() 1760 (*rInit.pWeakMap)[pTDR->pTypeName->buffer] = pTDR; in typelib_typedescription_register() 1774 …OSL_ASSERT( rtl_ustr_compare( pTDR->pTypeName->buffer, (*ppNewDescription)->pTypeName->buffer ) ==… in typelib_typedescription_register() 1786 rtl_ustr_compare( p1->pTypeName->buffer, p2->pTypeName->buffer ) == 0)); in type_equals() 2360 rInit.pWeakMap->operator[]( (*ppTDR)->pTypeName->buffer ) = *ppTDR; in typelib_typedescriptionreference_new() 2450 …OSL_ASSERT( !*ppRet || rtl_ustr_compare( pRef->pTypeName->buffer, (*ppRet)->pTypeName->buffer ) ==… in typelib_typedescriptionreference_getDescription() [all …]
|
/aoo41x/main/ucb/source/ucp/file/ |
H A D | filstr.cxx | 209 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()
|
/aoo41x/main/extensions/source/logging/ |
H A D | loggerconfig.cxx | 115 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()
|
/aoo41x/main/basic/source/runtime/ |
H A D | dllmgr.cxx | 101 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()
|
/aoo41x/main/desktop/win32/source/guistdio/ |
H A D | guistdio.inc | 67 //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.
|
/aoo41x/main/sal/osl/w32/ |
H A D | profile.cxx | 902 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 …]
|
/aoo41x/main/l10ntools/scripts/ |
H A D | fast_merge.pl | 37 my @buffer; 287 push @buffer, $plainline; 296 my $cnt = $#buffer+1; 299 foreach ( @buffer ) 303 @buffer = ();
|
/aoo41x/main/setup_native/source/win32/customactions/tools/ |
H A D | seterror.cxx | 45 TCHAR buffer[1024]; in OutputDebugStringFormat() local 49 StringCchVPrintf( buffer, sizeof(buffer), pFormat, args ); in OutputDebugStringFormat() 50 OutputDebugString( buffer ); in OutputDebugStringFormat()
|
/aoo41x/main/shell/inc/internal/ |
H A D | utilities.hxx | 104 CHAR buffer[1024]; in OutputDebugStringFormat() local 108 StringCchVPrintfA( buffer, sizeof(buffer), pFormat, args ); in OutputDebugStringFormat() 109 OutputDebugStringA( buffer ); in OutputDebugStringFormat()
|
/aoo41x/main/sal/inc/systools/win32/ |
H A D | snprintf.h | 82 _SNPRINTF_DLLIMPORT int __cdecl snwprintf( wchar_t *buffer, size_t count, const wchar_t *format, ..… 85 _SNPRINTF_DLLIMPORT int __cdecl snprintf( char *buffer, size_t count, const char *format, ... ); 90 _SNPRINTF_DLLIMPORT int __cdecl vsnwprintf( wchar_t *buffer, size_t count, const wchar_t *format, v… 93 _SNPRINTF_DLLIMPORT int __cdecl vsnprintf( char *buffer, size_t count, const char *format, va_list …
|
/aoo41x/main/sw/qa/complex/writer/ |
H A D | CheckBookmarks.java | 70 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()
|
/aoo41x/main/sal/inc/rtl/ |
H A D | strbuf.hxx | 239 pData->buffer[newLength] = '\0'; in setLength() 260 return pData->buffer[ index ]; in charAt() 266 operator const sal_Char *() const { return pData->buffer; } 271 const sal_Char* getStr() const { return pData->buffer; } in getStr() 287 pData->buffer[ index ] = ch; in setCharAt()
|
/aoo41x/main/sal/osl/unx/ |
H A D | file_path_helper.cxx | 77 …while ((pustrPath->length > 1) && (FPH_CHAR_PATH_SEPARATOR == pustrPath->buffer[pustrPath->length … in osl_systemPathRemoveSeparator() 80 pustrPath->buffer[pustrPath->length] = (sal_Unicode)'\0'; in osl_systemPathRemoveSeparator() 84 … (pustrPath->length > 1 && pustrPath->buffer[pustrPath->length - 1] != FPH_CHAR_PATH_SEPARATOR), \ in osl_systemPathRemoveSeparator() 120 …return ((0 == pustrPath) || (0 == pustrPath->length) || (pustrPath->buffer[0] != FPH_CHAR_PATH_SEP… in osl_systemPathIsRelativePath() 187 (fdp.pData->buffer[0] == FPH_CHAR_DOT) && in osl_systemPathIsHiddenFileOrDirectoryEntry()
|
/aoo41x/main/sal/rtl/source/ |
H A D | bootstrap.cxx | 173 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()
|