Home
last modified time | relevance | path

Searched refs:buffer (Results 76 – 100 of 456) sorted by relevance

12345678910>>...19

/trunk/main/sal/osl/unx/
H A Dsignal.c338 sal_uInt8 buffer[4096]; in calc_md5_checksum() local
342 0 != (nBytesRead = fread( buffer, 1, sizeof(buffer), fp )) ) in calc_md5_checksum()
344 error = rtl_digest_updateMD5( digest, buffer, nBytesRead ); in calc_md5_checksum()
433 char buffer[100]; in callback() local
442 snprintf(buffer, sizeof(buffer), "/proc/%d/exe", getpid()); in callback()
443 if ((len = readlink(buffer, exe, PATH_MAX)) != -1) in callback()
818 void *buffer[MAX_STACK_FRAMES]; in PrintStack() local
819 int size = backtrace( buffer, sizeof(buffer) / sizeof(buffer[0]) ); in PrintStack()
830 backtrace_symbols_fd( buffer, size, fileno(stderr) ); in PrintStack()
H A Dbacktrace.h33 int backtrace( void **buffer, int max_frames );
35 void backtrace_symbols_fd( void **buffer, int size, int fd );
59 int backtrace( void **buffer, int max_frames );
61 void backtrace_symbols_fd( void **buffer, int size, int fd );
85 int backtrace( void **buffer, int max_frames );
87 void backtrace_symbols_fd( void **buffer, int size, int fd );
H A Dfile.cxx449 sal_uInt8 * buffer = static_cast<sal_uInt8*>(pBuffer); in readFileAt() local
467 result = readAt (nOffset, &(buffer[*pBytesRead]), nBytesRequested, &uDone); in readFileAt()
491 memcpy (&(buffer[*pBytesRead]), &(m_buffer[bufpos]), bytes); in readFileAt()
520 sal_uInt8 const * buffer = static_cast<sal_uInt8 const *>(pBuffer); in writeFileAt() local
558 memcpy (&(m_buffer[bufpos]), &(buffer[*pBytesWritten]), bytes); in writeFileAt()
838 char buffer[PATH_MAX]; in osl_openFile() local
839 eRet = FileURLToPath (buffer, sizeof(buffer), ustrFileURL); in osl_openFile()
843 if (macxp_resolveAlias (buffer, sizeof(buffer)) != 0) in osl_openFile()
868 flags = osl_file_adjustLockFlags (buffer, flags); in osl_openFile()
872 int fd = open( buffer, flags, mode ); in osl_openFile()
[all …]
/trunk/main/sal/osl/w32/
H A Dfile_url.cxx237 LPCTSTR lpszPath = reinterpret_cast< LPCTSTR >(path->buffer); in IsValidFilePath()
370 lpszPath = reinterpret_cast< LPCTSTR >((*corrected)->buffer); in IsValidFilePath()
730 …0 != rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( strURL->buffer, strURL->length, "f… in _osl_getSystemPathFromFileURL()
878 …rtl_uString_newFromStr_WithLength( &strBuffer, strPath->buffer + nIgnore - 2, nLength - nIgnore + … in _osl_getFileURLFromSystemPath()
879 strBuffer->buffer[0] = '\\'; in _osl_getFileURLFromSystemPath()
891 … rtl_uString_newFromStr_WithLength( &strBuffer, strPath->buffer + nIgnore, nLength - nIgnore ); in _osl_getFileURLFromSystemPath()
1003 …h && ustrSystemSearchPath->length ? reinterpret_cast<LPCTSTR>(ustrSystemSearchPath->buffer) : NULL; in osl_searchFileURL()
1004 LPCTSTR lpszSearchFile = reinterpret_cast<LPCTSTR>(ustrSysPath->buffer); in osl_searchFileURL()
1032 hFind = FindFirstFile( reinterpret_cast<LPCTSTR>(ustrSysPath->buffer), &aFindFileData ); in osl_searchFileURL()
1093 SetCurrentDirectoryW( reinterpret_cast<LPCWSTR>(ustrBaseSysPath->buffer) ); in osl_getAbsoluteFileURL()
[all …]
H A Dfile_dirvol.cxx407 if ( pPath->buffer[nLen - 1] != L'\\' ) in OpenDirectory()
524 if ( nLen && pDirImpl->m_pDirectoryPath->buffer[nLen - 1] != L'\\' ) in osl_openLocalRoot()
589 if ( nLen && pDirImpl->m_pDirectoryPath->buffer[nLen - 1] != L'\\' ) in osl_openFileDirectory()
632 aNetResource.lpRemoteName = reinterpret_cast<LPWSTR>(strSysDirPath->buffer); in osl_openNetworkServer()
715 if ((w32_error != ERROR_PATH_NOT_FOUND) || !has_path_parent(dir_path->buffer)) in create_dir_recursively_()
723 dir_path->buffer[pos] = BACKSLASH; // restore in create_dir_recursively_()
849 BYTE buffer[16384]; in osl_getNextNetResource() local
850 LPNETRESOURCEW lpNetResource = (LPNETRESOURCEW)buffer; in osl_getNextNetResource()
863 dwBufSize = sizeof(buffer); in osl_getNextNetResource()
1115 …while( iSrc < strSysFilePath->length && strSysFilePath->buffer[iSrc] && strSysFilePath->buffer[iSr… in osl_getDirectoryItem()
[all …]
/trunk/main/offapi/com/sun/star/rendering/
H A DXBufferController.idl35 /** Interface providing access to double/multi-buffer facilities of
47 There's one buffer implicitly 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
/trunk/main/svtools/source/filter/jpeg/
H A Djpeg.cxx101 JOCTET * buffer; /* start of buffer */ member
111 dest->buffer = (JOCTET *) in init_destination()
115 dest->pub.next_output_byte = dest->buffer; in init_destination()
123 if (dest->outfile->Write(dest->buffer, BUF_SIZE) != in empty_output_buffer()
127 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
175 JOCTET * buffer; /* start of buffer */ member
229 nbytes = StreamRead(src->infile, src->buffer, BUF_SIZE); in fill_input_buffer()
236 src->buffer[0] = (JOCTET) 0xFF; in fill_input_buffer()
237 src->buffer[1] = (JOCTET) JPEG_EOI; in fill_input_buffer()
241 src->pub.next_input_byte = src->buffer; in fill_input_buffer()
[all …]
/trunk/main/odk/source/com/sun/star/lib/loader/
H A DWinRegKey.java74 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()
/trunk/main/shell/source/backends/localebe/
H A Dlocalebackend.cxx97 void OUStringBufferAppendCFString(rtl::OUStringBuffer& buffer, const CFStringRef s) in OUStringBufferAppendCFString() argument
101 buffer.append(CFStringGetCharacterAtIndex(s, i)); in OUStringBufferAppendCFString()
203 TCHAR buffer[8]; in ImplGetLocale() local
204 LPTSTR cp = buffer; in ImplGetLocale()
206 cp += GetLocaleInfo( lcid, LOCALE_SISO639LANGNAME , buffer, 4 ); in ImplGetLocale()
207 if( cp > buffer ) in ImplGetLocale()
209 if( 0 < GetLocaleInfo( lcid, LOCALE_SISO3166CTRYNAME, cp, buffer + 8 - cp) ) in ImplGetLocale()
213 return rtl::OUString::createFromAscii(buffer); in ImplGetLocale()
/trunk/main/nss/
H A Dnss_sizes.patch41 * The unwrapped/raw signature is placed in the buffer pointed
158 + PORT_Memcpy(cx->u.buffer, sig->data, sigLen);
168 + rv = decodeECorDSASignature(encAlg, sig, cx->u.buffer, sigLen);
171 - PORT_Memcpy(cx->u.buffer, sig->data, sigLen);
183 - rv = decodeECorDSASignature(encAlg, sig, cx->u.buffer, sigLen);
207 - dsasig.data = cx->u.buffer;
217 + dsasig.data = cx->u.buffer;
225 rsasig.data = cx->u.buffer;
254 dsasig.data = cx->u.buffer;
/trunk/main/store/workben/
H A Dt_file.cxx71 …if (rtl_ustr_ascii_shortenedCompare_WithLength(aPath.pData->buffer, aPath.pData->length, "file://"… in main()
124 sal_Char buffer[TEST_PAGESIZE]; in main() local
125 rtl_fillMemory (buffer, sizeof(buffer), sal_uInt8('B')); in main()
131 buffer[index] = 'A'; in main()
166 offset + index, &(buffer[index]), TEST_PAGESIZE / 4); in main()
215 &verify[index], &buffer[index], TEST_PAGESIZE - index)) in main()
H A Dt_base.cxx186 newString, value->buffer, value->length);
214 rKey.m_nLow = rtl_crc32 (0, pszNameA->buffer, pszNameA->length); in __store_namei()
215 rKey.m_nHigh = rtl_crc32 (0, pszPathA->buffer, pszPathA->length); in __store_namei()
284 pszFileA->buffer, pszFileA->length, in __store_testUnicode()
292 __store_namei (pszFileW->buffer, pszFileW->buffer, aKey); in __store_testUnicode()
297 pszFileW->buffer, pszFileW->length, in __store_testUnicode()
/trunk/main/sal/rtl/source/
H A Dustrbuf.c52 rtl_copyMemory( (*newStr)->buffer, value, count * sizeof(sal_Unicode)); in rtl_uStringbuffer_newFromStr_WithLength()
72 rtl_copyMemory( (*newStr)->buffer, oldStr->buffer, oldStr->length * sizeof(sal_Unicode)); in rtl_uStringbuffer_newFromStringBuffer()
96 rtl_copyMemory( (*This)->buffer, pTmp->buffer, pTmp->length * sizeof(sal_Unicode) ); in rtl_uStringbuffer_ensureCapacity()
123 pBuf = (*This)->buffer; in rtl_uStringbuffer_insert()
180 pBuf = (*This)->buffer; in rtl_uStringbuffer_insert_ascii()
H A Dstring.c79 rtl_copyMemory(pStr, pResult->buffer, (nLen + 1) * sizeof(sal_Char)); in rtl_str_valueOfFloat()
94 rtl_copyMemory(pStr, pResult->buffer, (nLen + 1) * sizeof(sal_Char)); in rtl_str_valueOfDouble()
206 pBuffer = (*pTarget)->buffer; in rtl_impl_convertUStringToString()
247 pTemp->buffer, nNewLen, in rtl_impl_convertUStringToString()
275 rtl_str_ImplCopy( pTemp2->buffer, pTemp->buffer, nDestBytes ); in rtl_impl_convertUStringToString()
282 pTemp->buffer[nDestBytes] = 0; in rtl_impl_convertUStringToString()
H A Dstrbuf.c52 rtl_copyMemory( (*newStr)->buffer, value, count ); in rtl_stringbuffer_newFromStr_WithLength()
71 rtl_copyMemory( (*newStr)->buffer, oldStr->buffer, oldStr->length ); in rtl_stringbuffer_newFromStringBuffer()
95 rtl_copyMemory( (*This)->buffer, pTmp->buffer, pTmp->length ); in rtl_stringbuffer_ensureCapacity()
122 pBuf = (*This)->buffer; in rtl_stringbuffer_insert()
/trunk/main/setup_native/source/win32/customactions/shellextensions/
H A Dupgrade.cxx127 LPTSTR buffer = reinterpret_cast<LPTSTR>(_alloca(nBytes)); in GetMsiProperty() local
128 ZeroMemory( buffer, nBytes ); in GetMsiProperty()
129 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
130 result = buffer; in GetMsiProperty()
162 LPTSTR buffer = reinterpret_cast<LPTSTR>(_alloca(lLongestSubKey + 1)); in RegistryKeyHasUpgradeSubKey() local
166 LONG ret = RegEnumKey(hKey, i, buffer, lLongestSubKey + 1); in RegistryKeyHasUpgradeSubKey()
167 if ((ret == ERROR_SUCCESS) && (buffer == upgradeKey)) in RegistryKeyHasUpgradeSubKey()
/trunk/main/shell/source/unix/exec/
H A Durltest.cxx83 char buffer[BUFSIZ]; in main() local
86 memset(buffer, '\0', BUFSIZ); in main()
89 if(NULL == fgets( buffer, BUFSIZ, pipe)) in main()
98 strtok( buffer, "\r\n" ); in main()
108 if( 0 == strcmp( url, buffer ) ) in main()
116 printf( "FAILED: returned string is %s\n\n", buffer); in main()
/trunk/main/shell/source/unix/sysshell/
H A Drecently_used_file.cxx50 (SLASH.pData->buffer[0] != path.pData->buffer[path.getLength() - 1])) in ensure_final_slash()
118 size_t recently_used_file::read(char* buffer, size_t size) const in read() argument
120 size_t r = fread(reinterpret_cast<void*>(buffer), sizeof(char), size, file_); in read()
129 void recently_used_file::write(const char* buffer, size_t size) const in write() argument
131 if (size != fwrite(reinterpret_cast<const void*>(buffer), sizeof(char), size, file_)) in write()
/trunk/main/rsc/source/rscpp/
H A Dcpp6.c540 file->bptr = file->buffer; /* Initialize line ptr */ in getfile()
541 file->buffer[0] = EOS; /* Force first read */ in getfile()
736 strcpy( file->buffer, dp->repl ); in dumpadef()
794 file->bptr - file->buffer, file->buffer); in get()
817 if ((file->bptr = fgets(file->buffer, NBUFF, file->fp)) in get()
822 line, file->filename, file->buffer); in get()
1019 if (--file->bptr < file->buffer) in unget()
1036 strcpy(file->buffer, text); in ungetstring()
1082 tp = file->buffer; /* Print current file */ in domsg()
1091 tp = file->buffer; in domsg()
/trunk/main/stoc/source/security/
H A Dpermissions.cxx153 , m_wildCardHost( perm.Host.getLength() && '*' == perm.Host.pData->buffer[ 0 ] ) in SocketPermission()
239 m_host.pData->buffer + 1, len )); in implies()
404 demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )); in implies()
407 demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )); in implies()
418 demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )) && in implies()
422 demanded.m_url.pData->buffer, len, m_url.pData->buffer, len )) && in implies()
/trunk/main/sal/osl/os2/
H A Dfile_path_helper.cxx77 …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()
130 if (pustrPath->buffer[0] == FPH_CHAR_PATH_SEPARATOR) in osl_systemPathIsAbsolutePath()
132 if (pustrPath->buffer[1] == FPH_CHAR_COLON in osl_systemPathIsAbsolutePath()
133 && pustrPath->buffer[2] == FPH_CHAR_PATH_SEPARATOR) in osl_systemPathIsAbsolutePath()
213 is_hidden = ((fdp.pData->length > 0) && (fdp.pData->buffer[0] == FPH_CHAR_DOT) && in osl_systemPathIsHiddenFileOrDirectoryEntry()
/trunk/test/testcommon/source/org/openoffice/test/common/
H A DFileUtil.java566 byte[] buffer = new byte[4096]; in copyFile()
569 to.write(buffer, 0, bytesRead); in copyFile()
604 byte[] buffer = new byte[4096]; in writeToFile()
606 while ((bytesRead = from.read(buffer)) != -1) in writeToFile()
607 to.write(buffer, 0, bytesRead); in writeToFile()
636 byte[] buffer = new byte[4096]; in pump()
638 while ((bytesRead = from.read(buffer)) != -1) in pump()
639 to.write(buffer, 0, bytesRead); in pump()
962 byte[] buffer = new byte[1024 * 100]; // 100k in download()
966 while ((count = in.read(buffer)) > 0) { in download()
[all …]
/trunk/main/scripting/source/storage/
H A DScriptStorageManager.cxx154 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in setupAnyStorage()
246 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in createScriptStorageWithURI()
253 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in createScriptStorageWithURI()
325 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in getScriptStorageID()
355 stringURI, RTL_TEXTENCODING_ASCII_US ).pData->buffer); in refreshScriptStorage()
457 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in disposing()
486 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in disposing()
496 RTL_TEXTENCODING_ASCII_US ).pData->buffer ); in disposing()
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/util/
H A DXmlUtil.java176 StringBuffer buffer = new StringBuffer("name=\""); in getNodeInfo() local
177 buffer.append(node.getNodeName()); in getNodeInfo()
178 buffer.append("\" type=\""); in getNodeInfo()
179 buffer.append(str); in getNodeInfo()
180 buffer.append("\""); in getNodeInfo()
182 return buffer.toString(); in getNodeInfo()
/trunk/main/tools/source/stream/
H A Dstream.cxx2180 char buffer[256+12]; in WriteNumber() local
2192 nLen = sprintf( buffer, aFStr.GetBuffer(), nLong ); in WriteNumber()
2195 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, nLong ); in WriteNumber()
2198 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision,nLong); in WriteNumber()
2203 Write( buffer, (long)nLen ); in WriteNumber()
2209 char buffer[256+12]; in WriteNumber() local
2221 nLen = sprintf( buffer, aFStr.GetBuffer(), nUInt32 ); in WriteNumber()
2232 Write( buffer, (long)nLen ); in WriteNumber()
2239 char buffer[256+24]; in WriteNumber() local
2246 nLen = sprintf( buffer, aFStr.GetBuffer(), rDouble ); in WriteNumber()
[all …]

Completed in 120 milliseconds

12345678910>>...19