Lines Matching +full:string +full:- +full:array +full:- +full:property

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
79 * Check a property of a given length to see if it is all printable and
80 * has a valid terminator. The property can contain either a single string,
81 * or multiple strings each of non-zero length.
83 * @param data The string to check
84 * @param len The string length including terminator
85 * @return 1 if a valid printable string, 0 if not
90 * Parse an escaped character starting at index i in string s. The resulting
93 * terminator of the string.
101 * @param filename The filename to read, or - for stdin
102 * @param len If non-NULL, the amount of data we managed to read
112 * @param filename The filename to read, or - for stdin
114 * @param len If non-NULL, the amount of data we managed to read
123 * @param filename The filename to write, or - for stdout
125 * @return 0 if ok, -1 on error
134 * @param filename The filename to write, or - for stdout
141 * Decode a data type string. The purpose of this string
143 * The string consists of an optional character followed by the type:
150 * s string
159 * @param fmt Format string to process
162 * @return 0 if ok, -1 on error (no type given, or other invalid format)
167 * This is a usage message fragment for the -t option. It is the format
172 "<type>\ts=string, i=int, u=unsigned, x=hex, r=raw\n" \
177 * Print property data in a readable format to stdout
185 * @param data Pointers to property data
186 * @param len Length of property data
201 * @param errmsg If non-NULL, an error message to display
203 * @param short_opts The string of short options
205 * @param opts_help An array of help strings (should align with long_opts)
218 * @param errmsg If non-NULL, an error message to display
232 /* Helper for aligning long_opts array */
235 /* Helper for usage_short_opts string constant */
238 /* Helper for usage_long_opts option array */
244 /* Helper for usage_opts_help array */