Searched refs:extents (Results 1 - 25 of 92) sorted by relevance

1234

/macosx-10.10/bless-103/libbless/HFS/
H A DBLGetDiskSectorsForFile.c51 HFSPlusExtentRecord extents; member in struct:extinfo
60 * First determine the device and the extents on the mounted volume
64 int BLGetDiskSectorsForFile(BLContextPtr context, const char * path, off_t extents[8][2], argument
96 contextprintf(context, kBLLogLevelError, "Could not get extents for %s: %d\n", path, errno);
150 extents[i][0] = info.extents[i].startBlock*sectorsPerBlock+offset;
151 extents[i][1] = info.extents[i].blockCount*sectorsPerBlock;
/macosx-10.10/hfs-285/CopyHFSMeta/
H A Dmisc.c67 * note overlapping extents in that case. It adds the extents
91 (*ep)->extents[indx].base = start;
92 (*ep)->extents[indx].length = length;
93 (*ep)->extents[indx].fid = fid;
106 (*ep)->extents[0].base = start;
107 (*ep)->extents[0].length = length;
108 (*ep)->extents[0].fid = fid;
140 printf("\t\t<%lld, %lld> (file %u)\n", exts->extents[indx].base, exts->extents[ind
[all...]
H A DGather.c95 op->offset = S64(ep->extents[i].base);
96 op->size = S64(ep->extents[i].length);
123 fprintf(stderr, "Writing extent <%lld, %lld>\n", ep->extents[i].base, ep->extents[i].length);
124 if (WriteExtent(outf, vop->devp, ep->extents[i].base, ep->extents[i].length) == -1) {
H A Dutil.c153 * portions related to extents).
275 * Add the extents for the special files in the volume header. Compare
289 if (debug) printf("Adding " #file " extents\n"); \
291 HFSPlusExtentDescriptor *ep = &vop->vdp->priHeader. file .extents[i]; \
292 HFSPlusExtentDescriptor *ap = &vop->vdp->altHeader. file .extents[i]; \
353 HFSPlusExtentDescriptor *extPtr = fp->dataFork.extents;
398 theExtents = ap->forkData.theFork.extents;
401 theExtents = ap->overflowExtents.extents;
433 * extents. We can do this at one of two times -- while copying
434 * the data, or while setting up the list of extents
[all...]
H A DData.h48 * list of an array of extents, up to 100 in each element.
52 Extents_t extents[kExtentCount]; member in struct:ExtentList
58 * a description of the volume, the linked list of extents,
/macosx-10.10/WebCore-7600.1.25/platform/graphics/freetype/
H A DSimpleFontDataFreeType.cpp149 cairo_text_extents_t extents; local
150 cairo_scaled_font_glyph_extents(m_platformData.scaledFont(), &cglyph, 1, &extents);
153 return FloatRect(extents.x_bearing, extents.y_bearing, extents.width, extents.height);
167 cairo_text_extents_t extents; local
168 cairo_scaled_font_glyph_extents(m_platformData.scaledFont(), &cairoGlyph, 1, &extents);
169 float width = platformData().orientation() == Horizontal ? extents.x_advance : -extents
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/graphics/cairo/
H A DFontCairo.cpp86 cairo_text_extents_t extents; local
87 cairo_scaled_font_glyph_extents(font->platformData().scaledFont(), glyphs, numGlyphs, &extents);
88 FloatRect fontExtentsRect(point.x() + extents.x_bearing, point.y() + extents.y_bearing, extents.width, extents.height);
/macosx-10.10/xnu-2782.1.97/bsd/vm/
H A Dvm_compressor_backing_file.c247 dk_extent_t *extents; local
263 extents = kalloc(sizeof(dk_extent_t) * MAX_BATCH_TO_TRIM);
267 cs_unmap.extents = extents;
273 unmap.extents = extents;
296 * broken into multiple extents, it must be called multiple times, increasing the offset
306 extents[trim_index].offset = (uint64_t) io_blockno * (u_int64_t) blocksize;
307 extents[trim_index].length = io_bytecount;
341 kfree(extents, sizeo
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/graphics/harfbuzz/
H A DHarfBuzzFaceCairo.cpp85 static void CairoGetGlyphWidthAndExtents(cairo_scaled_font_t* scaledFont, hb_codepoint_t codepoint, hb_position_t* advance, hb_glyph_extents_t* extents) argument
98 if (extents) {
99 extents->x_bearing = doubleToHarfBuzzPosition(glyphExtents.x_bearing);
100 extents->y_bearing = doubleToHarfBuzzPosition(hasVerticalGlyphs ? -glyphExtents.y_bearing : glyphExtents.y_bearing);
101 extents->width = doubleToHarfBuzzPosition(hasVerticalGlyphs ? -glyphExtents.height : glyphExtents.width);
102 extents->height = doubleToHarfBuzzPosition(hasVerticalGlyphs ? glyphExtents.width : glyphExtents.height);
146 static hb_bool_t harfBuzzGetGlyphExtents(hb_font_t*, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void*) argument
152 CairoGetGlyphWidthAndExtents(scaledFont, glyph, 0, extents);
H A DHarfBuzzFaceCoreText.cpp74 static hb_bool_t getGlyphExtents(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void* userData) argument
81 extents->x_bearing = floatToHarfBuzzPosition(cgRect.origin.x);
82 extents->y_bearing = -floatToHarfBuzzPosition(cgRect.origin.y);
83 extents->width = floatToHarfBuzzPosition(cgRect.size.width);
84 extents->height = floatToHarfBuzzPosition(cgRect.size.height);
/macosx-10.10/hfs-285/libhfs_metadata/
H A Diterate_hfs_metadata.c20 * wants to get the "other" metadata (symlinks and large EA extents).
25 * It will go through and get the symlink and EA extents first, and
26 * then go through the rest of the extents. It does not attempt any
71 * the catalog file), and extended attribute fork extents
93 retval = (*handle_extent)(devp->fd, extList->extents[index].base, extList->extents[index].length, context_ptr);
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_xattr.c92 static int read_attr_data(struct hfsmount *hfsmp, uio_t uio, size_t datasize, HFSPlusExtentDescriptor *extents);
94 static int write_attr_data(struct hfsmount *hfsmp, uio_t uio, size_t datasize, HFSPlusExtentDescriptor *extents);
96 static int alloc_attr_blks(struct hfsmount *hfsmp, size_t attrsize, size_t extentbufsize, HFSPlusExtentDescriptor *extents, int *blocks);
98 static void free_attr_blks(struct hfsmount *hfsmp, int blkcnt, HFSPlusExtentDescriptor *extents);
102 static int count_extent_blocks(int maxblks, HFSPlusExtentRecord extents);
435 * overflow extents file to find non-resource, non-finderinfo EAs. There may be cases
599 /* Process overflow extents if necessary. */
616 /* Get a buffer to hold the worst case amount of extents. */
627 /* Grab the first 8 extents. */
628 bcopy(&recp->forkData.theFork.extents[
2374 read_attr_data(struct hfsmount *hfsmp, uio_t uio, size_t datasize, HFSPlusExtentDescriptor *extents) argument
2423 write_attr_data(struct hfsmount *hfsmp, uio_t uio, size_t datasize, HFSPlusExtentDescriptor *extents) argument
2473 alloc_attr_blks(struct hfsmount *hfsmp, size_t attrsize, size_t extentbufsize, HFSPlusExtentDescriptor *extents, int *blocks) argument
2544 free_attr_blks(struct hfsmount *hfsmp, int blkcnt, HFSPlusExtentDescriptor *extents) argument
2608 count_extent_blocks(int maxblks, HFSPlusExtentRecord extents) argument
[all...]
H A Dhfs_resize.c286 printf("hfs_extendfs: error %d adding extents\n", error);
669 * Relocation of extents will result in no net change in the total
952 * Note that we specifically *exclude* system vnodes (catalog, bitmap, extents, EAs),
960 * Ideally, the file whose extents we are about to manipulate is using the
1134 /* Structure to store state of reclaiming extents from a
1137 * used by code that reclaims and splits the extents.
1153 HFSPlusExtentRecord overflow;/* Extent record from overflow extents btree */
1156 HFSPlusExtentDescriptor *extents; /* Pointer to current extent record being processed. member in struct:hfs_reclaim_extent_info
1176 * Split the current extent into two extents, with first extent
1195 * extent into multiple smaller extents, an
1256 HFSPlusExtentDescriptor *extents; /* Pointer to current extent record being manipulated */ local
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/graphics/win/
H A DSimpleFontDataCairoWin.cpp94 cairo_text_extents_t extents; local
95 cairo_scaled_font_text_extents(scaledFont, "x", &extents);
96 xHeight = -extents.y_bearing;
/macosx-10.10/IOStorageFamily-182.1.1/
H A DIOFilterScheme.cpp182 IOStorageExtent * extents,
191 return getProvider( )->unmap( this, extents, extentsCount, options );
198 // for the purpose of getting physical extents.
228 IOStorageExtent * extents,
236 return getProvider( )->setPriority( this, extents, extentsCount, priority );
181 unmap(IOService * client, IOStorageExtent * extents, UInt32 extentsCount, UInt32 options) argument
227 setPriority(IOService * client, IOStorageExtent * extents, UInt32 extentsCount, IOStoragePriority priority) argument
H A DIOFilterScheme.h233 * @param extents
234 * List of extents. See IOStorageExtent. It is legal for the callee to
237 * Number of extents.
243 IOStorageExtent * extents,
251 * for the purpose of getting physical extents.
300 * @param extents
301 * List of extents. See IOStorageExtent. It is legal for the callee to
304 * Number of extents.
312 IOStorageExtent * extents,
H A DIOBlockStorageDevice.cpp213 IOBlockStorageDevice::doUnmap(IOBlockStorageDeviceExtent * extents, argument
225 result = doDiscard(extents[i].blockStart, extents[i].blockCount);
236 IOBlockStorageDevice::doSetPriority(IOBlockStorageDeviceExtent * extents, argument
/macosx-10.10/BerkeleyDB-21/db/qam/
H A Dqam_verify.c35 db_pgno_t *extents, extid, first, last; local
44 extents = NULL;
83 * it when handling extents. It would get set up in open,
95 * no extents, so there's nothing to verify.
103 * before we do per-page verification of queue extents.)
125 * Look in the data directory to see if there are any extents
144 /* Only save extents out of bounds. */
151 if (extents == NULL && (ret = __os_malloc(
153 &extents)) != 0)
155 extents[nextent
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Ddisk.h114 dk_extent_t * extents; member in struct:__anon14833
193 dk_extent_t * extents; member in struct:__anon14835
249 dk_extent_t *extents; member in struct:_dk_cs_unmap
/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A DSExtents.c26 Contains: Routines to map file positions to volume positions, and manipulate the extents B-Tree.
58 Flush the extents file for a given volume.
72 If the extent record came from the extents file, write out
74 the FCB resident extent record. If the record has no extents,
75 and was in the extents file, then delete the record instead.
78 Deallocate all allocation blocks in all extents of an extent
84 Search the extents BTree for a particular extent record.
86 Search the FCB and extents file for an extent record that
135 HFSPlusExtentRecord extents,
141 HFSPlusExtentRecord extents);
331 CreateExtentRecord( const SVCB *vcb, HFSPlusExtentKey *key, HFSPlusExtentRecord extents, UInt32 *hint) argument
586 HFSPlusExtentRecord extents; local
1542 GetFCBExtentRecord( const SVCB *vcb, const SFCB *fcb, HFSPlusExtentRecord extents) argument
1556 SetFCBExtentRecord( const SVCB *vcb, SFCB *fcb, HFSPlusExtentRecord extents) argument
1800 HFSPlusExtentRecord extents; local
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/vm/
H A Dmemory_object.c699 } extents[MAX_EXTENTS]; local
928 * a collection of extents (that encompass actual resident pages)
962 if ((m->offset & e_mask) == extents[n].e_base) {
968 if (m->offset < extents[n].e_min)
969 extents[n].e_min = m->offset;
970 else if ((m->offset + (PAGE_SIZE - 1)) > extents[n].e_max)
971 extents[n].e_max = m->offset + (PAGE_SIZE - 1);
985 extents[n].e_base = m->offset & e_mask;
986 extents[n].e_min = m->offset;
987 extents[
[all...]
/macosx-10.10/hfs-285/newfs_hfs/
H A Dhfs_endian.c169 src->extents[i].startBlock = SWAP_BE32 (src->extents[i].startBlock);
170 src->extents[i].blockCount = SWAP_BE32 (src->extents[i].blockCount);
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/blt/
H A Dbarchart.rb52 def extents(item) method in class:Tk.Barchart.bar
53 num_or_str(tk_send_without_enc('extents', item))
H A Dgraph.rb46 def extents(item) method in class:Tk.Graph.bar
47 num_or_str(tk_send_without_enc('extents', item))
H A Dstripchart.rb47 def extents(item) method in class:Tk.Stripchart.bar
48 num_or_str(tk_send_without_enc('extents', item))

Completed in 311 milliseconds

1234