Searched refs:prot (Results 1 - 23 of 23) sorted by relevance

/haiku/headers/cpp/
H A Dpfstream.h44 ipfstream(const char *name, int mode=ios::in, int prot=0664);
55 opfstream(const char *name, int mode=ios::out, int prot=0664);
H A Dfstream.h42 fstreambase(const char *name, int mode, int prot=0664);
49 void open(const char *name, int mode, int prot=0664);
64 ifstream(const char *name, int mode=ios::in, int prot=0664) argument
65 : fstreambase(name, mode | ios::in, prot) { }
66 void open(const char *name, int mode=ios::in, int prot=0664) argument
67 { fstreambase::open(name, mode | ios::in, prot); }
75 ofstream(const char *name, int mode=ios::out, int prot=0664) argument
76 : fstreambase(name, mode | ios::out, prot) { }
77 void open(const char *name, int mode=ios::out, int prot=0664) argument
78 { fstreambase::open(name, mode | ios::out, prot); }
85 fstream(const char *name, int mode, int prot=0664) argument
88 open(const char *name, int mode, int prot=0664) argument
[all...]
H A DSFile.h43 SFile(const char *name, int size, int mode, int prot=0664);
44 void open(const char *name, int size, int mode, int prot=0664);
H A DPlotFile.h59 PlotFile(const char *name, int mode=ios::out, int prot=0664) argument
60 : ofstream(name, mode, prot) { }
H A Dstreambuf.h439 filebuf* open(const char *filename, ios::openmode mode, int prot = 0664);
/haiku/src/libs/stdc++/legacy/
H A DSFile.cc47 SFile::SFile(const char *filename, int size, int mode, int prot) argument
48 : fstream(filename, mode, prot)
59 void SFile::open(const char *name, int size, int mode, int prot) argument
61 fstream::open(name, mode, prot);
H A Dfstream.cc63 fstreambase::fstreambase(const char *name, int mode, int prot) argument
66 if (!rdbuf()->open(name, mode, prot))
81 void fstreambase::open(const char *name, int mode, int prot) argument
84 if (!rdbuf()->open(name, mode, prot))
H A Dpfstream.cc34 ipfstream::ipfstream(const char *name, int mode, int prot) argument
72 if (!rdbuf()->open(name, mode, prot))
76 opfstream::opfstream(const char *name, int mode, int prot) argument
89 if (!rdbuf()->open(name, mode, prot))
H A Dfilebuf.cc80 filebuf* filebuf::open(const char *filename, ios::openmode mode, int prot) argument
115 if (!_IO_file_open (this, filename, posix_mode, prot,
126 int fd = ::open(filename, posix_mode, prot);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_tx.c233 enum ieee80211_protmode prot; local
292 prot = IEEE80211_PROT_NONE;
296 prot = ic->ic_htprotmode;
298 prot = ic->ic_protmode;
305 prot = IEEE80211_PROT_RTSCTS;
308 if (prot != IEEE80211_PROT_NONE)
309 r92c_tx_protection(sc, txd, prot, ridx);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_tx.c236 enum ieee80211_protmode prot; local
293 prot = IEEE80211_PROT_NONE;
298 prot = ic->ic_htprotmode;
300 prot = ic->ic_protmode;
307 prot = IEEE80211_PROT_RTSCTS;
309 if (prot != IEEE80211_PROT_NONE)
310 r12a_tx_protection(sc, txd, prot, ridx);
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.h91 extern status_t get_remote_address(fs_nspace *ns, int32 prog, int32 vers, int32 prot, struct sockaddr_in *addr);
H A Dnfs_add_on.c416 get_remote_address(fs_nspace *ns, int32 prog, int32 vers, int32 prot, argument
428 XDROutPacketAddInt32(&call, prot);
/haiku/src/system/libroot/posix/
H A Dglob.c176 Char *bufnext, *bufend, patbuf[MAXPATHLEN], prot; local
220 prot = M_PROTECT;
222 prot = 0;
228 *bufnext++ = wc | prot;
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfileops.c208 _IO_file_open (fp, filename, posix_mode, prot, read_write, is32not64)
212 int prot; variable
219 ? open (filename, posix_mode, prot)
220 : _G_OPEN64 (filename, posix_mode, prot));
222 fdesc = open (filename, posix_mode, prot);
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2661.c1360 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate)
1371 mprot = ieee80211_alloc_prot(ni, m, rate, prot);
1375 "could not allocate mbuf for protection mode %d\n", prot);
1398 if (prot == IEEE80211_PROT_RTSCTS)
1461 int prot = IEEE80211_PROT_NONE; local
1463 prot = IEEE80211_PROT_RTSCTS;
1466 prot = ic->ic_protmode;
1467 if (prot != IEEE80211_PROT_NONE) {
1468 error = rt2661_sendprot(sc, ac, m0, ni, prot, rate);
1359 rt2661_sendprot(struct rt2661_softc *sc, int ac, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument
H A Drt2560.c1593 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate)
1603 mprot = ieee80211_alloc_prot(ni, m, rate, prot);
1607 "could not allocate mbuf for protection mode %d\n", prot);
1630 if (prot == IEEE80211_PROT_RTSCTS)
1767 int prot = IEEE80211_PROT_NONE; local
1769 prot = IEEE80211_PROT_RTSCTS;
1772 prot = ic->ic_protmode;
1773 if (prot != IEEE80211_PROT_NONE) {
1774 error = rt2560_sendprot(sc, m0, ni, prot, rate);
1592 rt2560_sendprot(struct rt2560_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_ural.c1128 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate)
1135 mprot = ieee80211_alloc_prot(ni, m, rate, prot);
1139 "could not allocate mbuf for protection mode %d\n", prot);
1145 if (prot == IEEE80211_PROT_RTSCTS)
1255 int prot = IEEE80211_PROT_NONE; local
1257 prot = IEEE80211_PROT_RTSCTS;
1260 prot = ic->ic_protmode;
1261 if (prot != IEEE80211_PROT_NONE) {
1262 error = ural_sendprot(sc, m0, ni, prot, rate);
1127 ural_sendprot(struct ural_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument
H A Dif_rum.c1418 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate)
1427 mprot = ieee80211_alloc_prot(ni, m, rate, prot);
1431 "could not allocate mbuf for protection mode %d\n", prot);
1437 if (prot == IEEE80211_PROT_RTSCTS)
1679 int prot = IEEE80211_PROT_NONE; local
1681 prot = IEEE80211_PROT_RTSCTS;
1684 prot = ic->ic_protmode;
1685 if (prot != IEEE80211_PROT_NONE) {
1686 error = rum_sendprot(sc, m0, ni, prot, rate);
1417 rum_sendprot(struct rum_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument
H A Dif_run.c3650 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate)
3669 mprot = ieee80211_alloc_prot(ni, m, rate, prot);
3679 if (prot == IEEE80211_PROT_RTSCTS)
3705 RUN_DPRINTF(sc, RUN_DEBUG_XMIT, "sending prot len=%u rate=%u\n",
3649 run_sendprot(struct run_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c1801 int prot; local
1811 prot = 0;
1814 prot |= IEEE80211_ERP_NON_ERP_PRESENT;
1816 prot |= IEEE80211_ERP_USE_PROTECTION;
1818 prot |= IEEE80211_ERP_LONG_PREAMBLE;
1822 "%s: chan %u MHz/flags 0x%x %s slot, (prot 0x%x ic_flags 0x%x)\n",
1824 ic->ic_flags & IEEE80211_F_SHSLOT ? "short" : "long", prot,
1827 mwl_hal_setgprot(mh, prot);
H A Dmwlhal.c1822 mwl_hal_setgprot(struct mwl_hal *mh0, int prot) argument
1831 pCmd->GProtectFlag = htole32(prot);
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_output.c3292 uint8_t rate, int prot)
3301 KASSERT(prot == IEEE80211_PROT_RTSCTS ||
3302 prot == IEEE80211_PROT_CTSONLY,
3303 ("wrong protection type %d", prot));
3311 if (prot == IEEE80211_PROT_RTSCTS) {
3291 ieee80211_alloc_prot(struct ieee80211_node *ni, const struct mbuf *m, uint8_t rate, int prot) argument

Completed in 301 milliseconds