Searched refs:filePtr (Results 1 - 25 of 76) sorted by relevance

1234

/macosx-10.10/tcl-105/tcl/tcl/unix/
H A DtclXtNotify.c348 FileHandler *filePtr;
356 for (filePtr = notifier.firstFileHandlerPtr; filePtr != NULL;
357 filePtr = filePtr->nextPtr) {
358 if (filePtr->fd == fd) {
362 if (filePtr == NULL) {
363 filePtr = (FileHandler*) ckalloc(sizeof(FileHandler));
364 filePtr->fd = fd;
365 filePtr
342 FileHandler *filePtr; local
428 FileHandler *filePtr, *prevPtr; local
494 FileHandler *filePtr = (FileHandler *)clientData; local
563 FileHandler *filePtr; local
[all...]
H A DtclUnixNotfy.c441 FileHandler *filePtr;
449 for (filePtr = tsdPtr->firstFileHandlerPtr; filePtr != NULL;
450 filePtr = filePtr->nextPtr) {
451 if (filePtr->fd == fd) {
455 if (filePtr == NULL) {
456 filePtr = (FileHandler*) ckalloc(sizeof(FileHandler));
457 filePtr->fd = fd;
458 filePtr
435 FileHandler *filePtr; local
505 FileHandler *filePtr, *prevPtr; local
602 FileHandler *filePtr; local
668 FileHandler *filePtr; local
[all...]
/macosx-10.10/tcl-105/tcl84/tcl/unix/
H A DtclXtNotify.c357 FileHandler *filePtr;
365 for (filePtr = notifier.firstFileHandlerPtr; filePtr != NULL;
366 filePtr = filePtr->nextPtr) {
367 if (filePtr->fd == fd) {
371 if (filePtr == NULL) {
372 filePtr = (FileHandler*) ckalloc(sizeof(FileHandler));
373 filePtr->fd = fd;
374 filePtr
351 FileHandler *filePtr; local
441 FileHandler *filePtr, *prevPtr; local
509 FileHandler *filePtr = (FileHandler *)clientData; local
578 FileHandler *filePtr; local
[all...]
H A DtclUnixNotfy.c439 FileHandler *filePtr;
446 for (filePtr = tsdPtr->firstFileHandlerPtr; filePtr != NULL;
447 filePtr = filePtr->nextPtr) {
448 if (filePtr->fd == fd) {
452 if (filePtr == NULL) {
453 filePtr = (FileHandler*) ckalloc(sizeof(FileHandler));
454 filePtr->fd = fd;
455 filePtr
433 FileHandler *filePtr; local
502 FileHandler *filePtr, *prevPtr; local
596 FileHandler *filePtr; local
663 FileHandler *filePtr; local
[all...]
/macosx-10.10/tcl-105/tcl_ext/expect/expect/
H A Dexp_poll.c233 FileHandler *filePtr;
241 for (filePtr = notifier.firstFileHandlerPtr; filePtr != NULL;
242 filePtr = filePtr->nextPtr) {
243 if (filePtr->fd == fd) {
247 if (filePtr == NULL) {
248 filePtr = (FileHandler*) ckalloc(sizeof(FileHandler)); /* MLK */
249 filePtr->fd = fd;
250 filePtr
229 FileHandler *filePtr; local
300 FileHandler *filePtr, *prevPtr, *lastPtr; local
389 FileHandler *filePtr; local
455 FileHandler *filePtr; local
[all...]
/macosx-10.10/tcl-105/tcl84/tcl/macosx/
H A DtclMacOSXNotify.c627 FileHandler *filePtr;
635 for (filePtr = tsdPtr->firstFileHandlerPtr; filePtr != NULL;
636 filePtr = filePtr->nextPtr) {
637 if (filePtr->fd == fd) {
641 if (filePtr == NULL) {
642 filePtr = (FileHandler*) ckalloc(sizeof(FileHandler));
643 filePtr->fd = fd;
644 filePtr
621 FileHandler *filePtr; local
691 FileHandler *filePtr, *prevPtr; local
786 FileHandler *filePtr; local
852 FileHandler *filePtr; local
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/hfs/hfscommon/headers/
H A DBTreesInternal.h294 extern OSStatus BTOpenPath(FCB *filePtr, KeyCompareProcPtr keyCompareProc);
296 extern OSStatus BTClosePath (FCB *filePtr );
299 extern OSStatus BTSearchRecord (FCB *filePtr,
305 extern OSStatus BTIterateRecord (FCB *filePtr,
312 extern OSStatus BTIterateRecords(FCB *filePtr, BTreeIterationOperation operation, BTreeIterator *iterator,
315 extern OSStatus BTInsertRecord (FCB *filePtr,
320 extern OSStatus BTReplaceRecord (FCB *filePtr,
325 extern OSStatus BTUpdateRecord (FCB *filePtr,
330 extern OSStatus BTDeleteRecord (FCB *filePtr,
333 extern OSStatus BTGetInformation (FCB *filePtr,
[all...]
/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A DBTree.h333 typedef OSStatus (* GetBlockProcPtr) (SFCB *filePtr,
339 typedef OSStatus (* ReleaseBlockProcPtr) (SFCB *filePtr,
343 typedef OSStatus (* SetEndOfForkProcPtr) (SFCB *filePtr,
347 typedef OSStatus (* SetBlockSizeProcPtr) (SFCB *filePtr,
350 OSStatus SetEndOfForkProc ( SFCB *filePtr, FSSize minEOF, FSSize maxEOF );
363 extern OSStatus BTOpenPath (SFCB *filePtr,
370 extern OSStatus BTClosePath (SFCB *filePtr );
373 extern OSStatus BTSearchRecord (SFCB *filePtr,
380 extern OSStatus BTIterateRecord (SFCB *filePtr,
386 extern OSStatus BTInsertRecord (SFCB *filePtr,
[all...]
H A DSBTree.c322 SetEndOfForkProc ( SFCB *filePtr, FSSize minEOF, FSSize maxEOF ) argument
334 if ( minEOF > filePtr->fcbLogicalSize )
336 bytesToAdd = minEOF - filePtr->fcbLogicalSize;
338 if (bytesToAdd < filePtr->fcbClumpSize)
339 bytesToAdd = filePtr->fcbClumpSize; //���why not always be a mutiple of clump size ???
348 vcb = filePtr->fcbVolume;
357 if ( filePtr->fcbFileID == kHFSRepairCatalogFileID)
360 result = ExtendFileC ( vcb, filePtr, (bytesToAdd+511)>>9, flags, &actualSectorsAdded );
363 filePtr->fcbLogicalSize = filePtr
[all...]
H A DBTree.c149 OSStatus BTInitialize (FCB *filePtr,
339 Input: filePtr - pointer to file to open as a B-tree
352 OSStatus BTOpenPath (SFCB *filePtr, argument
368 if ( filePtr == nil ||
377 if ( filePtr->fcbBtree != nil ) // already has a BTreeCB
381 if ( filePtr->fcbLogicalSize < kMinNodeSize )
403 btreePtr->fcbPtr = filePtr;
404 filePtr->fcbBtree = (void *) btreePtr; // attach btree cb to file
425 err = VerifyHeader (filePtr, header);
431 PanicIf ( (filePtr
560 BTClosePath(SFCB *filePtr) argument
662 BTSearchRecord(SFCB *filePtr, BTreeIterator *searchIterator, UInt32 heuristicHint, FSBufferDescriptor *record, UInt16 *recordLen, BTreeIterator *resultIterator ) argument
875 BTIterateRecord(SFCB *filePtr, BTreeIterationOperation operation, BTreeIterator *iterator, FSBufferDescriptor *record, UInt16 *recordLen ) argument
1147 BTInsertRecord(SFCB *filePtr, BTreeIterator *iterator, FSBufferDescriptor *record, UInt16 recordLen ) argument
1495 BTReplaceRecord(SFCB *filePtr, BTreeIterator *iterator, FSBufferDescriptor *record, UInt16 recordLen ) argument
1638 BTDeleteRecord(SFCB *filePtr, BTreeIterator *iterator ) argument
1708 BTGetInformation(SFCB *filePtr, UInt16 version, BTreeInfoRec *info ) argument
1759 BTFlushPath(SFCB *filePtr) argument
[all...]
H A DBTreeMiscOps.c80 OSStatus VerifyHeader (SFCB *filePtr, argument
103 if ( forkSize != filePtr->fcbLogicalSize )
422 OSStatus CheckInsertParams (SFCB *filePtr, argument
429 if (filePtr == nil) return paramErr;
431 btreePtr = (BTreeControlBlockPtr) filePtr->fcbBtree;
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_btreeio.c389 FCB *filePtr; local
394 filePtr = GetFileControlBlock(vp);
396 if ( (off_t)minEOF > filePtr->fcbEOF )
398 bytesToAdd = minEOF - filePtr->fcbEOF;
400 if (bytesToAdd < filePtr->ff_clumpsize)
401 bytesToAdd = filePtr->ff_clumpsize; //XXX why not always be a mutiple of clump size?
422 (void) BTGetInformation(filePtr, 0, &btInfo);
438 origSize = filePtr->fcbEOF;
439 fileblocks = filePtr->ff_blocks;
448 retval = ExtendFileC(vcb, filePtr, bytesToAd
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/hfs/hfscommon/BTree/
H A DBTree.c176 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
2001 BTHasContiguousNodes(FCB *filePtr) argument
2025 BTGetUserData(FCB *filePtr, void * dataPtr, int dataSize) argument
2062 BTSetUserData(FCB *filePtr, void * dataPtr, int dataSize) argument
[all...]
H A DBTreeAllocate.c315 FCB *filePtr; local
338 filePtr = GetFileControlBlock(btreePtr->fileRefNum);
367 if ( (u_int64_t)filePtr->fcbEOF < minEOF )
378 newTotalNodes = filePtr->fcbEOF / nodeSize; // hack!
625 BTZeroUnusedNodes(FCB *filePtr) argument
640 vp = FTOV(filePtr);
641 btreePtr = (BTreeControlBlockPtr) filePtr->fcbBTCBPtr;
H A DBTreeMiscOps.c160 OSStatus VerifyHeader (FCB *filePtr, argument
183 if ( forkSize > (u_int64_t)filePtr->fcbEOF )
524 OSStatus CheckInsertParams (FCB *filePtr, argument
531 if (filePtr == nil) return paramErr;
533 btreePtr = (BTreeControlBlockPtr) filePtr->fcbBTCBPtr;
/macosx-10.10/tcl-105/tcl/tcl/macosx/
H A DtclMacOSXNotify.c929 FileHandler *filePtr;
939 for (filePtr = tsdPtr->firstFileHandlerPtr; filePtr != NULL;
940 filePtr = filePtr->nextPtr) {
941 if (filePtr->fd == fd) {
945 if (filePtr == NULL) {
946 filePtr = (FileHandler *) ckalloc(sizeof(FileHandler));
947 filePtr->fd = fd;
948 filePtr
920 FileHandler *filePtr; local
994 FileHandler *filePtr, *prevPtr; local
1098 FileHandler *filePtr; local
1281 FileHandler *filePtr; local
[all...]
/macosx-10.10/apr-32/apr/apr/file_io/win32/
H A Dseek.c40 newbufpos = pos - (thefile->filePtr - thefile->dataRead);
64 thefile->filePtr = pos;
86 rc = setptr(thefile, thefile->filePtr - thefile->dataRead
100 *offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
109 thefile->filePtr = *offset;
113 thefile->filePtr += *offset;
119 thefile->filePtr = finfo.size + *offset;
125 *offset = thefile->filePtr;
H A Dreadwrite.c72 file->pOverlapped->Offset = (DWORD)file->filePtr;
73 file->pOverlapped->OffsetHigh = (DWORD)(file->filePtr >> 32);
137 file->filePtr += bytesread;
210 thefile->filePtr += thefile->dataRead;
267 apr_off_t offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
270 if (offset != thefile->filePtr)
314 thefile->pOverlapped->Offset = (DWORD)thefile->filePtr;
315 thefile->pOverlapped->OffsetHigh = (DWORD)(thefile->filePtr >> 32);
375 thefile->filePtr += *nbytes;
496 thefile->filePtr
[all...]
/macosx-10.10/apr-32/apr/apr/file_io/os2/
H A Dseek.c40 newbufpos = pos - (thefile->filePtr - thefile->dataRead);
45 rc = DosSetFilePtr(thefile->filedes, pos, FILE_BEGIN, &thefile->filePtr );
74 rc = setptr(thefile, thefile->filePtr - thefile->dataRead + thefile->bufpos + *offset);
84 *offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
H A Dreadwrite.c70 thefile->filePtr += thefile->dataRead;
144 ULONG offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
145 if (offset != thefile->filePtr)
146 DosSetFilePtr(thefile->filedes, offset, FILE_BEGIN, &thefile->filePtr );
292 thefile->filePtr += written;
/macosx-10.10/apr-32/apr/apr/file_io/unix/
H A Dseek.c32 newbufpos = pos - (thefile->filePtr - thefile->dataRead);
40 thefile->filePtr = pos;
70 rc = setptr(thefile, thefile->filePtr - thefile->dataRead + thefile->bufpos + *offset);
80 *offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
105 apr_off_t len = fp->filePtr + fp->bufpos;
/macosx-10.10/tcl-105/tcl/tcl/win/
H A DtclWinPipe.c328 WinFile *filePtr;
342 filePtr = (WinFile*) infoPtr->writeFile;
348 filePtr = (WinFile*) infoPtr->readFile;
384 WinFile *filePtr;
407 filePtr = (WinFile*) infoPtr->writeFile;
413 filePtr = (WinFile*) infoPtr->readFile;
451 WinFile *filePtr;
453 filePtr = (WinFile *) ckalloc(sizeof(WinFile));
454 filePtr->type = WIN_FILE;
455 filePtr
325 WinFile *filePtr; local
380 WinFile *filePtr; local
446 WinFile *filePtr; local
830 WinFile *filePtr = (WinFile *) file; local
963 WinFile *filePtr; local
2051 WinFile *filePtr; local
2108 WinFile *filePtr = (WinFile*) infoPtr->readFile; local
2201 WinFile *filePtr = (WinFile*) infoPtr->writeFile; local
2297 WinFile *filePtr; local
2442 WinFile *filePtr; local
[all...]
/macosx-10.10/tcl-105/tcl84/tcl/win/
H A DtclWinPipe.c332 WinFile *filePtr;
346 filePtr = (WinFile*) infoPtr->writeFile;
352 filePtr = (WinFile*) infoPtr->readFile;
388 WinFile *filePtr;
412 filePtr = (WinFile*) infoPtr->writeFile;
418 filePtr = (WinFile*) infoPtr->readFile;
456 WinFile *filePtr;
458 filePtr = (WinFile *) ckalloc(sizeof(WinFile));
459 filePtr->type = WIN_FILE;
460 filePtr
329 WinFile *filePtr; local
384 WinFile *filePtr; local
451 WinFile *filePtr; local
832 WinFile *filePtr = (WinFile *) file; local
965 WinFile *filePtr; local
2050 WinFile *filePtr; local
2107 WinFile *filePtr = (WinFile*) infoPtr->readFile; local
2200 WinFile *filePtr = (WinFile*) infoPtr->writeFile; local
2296 WinFile *filePtr; local
2444 WinFile *filePtr; local
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/perf/ubrkperf/
H A Dubrkperf.cpp88 UniChar* filePtr = text;
96 status = UCFindTextBreak(breakRef, macBreakType, kUCTextBreakLeadingEdgeMask, filePtr, numUniChars,
114 status = UCFindTextBreak(breakRef, macBreakType, kUCTextBreakLeadingEdgeMask, filePtr, numUniChars,
/macosx-10.10/apr-32/apr/apr/include/arch/os2/
H A Dapr_arch_file_io.h56 unsigned long filePtr; /* position in file of handle */ member in struct:apr_file_t

Completed in 278 milliseconds

1234