/aoo41x/main/extensions/source/logging/ |
H A D | plaintextformatter.cxx | 127 char buffer[ 30 ]; in format() local 128 const int buffer_size = sizeof( buffer ); in format() 129 int used = snprintf( buffer, buffer_size, "%10i", (int)_rRecord.SequenceNumber ); in format() 131 buffer[ buffer_size - 1 ] = 0; in format() 134 aLogEntry.appendAscii( buffer ); in format() 138 snprintf( buffer, buffer_size, "%8s", sThreadID.getStr() ); in format() 139 aLogEntry.appendAscii( buffer ); in format() 142 snprintf( buffer, buffer_size, "%04i-%02i-%02i %02i:%02i:%02i.%02i", in format() 145 aLogEntry.appendAscii( buffer ); in format()
|
/aoo41x/main/sal/osl/os2/ |
H A D | security.c | 148 sal_Char buffer[32]; in osl_psz_getUserIdent() local 156 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent() 157 if ( nChr < 0 || nChr >= sizeof(buffer) || nChr >= nMax ) in osl_psz_getUserIdent() 160 memcpy(pszIdent, buffer, nChr+1); in osl_psz_getUserIdent() 225 char buffer[8192]; in osl_psz_getHomeDir() local 231 if ( 0 != getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer), &ppwd ) ) in osl_psz_getHomeDir() 234 ppwd = getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer) ); in osl_psz_getHomeDir()
|
/aoo41x/main/pyuno/zipcore/ |
H A D | python.cxx | 44 wchar_t * encode(wchar_t * buffer, wchar_t const * text) { in encode() argument 45 *buffer++ = L'"'; in encode() 54 *buffer++ = L'\\'; in encode() 56 *buffer++ = L'\\'; in encode() 57 *buffer++ = L'"'; in encode() 60 *buffer++ = L'\\'; in encode() 63 *buffer++ = c; in encode() 70 *buffer++ = L'\\'; in encode() 72 *buffer++ = L'"'; in encode() 73 return buffer; in encode()
|
/aoo41x/main/connectivity/source/drivers/hsqldb/ |
H A D | HStorageAccess.cxx | 232 jsize nLen = env->GetArrayLength(buffer); in read_from_storage_stream_into_buffer() 255 env->SetByteArrayRegion(buffer,off,nBytesRead,&aData[0]); in read_from_storage_stream_into_buffer() 276 (JNIEnv * env, jobject obj_this,jstring name, jstring key, jbyteArray buffer, jint off, jint len) in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_read__Ljava_lang_String_2Ljava_lang_String_2_3BII() argument 283 …return read_from_storage_stream_into_buffer( env, obj_this, name, key, buffer, off, len, &aDataLog… in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_read__Ljava_lang_String_2Ljava_lang_String_2_3BII() 285 return read_from_storage_stream_into_buffer( env, obj_this, name, key, buffer, off, len ); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_read__Ljava_lang_String_2Ljava_lang_String_2_3BII() 437 jbyte *buf = env->GetByteArrayElements(buffer,NULL); in write_to_storage_stream_from_buffer() 444 if ( buf && len > 0 && len <= env->GetArrayLength(buffer)) in write_to_storage_stream_from_buffer() 447 env->ReleaseByteArrayElements(buffer, buf, JNI_ABORT); in write_to_storage_stream_from_buffer() 477 (JNIEnv * env, jobject obj_this,jstring name, jstring key, jbyteArray buffer, jint off, jint len) in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_write() argument 484 write_to_storage_stream_from_buffer( env, obj_this, name, key, buffer, off, len, &aDataLog ); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_write() [all …]
|
H A D | StorageNativeOutputStream.cxx | 90 (JNIEnv * env, jobject obj_this, jstring key, jstring name, jbyteArray buffer, jint off, jint len) in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_write__Ljava_lang_String_2Ljava_lang_String_2_3BII() argument 96 write_to_storage_stream_from_buffer( env, obj_this, name, key, buffer, off, len, &aDataLog ); in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_write__Ljava_lang_String_2Ljava_lang_String_2_3BII() 98 write_to_storage_stream_from_buffer( env, obj_this, name, key, buffer, off, len ); in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_write__Ljava_lang_String_2Ljava_lang_String_2_3BII() 108 (JNIEnv * env, jobject obj_this, jstring key, jstring name, jbyteArray buffer) in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_write__Ljava_lang_String_2Ljava_lang_String_2_3B() argument 114 …to_storage_stream_from_buffer( env, obj_this, name, key, buffer, 0, env->GetArrayLength( buffer ),… in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_write__Ljava_lang_String_2Ljava_lang_String_2_3B() 116 …to_storage_stream_from_buffer( env, obj_this, name, key, buffer, 0, env->GetArrayLength( buffer ) … in Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_write__Ljava_lang_String_2Ljava_lang_String_2_3B()
|
/aoo41x/main/sal/workben/ |
H A D | t_digest.c | 170 unsigned char buffer[1000]; in main() local 237 memset (buffer, 'a', sizeof(buffer)); in main() 242 rtl_digest_updateSHA (Digest, buffer, sizeof(buffer)); in main() 278 memset (buffer, 'a', sizeof(buffer)); in main() 283 rtl_digest_updateSHA1 (Digest, buffer, sizeof(buffer)); in main()
|
/aoo41x/main/writerfilter/source/resourcemodel/ |
H A D | TagLogger.cxx | 50 static char buffer[256]; in addAttr() local 51 snprintf(buffer, sizeof(buffer), "%" SAL_PRIdINT32, nValue); in addAttr() 52 addAttr(sName, buffer); in addAttr() 61 static char buffer[256]; in addAttr() local 68 snprintf(buffer, sizeof(buffer), "%" SAL_PRIdINT32, in addAttr() 71 aTmpStrInt = buffer; in addAttr() 83 snprintf(buffer, sizeof(buffer), "%f", in addAttr() 86 aTmpStrFloat = buffer; in addAttr()
|
/aoo41x/main/sal/qa/rtl/strings/ |
H A D | test_oustringbuffer_utf32.cxx | 52 void appendString(rtl::OUStringBuffer & buffer, rtl::OUString const & string) { in appendString() argument 53 buffer.append(static_cast< sal_Unicode >('"')); in appendString() 55 buffer.appendAscii(RTL_CONSTASCII_STRINGPARAM("\\u")); in appendString() 58 buffer.append(static_cast< sal_Unicode >('0')); in appendString() 60 buffer.append(static_cast< sal_Unicode >('0')); in appendString() 62 buffer.append(static_cast< sal_Unicode >('0')); in appendString() 66 buffer.append( in appendString() 69 buffer.append(static_cast< sal_Unicode >('"')); in appendString()
|
H A D | test_oustring_endswith.cxx | 53 void appendString(rtl::OStringBuffer & buffer, rtl::OString const & string) in appendString() argument 55 buffer.append('"'); in appendString() 59 buffer.append('\\'); in appendString() 63 buffer.append('0'); in appendString() 65 buffer.append(n, 16); in appendString() 67 buffer.append(c); in appendString() 70 buffer.append('"'); in appendString()
|
/aoo41x/main/sal/osl/unx/ |
H A D | process_impl.cxx | 86 char buffer[PATH_MAX]; in osl_bootstrap_getExecutableFile_Impl() local 87 size_t buflen = sizeof(buffer); in osl_bootstrap_getExecutableFile_Impl() 90 if (_NSGetExecutablePath (buffer, (uint32_t*)&buflen) == 0) in osl_bootstrap_getExecutableFile_Impl() 92 if (_NSGetExecutablePath (buffer, &buflen) == 0) in osl_bootstrap_getExecutableFile_Impl() 97 if (realpath (buffer, abspath) != 0) in osl_bootstrap_getExecutableFile_Impl() 433 char buffer[PATH_MAX]; in osl_getProcessWorkingDir() local 437 if (getcwd (buffer, sizeof(buffer)) != 0) in osl_getProcessWorkingDir() 443 buffer, strlen(buffer), osl_getThreadTextEncoding(), in osl_getProcessWorkingDir()
|
H A D | backtrace.h | 33 int backtrace( void **buffer, int max_frames ); 35 void backtrace_symbols_fd( void **buffer, int size, int fd ); 61 int backtrace( void **buffer, int max_frames ); 63 void backtrace_symbols_fd( void **buffer, int size, int fd ); 87 int backtrace( void **buffer, int max_frames ); 89 void backtrace_symbols_fd( void **buffer, int size, int fd );
|
/aoo41x/main/sal/rtl/source/ |
H A D | cmdargs.cxx | 67 if (('-' == pArg->buffer[0] || '/' == pArg->buffer[0]) && in init() 68 'e' == pArg->buffer[1] && in init() 69 'n' == pArg->buffer[2] && in init() 70 'v' == pArg->buffer[3] && in init() 71 ':' == pArg->buffer[4] && in init() 72 rtl_ustr_indexOfChar (&(pArg->buffer[5]), '=') >= 0 ) in init()
|
/aoo41x/main/setup_native/source/win32/customactions/shellextensions/ |
H A D | vistaspecial.cxx | 58 CHAR buffer[1024]; in OutputDebugStringFormat() local 62 StringCchVPrintfA( buffer, sizeof(buffer), pFormat, args ); in OutputDebugStringFormat() 63 OutputDebugStringA( buffer ); in OutputDebugStringFormat() 81 LPTSTR buffer = reinterpret_cast<LPTSTR>(_alloca(nBytes)); in GetMsiProperty() local 82 ZeroMemory( buffer, nBytes ); in GetMsiProperty() 83 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty() 84 result = buffer; in GetMsiProperty()
|
H A D | checkrunningoffice.cxx | 59 _TCHAR buffer[1024]; in OutputDebugStringFormat() local 63 _vsntprintf( buffer, elementsof(buffer), pFormat, args ); in OutputDebugStringFormat() 64 OutputDebugString( buffer ); in OutputDebugStringFormat() 81 LPTSTR buffer = reinterpret_cast<LPTSTR>(_alloca(nBytes)); in GetMsiProperty() local 82 ZeroMemory( buffer, nBytes ); in GetMsiProperty() 83 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty() 84 result = buffer; in GetMsiProperty()
|
/aoo41x/main/registry/source/ |
H A D | reflread.cxx | 145 memcpy(newBuffer, buffer, len); in BlopObject() 150 m_pBuffer = buffer; in BlopObject() 216 sal_uInt16 StringCache::createString(const sal_uInt8* buffer) in createString() argument 220 sal_uInt32 len = UINT16StringLen(buffer); in createString() 247 ConstantPool(const sal_uInt8* buffer, sal_uInt16 numEntries) in ConstantPool() argument 248 : BlopObject(buffer, 0, sal_False) in ConstantPool() 594 : BlopObject(buffer, 0, sal_False) in FieldList() 763 : BlopObject(buffer, 0, sal_False) in ReferenceList() 857 : BlopObject(buffer, 0, sal_False) in MethodList() 1158 void const * buffer, sal_uInt32 length, sal_Bool copy, in typereg_reader_create() argument [all …]
|
H A D | reflwrit.cxx | 117 sal_uInt8* buff = buffer; in writeString() 124 return (buff - buffer); in writeString() 131 sal_uInt8* buff = (sal_uInt8*)buffer; in readString() 144 return (buff - ((sal_uInt8*)buffer)); in readString() 158 writeUINT32(buffer, x.b); in writeFloat() 182 writeUINT32(buffer, x.b.b1); in writeDouble() 185 writeUINT32(buffer, x.b.b2); in writeDouble() 225 sal_uInt32 toBlop(sal_uInt8* buffer); 293 sal_uInt32 CPInfo::toBlop(sal_uInt8* buffer) in toBlop() argument 295 sal_uInt8* buff = buffer; in toBlop() [all …]
|
/aoo41x/main/setup_native/source/win32/customactions/languagepacks/ |
H A D | checkrunningofficelanguagepack.cxx | 59 _TCHAR buffer[1024]; in OutputDebugStringFormat() local 63 _vsntprintf( buffer, elementsof(buffer), pFormat, args ); in OutputDebugStringFormat() 64 OutputDebugString( buffer ); in OutputDebugStringFormat() 81 LPTSTR buffer = reinterpret_cast<LPTSTR>(_alloca(nBytes)); in GetMsiProperty() local 82 ZeroMemory( buffer, nBytes ); in GetMsiProperty() 83 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty() 84 result = buffer; in GetMsiProperty()
|
/aoo41x/main/registry/tools/ |
H A D | options.cxx | 92 std::string buffer; in checkCommandFile() local 93 buffer.reserve(256); in checkCommandFile() 110 if (!buffer.empty()) in checkCommandFile() 112 if (!checkArgument(rArgs, buffer.c_str(), buffer.size())) in checkCommandFile() 118 buffer.clear(); in checkCommandFile() 124 buffer.push_back(sal::static_int_cast<char>(c)); in checkCommandFile()
|
/aoo41x/main/sal/osl/w32/ |
H A D | module.cxx | 53 RTL_LOGFILE_TRACE1( "{ osl_loadModule start: %S", (LPTSTR)&strModuleName->buffer ); in osl_loadModule() 64 hInstance = LoadLibraryW(reinterpret_cast<LPCWSTR>(Module->buffer)); in osl_loadModule() 67 hInstance = LoadLibraryExW(reinterpret_cast<LPCWSTR>(Module->buffer), NULL, in osl_loadModule() 78 DWORD len = GetShortPathNameW(reinterpret_cast<LPCWSTR>(Module->buffer), in osl_loadModule() 98 RTL_LOGFILE_TRACE1( "} osl_loadModule end: %S", (LPTSTR)&strModuleName->buffer ); in osl_loadModule() 122 HINSTANCE hInstance = GetModuleHandleW(reinterpret_cast<LPCWSTR>(pModuleName->buffer)); in osl_getModuleHandle() 172 strSymbolName->buffer, in osl_getFunctionSymbol() 422 #define bufsizeof(buffer) (sizeof(buffer) / sizeof((buffer)[0])) argument
|
H A D | pipe.c | 188 pPipe->m_NamedObject = CreateMutexW( NULL, FALSE, name->buffer ); in osl_createPipe() 194 nCharsNeeded = WideCharToMultiByte( CP_ACP, 0, name->buffer, name->length, NULL, 0, NULL, NULL ); in osl_createPipe() 196 …nCharsNeeded = WideCharToMultiByte( CP_ACP, 0, name->buffer, name->length, pszTempBuffer, nCharsNe… in osl_createPipe() 213 path->buffer, in osl_createPipe() 234 … nCharsNeeded = WideCharToMultiByte( CP_ACP, 0, path->buffer, path->length, NULL, 0, NULL, NULL ); in osl_createPipe() 236 …nCharsNeeded = WideCharToMultiByte( CP_ACP, 0, path->buffer, path->length, pszTempBuffer, nCharsNe… in osl_createPipe() 266 fPipeAvailable = WaitNamedPipeW(path->buffer, NMPWAIT_WAIT_FOREVER); in osl_createPipe() 272 path->buffer, in osl_createPipe() 300 nCharsNeeded = WideCharToMultiByte( CP_ACP, 0, path->buffer, path->length, NULL, 0, NULL, NULL ); in osl_createPipe() 302 …nCharsNeeded = WideCharToMultiByte( CP_ACP, 0, path->buffer, path->length, pszTempBuffer, nCharsNe… in osl_createPipe() [all …]
|
/aoo41x/main/svx/workben/msview/ |
H A D | xmlconfig.cxx | 378 char buffer[128]; in dump_hex() local 390 sprintf( buffer, "%02x ", i ); in dump_hex() 426 char buffer[128]; in dump_byte() local 427 sprintf( buffer, "%u", (int)c ); in dump_byte() 428 aRet += OUString::createFromAscii( buffer ); in dump_byte() 443 char buffer[128]; in dump_uint() local 444 sprintf( buffer, "%u", c ); in dump_uint() 445 aRet += OUString::createFromAscii( buffer ); in dump_uint() 468 char buffer[128]; in dump_float() local 469 sprintf( buffer, "%g", (double)c ); in dump_float() [all …]
|
/aoo41x/main/setup_native/source/win32/customactions/rebase/ |
H A D | rebase.cxx | 52 CHAR buffer[1024]; in OutputDebugStringFormat() local 56 StringCchVPrintfA( buffer, sizeof(buffer), pFormat, args ); in OutputDebugStringFormat() 57 OutputDebugStringA( buffer ); in OutputDebugStringFormat() 79 LPTSTR buffer = reinterpret_cast<LPTSTR>(_alloca(nBytes)); in GetMsiProperty() local 80 ZeroMemory( buffer, nBytes ); in GetMsiProperty() 81 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty() 82 result = buffer; in GetMsiProperty()
|
/aoo41x/main/odk/source/com/sun/star/lib/loader/ |
H A D | WinRegKey.java | 74 byte[] buffer = new byte[bsize]; 75 while ( ( n = istream.read( buffer, 0, bsize ) ) != -1 ) { 76 ostream.write( buffer, 0, n ); in ostream.write() argument 167 byte[] buffer = new byte[ (int) maxValueLen[0] ]; in getValue() 169 size[0] = buffer.length; in getValue() 172 if ( !winreg_RegQueryValueEx( hkey[0], valueName, type, buffer, in getValue() 192 System.arraycopy( buffer, 0, result, 0, (int)size[0] ); in getValue()
|
/aoo41x/main/offapi/com/sun/star/rendering/ |
H A D | XBufferController.idl | 35 /** Interface providing access to double/multi-buffer facilities of 47 There's one buffer implicitely available, which is the canvas 72 /** Switch the display to show the specified buffer.<p> 75 selected buffer is shown on screen, or immediately when an 98 /** Schedule the display of the specified buffer.<p> 100 The method returns, when the switching of the buffer is 104 if the buffer switching is exceedingly slow, or the frequency 105 of switchBuffer() is exceedingly high, the buffer scheduled 108 any rendering operation to this buffer will block, until it is
|
/aoo41x/main/ucb/source/ucp/ftp/ |
H A D | ftpurl.cxx | 112 return _stream->append(buffer,size,nmemb); in memory_write() 165 char *buffer = new char[1+aIdent.getLength()]; in parse() local 170 char *p1 = buffer; // determine "username:password@host:port" in parse() 175 rtl::OUString aExpr(rtl::OUString(buffer,strlen(buffer), in parse() 210 p1 = buffer; in parse() 215 if(buffer[0]) { in parse() 216 if(strcmp(buffer,"..") == 0 && in parse() 220 else if(strcmp(buffer,".") == 0) in parse() 225 rtl::OUString(buffer, in parse() 226 strlen(buffer), in parse() [all …]
|