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

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
72 * Check a property of a given length to see if it is all printable and
73 * has a valid terminator. The property can contain either a single string,
74 * or multiple strings each of non-zero length.
76 * @param data The string to check
77 * @param len The string length including terminator
78 * @return 1 if a valid printable string, 0 if not
83 * Parse an escaped character starting at index i in string s. The resulting
86 * terminator of the string.
94 * @param filename The filename to read, or - for stdin
95 * @param len If non-NULL, the amount of data we managed to read
105 * @param filename The filename to read, or - for stdin
107 * @param len If non-NULL, the amount of data we managed to read
116 * @param filename The filename to write, or - for stdout
118 * @return 0 if ok, -1 on error
127 * @param filename The filename to write, or - for stdout
134 * Decode a data type string. The purpose of this string
136 * The string consists of an optional character followed by the type:
143 * s string
152 * @param fmt Format string to process
155 * @return 0 if ok, -1 on error (no type given, or other invalid format)
160 * This is a usage message fragment for the -t option. It is the format
165 "<type>\ts=string, i=int, u=unsigned, x=hex, r=raw\n" \
170 * Print property data in a readable format to stdout
178 * @param data Pointers to property data
179 * @param len Length of property data
194 * @param errmsg If non-NULL, an error message to display
196 * @param short_opts The string of short options
198 * @param opts_help An array of help strings (should align with long_opts)
211 * @param errmsg If non-NULL, an error message to display
225 /* Helper for aligning long_opts array */
228 /* Helper for usage_short_opts string constant */
231 /* Helper for usage_long_opts option array */
237 /* Helper for usage_opts_help array */