Searched refs:geo (Results 1 - 8 of 8) sorted by relevance

/haiku-fatelf/src/tests/kits/game/chart/
H A DChartRender.cpp100 bool ProjectStar(star *s, geometry *geo);
185 /* Project a star (s) in the view space of the camera, as described by (geo).
189 bool ProjectStar(star *s, geometry *geo) argument
199 if (x0 < geo->cutx)
202 if (y0 < geo->cuty)
205 if (z0 < geo->cutz)
208 x0 -= geo->x;
209 y0 -= geo->y;
210 z0 -= geo->z;
213 z = geo
541 RefreshStarPacket(buffer *buf, star_packet *sp, geometry *geo) argument
[all...]
H A DChartRender.h225 void RefreshStarPacket(buffer *buf, star_packet *sp, geometry *geo);
H A DChartRender_d.h246 void RefreshStarPacket(buffer *buf, star_packet *sp, geometry *geo);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice.c652 { struct hd_geometry geo; local
654 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) {
656 geo.start, geo.start);
657 return geo.start;
685 { struct hd_geometry geo; local
687 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) {
689 (unsigned)geo.heads,
690 (unsigned)geo.heads);
691 return geo
719 { struct hd_geometry geo; local
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Ddosfs.c155 device_geometry geo; local
175 if (ioctl(vol->fd, B_GET_GEOMETRY, &geo) < 0) {
180 geo.bytes_per_sector = 0x200;
181 geo.sectors_per_track = 1;
182 geo.cylinder_count = st.st_size / 0x200;
183 geo.head_count = 1;
184 geo.read_only = !(st.st_mode & S_IWUSR);
185 geo.removable = true;
191 if ((geo.bytes_per_sector != 0x200) && (geo
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/fat/
H A Ddosfs.c184 device_geometry *geo)
295 if (geo != NULL) {
309 && ((off_t)geo->sectors_per_track * (off_t)geo->cylinder_count
310 * (off_t)geo->head_count) == 196192) {
494 device_geometry geo; local
508 if (ioctl(fd, B_GET_GEOMETRY, &geo) < 0) {
512 geo.bytes_per_sector = 0x200;
513 geo.sectors_per_track = 1;
514 geo
182 volume_init(int fd, uint8* buf, const int flags, int fs_flags, device_geometry *geo) argument
[all...]
/haiku-fatelf/src/bin/pcmcia-cs/
H A Ddump_cis.c458 static void print_device_geo(cistpl_device_geo_t *geo) argument
461 for (i = 0; i < geo->ngeo; i++) {
464 geo->geo[i].buswidth, geo->geo[i].erase_block,
465 geo->geo[i].read_block, geo->geo[
[all...]
/haiku-fatelf/headers/os/drivers/pcmcia/
H A Dcistpl.h512 } geo[CISTPL_MAX_DEVICES]; member in struct:cistpl_device_geo_t

Completed in 118 milliseconds