Lines Matching refs:str
19 static void formatted_text_print(const struct shell *sh, const char *str, in formatted_text_print() argument
25 if (str == NULL) { in formatted_text_print()
35 while (isspace((int) *(str + offset)) != 0) { in formatted_text_print()
42 length = z_shell_strlen(str) - offset; in formatted_text_print()
47 if (*(str + offset + idx) == '\n') { in formatted_text_print()
49 z_shell_write(sh, str + offset, idx); in formatted_text_print()
59 z_shell_raw_fprintf(sh->fprintf_ctx, str + offset); in formatted_text_print()
72 if (isspace((int) (*(str + offset + idx))) != 0) { in formatted_text_print()
74 if (*(str + offset + idx) == '\n') { in formatted_text_print()
92 z_shell_write(sh, str + offset, length); in formatted_text_print()
98 while (isspace((int) (*(str + offset))) != 0) { in formatted_text_print()
196 bool z_shell_help_request(const char *str) in z_shell_help_request() argument
202 if (!strcmp(str, "-h") || !strcmp(str, "--help")) { in z_shell_help_request()