Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 135) sorted by relevance

123456

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/
A Dstat.c14 #undef stat
19 int stat(const char *file_name, struct stat *buf) in stat() function
27 int stat(const char *file_name, struct stat *buf) in stat() function
44 result = INLINE_SYSCALL(stat, 2, file_name, &kbuf); in stat()
52 libc_hidden_def(stat)
56 strong_alias_untyped(stat,stat64)
A Dgetcwd.c45 struct stat st; in _syscall2()
52 if (stat(path_buf, &st) < 0) { in _syscall2()
85 if (stat(path_buf, &st) < 0) in _syscall2()
107 struct stat st;
111 if (stat(path_buf, &st) < 0) {
143 struct stat st;
150 if (stat("/", &st) < 0) {
A Dgetdirname.c38 struct stat dotstat, pwdstat; in get_current_dir_name()
47 && stat (".", &dotstat) == 0 in get_current_dir_name()
48 && stat (pwd, &pwdstat) == 0 in get_current_dir_name()
A Dxstatconv.h29 extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) attribute_hidden;
30 extern void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf) attribute_hidden;
/l4re-core-master/uclibc/lib/contrib/uclibc/test/stat/
A Dstat.c8 static void print_struct_stat(char *msg, struct stat *s) in print_struct_stat()
31 struct stat s; in main()
39 memset(&s, 0, sizeof(struct stat)); in main()
40 ret = stat(file, &s); in main()
47 memset(&s, 0, sizeof(struct stat)); in main()
61 memset(&s, 0, sizeof(struct stat)); in main()
A Dstat-loop256.c7 struct stat statbuf; in main()
14 ret = stat(loop255, &statbuf); in main()
20 ret = stat(loop256, &statbuf); in main()
A Dmemcmp-stat.c21 static void show_stat(struct stat *st) in show_stat()
73 struct stat fst, st; in main()
91 ret = stat(".testfile", &st); in main()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/
A Dpmap_rmt.c76 enum clnt_stat stat; in pmap_rmtcall() local
97 stat = RPC_FAILED; in pmap_rmtcall()
101 return stat; in pmap_rmtcall()
259 stat = RPC_CANTSEND; in clnt_broadcast()
266 stat = RPC_CANTSEND; in clnt_broadcast()
323 stat = RPC_SUCCESS; in clnt_broadcast()
335 stat = RPC_TIMEDOUT; in clnt_broadcast()
342 stat = RPC_CANTRECV; in clnt_broadcast()
355 stat = RPC_CANTRECV; in clnt_broadcast()
392 stat = RPC_SUCCESS; in clnt_broadcast()
[all …]
A Dsvc_authux.c55 enum auth_stat stat; in _svcauth_unix() local
83 stat = AUTH_BADCRED; in _svcauth_unix()
95 stat = AUTH_BADCRED; in _svcauth_unix()
111 stat = AUTH_BADCRED; in _svcauth_unix()
119 stat = AUTH_BADCRED; in _svcauth_unix()
138 stat = AUTH_OK; in _svcauth_unix()
141 return stat; in _svcauth_unix()
A Dxdr_array.c65 bool_t stat = TRUE; in xdr_array() local
112 for (i = 0; (i < c) && stat; i++) in xdr_array()
114 stat = (*elproc) (xdrs, target, LASTUNSIGNED); in xdr_array()
126 return stat; in xdr_array()
A Dxdr_reference.c64 bool_t stat; in xdr_reference() local
85 stat = (*proc) (xdrs, loc, LASTUNSIGNED); in xdr_reference()
92 return stat; in xdr_reference()
A Dauth_unix.c248 int stat; in authunix_refresh() local
262 stat = xdr_authunix_parms (&xdrs, &aup); in authunix_refresh()
263 if (!stat) in authunix_refresh()
271 stat = xdr_authunix_parms (&xdrs, &aup); in authunix_refresh()
272 if (!stat) in authunix_refresh()
281 return stat; in authunix_refresh()
A Dclnt_perror.c45 static char *auth_errmsg (enum auth_stat stat) internal_function;
172 clnt_sperrno (enum clnt_stat stat) in clnt_sperrno() argument
178 if (rpc_errlist[i].status == stat) in clnt_sperrno()
392 auth_errmsg (enum auth_stat stat) in auth_errmsg() argument
398 if (auth_errlist[i].status == stat) in auth_errmsg()
/l4re-core-master/uclibc/lib/contrib/uclibc/include/sys/
A Dstat.h208 extern int stat (const char *__restrict __file,
209 struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
210 libc_hidden_proto(stat)
214 extern int fstat (int __fd, struct stat *__buf) __THROW __nonnull ((2));
218 extern int __REDIRECT_NTH (stat, (const char *__restrict __file,
219 struct stat *__restrict __buf), stat64)
224 # define stat stat64
242 struct stat *__restrict __buf, int __flag)
248 struct stat *__restrict __buf,
269 struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/frv/
A Dstat.c16 _syscall2(int, stat, const char *, file_name, struct stat *, buf)
17 libc_hidden_def(stat)
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/include/
A Ddl-syscall.h30 #define kernel_stat64 stat
32 #define kernel_stat stat
89 fn, struct stat *, stat, int, flags) in _syscall3()
92 struct stat *buf) in _syscall3()
99 struct stat *, buf)
107 static __always_inline _syscall2(int, _dl_fstat, int, fd, struct stat *, buf) in _syscall2() argument
/l4re-core-master/lua/lib/contrib/src/
A Dlcorolib.c77 int stat = lua_status(co); in luaB_auxwrap() local
78 if (stat != LUA_OK && stat != LUA_YIELD) { /* error in the coroutine? */ in luaB_auxwrap()
79 stat = lua_resetthread(co); /* close its tbc variables */ in luaB_auxwrap()
80 lua_assert(stat != LUA_OK); in luaB_auxwrap()
83 if (stat != LUA_ERRMEM && /* not a memory error and ... */ in luaB_auxwrap()
A Dloadlib.c414 int stat = lookforfunc(L, path, init); in ll_loadlib() local
415 if (l_likely(stat == 0)) /* no errors? */ in ll_loadlib()
420 lua_pushstring(L, (stat == ERRLIB) ? LIB_FAIL : "init"); in ll_loadlib()
534 static int checkload (lua_State *L, int stat, const char *filename) { in checkload() argument
535 if (l_likely(stat)) { /* module loaded successfully? */ in checkload()
568 int stat; in loadfunc() local
571 stat = lookforfunc(L, filename, openfunc); in loadfunc()
572 if (stat != ERRFUNC) return stat; in loadfunc()
592 int stat; in searcher_Croot() local
597 if ((stat = loadfunc(L, filename, name)) != 0) { in searcher_Croot()
[all …]
A Dlauxlib.c245 LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) { in luaL_fileresult() argument
247 if (stat) { in luaL_fileresult()
272 #define l_inspectstat(stat,what) \ argument
273 if (WIFEXITED(stat)) { stat = WEXITSTATUS(stat); } \
274 else if (WIFSIGNALED(stat)) { stat = WTERMSIG(stat); what = "signal"; }
278 #define l_inspectstat(stat,what) /* no op */ argument
285 LUALIB_API int luaL_execresult (lua_State *L, int stat) { in luaL_execresult() argument
286 if (stat != 0 && errno != 0) /* error with an 'errno'? */ in luaL_execresult()
290 l_inspectstat(stat, what); /* interpret result */ in luaL_execresult()
291 if (*what == 'e' && stat == 0) /* successful termination? */ in luaL_execresult()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/time/
A Dtst-futimens1.c35 struct stat probe; in do_test()
38 if ((!stat(".", &probe)) && probe.st_mtim.tv_nsec) in do_test()
40 else if ((!stat(argv[0], &probe)) && probe.st_mtim.tv_nsec) in do_test()
45 struct stat sb; in do_test()
66 if (stat(name, &sb) < 0) { in do_test()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/statfs/
A Dstatvfs64.c31 #undef stat
32 #define stat stat64 macro
62 #define STAT(st) stat (file, st) in statvfs64()
A Dstatvfs.c35 struct stat st; in statvfs()
41 #define STAT(st) stat (file, st) in statvfs()
/l4re-core-master/ldso/libdl/
A Ddl-syscall.h18 _dl_stat(const char *path, struct stat * buf) in _dl_stat()
19 { return stat(path, buf); } in _dl_stat()
22 _dl_fstat(int fd, struct stat *buf) in _dl_fstat()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/dirent/
A Dopendir.c46 struct stat st; in fdopendir()
72 struct stat statbuf; in opendir()
77 if (stat(name, &statbuf)) in opendir()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/internals/
A Dtempname.c50 struct stat buf; in direxists()
51 return stat(dir, &buf) == 0 && S_ISDIR (buf.st_mode); in direxists()
210 struct stat st; in __gen_tempname()
211 if (stat (tmpl, &st) < 0) { in __gen_tempname()

Completed in 32 milliseconds

123456