H A D | BTree.c | 176 Input: filePtr - pointer to file to open as a B-tree 186 OSStatus BTOpenPath(FCB *filePtr, KeyCompareProcPtr keyCompareProc) argument 195 if ( filePtr == nil ) 203 if ( filePtr->fcbBTCBPtr != nil && keyCompareProc != nil) { 204 btreePtr = (BTreeControlBlockPtr) filePtr->fcbBTCBPtr; 209 if ( filePtr->fcbEOF < kMinNodeSize ) 230 btreePtr->fileRefNum = GetFileRefNumFromFCB(filePtr); 231 filePtr->fcbBTCBPtr = (Ptr) btreePtr; // attach btree cb to file 237 if (FTOC(filePtr)->c_fileid >= kHFSFirstUserCatalogNodeID) 239 nodeRec.blockSize = FCBTOVCB(filePtr) 396 BTClosePath(FCB *filePtr) argument 457 BTSearchRecord(FCB *filePtr, BTreeIterator *searchIterator, FSBufferDescriptor *record, u_int16_t *recordLen, BTreeIterator *resultIterator ) argument 649 BTIterateRecord(FCB *filePtr, BTreeIterationOperation operation, BTreeIterator *iterator, FSBufferDescriptor *record, u_int16_t *recordLen ) argument 970 BTIterateRecords(FCB *filePtr, BTreeIterationOperation operation, BTreeIterator *iterator, IterateCallBackProcPtr callBackProc, void * callBackState) argument 1261 BTInsertRecord(FCB *filePtr, BTreeIterator *iterator, FSBufferDescriptor *record, u_int16_t recordLen ) argument 1424 BTReplaceRecord(FCB *filePtr, BTreeIterator *iterator, FSBufferDescriptor *record, u_int16_t recordLen ) argument 1572 BTUpdateRecord(FCB *filePtr, BTreeIterator *iterator, IterateCallBackProcPtr callBackProc, void * callBackState) argument 1685 BTDeleteRecord(FCB *filePtr, BTreeIterator *iterator ) argument 1758 BTGetInformation(FCB *filePtr, u_int16_t file_version, BTreeInfoRec *info ) argument 1797 BTIsDirty(FCB *filePtr) argument 1819 BTFlushPath(FCB *filePtr) argument 1856 BTReloadData(FCB *filePtr) argument 1940 BTGetLastSync(FCB *filePtr, u_int32_t *lastsync) argument 1979 BTSetLastSync(FCB *filePtr, u_int32_t lastsync) argument 2002 BTHasContiguousNodes(FCB *filePtr) argument 2027 BTGetUserData(FCB *filePtr, void * dataPtr, int dataSize) argument 2065 BTSetUserData(FCB *filePtr, void * dataPtr, int dataSize) argument [all...] |