/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
EOLConvertingOutputStream.java | 24 int lastChar; 33 if (lastChar != '\r') { 38 lastChar = oneByte; 43 if (lastChar == '\r') { 45 lastChar = '\n';
|
/packages/services/Telephony/src/com/android/phone/common/mail/utility/ |
EOLConvertingOutputStream.java | 23 int lastChar; 32 if (lastChar != '\r') { 37 lastChar = oneByte; 42 if (lastChar == '\r') { 44 lastChar = '\n';
|
/external/llvm/lib/Support/ |
StreamingMemoryObject.cpp | 21 FirstChar(Start), LastChar(End) { 22 assert(LastChar >= FirstChar && "Invalid start/end range"); 26 return LastChar - FirstChar; 37 const uint8_t* const LastChar; 42 return static_cast<std::ptrdiff_t>(address) < LastChar - FirstChar; 51 uint64_t BufferSize = LastChar - FirstChar;
|
/external/llvm/docs/tutorial/ |
LangImpl1.rst | 199 static int LastChar = ' '; 202 while (isspace(LastChar)) 203 LastChar = getchar(); 208 in LastChar. The first thing that it has to do is ignore whitespace 217 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]* 218 IdentifierStr = LastChar; 219 while (isalnum((LastChar = getchar()))) 220 IdentifierStr += LastChar; 235 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.] [all...] |
/external/libedit/src/ |
emacs.c | 58 if (el->el_line.cursor == el->el_line.lastchar) { 77 if (el->el_line.cursor > el->el_line.lastchar) 78 el->el_line.cursor = el->el_line.lastchar; 95 if (el->el_line.cursor == el->el_line.lastchar) 98 cp = c__next_word(el->el_line.cursor, el->el_line.lastchar, 107 if (el->el_line.cursor > el->el_line.lastchar) 108 el->el_line.cursor = el->el_line.lastchar; 127 if (el->el_line.lastchar + 162 while (cp < el->el_line.lastchar) 166 el->el_line.lastchar = el->el_line.buffer [all...] |
hist.c | 106 el->el_line.lastchar = el->el_line.buffer + 114 el->el_line.cursor = el->el_line.lastchar; 134 el->el_line.lastchar = el->el_line.buffer + Strlen(el->el_line.buffer); 136 if (el->el_line.lastchar > el->el_line.buffer 137 && el->el_line.lastchar[-1] == '\n') 138 el->el_line.lastchar--; 139 if (el->el_line.lastchar > el->el_line.buffer 140 && el->el_line.lastchar[-1] == ' ') 141 el->el_line.lastchar--; 147 el->el_line.cursor = el->el_line.lastchar; [all...] |
common.c | 59 *el->el_line.lastchar = '\0'; 76 if (el->el_line.lastchar + el->el_state.argument >= 85 || el->el_line.cursor >= el->el_line.lastchar) 94 while (count-- && el->el_line.cursor < el->el_line.lastchar) 146 EL.buffer, EL.buffer, EL.cursor, EL.cursor, EL.lastchar, 147 EL.lastchar, EL.limit, EL.limit); 149 if (el->el_line.cursor == el->el_line.lastchar) { 173 el->el_line.cursor >= el->el_line.lastchar && 176 el->el_line.cursor = el->el_line.lastchar - 1; 193 while (cp < el->el_line.lastchar) [all...] |
vi.c | 72 (int)(el->el_line.lastchar - el->el_line.buffer)); 76 el->el_line.lastchar = el->el_line.buffer; 106 if (!c && el->el_line.cursor < el->el_line.lastchar) 110 if (el->el_line.cursor + len > el->el_line.lastchar) 204 if (el->el_line.cursor >= el->el_line.lastchar - 1) 208 el->el_line.lastchar, el->el_state.argument, cv__isWord); 228 if (el->el_line.cursor >= el->el_line.lastchar - 1) 232 el->el_line.lastchar, el->el_state.argument, cv__isword); 252 if (el->el_line.cursor >= el->el_line.lastchar) 263 if (++el->el_line.cursor >= el->el_line.lastchar) { [all...] |
chared.c | 66 size = (size_t)(el->el_line.lastchar - el->el_line.buffer); 100 if (el->el_line.lastchar + num >= el->el_line.limit) { 105 if (el->el_line.cursor < el->el_line.lastchar) { 107 for (cp = el->el_line.lastchar; cp >= el->el_line.cursor; cp--) 110 el->el_line.lastchar += num; 121 if (el->el_line.cursor + num > el->el_line.lastchar) 122 num = (int)(el->el_line.lastchar - el->el_line.cursor); 132 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++) 135 el->el_line.lastchar -= num; 148 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++ [all...] |
search.c | 196 (void) fprintf(el->el_errfile, "cursor %d lastchar %d\n", 198 el->el_line.lastchar - el->el_line.buffer); 223 if (el->el_line.lastchar + sizeof(STRfwd) / 224 sizeof(*el->el_line.lastchar) + 2 + 241 *el->el_line.lastchar++ = '\n'; 243 *cp; *el->el_line.lastchar++ = *cp++) 245 *el->el_line.lastchar++ = pchar; 248 *el->el_line.lastchar++ = *cp++) 250 *el->el_line.lastchar = '\0'; 264 *el->el_line.lastchar++ = ch [all...] |
/external/llvm/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 43 static int LastChar = ' '; 46 while (isspace(LastChar)) 47 LastChar = getchar(); 49 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]* 50 IdentifierStr = LastChar; 51 while (isalnum((LastChar = getchar()))) 52 IdentifierStr += LastChar; 61 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+ 64 NumStr += LastChar; [all...] |
/frameworks/base/tools/aapt2/compile/ |
PseudolocaleGenerator_test.cpp | 42 EXPECT_EQ(3u, newString->value->spans[0].lastChar); 46 EXPECT_EQ(7u, newString->value->spans[1].lastChar); 50 EXPECT_EQ(10u, newString->value->spans[2].lastChar); 63 EXPECT_EQ(4u, newString->value->spans[0].lastChar); 66 EXPECT_EQ(8u, newString->value->spans[1].lastChar); 69 EXPECT_EQ(11u, newString->value->spans[2].lastChar); 72 EXPECT_EQ(12u, newString->value->spans[3].lastChar);
|
PseudolocaleGenerator.cpp | 39 localized.spans.push_back(Span{ *span.name, span.firstChar, span.lastChar }); 78 iter = std::lower_bound(ranges.begin(), ranges.end(), span.lastChar, cmp); 79 if (iter != ranges.end() && iter->start == span.lastChar) { 80 iter->updateEnd = &localized.spans[i].lastChar; 83 Range{ span.lastChar, nullptr, &localized.spans[i].lastChar });
|
/frameworks/base/core/java/android/text/ |
BidiFormatter.java | 599 private char lastChar; [all...] |
/frameworks/support/v4/java/android/support/v4/text/ |
BidiFormatter.java | 543 private char lastChar; [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 37 static int LastChar = ' '; 40 while (isspace(LastChar)) 41 LastChar = getchar(); 43 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]* 44 IdentifierStr = LastChar; 45 while (isalnum((LastChar = getchar()))) 46 IdentifierStr += LastChar; 55 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+ 58 NumStr += LastChar; [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 43 static int LastChar = ' '; 46 while (isspace(LastChar)) 47 LastChar = getchar(); 49 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]* 50 IdentifierStr = LastChar; 51 while (isalnum((LastChar = getchar()))) 52 IdentifierStr += LastChar; 61 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+ 64 NumStr += LastChar; [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
RetrCommandHandler.java | 101 char lastChar = ' ';
104 if (ch == '\n' && lastChar != '\r') {
110 lastChar = ch;
|
/frameworks/minikin/libs/minikin/ |
WordBreaker.cpp | 170 uint16_t lastChar = mText[mLast]; 173 if (breakAfter(lastChar)) { 177 if (lastChar == '/' && i >= mLast + 2 && mText[i - 2] == '/') { 182 if (lastChar != '-') { 187 if (thisChar == '/' && lastChar != '/' && 192 lastChar = thisChar;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONTokener.java | 43 private char lastChar; 128 if (this.lastChar != 0) { 131 return this.lastChar; 141 this.lastChar = 0; 145 this.lastChar = (char) c; 146 return this.lastChar; 186 buffer[0] = this.lastChar; 204 this.lastChar = buffer[n - 1];
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 50 static int LastChar = ' '; 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; 78 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+ 81 NumStr += LastChar; [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 54 static int LastChar = ' '; 57 while (isspace(LastChar)) 58 LastChar = getchar(); 60 if (isalpha(LastChar)) { // identifier: [a-zA-Z][a-zA-Z0-9]* 61 IdentifierStr = LastChar; 62 while (isalnum((LastChar = getchar()))) 63 IdentifierStr += LastChar; 86 if (isdigit(LastChar) || LastChar == '.') { // Number: [0-9.]+ 89 NumStr += LastChar; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
TestDeprecatedNormalizerAPI.java | 107 char lastChar = 0; 114 assertNoDecomp(lastChar, ch, compat, options); 115 lastChar = ch; 131 assertNoDecomp(lastChar, '\uFFFF', compat, options);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
TestDeprecatedNormalizerAPI.java | 103 char lastChar = 0; 110 assertNoDecomp(lastChar, ch, compat, options); 111 lastChar = ch; 127 assertNoDecomp(lastChar, '\uFFFF', compat, options);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
NgramContextUtils.java | 98 final char lastChar = focusedWord.charAt(length - 1); 99 if (spacingAndPunctuations.isSentenceTerminator(lastChar)) { 105 if (spacingAndPunctuations.isWordSeparator(lastChar) 106 || spacingAndPunctuations.isWordConnector(lastChar)) {
|