Searched refs:ofs (Results 1 - 25 of 148) sorted by relevance

123456

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/
H A D2.cc25 std::ofstream ofs; local
28 ofs.open(name);
30 ofs.close();
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/
H A D5.cc42 std::ofstream ofs(filename);
47 VERIFY( ofs.good() );
50 ofs << str << std::endl;
51 if (!ofs.good())
54 ofs << str << std::endl;
55 if (!ofs.good())
59 VERIFY( ofs.good() );
61 ofs.close();
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
H A D5.cc40 std::wofstream ofs(filename);
45 VERIFY( ofs.good() );
48 ofs << str << std::endl;
49 if (!ofs.good())
52 ofs << str << std::endl;
53 if (!ofs.good())
57 VERIFY( ofs.good() );
59 ofs.close();
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/
H A D5.cc40 std::ofstream ofs(filename);
45 VERIFY( ofs.good() );
48 ofs << str << std::endl;
49 if (!ofs.good())
52 ofs << str << std::endl;
53 if (!ofs.good())
57 VERIFY( ofs.good() );
59 ofs.close();
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
H A D5.cc40 std::wofstream ofs(filename);
45 VERIFY( ofs.good() );
48 ofs << str << std::endl;
49 if (!ofs.good())
52 ofs << str << std::endl;
53 if (!ofs.good())
57 VERIFY( ofs.good() );
59 ofs.close();
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/
H A D2.cc26 std::ofstream ofs(name);
/netbsd-6-1-5-RELEASE/dist/smbfs/include/netsmb/
H A Dsmb_lib.h63 #define getb(buf,ofs) (((const u_int8_t *)(buf))[ofs])
64 #define setb(buf,ofs,val) (((u_int8_t*)(buf))[ofs])=val
65 #define getbw(buf,ofs) ((u_int16_t)(getb(buf,ofs)))
66 #define getw(buf,ofs) (*((u_int16_t*)(&((u_int8_t*)(buf))[ofs])))
67 #define getdw(buf,ofs) (*((u_int32_t*)(&((u_int8_t*)(buf))[ofs])))
[all...]
/netbsd-6-1-5-RELEASE/dist/nvi/common/
H A Doptions.awk6 ofs = FS
10 FS=ofs
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/dev/
H A Dif_ae.c39 ae_size_card_memory(bus_space_tag_t bst, bus_space_handle_t bsh, int ofs) argument
54 bus_space_write_2(bst, bsh, ofs + i8, 0x8888);
55 bus_space_write_2(bst, bsh, ofs + i4, 0x4444);
56 bus_space_write_2(bst, bsh, ofs + i3, 0x3333);
57 bus_space_write_2(bst, bsh, ofs + i2, 0x2222);
58 bus_space_write_2(bst, bsh, ofs + i1, 0x1111);
69 if (bus_space_read_2(bst, bsh, ofs + i1) == 0x1111 &&
70 bus_space_read_2(bst, bsh, ofs + i2) == 0x2222 &&
71 bus_space_read_2(bst, bsh, ofs + i3) == 0x3333 &&
72 bus_space_read_2(bst, bsh, ofs
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/cfi/
H A Dcfi-arm-1.d14 DW_CFA_def_cfa: r13 ofs 0
18 DW_CFA_def_cfa: r12 ofs 0
20 DW_CFA_def_cfa: r13 ofs 16
26 DW_CFA_def_cfa: r11 ofs 16
H A Dcfi-mips-1.d14 DW_CFA_def_cfa: r29 ofs 0
24 DW_CFA_def_cfa: r30 ofs 8
26 DW_CFA_def_cfa: r29 ofs 0
H A Dcfi-common-7.d20 DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
22 DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 64
/netbsd-6-1-5-RELEASE/sys/arch/hpc/stand/hpcboot/
H A Dfile_fat.cpp86 FatFile::read(void *buf, size_t bytes, off_t ofs) argument
90 if (ofs != -1)
91 SetFilePointer(_handle, ofs, 0, FILE_BEGIN);
98 FatFile::write(const void *buf, size_t bytes, off_t ofs) argument
102 if (ofs != -1)
103 SetFilePointer(_handle, ofs, 0, FILE_BEGIN);
110 FatFile::seek(off_t ofs) argument
113 SetFilePointer(_handle, ofs, 0, FILE_BEGIN);
H A Dfile_ufs.cpp111 UfsFile::read(void *buf, size_t bytes, off_t ofs) argument
115 if (ofs != -1)
116 ufs_seek(_f, ofs, SEEK_SET);
123 UfsFile::write(const void *buf, size_t bytes, off_t ofs) argument
127 if (ofs != -1)
128 ufs_seek(_f, ofs, SEEK_SET);
135 UfsFile::seek(off_t ofs) argument
137 ufs_seek(_f, ofs, SEEK_SET);
/netbsd-6-1-5-RELEASE/sys/compat/common/
H A Dvfs_syscalls_20.c92 struct statfs12 ofs; local
94 ofs.f_type = 0;
95 ofs.f_oflags = (short)fs->f_flag;
99 ofs.f_type = nv[i].value;
104 ofs.f_bsize = CLAMP(fs->f_frsize);
105 ofs.f_iosize = CLAMP(fs->f_iosize);
106 ofs.f_blocks = CLAMP(fs->f_blocks);
107 ofs.f_bfree = CLAMP(fs->f_bfree);
109 ofs.f_bavail = CLAMP(fs->f_bfree - fs->f_bresvd);
111 ofs
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/i386/pci/
H A Dopti82c700.c131 opti82c700_addr(int link, int *addrofs, int *ofs) argument
146 *ofs = (regofs & 3) << 3;
155 *ofs = regofs << 2;
199 int val, addrofs, ofs; local
201 if (opti82c700_addr(clink, &addrofs, &ofs))
205 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK;
217 int addrofs, ofs; local
223 if (opti82c700_addr(clink, &addrofs, &ofs))
227 reg &= ~(FIRESTAR_CFG_PIRQ_MASK << ofs);
228 reg |= (irq << ofs);
238 int i, val, addrofs, ofs; local
252 i), &addrofs, &ofs); local
268 i), &addrofs, &ofs); local
284 int i, val, addrofs, ofs; local
297 i), &addrofs, &ofs); local
317 i), &addrofs, &ofs); local
[all...]
H A Dopti82c700reg.h64 #define FIRESTAR_PIR_MAKELINK(src, ofs) \
66 ((ofs) << FIRESTAR_PIR_REGOFS_SHIFT))
/netbsd-6-1-5-RELEASE/lib/libc/citrus/
H A Dcitrus_region.h64 _citrus_region_check(const struct _citrus_region *r, size_t ofs, size_t sz) argument
66 return r->r_size >= ofs + sz ? 0 : -1;
100 size_t ofs, size_t sz)
102 if (_citrus_region_check(r, ofs, sz))
104 _citrus_region_init(subr, _citrus_region_offset(r, ofs), sz);
98 _citrus_region_get_subregion(struct _citrus_region *subr, const struct _citrus_region *r, size_t ofs, size_t sz) argument
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/
H A Dchfs_readinode.c96 return (tdi1->tmpnode->node->ofs - tdi2->tmpnode->node->ofs);
103 uint64_t ofs = *(const uint64_t *)key; local
105 return (tdi->tmpnode->node->ofs - ofs);
127 return (frag1->ofs - frag2->ofs);
134 uint64_t ofs = *(const uint64_t *)key; local
136 return (frag->ofs - ofs);
167 uint64_t ofs; local
468 new_fragment(struct chfs_full_dnode *fdn, uint32_t ofs, uint32_t size) argument
1060 off_t ofs; local
[all...]
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/libdrm/intel/
H A Dmm.h38 int ofs,size; member in struct:mem_block
57 extern struct mem_block *mmInit(int ofs, int size);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.other/
H A Dcrash15.C42 foo ofs(0);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/
H A D4879.cc79 std::ofstream ofs(name);
82 ofs.put('t');
92 ofs.close();
93 if (!(ofs.rdstate() & std::ios::failbit))
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.other/
H A Dcrash15.C42 foo ofs(0);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/
H A D4879.cc74 std::ofstream ofs(name);
77 ofs.put('t');
87 ofs.close();
88 if (!(ofs.rdstate() & std::ios::failbit))
/netbsd-6-1-5-RELEASE/usr.bin/mkcsmapper/
H A Dyacc.y221 put8(void *ptr, size_t ofs, u_int32_t val)
223 *((u_int8_t *)ptr + ofs) = val;
227 put16(void *ptr, size_t ofs, u_int32_t val)
230 memcpy((u_int16_t *)ptr + ofs, &oval, 2);
234 put32(void *ptr, size_t ofs, u_int32_t val)
237 memcpy((u_int32_t *)ptr + ofs, &oval, 4);
301 size_t ofs, i, len;
303 ofs = 0;
307 put32(ptr, ofs, rowcol_bits); ofs
[all...]

Completed in 161 milliseconds

123456