Searched defs:st (Results 1 - 25 of 74) sorted by relevance

123

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dfdopen.c85 struct stat st; local
86 if (fstat(fd, &st) == -1) {
89 if (!S_ISREG(st.st_mode)) {
H A Dfgetwc.c53 mbstate_t *st; local
77 st = &wcio->wcio_mbstate_in;
88 size = mbrtowc(&wc, &c, 1, st);
H A Dfopen.c74 struct stat st; local
75 if (fstat(f, &st) == -1) {
81 if (!S_ISREG(st.st_mode)) {
H A Dfseeko.c77 struct stat st; local
170 fp->_file < 0 || fstat(fp->_file, &st) ||
171 !S_ISREG(st.st_mode)) {
175 fp->_blksize = st.st_blksize;
186 if (fstat(fp->_file, &st))
191 target = st.st_size + offset;
H A Dmakebuf.c106 struct stat st; local
115 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) {
122 *couldbetty = S_ISCHR(st.st_mode);
123 if (st.st_blksize == 0) {
133 *bufsize = st.st_blksize;
134 fp->_blksize = st.st_blksize;
135 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
H A Dfputwc.c55 mbstate_t *st; local
80 st = &wcio->wcio_mbstate_out;
82 size = wcrtomb(buf, wc, st);
H A Dfreopen.c155 struct stat st; local
156 if (fstat(f, &st) == -1) {
162 if (!S_ISREG(st.st_mode)) {
/vbox/src/VBox/Runtime/r3/posix/
H A DRTHandleGetStandard-posix.cpp75 struct stat st; local
76 int rc = fstat(fd, &st);
86 if (S_ISREG(st.st_mode))
88 else if ( S_ISFIFO(st.st_mode)
89 || (st.st_mode == 0 && st.st_nlink == 0 /*see bugs on bsd manpage*/))
91 else if (S_ISSOCK(st.st_mode))
H A DRTPathUserHome-posix.cpp84 struct stat st; local
87 || stat(pPasswd->pw_dir, &st)
88 || !S_ISDIR(st.st_mode))
117 struct stat st; local
118 if ( !stat(pszHome, &st)
119 && S_ISDIR(st.st_mode))
H A Ddir-posix.cpp105 struct stat st; local
106 if (!stat(pszNativePath, &st))
109 if (!S_ISDIR(st.st_mode))
124 struct stat st; local
125 if (!stat(pszNativePath, &st) && !S_ISDIR(st.st_mode))
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/BPDG/
H A DBPDG.py32 import StringTable as st namespace
35 PROJECT_NAME = st.LBL_BPDG_LONG_UNI
36 VERSION = (st.LBL_BPDG_VERSION + " " + gBUILD_VERSION)
97 usage=st.LBL_BPDG_USAGE
100 help=st.MSG_OPTION_DEBUG_LEVEL)
102 help=st.MSG_OPTION_VERBOSE)
104 help=st.MSG_OPTION_QUIET)
106 help=st.MSG_OPTION_VPD_FILENAME)
108 help=st.MSG_OPTION_MAP_FILENAME)
110 help=st
[all...]
H A DGenVpd.py18 import StringTable as st namespace
635 fMapFile.write (st.MAP_FILE_COMMENT_TEMPLATE + "\n")
/vbox/src/VBox/Main/src-helper-apps/
H A DVBoxVolInfo.cpp85 struct stat st; local
87 if (!stat(path, &st))
88 if (S_ISBLK(st.st_mode))
89 if (devid == st.st_rdev)
/vbox/src/VBox/Main/src-server/
H A DHostDnsServiceResolvConf.cpp83 struct rcp_state st; local
85 st.rcps_flags = RCPSF_NO_STR2IPCONV;
86 int rc = rcp_parse(&st, m->resolvConfFilename.c_str());
91 for (unsigned i = 0; i != st.rcps_num_nameserver; ++i)
93 AssertBreak(st.rcps_str_nameserver[i]);
94 info.servers.push_back(st.rcps_str_nameserver[i]);
97 if (st.rcps_domain)
98 info.domain = st.rcps_domain;
100 for (unsigned i = 0; i != st.rcps_num_searchlist; ++i)
102 AssertBreak(st
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dicmpv6.c28 struct sockaddr_tcpip st; member in union:__anon15782
61 return tcpip_tx ( iobuf, &icmp6_protocol, NULL, &st_dest.st,
H A Dipv6.c304 struct sockaddr_tcpip st; member in union:__anon15784
347 return ipv6_process_nxt_hdr ( iobuf, ip6hdr->nxt_hdr, &src.st, &dest.st );
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/
H A DUIWizardExportAppPageExpert.cpp280 StorageType st = storageType(); local
281 switch (st)
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Locale/
H A Dsetlocale.c343 struct stat st; local
344 if (stat(name, &st) < 0)
346 if (!S_ISDIR(st.st_mode))
/vbox/src/VBox/Devices/Network/slirp/
H A Dslirp_dns.c158 struct rcp_state st; local
163 st.rcps_flags = RCPSF_IGNORE_IPV6;
164 rc = rcp_parse(&st, RESOLV_CONF_FILE);
170 if (st.rcps_num_nameserver == 0)
179 for (i = 0; i != st.rcps_num_nameserver; ++i)
182 RTNETADDRU *address = &st.rcps_nameserver[i].uAddr;
210 if (st.rcps_domain != 0)
219 pDomain->dd_pszDomain = RTStrDup(st.rcps_domain);
224 if (ppszDomain && st.rcps_domain != 0)
225 *ppszDomain = RTStrDup(st
[all...]
H A Dresolv_conf_parser.c248 struct rcp_state *st; local
254 st = parser->rcpp_state;
257 if (st->rcps_num_nameserver >= RCPS_MAX_NAMESERVERS)
260 address = &st->rcps_nameserver[st->rcps_num_nameserver];
261 str_address = &st->rcps_nameserver_str_buffer[st->rcps_num_nameserver * RCPS_IPVX_SIZE];
265 && (st->rcps_flags & RCPSF_IGNORE_IPV6) == 0))
278 if ((st->rcps_flags & RCPSF_NO_STR2IPCONV) != 0)
285 st
337 struct rcp_state *st; local
360 struct rcp_state *st; local
397 struct rcp_state *st; local
[all...]
/vbox/src/VBox/RDP/client-1.8.3/
H A Dprintercache.c167 struct stat st; local
190 if (fstat(fd, &st))
196 *data = (uint8 *) xmalloc(st.st_size);
197 length = read(fd, *data, st.st_size);
H A Dutils.c127 struct stat st; local
129 res = stat(path, &st);
133 if (!S_ISDIR(st.st_mode))
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageBandwidthControl.cpp321 SessionType_T st; local
322 CHECK_ERROR_RET(a->session, COMGETTER(Type)(&st), 1);
323 bool fRunTime = (st == SessionType_Shared);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dgetnetbydns.c127 char *in, *st, *pauxt, *bp, **ap; local
204 for (st = in, nchar = 0;
205 *st != '.';
206 st++, nchar++)
218 in = ++st;
/vbox/src/VBox/Runtime/r3/linux/
H A Dsysfs.cpp153 struct stat st; local
154 fRet = stat(szFilename, &st) == 0;

Completed in 93 milliseconds

123