Home
last modified time | relevance | path

Searched refs:quotes (Results 1 - 12 of 12) sorted by relevance

/kernel/liteos_m/components/shell/src/base/
H A Dshcmd.c111 BOOL quotes = FALSE; in OsCmdKeyShift() local
133 SWITCH_QUOTES_STATUS(quotes); in OsCmdKeyShift()
136 /* 1) Quotes matching status is FALSE (which said that the space is not been marked by double quotes) */ in OsCmdKeyShift()
139 /* 4) Invalid charactor, such as single quotes */ in OsCmdKeyShift()
140 if ((*cmdKey == ' ') && ((*(cmdKey + 1) == ' ') || (*(cmdKey + 1) == '\0')) && QUOTES_STATUS_CLOSE(quotes)) { in OsCmdKeyShift()
H A Dshmsg.c76 BOOL quotes = FALSE; in GetCmdName() local
91 /* If reach a double quotes, switch the quotes matching status */ in GetCmdName()
93 SWITCH_QUOTES_STATUS(quotes); in GetCmdName()
98 /* If detected a space which the quotes matching status is false */ in GetCmdName()
100 if ((*tmpStr == ' ') && (QUOTES_STATUS_CLOSE(quotes))) { in GetCmdName()
/kernel/liteos_a/apps/shell/src/
H A Dshcmd.c391 bool quotes = FALSE; in OsCmdKeyShift() local
413 SWITCH_QUOTES_STATUS(quotes); in OsCmdKeyShift()
416 /* 1) Quotes matching status is FALSE (which said that the space is not been marked by double quotes) */ in OsCmdKeyShift()
419 /* 4) Invalid character, such as single quotes */ in OsCmdKeyShift()
420 if ((*cmdKey == ' ') && ((*(cmdKey + 1) == ' ') || (*(cmdKey + 1) == '\0')) && QUOTES_STATUS_CLOSE(quotes)) { in OsCmdKeyShift()
H A Dshmsg.c319 bool quotes = FALSE; in GetCmdName() local
334 /* If reach a double quotes, switch the quotes matching status */ in GetCmdName()
336 SWITCH_QUOTES_STATUS(quotes); in GetCmdName()
341 /* If detected a space which the quotes matching status is false */ in GetCmdName()
343 if ((*tmpStr == ' ') && (QUOTES_STATUS_CLOSE(quotes))) { in GetCmdName()
/kernel/linux/linux-5.10/tools/scripts/
H A Dutilities.mak51 # single-quotes, so be wary of the characters
67 # delimited by shell single-quotes, so be wary
84 # single-quotes.
/kernel/linux/linux-6.6/tools/scripts/
H A Dutilities.mak51 # single-quotes, so be wary of the characters
67 # delimited by shell single-quotes, so be wary
84 # single-quotes.
/kernel/liteos_a/shell/full/src/base/
H A Dshmsg.c236 BOOL quotes = FALSE; in ShellMsgNameGetAndExec() local
245 /* If reach a double quotes, switch the quotes matching status */ in ShellMsgNameGetAndExec()
247 SWITCH_QUOTES_STATUS(quotes); in ShellMsgNameGetAndExec()
252 /* If detected a space which the quotes matching status is false */ in ShellMsgNameGetAndExec()
254 if ((*tmpStr == ' ') && (QUOTES_STATUS_CLOSE(quotes))) { in ShellMsgNameGetAndExec()
H A Dshcmd.c438 BOOL quotes = FALSE; in OsCmdKeyShift() local
459 SWITCH_QUOTES_STATUS(quotes); in OsCmdKeyShift()
462 /* 1) Quotes matching status is FALSE (which said that the space is not been marked by double quotes) */ in OsCmdKeyShift()
465 /* 4) Invalid character, such as single quotes */ in OsCmdKeyShift()
466 if ((*cmdKey == ' ') && ((*(cmdKey + 1) == ' ') || (*(cmdKey + 1) == '\0')) && QUOTES_STATUS_CLOSE(quotes)) { in OsCmdKeyShift()
/kernel/linux/linux-5.10/lib/
H A Dbootconfig.c468 int c, quotes = 0; in __xbc_parse_value() local
476 quotes = *v; in __xbc_parse_value()
483 if (quotes) { in __xbc_parse_value()
484 if (c != quotes) in __xbc_parse_value()
486 quotes = 0; in __xbc_parse_value()
502 if (quotes) in __xbc_parse_value()
503 return xbc_parse_error("No closing quotes", p); in __xbc_parse_value()
/kernel/linux/linux-6.6/lib/
H A Dbootconfig.c563 int c, quotes = 0; in __xbc_parse_value() local
571 quotes = *v; in __xbc_parse_value()
578 if (quotes) { in __xbc_parse_value()
579 if (c != quotes) in __xbc_parse_value()
581 quotes = 0; in __xbc_parse_value()
597 if (quotes) in __xbc_parse_value()
598 return xbc_parse_error("No closing quotes", p); in __xbc_parse_value()
/kernel/linux/linux-5.10/tools/testing/ktest/
H A Dktest.pl493 menu must be a non-nested menu. Add the quotes used in the menu
2393 # Some compilers use UTF-8 extended for quotes and some don't.
4069 # Some compilers use UTF-8 extended for quotes
/kernel/linux/linux-6.6/tools/testing/ktest/
H A Dktest.pl493 menu must be a non-nested menu. Add the quotes used in the menu
2446 # Some compilers use UTF-8 extended for quotes and some don't.
4079 # Some compilers use UTF-8 extended for quotes

Completed in 13 milliseconds