ReadFile.m File Reference

#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
#include <errno.h>
#import <QuickLook/QuickLook.h>

Go to the source code of this file.

Functions

static void GetDateAndTime (unsigned int datetime, int *date, int *time)
static int ReadBuffer (int fd, char *buffer, int len)
static int ReadHeader (int fd, struct FileHeader_t *fh, NSMutableString *html)
static int ReadKeys (int fd, struct FileHeader_t *fh, NSMutableString *html, QLPreviewRequestRef preview)
int ReadFile (NSString *fullPath, NSMutableString *html, QLPreviewRequestRef preview)

Variables

(* str )[nchars] = '\0'


Function Documentation

static void GetDateAndTime ( unsigned int  datetime,
int *  date,
int *  time 
) [static]

Definition at line 23 of file ReadFile.m.

References compress(), and version.

Referenced by ReadFile().

static int ReadBuffer ( int  fd,
char *  buffer,
int  len 
) [static]

Definition at line 40 of file ReadFile.m.

Referenced by G__G__Base1_160_0_25(), G__G__Base2_13_0_22(), G__G__Base2_173_0_22(), G__G__Base2_191_0_10(), G__G__Cont_88_0_23(), G__G__IO_111_0_78(), G__G__IO_111_0_79(), G__G__IO_173_0_29(), G__G__IO_173_0_30(), G__G__IO_202_0_45(), G__G__IO_213_0_14(), G__G__IO_214_0_8(), G__G__IO_223_0_9(), G__G__Meta_185_0_14(), G__G__Meta_6_0_118(), G__G__Meta_6_0_119(), G__G__Proof_265_0_23(), G__G__Proof_265_0_24(), TStreamerInfoActions::GenericVectorPtrAction(), TBufferFile::ReadClassEmulated(), and ReadFile().

int ReadFile ( NSString *  fullPath,
NSMutableString *  html,
QLPreviewRequestRef  preview 
)

Definition at line 326 of file ReadFile.m.

References cx, free(), GetDateAndTime(), lseek, malloc(), ReadBuffer(), and SEEK_SET.

static int ReadHeader ( int  fd,
struct FileHeader_t *  fh,
NSMutableString *  html 
) [static]

Definition at line 48 of file ReadFile.m.

static int ReadKeys ( int  fd,
struct FileHeader_t *  fh,
NSMutableString *  html,
QLPreviewRequestRef  preview 
) [static]

Definition at line 170 of file ReadFile.m.

Referenced by G__G__Base1_8_0_63().


Variable Documentation

(* str)[nchars] = '\0'

Definition at line 20 of file ReadFile.m.

