Searched refs:recordSize (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DBTreeWrapper.c37 static Boolean ValidHFSRecord(const void *record, const BTreeControlBlock *btcb, u_int16_t recordSize);
105 static Boolean ValidHFSRecord(const void *record, const BTreeControlBlock *btcb, u_int16_t recordSize) argument
111 return ( recordSize == sizeof(HFSPlusExtentRecord) );
116 return ( recordSize == sizeof(HFSExtentRecord) );
134 if ( recordSize != sizeof(HFSCatalogFolder) )
153 if ( recordSize != sizeof(HFSCatalogFile) )
192 if ( recordSize != sizeof(HFSCatalogThread) )
208 if ( recordSize != sizeof(HFSPlusCatalogFolder) )
228 if ( recordSize != sizeof(HFSPlusCatalogFile) )
258 if ( recordSize > sizeo
[all...]
/macosx-10.10/ICU-531.30/icuSources/layout/
H A DPairPositioningSubtables.cpp62 le_int16 recordSize = sizeof(PairValueRecord) - sizeof(ValueRecord) + valueRecord1Size + valueRecord2Size; local
67 pairValueRecord = findPairValueRecord((TTGlyphID) LE_GET_GLYPH(secondGlyph), pairSetTable->pairValueRecordArray, pairValueCount, recordSize);
132 const PairValueRecord *PairPositioningFormat1Subtable::findPairValueRecord(TTGlyphID glyphID, const PairValueRecord *records, le_uint16 recordCount, le_uint16 recordSize) const
145 record = (const PairValueRecord *) ((char *) record + recordSize);
150 le_uint16 extra = (recordCount - power) * recordSize;
151 le_uint16 probe = power * recordSize;
159 while (probe > recordSize) {
H A DPairPositioningSubtables.h56 le_uint16 recordCount, le_uint16 recordSize) const;
/macosx-10.10/tcl-105/tk/tk/generic/ttk/
H A DttkTagSet.c28 int recordSize; /* size of tag record */ member in struct:TtkTagTable
39 tag->tagRecord = ckalloc(tagTable->recordSize);
40 memset(tag->tagRecord, 0, tagTable->recordSize);
60 Tk_OptionSpec optionSpecs[], int recordSize)
66 tagTable->recordSize = recordSize;
273 memset(record, 0, tagTable->recordSize);
58 Ttk_CreateTagTable( Tcl_Interp *interp, Tk_Window tkwin, Tk_OptionSpec optionSpecs[], int recordSize) argument
H A DttkWidget.h57 size_t recordSize; /* #bytes in widget record */ member in struct:WidgetSpec_
206 Tcl_Interp *, Tk_Window tkwin, Tk_OptionSpec[], int recordSize);
H A DttkWidget.c387 recordPtr = ckalloc(widgetSpec->recordSize);
388 memset(recordPtr, 0, widgetSpec->recordSize);
/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A DSBTree.c44 static Boolean ValidHFSRecord(const void *record, const BTreeControlBlock *btcb, UInt16 recordSize);
450 static Boolean ValidHFSRecord(const void *record, const BTreeControlBlock *btcb, UInt16 recordSize) argument
456 return ( recordSize == sizeof(HFSExtentRecord) );
460 return ( recordSize == sizeof(HFSPlusExtentRecord) );
485 if ( recordSize != sizeof(HFSCatalogFolder) )
501 if ( recordSize != sizeof(HFSPlusCatalogFolder) )
519 if ( recordSize != sizeof(HFSCatalogFile) )
559 if ( recordSize != sizeof(HFSPlusCatalogFile) )
585 if ( recordSize != sizeof(HFSCatalogThread) )
601 if ( recordSize > sizeo
[all...]
H A DSRepair.c62 static OSErr GetCatalogRecord(SGlobPtr GPtr, UInt32 fileID, Boolean isHFSPlus, CatalogKey *catKey, CatalogRecord *catRecord, UInt16 *recordSize);
101 static OSErr SearchExtentInAttributeBT(SGlobPtr GPtr, ExtentInfo *extentInfo, HFSPlusAttrKey *attrKey, HFSPlusAttrRecord *attrRecord, UInt16 *recordSize, UInt32 *foundExtentIndex);
102 static OSErr UpdateExtentInAttributeBT (SGlobPtr GPtr, ExtentInfo *extentInfo, HFSPlusAttrKey *attrKey, HFSPlusAttrRecord *attrRecord, UInt16 *recordSize, UInt32 foundInExtentIndex);
105 static OSErr SearchExtentInCatalogBT(SGlobPtr GPtr, ExtentInfo *extentInfo, CatalogKey *catKey, CatalogRecord *catRecord, UInt16 *recordSize, UInt32 *foundExtentIndex, Boolean *noMoreExtents);
106 static OSErr UpdateExtentInCatalogBT (SGlobPtr GPtr, ExtentInfo *extentInfo, CatalogKey *catKey, CatalogRecord *catRecord, UInt16 *recordSize, UInt32 foundExtentIndex);
107 static OSErr SearchExtentInExtentBT(SGlobPtr GPtr, ExtentInfo *extentInfo, HFSPlusExtentKey *extentKey, HFSPlusExtentRecord *extentRecord, UInt16 *recordSize, UInt32 *foundExtentIndex);
2637 UInt32 recordSize;
2681 err = BTScanNextRecord( &scanState, false, (void **) &extentKeyPtr, (void **) &extentDataPtr, &recordSize );
2699 err = LocateCatalogThread( calculatedVCB, fileID, &threadData, (UInt16*)&recordSize, &hint ); // This call returns nodeName as either Str31 or HFSUniStr255, no need to call PrepareInputName()
2707 err = SearchBTreeRecord( GPtr->calculatedExtentsFCB, extentKeyPtr, kNoHint, &foundExtentKey, &extents, (UInt16*)&recordSize,
2874 UInt16 recordSize; local
3093 UInt16 recordSize; local
3415 UInt16 recordSize; local
3532 UInt16 recordSize; local
3590 GetCatalogRecord(SGlobPtr GPtr, UInt32 fileID, Boolean isHFSPlus, CatalogKey *catKey, CatalogRecord *catRecord, UInt16 *recordSize) argument
3866 UInt16 recordSize; local
4274 UInt16 recordSize; local
4553 SearchExtentInAttributeBT(SGlobPtr GPtr, ExtentInfo *extentInfo, HFSPlusAttrKey *attrKey, HFSPlusAttrRecord *attrRecord, UInt16 *recordSize, UInt32 *foundExtentIndex) argument
4675 UpdateExtentInAttributeBT(SGlobPtr GPtr, ExtentInfo *extentInfo, HFSPlusAttrKey *attrKey, HFSPlusAttrRecord *attrRecord, UInt16 *recordSize, UInt32 foundInExtentIndex) argument
4843 SearchExtentInCatalogBT(SGlobPtr GPtr, ExtentInfo *extentInfo, CatalogKey *catKey, CatalogRecord *catRecord, UInt16 *recordSize, UInt32 *foundExtentIndex, Boolean *noMoreExtents) argument
4912 UpdateExtentInCatalogBT(SGlobPtr GPtr, ExtentInfo *extentInfo, CatalogKey *catKey, CatalogRecord *catRecord, UInt16 *recordSize, UInt32 foundInExtentIndex) argument
4963 SearchExtentInExtentBT(SGlobPtr GPtr, ExtentInfo *extentInfo, HFSPlusExtentKey *extentKey, HFSPlusExtentRecord *extentRecord, UInt16 *recordSize, UInt32 *foundExtentIndex) argument
5204 UInt16 recordSize; local
5467 UInt16 recordSize; local
5691 UInt16 recordSize; local
6020 UInt16 recordSize = 0; local
6170 UInt16 recordSize = 0; local
[all...]
H A DBTree.c785 ByteCount recordSize; local
787 recordSize = record->itemCount * record->itemSize;
789 PanicIf(len > recordSize, "\pBTSearchRecord: truncating record!");
791 if (len > recordSize) len = recordSize;
1065 ByteCount recordSize; local
1067 recordSize = record->itemCount * record->itemSize;
1069 PanicIf(len > recordSize, "\pBTIterateRecord: truncating record!");
1071 if (len > recordSize) len = recordSize;
[all...]
H A Dhfs_endian.c448 size_t recordSize; /* Size of the data part of the record, or node number for index nodes */ local
451 recordSize = sizeof(UInt32);
453 recordSize = sizeof(HFSPlusExtentDescriptor);
472 if ((char *)srcKey + sizeof(HFSPlusExtentKey) + recordSize > nextRecord) {
570 uintptr_t recordSize = (uintptr_t)nextRecord - (uintptr_t)srcKey; local
578 HexDump(srcKey, recordSize, FALSE);
888 size_t recordSize; /* Size of the data part of the record, or node number for index nodes */ local
891 recordSize = sizeof(UInt32);
893 recordSize = sizeof(HFSExtentDescriptor);
912 if ((char *)srcKey + sizeof(HFSExtentKey) + recordSize > nextRecor
[all...]
H A DCatalogCheck.c133 UInt16 recordSize = 0; local
144 for (err = BTSearchRecord(fcb, &iterator, kNoHint, &btRecord, &recordSize, &iterator);
146 err = BTIterateRecord(fcb, kBTreeNextRecord, &iterator, &btRecord, &recordSize)) {
335 UInt16 recordSize = 0; local
397 &iterator, &btRecord, &recordSize);
400 &iterator, &btRecord, &recordSize)) {
H A DSVerify1.c4195 UInt16 recordSize; local
4260 err = GetBTreeRecord(GPtr->calculatedCatalogFCB, selCode, &catKey, &catRecord, &recordSize, &hint);
4289 err = GetBTreeRecord( GPtr->calculatedCatalogFCB, selCode, &catKey, &catRecord, &recordSize, &hint );
4295 err = GetBTreeRecord(GPtr->calculatedExtentsFCB, selCode, &extentKey, &extentRecord, &recordSize, &hint);
4310 err = GetBTreeRecord(GPtr->calculatedExtentsFCB, selCode, &extentKey, &extentRecord, &recordSize, &hint);
4325 err = GetBTreeRecord(GPtr->calculatedAttributesFCB, selCode, &attrKey, &attrRecord, &recordSize, &hint);
4348 err = GetBTreeRecord(GPtr->calculatedAttributesFCB, selCode, &attrKey, &attrRecord, &recordSize, &hint);
H A DSVerify2.c386 UInt16 recordSize; local
395 while (noErr == (err = BTIterateRecord(GPtr->calculatedExtentsFCB, kBTreeNextRecord, &iterator, &btRecord, &recordSize))) {
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_endian.c421 size_t recordSize; /* Size of the data part of the record, or node number for index nodes */ local
424 recordSize = sizeof(u_int32_t);
426 recordSize = sizeof(HFSPlusExtentDescriptor);
445 if ((char *)srcKey + sizeof(HFSPlusExtentKey) + recordSize > nextRecord) {
957 size_t recordSize; /* Size of the data part of the record, or node number for index nodes */ local
960 recordSize = sizeof(u_int32_t);
962 recordSize = sizeof(HFSExtentDescriptor);
981 if ((char *)srcKey + sizeof(HFSExtentKey) + recordSize > nextRecord) {
H A Dhfs_catalog.c116 static void buildrecord(struct cat_attr *attrp, cnid_t cnid, int std_hfs, u_int32_t encoding, CatalogRecord *crp, u_int32_t *recordSize);
4187 CatalogRecord *crp, u_int32_t *recordSize)
4210 *recordSize = sizeof(HFSPlusCatalogFolder);
4232 *recordSize = sizeof(HFSPlusCatalogFile);
4250 *recordSize = sizeof(HFSCatalogFolder);
4259 *recordSize = sizeof(HFSCatalogFile);
4186 buildrecord(struct cat_attr *attrp, cnid_t cnid, int std_hfs, u_int32_t encoding, CatalogRecord *crp, u_int32_t *recordSize) argument
/macosx-10.10/xnu-2782.1.97/bsd/hfs/hfscommon/BTree/
H A DBTree.c563 ByteCount recordSize; local
565 recordSize = record->itemCount * record->itemSize;
567 if (len > recordSize) len = recordSize;
856 ByteCount recordSize; local
858 recordSize = record->itemCount * record->itemSize;
860 if (len > recordSize) len = recordSize;

Completed in 164 milliseconds