Lines Matching +full:command +full:- +full:length
4 * SPDX-License-Identifier: Apache-2.0
17 * content against the build command description.
28 /** Maximum length of a path supported by the test infrastructure. */
76 * If adding an element would exceed the maximum allowed path length
92 size_t len = sp->eos - sp->path; in testfs_path_copy()
94 memcpy(dp->path, sp->path, len + 1); in testfs_path_copy()
95 dp->eos = dp->path + len; in testfs_path_copy()
102 * Writes are generated in blocks up to TESTFS_BUFFER_SIZE in length.
118 * Reads are performed in blocks up to TESTFS_BUFFER_SIZE in length.
136 * Writes are generated in blocks up to TESTFS_BUFFER_SIZE in length.
152 * Reads are performed in blocks up to TESTFS_BUFFER_SIZE in length.
178 * up to the next matching EXIT_DIR command are to be created within
208 #define TESTFS_BCMD_IS_ENTER_DIR(cp) (((cp)->type == FS_DIR_ENTRY_DIR) \
209 && ((cp)->name != NULL))
210 #define TESTFS_BCMD_IS_EXIT_DIR(cp) (((cp)->type == FS_DIR_ENTRY_DIR) \
211 && ((cp)->name == NULL))
212 #define TESTFS_BCMD_IS_FILE(cp) (((cp)->type == FS_DIR_ENTRY_FILE) \
213 && ((cp)->name != NULL))
214 #define TESTFS_BCMD_IS_END(cp) (((cp)->type == FS_DIR_ENTRY_FILE) \
215 && ((cp)->name == NULL))
236 * @param cp a command within the range
238 * @return a pointer to the END command in the range.
252 * Build command record entries that are that are matched will have
258 * @param scp the first build command relevant to the directory.
264 * build command content, or a negative error code on compare or file
271 /** Search a build command range for a match to an entry.
274 * match between the build command and the file status. The content
279 * @param scp pointer to the first build command associated with the
282 * @param ecp pointer to the exclusive last entry in the build command
285 * @return a pointer to a build command that matches in type and name,
292 /** Find the exit dir command that balances the enter dir command.
294 * @param cp pointer to an ENTER_DIR command.
299 * @return a pointer to the paired EXIT_DIR command.