Home
last modified time | relevance | path

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

12345678910>>...18

/aoo41x/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 Dfile.cxx451 sal_uInt8 * buffer = static_cast<sal_uInt8*>(pBuffer); in readFileAt() local
469 result = readAt (nOffset, &(buffer[*pBytesRead]), nBytesRequested, &uDone); in readFileAt()
493 memcpy (&(buffer[*pBytesRead]), &(m_buffer[bufpos]), bytes); in readFileAt()
522 sal_uInt8 const * buffer = static_cast<sal_uInt8 const *>(pBuffer); in writeFileAt() local
560 memcpy (&(m_buffer[bufpos]), &(buffer[*pBytesWritten]), bytes); in writeFileAt()
840 char buffer[PATH_MAX]; in osl_openFile() local
841 eRet = FileURLToPath (buffer, sizeof(buffer), ustrFileURL); in osl_openFile()
845 if (macxp_resolveAlias (buffer, sizeof(buffer)) != 0) in osl_openFile()
870 flags = osl_file_adjustLockFlags (buffer, flags); in osl_openFile()
874 int fd = open( buffer, flags, mode ); in osl_openFile()
[all …]
/aoo41x/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 …]
/aoo41x/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()
/aoo41x/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()
/aoo41x/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()
/aoo41x/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 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()
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()
/aoo41x/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 …]
/aoo41x/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()
/aoo41x/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;
/aoo41x/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()
/aoo41x/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()
/aoo41x/main/xmerge/source/xmerge/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()
/aoo41x/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()
/aoo41x/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()
/aoo41x/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()
/aoo41x/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 …]
/aoo41x/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()
/aoo41x/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()
/aoo41x/main/bean/com/sun/star/comp/beans/
H A DOOoBean.java738 byte[] buffer = new byte[s]; in loadFromStream()
740 while ((r = iInStream.read(buffer, n, buffer.length-n))>0) { in loadFromStream()
742 if (iInStream.available() > buffer.length - n) { in loadFromStream()
743 newBuffer = new byte[buffer.length*2]; in loadFromStream()
744 System.arraycopy(buffer, 0, newBuffer, 0, n); in loadFromStream()
745 buffer = newBuffer; in loadFromStream()
748 if (buffer.length != n) { in loadFromStream()
750 System.arraycopy(buffer, 0, newBuffer, 0, n); in loadFromStream()
751 buffer = newBuffer; in loadFromStream()
754 new com.sun.star.lib.uno.adapter.ByteArrayToXInputStreamAdapter(buffer); in loadFromStream()
/aoo41x/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()

Completed in 122 milliseconds

12345678910>>...18