Searched refs:iterator (Results 1 - 22 of 22) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/
H A Ddevice_tree.h157 embedded entries. Second is a "currentScope" which is the entry the iterator is
162 Create the iterator structure. The outermostScope and currentScope of the iterator
164 currentScope are set to the root entry. The currentPosition for the iterator is
167 extern int DTCreateEntryIterator(const DTEntry startEntry, DTEntryIterator *iterator);
170 extern int DTDisposeEntryIterator(DTEntryIterator iterator);
175 currentScope of the iterator is set to the entry specified in "childEntry". If
177 currentPosition of the iterator.
179 extern int DTEnterEntry(DTEntryIterator iterator, DTEntry childEntry);
184 entry. The currentPosition of the iterator i
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/BTree/
H A DBTree.c108 <3> 1/4/96 jev Fix BTItererateRecord for the condition when the iterator
135 iterator gets set correctly.
448 iterator - pointer to BTreeIterator indicating position result of search
638 iterator - pointer to iterator indicating start position
640 Output: iterator - iterator is updated to indicate new position
651 BTreeIterator *iterator,
739 err = FindIteratorPosition (btreePtr, iterator,
865 if (iterator !
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
[all...]
H A DBTreeMiscOps.c298 iterator - description
301 Output: iterator - description
315 BTreeIteratorPtr iterator,
344 if (iterator == nil) // do we have an iterator?
350 err = IsItAHint (btreePtr, iterator, &validHint);
353 nodeNum = iterator->hint.nodeNum;
371 foundIt = SearchNode (btreePtr, middle->buffer, &iterator->key, &index);
377 iterator->hint.nodeNum = 0;
408 foundIt = SearchNode (btreePtr, left->buffer, &iterator
314 FindIteratorPosition(BTreeControlBlockPtr btreePtr, BTreeIteratorPtr iterator, BlockDescriptor *left, BlockDescriptor *middle, BlockDescriptor *right, u_int32_t *returnNodeNum, u_int16_t *returnIndex, Boolean *foundRecord ) argument
524 CheckInsertParams(FCB *filePtr, BTreeIterator *iterator, FSBufferDescriptor *record, u_int16_t recordLen ) argument
577 TrySimpleReplace(BTreeControlBlockPtr btreePtr, NodeDescPtr nodePtr, BTreeIterator *iterator, FSBufferDescriptor *record, u_int16_t recordLen, Boolean *recordInserted ) argument
656 IsItAHint(BTreeControlBlockPtr btreePtr, BTreeIterator *iterator, Boolean *answer) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/pexpert/gen/
H A Ddevice_tree.c276 DTCreateEntryIterator(const DTEntry startEntry, DTEntryIterator *iterator) argument
296 *iterator = iter;
301 DTDisposeEntryIterator(DTEntryIterator iterator) argument
303 RealDTEntryIterator iter = iterator;
310 kfree(iterator, sizeof(struct OpaqueDTEntryIterator));
315 DTEnterEntry(DTEntryIterator iterator, DTEntry childEntry) argument
317 RealDTEntryIterator iter = iterator;
338 DTExitEntry(DTEntryIterator iterator, DTEntry *currentPosition) argument
340 RealDTEntryIterator iter = iterator;
359 DTIterateEntries(DTEntryIterator iterator, DTEntr argument
379 DTRestartEntryIteration(DTEntryIterator iterator) argument
425 DTCreatePropertyIterator(const DTEntry entry, DTPropertyIterator *iterator) argument
439 DTDisposePropertyIterator(DTPropertyIterator iterator) argument
446 DTIterateProperties(DTPropertyIterator iterator, char **foundProperty) argument
466 DTRestartPropertyIteration(DTPropertyIterator iterator) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_xattr.c83 static int remove_attribute_records(struct hfsmount *hfsmp, BTreeIterator * iterator);
226 struct BTreeIterator * iterator = NULL; local
320 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK);
321 if (iterator == NULL) {
325 bzero(iterator, sizeof(*iterator));
340 result = hfs_buildattrkey(VTOC(vp)->c_fileid, ap->a_name, (HFSPlusAttrKey *)&iterator->key);
346 result = BTSearchRecord(btfile, iterator, &btdata, &datasize, NULL);
429 ((HFSPlusAttrKey *)&iterator
496 struct BTreeIterator * iterator = NULL; local
933 struct BTreeIterator * iterator = NULL; local
1114 struct BTreeIterator * iterator = NULL; local
1171 remove_attribute_records(struct hfsmount *hfsmp, BTreeIterator * iterator) argument
1267 struct BTreeIterator * iterator = NULL; local
1464 BTreeIterator *iterator; local
1542 struct BTreeIterator * iterator = NULL; local
1663 struct BTreeIterator * iterator; local
[all...]
H A Dhfs_catalog.c62 BTreeIterator iterator; member in struct:btobj
351 struct BTreeIterator *iterator; local
363 MALLOC(iterator, BTreeIterator *, 2 * sizeof(*iterator), M_TEMP, M_WAITOK);
364 bzero(&iterator[0], 2* sizeof(*iterator));
365 result = buildkey(hfsmp, descp, (HFSPlusCatalogKey *)&iterator[0].key, 0);
370 result = BTSearchRecord(fcb, &iterator[0], &file_data, &datasize, &iterator[0]);
385 thread_data.itemSize = buildthread(&iterator[
416 struct BTreeIterator * iterator; local
490 struct BTreeIterator * iterator; local
606 struct BTreeIterator * iterator; local
1016 struct BTreeIterator iterator; local
1270 BTreeIterator *iterator; local
1365 BTreeIterator * iterator; local
1828 BTreeIterator * iterator; local
1859 BTreeIterator * iterator; local
1904 BTreeIterator * iterator; local
2272 BTreeIterator * iterator; local
2438 BTreeIterator * iterator; local
2987 BTreeIterator * iterator; local
3445 struct BTreeIterator *iterator; local
3521 struct BTreeIterator * iterator; local
[all...]
H A Dhfs_hotfiles.c516 BTreeIterator * iterator; local
574 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK);
575 bzero(iterator, sizeof(*iterator));
576 key = (HotFileKey*) &iterator->key;
654 error = BTInsertRecord(filefork, iterator, &record, record.itemSize);
667 error = BTInsertRecord(filefork, iterator, &record, record.itemSize);
687 FREE(iterator, M_TEMP);
941 BTreeIterator * iterator; local
1052 BTreeIterator * iterator; local
1256 BTreeIterator * iterator; local
1452 BTreeIterator * iterator; local
[all...]
H A Dhfs_link.c1170 BTreeIterator * iterator; local
1180 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK);
1181 bzero(iterator, sizeof(*iterator));
1183 result = hfs_buildattrkey(fileid, FIRST_LINK_XATTR_NAME, (HFSPlusAttrKey *)&iterator->key);
1212 result = BTInsertRecord(btfile, iterator, &btdata, datasize);
1214 result = BTReplaceRecord(btfile, iterator, &btdata, datasize);
1218 FREE(iterator, M_TEMP);
1232 BTreeIterator * iterator; local
[all...]
H A Dhfs_vfsops.c4091 struct BTreeIterator *iterator = NULL; local
4101 if (kmem_alloc(kernel_map, (vm_offset_t*) &iterator, sizeof(*iterator))) {
4107 bzero(iterator, sizeof(*iterator));
4108 key = (HFSPlusExtentKey *) &iterator->key;
4120 error = BTSearchRecord(fcb, iterator, &btdata, NULL, iterator);
4145 kmem_free(kernel_map, (vm_offset_t)iterator, sizeof(*iterator));
4472 struct BTreeIterator * iterator = NULL; local
4762 struct BTreeIterator * iterator = NULL; local
[all...]
H A Dhfs_vfsutils.c1184 struct BTreeIterator * iterator = NULL; local
1214 MALLOC(iterator, struct BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK);
1215 bzero(iterator, sizeof(*iterator));
1218 keyp = (HFSPlusCatalogKey*)&iterator->key;
1228 * Position the iterator just before the first real temp file/dir.
1231 (void) BTSearchRecord(fcb, iterator, NULL, NULL, iterator);
1237 result = BTIterateRecord(fcb, kBTreeNextRecord, iterator,
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/
H A DOSCollection.h63 @abstract A pure virtual member function to return the size of the iterator context.
66 This member function is called by an OSCollectionIterator object to allow it to allocate enough storage space for the iterator context. This context contains the data necessary to iterate through the collection when getNextObjectForIterator() is called.
71 @abstract Pure virtual member function to allocate and initialize the iterator context data.
72 @param iterator The iterator context.
75 virtual bool initIterator(void *iterator) const = 0;
79 @param iterator The iterator context.
83 This is the entry point used by an OSCollectionIterator object to advance to next object in the collection. The iterator context is passed to the receiver to allow it to find the location of the current object and then advance the iterator contex
[all...]
H A DOSArray.h69 virtual bool initIterator(void *iterator) const;
70 virtual bool getNextObjectForIterator(void *iterator, OSObject **ret) const;
H A DOSOrderedSet.h79 virtual bool initIterator(void *iterator) const;
80 virtual bool getNextObjectForIterator(void *iterator, OSObject **ret) const;
H A DOSSet.h56 virtual bool initIterator(void *iterator) const;
57 virtual bool getNextObjectForIterator(void *iterator, OSObject **ret) const;
H A DOSDictionary.h76 virtual bool initIterator(void *iterator) const;
77 virtual bool getNextObjectForIterator(void *iterator, OSObject **ret) const;
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/headers/
H A DBTreesInternal.h110 fsIteratorExitedScopeErr = ERR_BASE + 0x0A02, /* iterator exited the scope*/
111 fsIteratorScopeExceptionErr = ERR_BASE + 0x0A03, /* iterator is undefined due to error or movement of scope locality*/
112 fsUnknownIteratorMovementErr = ERR_BASE + 0x0A04, /* iterator movement is not defined*/
113 fsInvalidIterationMovmentErr = ERR_BASE + 0x0A05, /* iterator movement is invalid in current context*/
307 BTreeIterator *iterator,
312 extern OSStatus BTIterateRecords(FCB *filePtr, BTreeIterationOperation operation, BTreeIterator *iterator,
316 BTreeIterator *iterator,
321 BTreeIterator *iterator,
326 BTreeIterator *iterator,
331 BTreeIterator *iterator );
[all...]
H A DBTreesPrivate.h231 BTreeIterator iterator; // useable when holding exclusive b-tree lock member in struct:BTreeControlBlock
340 BTreeIteratorPtr iterator,
349 BTreeIterator *iterator,
355 BTreeIterator *iterator,
361 BTreeIterator *iterator,
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/
H A DBTreeWrapper.c100 BTreeIterator iterator; local
113 iterator.hint.nodeNum = hint;
118 BlockMoveData(key, &iterator.key, CalcKeySize(btcb, (const BTreeKey *) key)); //�� should we range check against maxkeylen?
123 result = BTReplaceRecord( fcb, &iterator, &btRecord, dataSize );
125 *newHint = iterator.hint.nodeNum;
127 //���do we need to invalidate the iterator?
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOPMPowerSource.cpp131 OSCollectionIterator *iterator; local
138 iterator = OSCollectionIterator::withCollection(properties);
139 if(!iterator) return;
141 while ((iteratorKey = iterator->getNextObject())) {
150 iterator->release();
H A DIOServicePrivate.h186 static OSIterator * iterator( OSIterator * _iter,
H A DIOUserClient.cpp1335 io_object_t iterator,
1340 CHECK( OSIterator, iterator, iter );
1353 io_object_t iterator )
1355 CHECK( OSIterator, iterator, iter );
1364 io_object_t iterator,
1367 CHECK( OSIterator, iterator, iter );
1783 io_object_t *iterator )
1788 *iterator = IORegistryIterator::iterateOver(
1791 return( *iterator ? kIOReturnSuccess : kIOReturnBadArgument );
1799 io_object_t *iterator )
1334 is_io_iterator_next( io_object_t iterator, io_object_t *object ) argument
1363 is_io_iterator_is_valid( io_object_t iterator, boolean_t *is_valid ) argument
2180 is_io_registry_entry_get_parent_iterator( io_object_t registry_entry, io_name_t plane, io_object_t *iterator) argument
[all...]
H A DIOService.cpp763 OSIterator * _IOOpenServiceIterator::iterator( OSIterator * _iter, function in class:_IOOpenServiceIterator
832 return( _IOOpenServiceIterator::iterator( getProviderIterator(), this, 0 ));
837 return( _IOOpenServiceIterator::iterator( getClientIterator(), 0, this ));

Completed in 244 milliseconds