Lines Matching +full:post +full:-

73         if (!state.is_string(-1))  in qualify_path()
76 return fs::path(state.to_string(-1)) / path; in qualify_path()
102 /// \pre stack(-1) The input path.
103 /// \post stack(-1) The basename of the input path.
113 const fs::path path = to_path(state, -1); in lua_fs_basename()
122 /// \pre stack(-1) The input path.
123 /// \post stack(-1) The directory part of the input path.
133 const fs::path path = to_path(state, -1); in lua_fs_dirname()
142 /// \pre stack(-1) The input path.
143 /// \post stack(-1) Whether the input path exists or not.
153 const fs::path path = qualify_path(state, to_path(state, -1)); in lua_fs_exists()
182 state.push_string(entry->d_name); in files_iterator()
194 /// \pre stack(-1) The userdata containing an open DIR* object.
195 /// \post The DIR* object is closed.
205 PRE(state.is_userdata(-1)); in files_gc()
207 DIR** dirp = state.to_userdata< DIR* >(-1); in files_gc()
221 /// \pre stack(-1) The input path.
222 /// \post stack(-1) The iterator function.
232 const fs::path path = qualify_path(state, to_path(state, -1)); in lua_fs_files()
239 state.set_table(-3); in lua_fs_files()
241 state.set_metatable(-2); in lua_fs_files()
259 /// \pre stack(-1) The input path.
260 /// \post stack(-1) Whether the input path is absolute or not.
270 const fs::path path = to_path(state, -1); in lua_fs_is_absolute()
280 /// \pre stack(-2) The first input path.
281 /// \pre stack(-1) The second input path.
282 /// \post stack(-1) The concatenation of the two paths.
292 const fs::path path1 = to_path(state, -2); in lua_fs_join()
293 const fs::path path2 = to_path(state, -1); in lua_fs_join()
305 /// \post The global 'fs' symbol is set to a table that contains functions to a
318 /// \post The global 'fs' symbol is set to a table that contains functions to a