Lines Matching refs:buffer

484         sal_uInt8 * buffer = static_cast<sal_uInt8*>(pBuffer);  in readFileAt()  local
501 result = readAt (nOffset, &(buffer[*pBytesRead]), nBytesRequested, &uDone); in readFileAt()
525 memcpy (&(buffer[*pBytesRead]), &(m_buffer[bufpos]), bytes); in readFileAt()
554 sal_uInt8 const * buffer = static_cast<sal_uInt8 const *>(pBuffer); in writeFileAt() local
570 result = writeAt (nOffset, &(buffer[*pBytesWritten]), nBytesToWrite, &uDone); in writeFileAt()
591 memcpy (&(m_buffer[bufpos]), &(buffer[*pBytesWritten]), bytes); in writeFileAt()
886 char buffer[3]; in _osl_getNextDrive() local
904 buffer[0] = '@' + pDirImpl->ulNextDrive; in _osl_getNextDrive()
905 buffer[1] = ':'; in _osl_getNextDrive()
906 buffer[2] = 0; in _osl_getNextDrive()
916 rtl_string2UString( &pItemImpl->ustrDrive, buffer, 3, in _osl_getNextDrive()
975 …if ( 0 == rtl_ustr_compareIgnoreAsciiCase( ustrDirectoryURL->buffer, (const sal_Unicode*)L"file://… in osl_openDirectory()
987 if ( UnicodeToText( path, PATH_MAX, ustrSystemPath->buffer, ustrSystemPath->length ) ) in osl_openDirectory()
1145 dwPathType = IsValidFilePath( strSysFilePath->buffer, NULL, VALIDATEPATH_NORMAL ); in osl_getDirectoryItem()
1190 if ( pItemImpl->ustrDrive->buffer[pItemImpl->ustrDrive->length-1] != sal_Unicode('\\') ) in osl_getDirectoryItem()
1201 if ( strSysFilePath->length > 0 && strSysFilePath->buffer[strSysFilePath->length - 1] == '\\' ) in osl_getDirectoryItem()
1202 …rtl_uString_newFromStr_WithLength( &strSysFilePath, strSysFilePath->buffer, strSysFilePath->length… in osl_getDirectoryItem()
1380 char buffer[PATH_MAX]; in osl_openFile() local
1381 eRet = FileURLToPath (buffer, sizeof(buffer), ustrFileURL); in osl_openFile()
1385 if (macxp_resolveAlias (buffer, sizeof(buffer)) != 0) in osl_openFile()
1410 flags = osl_file_adjustLockFlags (buffer, flags); in osl_openFile()
1414 int fd = open( buffer, flags | O_BINARY, mode ); in osl_openFile()
1484 FileHandle_Impl * pImpl = new FileHandle_Impl (fd, buffer); in osl_openFile()
2093 char buffer[ 4096]; in oslDoCopyFile() local
2119 while( (nRet = read(SourceFileFD, buffer, sizeof(buffer))) !=0 ) in oslDoCopyFile()
2121 nRet = write( DestFileFD, buffer, nRet); in oslDoCopyFile()
2633 cDrive[0] = pItemImpl->ustrDrive->buffer[0]; in _osl_getDriveInfo()
2636 cRoot[0] = pItemImpl->ustrDrive->buffer[0]; in _osl_getDriveInfo()
2642 if ( pItemImpl->ustrDrive->buffer[0] == '\\' && in _osl_getDriveInfo()
2643 pItemImpl->ustrDrive->buffer[1] == '\\' ) in _osl_getDriveInfo()
2645 LPCWSTR lpFirstBkSlash = wcschr( (const wchar_t*)&pItemImpl->ustrDrive->buffer[2], '\\' ); in _osl_getDriveInfo()
2691 rtl_uString_newFromStr( &ustrSystemPath, pItemImpl->ustrDrive->buffer ); in _osl_getDriveInfo()
2955 return create_dir_recursively_(sys_path.pData->buffer, aDirectoryCreationCallbackFunc, pData); in osl_createDirectoryPath()
3162 int UnicodeToText( char * buffer, size_t bufLen, const sal_Unicode * uniText, sal_Int32 uniTextLen ) in UnicodeToText() argument
3172 buffer, bufLen, in UnicodeToText()
3185 buffer[nDestBytes] = '\0'; in UnicodeToText()