Searched refs:bs (Results 1 - 25 of 61) sorted by relevance

123

/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dbootsector.c39 fat_boot_sector_read (FatBootSector* bs, const PedGeometry *geom) argument
41 PED_ASSERT (bs != NULL, return 0);
44 if (!ped_geometry_read (geom, bs, 0, 1))
47 if (PED_LE16_TO_CPU (bs->boot_sign) != 0xAA55) {
54 if (!bs->system_id[0]) {
61 if (!bs->sector_size
62 || PED_LE16_TO_CPU (bs->sector_size) % PED_SECTOR_SIZE_DEFAULT) {
69 if (!bs->cluster_size) {
76 if (!bs->reserved) {
83 if (bs
96 fat_boot_sector_probe_type(const FatBootSector* bs, const PedGeometry* geom) argument
128 fat_boot_sector_analyse(FatBootSector* bs, PedFileSystem* fs) argument
291 fat_boot_sector_set_boot_code(FatBootSector* bs) argument
302 fat_boot_sector_generate(FatBootSector* bs, const PedFileSystem* fs) argument
381 fat_boot_sector_write(const FatBootSector* bs, PedFileSystem* fs) argument
[all...]
H A Dbootsector.h130 int fat_boot_sector_read (FatBootSector* bs, const PedGeometry* geom);
131 FatType fat_boot_sector_probe_type (const FatBootSector* bs,
133 int fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs);
134 int fat_boot_sector_set_boot_code (FatBootSector* bs);
135 int fat_boot_sector_generate (FatBootSector* bs, const PedFileSystem* fs);
136 int fat_boot_sector_write (const FatBootSector* bs, PedFileSystem* fs);
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Dbootsect.h44 const NTFS_BOOT_SECTOR *bs);
/osnet-11/usr/src/grub/grub2/include/grub/i386/pc/
H A Dchainloader.h25 grub_chainloader_patch_bpb (void *bs, grub_device_t dev, grub_uint8_t dl);
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dbrdr_st.c49 border_set(ls, rs, ts, bs, tl, tr, bl, br)
50 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br;
57 ls, rs, ts, bs, tl, tr, bl, br
61 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
H A Dbrdr.c49 border(chtype ls, chtype rs, chtype ts, chtype bs, argument
57 ls, rs, ts, bs, tl, tr, bl, br
61 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
H A Dwbrdr.c54 chtype ls, chtype rs, chtype ts, chtype bs,
63 w, ls, rs, ts, bs, tl, tr, bl, br
79 if (bs == 0)
80 bs = ACS_HLINE;
81 (void) __m_acs_cc(bs, &wbs);
53 wborder(WINDOW *w, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
H A Dwbrdr_st.c53 wborder_set(w, ls, rs, ts, bs, tl, tr, bl, br)
55 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br;
63 w, ls, rs, ts, bs, tl, tr, bl, br
84 (void) whline_set(w, bs, w->_maxx-2);
/osnet-11/usr/src/lib/libcurses/screen/
H A D_border.c49 border(chtype ls, chtype rs, chtype ts, chtype bs, argument
52 return (wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br));
H A Dwborder.c54 * bs : bottom side.
79 chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
90 _BOTTOMSIDE = bs;
78 wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dbrdr.c52 border(chtype ls, chtype rs, chtype ts, chtype bs, argument
57 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
H A Dbrdr_st.c53 const cchar_t *ts, const cchar_t *bs, const cchar_t *tl,
58 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
52 border_set(const cchar_t *ls, const cchar_t *rs, const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, const cchar_t *tr, const cchar_t *bl, const cchar_t *br) argument
H A Dwbrdr.c57 chtype ls, chtype rs, chtype ts, chtype bs,
75 if (bs == 0)
76 bs = ACS_HLINE;
77 (void) __m_acs_cc(bs, &wbs);
56 wborder(WINDOW *w, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
H A Dwbrdr_st.c57 const cchar_t *ts, const cchar_t *bs, const cchar_t *tl,
80 (void) whline_set(w, bs, w->_maxx-2);
56 wborder_set(WINDOW *w, const cchar_t *ls, const cchar_t *rs, const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, const cchar_t *tr, const cchar_t *bl, const cchar_t *br) argument
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h173 #define ZAP_LEAF_HASH_SHIFT(bs) (bs - 5)
174 #define ZAP_LEAF_HASH_NUMENTRIES(bs) (1 << ZAP_LEAF_HASH_SHIFT(bs))
175 #define LEAF_HASH(bs, h) \
176 ((ZAP_LEAF_HASH_NUMENTRIES(bs)-1) & \
177 ((h) >> (64 - ZAP_LEAF_HASH_SHIFT(bs)-l->l_hdr.lh_prefix_len)))
184 #define ZAP_LEAF_NUMCHUNKS(bs) \
185 (((1<<bs) - 2*ZAP_LEAF_HASH_NUMENTRIES(bs)) / \
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/demos/
H A Dinetd6 $p = new Net::DummyInetd qw(/usr/lib/sendmail -ba -bs);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dlfind.c56 lfind(const void *ky, const void *bs, size_t *nelp, argument
60 char *base = (char *)bs;
H A Dlsearch.c55 lsearch(const void *ky, void *bs, size_t *nelp, size_t width, argument
59 char *base = (char *)bs;
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/pc/
H A Dntldr.c80 void *bs, *ntldr; local
103 bs = get_virtual_current_address (ch);
111 err = grub_disk_read (dev->disk, 0, 0, GRUB_DISK_SECTOR_SIZE, bs);
117 grub_chainloader_patch_bpb (bs, dev, edx);
H A Dchainloader.c87 grub_chainloader_patch_bpb (void *bs, grub_device_t dev, grub_uint8_t dl) argument
92 if (grub_memcmp ((char *) &((struct grub_ntfs_bpb *) bs)->oem_name,
95 struct grub_ntfs_bpb *bpb = (struct grub_ntfs_bpb *) bs;
103 struct grub_fat_bpb *bpb = (struct grub_fat_bpb *) bs;
151 grub_uint8_t *bs, *ptable; local
172 bs = get_virtual_current_address (ch);
182 if (grub_file_read (file, bs, GRUB_DISK_SECTOR_SIZE)
192 signature = *((grub_uint16_t *) (bs + GRUB_DISK_SECTOR_SIZE - 2));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A DMkbootstrap.pm22 rename "$baseext.bs", "$baseext.bso"
23 if -s "$baseext.bs";
44 open BS, ">$baseext.bs"
45 or die "Unable to open $baseext.bs: $!";
46 print STDOUT "Writing $baseext.bs\n";
83 There is no C<*.bs> file supplied with the extension. Instead, there may
91 else we write a .bs file with an C<@DynaLoader::dl_resolve_using>
94 The C<*_BS> file can put some code into the generated C<*.bs> file by
100 generated C<*.bs> file.
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/
H A DMkbootstrap.t19 # Mkbootstrap makes a backup copy of "$_[0].bs" if it exists and is non-zero
22 if (open(OUT, '>mkboot.bs')) {
29 skip("could not make dummy .bs file: $!", 2) unless $file_is_ready;
32 ok( -s 'mkboot.bso', 'Mkbootstrap should backup the .bs file' );
73 # if there are any arguments, open a file named baseext.bs
74 $file_is_ready = open(OUT, '>dasboot.bs');
77 skip("cannot make dasboot.bs: $!", 5) unless $file_is_ready;
81 chmod 0444, 'dasboot.bs';
84 skip("cannot write readonly files", 1) if -w 'dasboot.bs';
87 like( $@, qr/Unable to open dasboot\.bs/, 'shoul
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dbootsect.c170 * @bs: buffer containing ntfs boot sector to parse
172 * Parse the ntfs bootsector @bs and setup the ntfs volume @vol with the
177 int ntfs_boot_sector_parse(ntfs_volume *vol, const NTFS_BOOT_SECTOR *bs) argument
185 vol->sector_size = le16_to_cpu(bs->bpb.bytes_per_sector);
194 sectors_per_cluster = bs->bpb.sectors_per_cluster;
196 sle64_to_cpu(bs->number_of_sectors));
204 vol->nr_clusters = sle64_to_cpu(bs->number_of_sectors) >>
207 vol->mft_lcn = sle64_to_cpu(bs->mft_lcn);
208 vol->mftmirr_lcn = sle64_to_cpu(bs->mftmirr_lcn);
232 c = bs
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A D_e_math.t84 my ($a,$b,$as,$bs) = @_;
88 my ($x, $xs) = Math::BigFloat::_e_add($aa,$bb,$as,$bs);
96 my ($a,$b,$as,$bs) = @_;
100 my ($x, $xs) = Math::BigFloat::_e_sub($aa,$bb,$as,$bs);
/osnet-11/usr/src/lib/libnsl/nis/gen/
H A Dnis_subr.c852 struct nis_sdata *bs, /* User buffer structure */
859 if (!bs)
862 if (!bs->buf) {
863 bs->buf = malloc(sz);
864 if (!bs->buf)
866 bs->size = sz;
870 } else if (bs->size < sz) {
873 free(bs->buf);
874 size_delta = - (bs->size);
875 bs
851 nis_get_static_storage( struct nis_sdata *bs, uint_t el, uint_t nel) argument
[all...]

Completed in 90 milliseconds

123