Referenced by TGRootIDE::About(), TGTextEditor::About(), XrdPosixXrootd::Access(), TGuiBldDragManager::AddClassMenuMethods(), RooStats::NumberCountingPdfFactory::AddData(), RooStats::NumberCountingPdfFactory::AddDataWithSideband(), TGuiBldDragManager::AddDialogMethods(), TDocOutput::AddLink(), RooStats::NumberCountingPdfFactory::AddModel(), TRootIconBox::AddObjItem(), TGHtml::AddSelectOptions(), TSQLObjectData::AddUnpack(), TSqlCmdsBuffer::AddValues(), TRealData::AdoptStreamer(), TClass::AdoptStreamer(), afm_parser_read_vals(), afm_stream_read_one(), afm_stream_read_string(), TGHtml::AppendArglist(), TGHtml::AppendText(), asim_load_file(), asim_put_file_home(), asn1_print_info(), ROOT::TArrayCharProxy::At(), TGuiBldDragManager::BreakLayout(), TSAXParserCallback::Characters(), TTreeSQL::CheckBranch(), TCondor::ClaimVM(), ClassImp(), clientMarshall(), XPD::clientMarshall(), XPD::clientUnmarshall(), clientUnmarshall(), TPDF::Close(), TApplicationRemote::CollectInput(), TString::CompareTo(), RooMultiCatIter::compositeLabel(), CompressName(), ConnectCINT(), ConnectToServer(), containBaseClass(), TGHtml::ControlSize(), TRootBrowserLite::CreateBrowser(), MSIDir::CreateGuid(), TDocLatexDirective::CreateLatex(), TGuiBldDragManager::CreateListOfDialogs(), RooStats::BernsteinCorrection::CreateQSamplingDist(), TTreeSQL::CreateTable(), TAuthenticate::DecodeRSAPublic(), TDocOutput::DecorateEntityBegin(), TDocOutput::DecorateEntityEnd(), TDocParser::DecorateKeywords(), TMemStatDepend::Demangle(), XrdClientAdmin::DirList(), TH2Editor::DoAddArr(), TH1Editor::DoAddB(), TH1Editor::DoAddBar(), TH2Editor::DoAddBB(), TH2Editor::DoAddBox(), TH2Editor::DoAddCol(), TH2Editor::DoAddError(), TH2Editor::DoAddFB(), TH1Editor::DoAddMarker(), TH2Editor::DoAddPalette(), TH2Editor::DoAddScat(), TH1Editor::DoAddSimple(), TH2Editor::DoAddText(), TGuiBldDragManager::DoClassMenu(), TH1Editor::DoHBar(), TH1Editor::DoHistChanges(), TH2Editor::DoHistChanges(), TH2Editor::DoHistComplex(), TH1Editor::DoHistComplex(), TH1Editor::DoHistSimple(), TH2Editor::DoHistSimple(), TGuiBldDragManager::DoMove(), TH1Editor::DoPercent(), TGuiBldDragManager::DoReplace(), TGuiBldDragManager::DoResize(), TGuiBldDragManager::DrawLasso(), TGuiBldDragManager::Drop(), TGuiBldDragManager::DropCanvas(), TQRootCanvas::dropEvent(), el_chop_at_newline(), el_get(), TMemStat::EnabledCode(), TGHtml::EncodeText(), executeDebug(), XrdProofdMultiStr::Export(), TTabCom::ExtendPath(), TRootIconBox::FindItem(), TGContainer::FindItem(), XrdProofdMultiStr::Get(), TGFontPool::GetAttributeInfo(), TTreeSQL::GetColumnIndice(), THnSparseCoordCompression::GetHashFromBuffer(), TGuiBldMenuDialog::GetParameters(), TRootDialog::GetParameters(), RooProdPdf::getPartIntList(), TGMenuBar::GetPopup(), TMemStat::GetStampList(), XrdSutRndm::GetString(), TGStatusBar::GetText(), TMVA::VariableDecorrTransform::GetTransformationStrings(), TMVA::VariableNormalizeTransform::GetTransformationStrings(), TMVA::Option< T * >::GetValue(), TMVA::Option< T >::GetValue(), XrdPosixXrootd::Getxattr(), XSElementList::GetZ(), pcrecpp::RE::GlobalReplace(), TGuiBldDragManager::GrabFrame(), TASImage::Gradient(), handle_asxml_tag_blur(), TProofServ::HandleCache(), TRootCanvas::HandleContainerKey(), TRootEmbeddedCanvas::HandleContainerKey(), TGuiBldDragManager::HandleCopy(), TGuiBldDragManager::HandleDelete(), TProof::HandleInputMessage(), TGMainFrame::HandleKey(), TRootGuiBuilder::HandleKey(), SplitGLView::HandleMenu(), TRootBrowser::HandleMenu(), TGListTree::HandleMotion(), TGuiBldDragManager::HandleReturn(), TProofServ::HandleSocketInput(), hclient(), TGuiBldDragManager::HighlightCompositeFrame(), hist_list(), history(), TTabCom::Hook(), hserv(), RooStats::BernsteinCorrection::ImportCorrectedPdf(), TGTable::Init(), NdbMTReacDesc::Init(), TMVA::Option< T >::IsPreDefinedVal(), TXMLSetup::IsValidXmlSetup(), ROOT::ItoA(), Java_XrdClientAdminJNI_existdirs(), Java_XrdClientAdminJNI_existfiles(), Java_XrdClientAdminJNI_isfileonline(), Java_XrdClientAdminJNI_prepare(), TGHtml::ListTokens(), main(), TMVA::MethodFDA::MakeClassSpecific(), TTable::MakeExpression(), TMemStat::MakeGraphCode(), TMemStat::MakeGraphStack(), RooStats::ToyMCSamplerOld::MakeName(), TMemStatViewerGUI::MakeStampList(), XrdProofdMultiStr::Matches(), XrdProofdMultiStrToken::Matches(), ROOT::Minuit2::CombinedMinimumBuilder::Minimum(), XrdPosixXrootd::Mkdir(), TPDF::Open(), memstat::SFind_t::operator()(), SFind< T >::operator()(), SFind< TMap >::operator()(), SStringToListBox_t::operator()(), SEnumFunctor< T >::operator()(), Memstat::SFind_t::operator()(), PyROOT::TConstructorHolder< T, M >::operator()(), SFillListBox_t::operator()(), TString::operator=(), TRegexp::operator=(), TSubString::operator=(), InfoPad::PaintModified(), TGFontPool::ParseFontName(), TMVA::Configurable::ParseOptions(), TGFontPool::ParseXLFD(), TDataSet::Path(), TVolumeView::PathP(), TBufferXML::PerformPostProcessing(), TBufferXML::PerformPreProcessing(), TGuiBldDragManager::PlaceFrame(), TFormula::PreCompile(), printTestName(), TViewerX3D::ProcessFrameMessage(), TGLSAViewer::ProcessFrameMessage(), TTreeViewer::ProcessMessage(), TSessionViewer::ProcessMessage(), TRootBrowserLite::ProcessMessage(), TGHtmlBrowser::ProcessMessage(), TRootCanvas::ProcessMessage(), XSGui::ProcessMessage(), TMemStat::ProcessOption(), TMVA::MethodFDA::ProcessOptions(), PutFilehandleInRequest(), PyCtorCallback(), XrdPosixXrootd::QueryOpaque(), XrdSecProtocolsslProcFile::Read(), TDocOutput::ReferenceEntity(), TGShapedToolTip::Refresh(), TGMenuBar::RemovePopup(), pcrecpp::RE::Replace(), TRecorderReplaying::ReplayRealtime(), ResolveTypes(), XrdPosixXrootd::Rmdir(), ROOT::RpdGetRSAKeys(), TSystem::Run(), TASImage::SavePrimitive(), TGContainer::SearchPattern(), XrdSecProtocolssl::secClient(), XrdSecProtocolssl::secServer(), TGuiBldDragManager::SelectFrame(), TMVA::MsgLogger::Send(), TProof::SendGroupView(), TSVG::SetColor(), XSReactionDlg::SetElement(), TProof::SetLogLevel(), TAlienJDL::SetMaxInitFailed(), TAttMarkerEditor::SetModel(), TH1Editor::SetModel(), TH2Editor::SetModel(), TGSplitButton::SetSplit(), TXProofServ::Setup(), TProofServLite::Setup(), TApplicationServer::Setup(), TProofServ::Setup(), TMVA::Option< T * >::SetValue(), TMVA::Option< T >::SetValueLocal(), TProof::ShowEnabledPackages(), RootShower::ShowInfos(), sort_strlist_stricmp(), XrdPosixXrootd::Stat(), XrdPosixXrootd::Statvfs(), TDocParser::Strip(), TGuiBldDragManager::SwitchEditable(), TGuiBldDragManager::SwitchLayout(), TGHtml::TableText(), term_alloc(), Test_all_options(), Test_DOLLAR_ENDONLY(), Test_DOTALL(), Test_EXTENDED(), Test_EXTRA(), Test_MULTILINE(), Test_NO_AUTO_CAPTURE(), Test_UNGREEDY(), TestConstructors(), TestContainer_find_if(), TPostScript::Text(), TPDF::Text(), TGQt::TextWidth(), TLDAPAttribute::TLDAPAttribute(), TListAndSTL(), TMVAGui(), TMVAMultiClassGui(), TMVARegGui(), ToLower(), ToUpper(), XrdPosixXrootd::Truncate(), TGuiBldDragManager::UngrabFrame(), XrdPosixXrootd::Unlink(), XSReactionDlg::UpdateCurIsotope(), StatDialogMVAEffs::UpdateSignificanceHists(), TGTable::UpdateView(), TVirtualPS::WriteInteger(), TPDF::WriteReal(), TVirtualPS::WriteReal(), XrdPosixDir::XrdPosixDir(), XSElementList::XSElementList(), XSTblElement::XSTblElement(), and TGFileDialog::~TGFileDialog().


Generated on Tue Jul 5 16:07:45 2011 for ROOT_528-00b_version by  doxygen 1.5.1