Lines Matching +full:string +full:- +full:array +full:- +full:property
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
71 * Check a property of a given length to see if it is all printable and
72 * has a valid terminator. The property can contain either a single string,
73 * or multiple strings each of non-zero length.
75 * @param data The string to check
76 * @param len The string length including terminator
77 * @return 1 if a valid printable string, 0 if not
82 * Parse an escaped character starting at index i in string s. The resulting
85 * terminator of the string.
93 * @param filename The filename to read, or - for stdin
94 * @param len If non-NULL, the amount of data we managed to read
104 * @param filename The filename to read, or - for stdin
106 * @param len If non-NULL, the amount of data we managed to read
115 * @param filename The filename to write, or - for stdout
117 * @return 0 if ok, -1 on error
126 * @param filename The filename to write, or - for stdout
133 * Decode a data type string. The purpose of this string
135 * The string consists of an optional character followed by the type:
142 * s string
150 * @param fmt Format string to process
153 * @return 0 if ok, -1 on error (no type given, or other invalid format)
158 * This is a usage message fragment for the -t option. It is the format
163 "<type>\ts=string, i=int, u=unsigned, x=hex\n" \
168 * Print property data in a readable format to stdout
176 * @param data Pointers to property data
177 * @param len Length of property data
192 * @param errmsg If non-NULL, an error message to display
194 * @param short_opts The string of short options
196 * @param opts_help An array of help strings (should align with long_opts)
209 * @param errmsg If non-NULL, an error message to display
223 /* Helper for aligning long_opts array */
226 /* Helper for usage_short_opts string constant */
229 /* Helper for usage_long_opts option array */
235 /* Helper for usage_opts_help array */