Lines Matching full:a

18  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
82 * @param[in] aString A pointer to the string.
91 * Finds the first occurrence of a given character in a null-terminated string.
93 * @param[in] aString A pointer to the string.
94 * @param[in] aChar A char to search for in the string.
101 * Finds the first occurrence of a given sub-string in a null-terminated string.
103 * @param[in] aString A pointer to the string.
104 * @param[in] aSubString A sub-string to search for.
113 * Checks whether a null-terminated string starts with a given prefix string.
115 * @param[in] aString A pointer to the string.
116 * @param[in] aPrefixString A prefix string.
125 * Checks whether a null-terminated string ends with a given character.
127 * @param[in] aString A pointer to the string.
128 * @param[in] aChar A char to check.
136 * Checks whether a null-terminated string ends with a given sub-string.
138 * @param[in] aString A pointer to the string.
139 * @param[in] aSubString A sub-string to check against.
150 * @param[in] aFirstString A pointer to the first string.
151 * @param[in] aSecondString A pointer to the second string.
161 * @param[in] aFirstString A pointer to the first string.
162 * @param[in] aSecondString A pointer to the second string.
171 * Copies a string into a given target buffer with a given size if it fits.
173 * @param[out] aTargetBuffer A pointer to the target buffer to copy into.
175 …* @param[in] aSource A pointer to null-terminated string to copy from. Can be `nullptr` wh…
185 * Copies a string into a given target buffer with a given size if it fits.
189 * @param[out] aTargetBuffer A reference to the target buffer array to copy into.
190 …* @param[in] aSource A pointer to null-terminated string to copy from. Can be `nullptr` wh…
206 * Parses a decimal number from a string as `uint8_t` and skips over the parsed characters.
208 * If the string does not start with a digit, `kErrorParse` is returned.
210 …* All the digit characters in the string are parsed until reaching a non-digit character. The poin…
215 * @param[in,out] aString A reference to a pointer to string to parse.
216 * @param[out] aUint8 A reference to return the parsed value.
225 * Parses a decimal number from a string as `uint8_t` and skips over the parsed characters.
227 * If the string does not start with a digit, `kErrorParse` is returned.
229 …* All the digit characters in the string are parsed until reaching a non-digit character. The poin…
234 * @param[in,out] aString A reference to a pointer to string to parse.
235 * @param[out] aUint8 A reference to return the parsed value.
243 * Converts all uppercase letter characters in a given string to lowercase.
245 * @param[in,out] aString A pointer to the string to convert.
250 * Converts all lowercase letter characters in a given string to uppercase.
252 * @param[in,out] aString A pointer to the string to convert.
268 * Converts a lowercase letter character to uppercase.
279 * Checks whether a given character is an uppercase letter ('A'-'Z').
289 * Checks whether a given character is a lowercase letter ('a'-'z').
293 * @retval TRUE @p aChar is a lowercase letter.
294 * @retval FALSE @p aChar is not a lowercase letter.
299 * Checks whether a given character is a digit character ('0'-'9').
303 * @retval TRUE @p aChar is a digit character.
304 * @retval FALSE @p aChar is not a digit character.
309 * Parse a given digit character to its numeric value.
312 * @param[out] aValue A reference to return the parsed value on success.
315 * @retval kErrorInvalidArgs @p aDigitChar is not a valid digit character.
320 * Parse a given hex digit character ('0'-'9', 'A'-'F', or 'a'-'f') to its numeric value.
323 * @param[out] aValue A reference to return the parsed value on success.
326 * @retval kErrorInvalidArgs @p aHexChar is not a valid hex digit character.
331 * Converts a boolean to "yes" or "no" string.
333 * @param[in] aBool A boolean value to convert.
340 * Validates whether a given byte sequence (string) follows UTF-8 encoding.
343 * @param[in] aString A null-terminated byte sequence.
345 * @retval TRUE The sequence is a valid UTF-8 string.
346 * @retval FALSE The sequence is not a valid UTF-8 string.
351 * Validates whether a given byte sequence (string) follows UTF-8 encoding.
354 * @param[in] aString A byte sequence.
357 * @retval TRUE The sequence is a valid UTF-8 string.
358 * @retval FALSE The sequence is not a valid UTF-8 string.
365 …* This is intended for use from `static_assert`, e.g., checking if a lookup table entries are sort…
382 * Implements writing to a string buffer.
390 * @param[in] aBuffer A pointer to the char buffer to write into.
431 * @param[in] aFormat A pointer to the format string.
441 * @param[in] aFormat A pointer to the format string.
451 * @param[in] aBytes A pointer to buffer containing the bytes to append.
459 * Appends a given character a given number of times.
483 * Defines a fixed-size string.
499 * Returns the string as a null-terminated C string.
510 …* Provides helper methods to convert from a set of `uint16_t` values (e.g., a non-sequential `enum…
511 * string using binary search in a lookup table.
517 * Represents a entry in the lookup table.
537 * Looks up a key in a given sorted table array (using binary search) and return the associated
545 * @param[in] aTable A reference to an array of `kLength` entries.
546 * @param[in] aNotFound A C string to return if @p aKey was not found in the table.