Searched refs:LastChar (Results 1 - 9 of 9) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp28 static int LastChar = ' '; local
31 while (isspace(LastChar))
32 LastChar = getchar();
34 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
35 IdentifierStr = LastChar;
36 while (isalnum((LastChar = getchar())))
37 IdentifierStr += LastChar;
44 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
47 NumStr += LastChar;
[all...]
/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp33 static int LastChar = ' '; local
36 while (isspace(LastChar))
37 LastChar = getchar();
39 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
40 IdentifierStr = LastChar;
41 while (isalnum((LastChar = getchar())))
42 IdentifierStr += LastChar;
49 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
52 NumStr += LastChar;
[all...]
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp40 static int LastChar = ' '; local
43 while (isspace(LastChar))
44 LastChar = getchar();
46 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
47 IdentifierStr = LastChar;
48 while (isalnum((LastChar = getchar())))
49 IdentifierStr += LastChar;
56 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
59 NumStr += LastChar;
[all...]
/external/llvm/lib/Support/
H A DStreamableMemoryObject.cpp22 FirstChar(Start), LastChar(End) {
23 assert(LastChar >= FirstChar && "Invalid start/end range");
27 virtual uint64_t getExtent() const { return LastChar - FirstChar; }
41 const uint8_t* const LastChar; member in class:__anon9414::RawMemoryObject
46 return static_cast<ptrdiff_t>(address) < LastChar - FirstChar;
49 return static_cast<ptrdiff_t>(address) == LastChar - FirstChar;
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp44 static int LastChar = ' '; local
47 while (isspace(LastChar))
48 LastChar = getchar();
50 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
51 IdentifierStr = LastChar;
52 while (isalnum((LastChar = getchar())))
53 IdentifierStr += LastChar;
65 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
68 NumStr += LastChar;
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp47 static int LastChar = ' '; local
50 while (isspace(LastChar))
51 LastChar = getchar();
53 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
54 IdentifierStr = LastChar;
55 while (isalnum((LastChar = getchar())))
56 IdentifierStr += LastChar;
70 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
73 NumStr += LastChar;
[all...]
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp50 static int LastChar = ' '; local
53 while (isspace(LastChar))
54 LastChar = getchar();
56 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]*
57 IdentifierStr = LastChar;
58 while (isalnum((LastChar = getchar())))
59 IdentifierStr += LastChar;
74 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+
77 NumStr += LastChar;
[all...]
/external/clang/lib/Rewrite/Frontend/
H A DInclusionRewriter.cpp205 char LastChar = FromFile.getBufferStart()[WriteTo - 1]; local
206 if (LastChar != '\n' && LastChar != '\r')
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.cc206 static inline char LastChar(const string& str) { function in namespace:google::protobuf::compiler
252 if (!path.empty() && LastChar(path) == '/' &&
253 !result.empty() && LastChar(result) != '/') {

Completed in 123 milliseconds