Home
last modified time | relevance | path

Searched refs:HasSpace (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/kernel_cmdline/src/
Dkernel_cmdline.rs16 HasSpace, enumerator
29 HasSpace => "string contains a space", in fmt()
60 Err(Error::HasSpace) in valid_element()
178 assert_eq!(cl.insert("a ", "b"), Err(Error::HasSpace)); in insert_space()
179 assert_eq!(cl.insert("a", "b "), Err(Error::HasSpace)); in insert_space()
180 assert_eq!(cl.insert("a ", "b "), Err(Error::HasSpace)); in insert_space()
181 assert_eq!(cl.insert(" a", "b"), Err(Error::HasSpace)); in insert_space()
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp169 bool HasSpace = RawTok.hasLeadingSpace(); in RewriteMacrosInInput() local
170 RB.InsertTextAfter(RawOffs, &" /*"[HasSpace]); in RewriteMacrosInInput()
/external/clang/lib/Lex/
DLexer.cpp2073 bool HasSpace = false; in SkipLineComment() local
2076 HasSpace = true; in SkipLineComment()
2088 if (HasSpace && !isLexingRawMode()) in SkipLineComment()
2228 bool HasSpace = false; in isEndOfBlockCommentWithEscapedNewLine() local
2231 HasSpace = true; in isEndOfBlockCommentWithEscapedNewLine()
2262 if (HasSpace && !L->isLexingRawMode()) in isEndOfBlockCommentWithEscapedNewLine()