/trunk/main/sal/inc/systools/win32/ |
H A D | uwinapi.h | 103 #define elementsof(buf) (sizeof(buf) / sizeof((buf)[0])) argument
|
/trunk/main/sal/qa/sal/ |
H A D | test_types.cxx | 41 char buf[bufsize]; in testPrintf() local 42 int n = snprintf(buf, bufsize, format, argument); in testPrintf() 44 ASSERT_TRUE(strcmp(buf, result) == 0); in testPrintf()
|
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/palm/ |
H A D | PalmDocument.java | 105 byte[] buf = new byte[4096]; in read() 107 while ((n = is.read(buf)) > 0) { in read() 108 baos.write(buf, 0, n); in read()
|
/trunk/main/connectivity/source/drivers/hsqldb/ |
H A D | HStorageAccess.cxx | 437 jbyte *buf = env->GetByteArrayElements(buffer,NULL); in write_to_storage_stream_from_buffer() local 443 OSL_ENSURE(buf,"buf is NULL"); in write_to_storage_stream_from_buffer() 444 if ( buf && len > 0 && len <= env->GetArrayLength(buffer)) in write_to_storage_stream_from_buffer() 446 Sequence< ::sal_Int8 > aData(buf + off,len); in write_to_storage_stream_from_buffer() 447 env->ReleaseByteArrayElements(buffer, buf, JNI_ABORT); in write_to_storage_stream_from_buffer()
|
/trunk/main/sal/osl/unx/ |
H A D | uunxapi.cxx | 111 int lstat_u(const rtl_uString* pustrPath, struct stat* buf) in lstat_u() argument 114 return lstat(OUStringToOString(pustrPath).getStr(), buf); in lstat_u() 116 return lstat(macxp_resolveAliasAndConvert(pustrPath).getStr(), buf); in lstat_u()
|
H A D | process.c | 224 char buf[2]; /* send_fd()/recv_fd() 2-byte protocol */ in sendFdPipe() local 233 iov[0].iov_base = buf; in sendFdPipe() 234 iov[0].iov_len = sizeof(buf); in sendFdPipe() 242 buf[1] = 0; /* zero status means OK */ in sendFdPipe() 243 buf[0] = 0; /* null byte flag to recv_fd() */ in sendFdPipe() 252 iov[0].iov_base = buf; in sendFdPipe() 253 iov[0].iov_len = sizeof(buf); in sendFdPipe()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/helper/ |
H A D | FileTools.java | 92 byte[] buf = new byte[1024]; in copyFile() 94 while ((len = in.read(buf)) > 0) { in copyFile() 95 out.write(buf, 0, len); in copyFile()
|
/trunk/main/scripting/java/com/sun/star/script/framework/provider/beanshell/ |
H A D | ScriptSourceModel.java | 43 StringBuffer buf = new StringBuffer(); in load() local 50 buf.append(new String(contents, 0, len)); in load() 59 return buf.toString(); in load()
|
/trunk/main/sal/qa/rtl_strings/ |
H A D | rtl_OString.cxx | 3027 char buf[MAXBUFLENGTH]; in test_toInt32() local 3028 buf[0] = '\''; in test_toInt32() 3029 cpynstr( buf + 1, in[i], MAXBUFLENGTH ); in test_toInt32() 3031 buf[length + 1] = '\''; in test_toInt32() 3032 buf[length + 2] = 0; in test_toInt32() 3038 buf, in test_toInt32() 3217 char buf[MAXBUFLENGTH]; in test_toInt64() local 3218 buf[0] = '\''; in test_toInt64() 3221 buf[length + 1] = '\''; in test_toInt64() 3222 buf[length + 2] = 0; in test_toInt64() [all …]
|
/trunk/main/scripting/workben/mod/_scripting/ |
H A D | TestDataLoader.java | 108 StringBuffer buf = new StringBuffer(tokens.nextToken()); in getParameters() local 110 buf.append(separator).append(tokens.nextToken()); in getParameters() 111 value = buf.toString(); in getParameters()
|
/trunk/main/rsc/source/parser/ |
H A D | rscpar.cxx | 209 char buf[ 10 ]; in GetNewLine() local 211 sprintf( buf, "%5d ", (int)GetLineNo() ); in GetNewLine() 212 pTypCont->pEH->LstOut( buf ); in GetNewLine()
|
/trunk/main/offapi/com/sun/star/plugin/ |
H A D | XPluginContext.idl | 115 @param buf 125 [in] sequence<byte> buf, 138 @param buf 146 [in] sequence<byte> buf,
|
/trunk/main/scripting/source/runtimemgr/ |
H A D | ScriptRuntimeManager.cxx | 102 OUStringBuffer* buf( 80 ); in getScriptRuntime() local 103 … buf.appendAscii("/singletons/drafts.com.sun.star.script.framework.runtime.theScriptRuntimeFor"); in getScriptRuntime() 104 buf.append(sinfo->getLanguage()); in getScriptRuntime() 106 xInterface.set( m_xContext->getValueByName( buf.makeStringAndClear() ), UNO_QUERY_THROW ); in getScriptRuntime()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simreg/ |
H A D | SimpleRegistry.java | 85 byte[] buf = new byte[1024] ; in copyFile() 87 while ((bytesRead = fIn.read(buf)) > 0) in copyFile() 88 fOut.write(buf, 0, bytesRead) ; in copyFile()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simplereg.uno/ |
H A D | SimpleRegistry.java | 82 byte[] buf = new byte[1024] ; in copyFile() 84 while ((bytesRead = fIn.read(buf)) > 0) in copyFile() 85 fOut.write(buf, 0, bytesRead) ; in copyFile()
|
/trunk/main/cli_ure/source/climaker/ |
H A D | climaker_app.cxx | 434 OUStringBuffer buf; in SAL_IMPLEMENT_MAIN() local 435 buf.appendAscii( in SAL_IMPLEMENT_MAIN() 437 buf.append( cmd_arg ); in SAL_IMPLEMENT_MAIN() 438 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( in SAL_IMPLEMENT_MAIN() 442 buf.makeStringAndClear(), in SAL_IMPLEMENT_MAIN()
|
/trunk/main/jvmfwk/source/ |
H A D | fwkbase.cxx | 617 rtl::OUStringBuffer buf; in getApplicationClassPath() local 631 if (buf.getLength() > 0) in getApplicationClassPath() 632 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( in getApplicationClassPath() 634 buf.append( systemPathElement ); in getApplicationClassPath() 639 return buf.makeStringAndClear(); in getApplicationClassPath()
|
/trunk/main/comphelper/source/misc/ |
H A D | string.cxx | 95 ::rtl::OUStringBuffer buf; in convertCommaSeparated() 98 ::comphelper::OUStringBufferAppender(buf), in convertCommaSeparated() 100 return buf.makeStringAndClear(); in convertCommaSeparated()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_nestedreg.uno/ |
H A D | NestedRegistry.java | 99 byte[] buf = new byte[1024] ; in copyFile() 101 while ((bytesRead = fIn.read(buf)) > 0) in copyFile() 102 fOut.write(buf, 0, bytesRead) ; in copyFile()
|
/trunk/main/desktop/source/deployment/registry/package/ |
H A D | dp_package.cxx | 1091 ::rtl::OUStringBuffer buf; in exportTo() 1092 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.zip://") ); in exportTo() 1093 buf.append( ::rtl::Uri::encode( destURL, in exportTo() 1097 buf.append( static_cast<sal_Unicode>('/') ); in exportTo() 1098 OUString destFolder( buf.makeStringAndClear() ); in exportTo() 1546 ::rtl::OUStringBuffer buf; in scanBundle() 1549 buf.append( OUString( reinterpret_cast<sal_Char const *>( in scanBundle() 1555 buf.append( Package::getDescription() ); in scanBundle() 1557 m_oldDescription = buf.makeStringAndClear(); in scanBundle()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_defreg/ |
H A D | NestedRegistry.java | 102 byte[] buf = new byte[1024] ; in copyFile() 104 while ((bytesRead = fIn.read(buf)) > 0) in copyFile() 105 fOut.write(buf, 0, bytesRead) ; in copyFile()
|
/trunk/main/svx/source/dialog/ |
H A D | charmap.cxx | 360 rtl::OUStringBuffer buf; in DrawChars_Impl() local 361 buf.appendUtf32( maFontCharMap.GetCharFromIndex( i ) ); in DrawChars_Impl() 362 String aCharStr(buf.makeStringAndClear()); in DrawChars_Impl() 686 rtl::OUStringBuffer buf; in ImplGetItem() local 687 buf.appendUtf32( maFontCharMap.GetCharFromIndex( _nPos ) ); in ImplGetItem() 688 aFind->second->maText = buf.makeStringAndClear(); in ImplGetItem()
|
/trunk/main/test/source/java/org/openoffice/test/ |
H A D | OfficeConnection.java | 190 byte[] buf = new byte[1024]; in run() 193 n = in.read(buf); in run() 200 out.write(buf, 0, n); in run()
|
/trunk/main/sal/qa/osl/file/ |
H A D | osl_old_test_file.cxx | 157 char buf[PATH_MAX]; in TEST_F() local 158 if( getcwd( buf, PATH_MAX ) ) in TEST_F() 161 strcpy( buf2 , buf ); in TEST_F()
|
/trunk/main/sal/workben/ |
H A D | t_digest.c | 155 static char buf[80]; in pt() local 158 sprintf(&(buf[i*2]),"%02x",md[i]); in pt() 160 return(buf); in pt()
|