/external/webkit/Source/WebCore/loader/appcache/ |
ManifestParser.cpp | 78 const UChar* lineStart = p; 85 if (*lineStart == '#') 90 while (tmp > lineStart && (*tmp == ' ' || *tmp == '\t')) 93 String line(lineStart, tmp - lineStart + 1);
|
/external/icu4c/samples/ugrep/ |
ugrep.cpp | 57 int lineStart; // Index of first char of the current line in the file buffer 136 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { 137 UnicodeString s(FALSE, ucharBuf+lineStart, lineEnd-lineStart); 380 lineStart = lineEnd = startPos; 435 &ucharBuf[lineStart], // Input to conversion 436 lineEnd-lineStart, // number of UChars to convert
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlAutoEditStrategy.java | 97 int lineStart = findLineStart(doc, offset); 98 int textStart = findTextStart(doc, lineStart, offset); 107 if (textStart > lineStart) { 108 lineIndent = doc.get(lineStart, textStart - lineStart); 293 * @param lineStart the offset of the beginning of the line 300 public static int findTextStart(IDocument document, int lineStart, int lineEnd) 302 for (int offset = lineStart; offset < lineEnd; offset++) { 326 int lineStart = findLineStart(doc, command.offset); 327 int textStart = findTextStart(doc, lineStart, command.offset) [all...] |
AndroidContentAssist.java | [all...] |
/external/icu4c/test/cintltst/ |
cbiditst.h | 65 int32_t lineStart, lineLimit;
|
cbiditst.c | 42 int32_t lineStart, UBool countRunsFirst); 183 int32_t lineStart; 194 lineStart=tests[testNumber].lineStart; 195 if(lineStart==-1) { 198 ubidi_setLine(pBiDi, lineStart, tests[testNumber].lineLimit, pLine, &errorCode); 201 lineStart, tests[testNumber].lineLimit, ubidi_getDirection(pLine), ubidi_getParaLevel(pLine)); 202 doTest(pLine, testNumber, tests+testNumber, lineStart, countRunsFirst); 205 testNumber, lineStart, tests[testNumber].lineLimit, myErrorName(errorCode)); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
StringMsgParser.java | 152 int lineStart = i; 163 int lineLength = i - lineStart; 167 currentLine = new String(msgBuffer, lineStart, lineLength, "UTF-8"); 267 int lineStart = i; 283 currentLine = msgString.substring(lineStart, i); 547 int lineStart = start; 553 buffer.append(header.substring(lineStart, i)); 562 lineStart = i + 1; 565 lineStart = i; 572 buffer.append(header.substring(lineStart, i)) [all...] |
/system/core/liblog/ |
event_tag_map.c | 264 int tagNum, lineStart, lineNum; 278 lineStart = 1; 283 lineStart = 1; 285 } else if (lineStart) { 288 lineStart = 0; 300 /* leave lineStart==1 */
|
logprint.c | 860 const char *lineStart; 862 lineStart = pm; 867 lineLen = pm - lineStart; 871 strncat(p, lineStart, lineLen);
|
/libcore/luni/src/main/java/java/text/ |
Bidi.java | 373 * @param lineStart 380 * if {@code lineStart < 0}, {@code lineLimit < 0}, {@code 381 * lineStart > lineLimit} or if {@code lineStart} is greater 384 public Bidi createLineBidi(int lineStart, int lineLimit) { 385 if (lineStart < 0 || lineLimit < 0 || lineLimit > length || lineStart > lineLimit) { 386 throw new IllegalArgumentException("Invalid ranges (start=" + lineStart + ", " + 403 if (lineStart == lineLimit) { 406 return new Bidi(ubidi_setLine(parent, lineStart, lineLimit)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/xml/ |
HyperlinksTest.java | 284 int lineStart = document.getLineInformationOfOffset(selection.x).getOffset(); 287 String text = document.get(lineStart, lineEnd - lineStart); 288 int selectionStart = selection.x - lineStart;
|
/frameworks/base/core/java/android/text/ |
Layout.java | 659 int lineStart = getLineStart(line); 661 if (offset == lineStart || offset == lineEnd) { 663 int runIndex = offset == lineStart ? 0 : runs.length - 2; 667 offset -= lineStart; 691 int lineStart = getLineStart(line); 693 int start = lineStart + (runs[i] & RUN_LENGTH_MASK); 707 int lineStart = getLineStart(line); 713 int start = lineStart + runs[i]; 734 if (offset == lineStart) { 739 int start = lineStart + runs[i] 1306 int linestart = getLineStart(line); local 1677 int linestart = getLineStart(line); local [all...] |
TextLine.java | 449 int lineStart = 0; 454 int runIndex, runLevel = 0, runStart = lineStart, runLimit = lineEnd, newCaret = -1; 457 if (cursor == lineStart) { 465 runStart = lineStart + runs[runIndex]; 481 prevRunStart = lineStart + runs[prevRunIndex]; 539 int otherRunStart = lineStart + runs[otherRunIndex]; 587 // the lineStart. 589 newCaret = advance ? lineEnd : lineStart; [all...] |
StaticLayout.java | 734 private void calculateEllipsis(int lineStart, int lineEnd, 750 int len = lineEnd - lineStart; 759 float w = widths[i - 1 + lineStart - widthStart]; 781 float w = widths[i + lineStart - widthStart]; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
AdtUtils.java | 355 int lineStart = lineInfo.getOffset(); 356 int lineEnd = lineStart + lineInfo.getLength(); 363 if (start >= lineStart && start <= lineEnd && end > start) {
|
/frameworks/base/core/java/android/text/method/ |
ScrollingMovementMethod.java | 69 protected boolean lineStart(TextView widget, Spannable buffer) {
|
ArrowKeyMovementMethod.java | 177 protected boolean lineStart(TextView widget, Spannable buffer) { 216 return lineStart(widget, buffer);
|
BaseMovementMethod.java | 171 return lineStart(widget, buffer); 348 protected boolean lineStart(TextView widget, Spannable buffer) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
VisualRefactoring.java | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormattingStrategy.java | 631 int lineStart = findLineStart(mDocument, region.getStartOffset()); 632 int textStart = findTextStart(mDocument, lineStart, region.getEndOffset()); 638 String indent = mDocument.get(lineStart, 639 Math.max(0, textStart - lineStart));
|
/external/webkit/Tools/android/webkitmerge/ |
webkitmerge.cpp | 325 char* lineStart = m_text; 336 if (commentStart < lineStart + textLen) 342 textLen = commentStart - lineStart; 348 if (commentEnd < lineStart + textLen) { 350 textLen = commentEnd - lineStart - 2; 360 textLen = commentStart - lineStart - 2; 365 Pair condition = { lineStart, m_braceLevel }; 383 Pair space = { lineStart, m_braceLevel }; 431 Pair _class = { lineStart, m_braceLevel }; 434 m_classDeclaration = lineStart; // !!! FIXME should have function form as abov [all...] |
/external/webkit/Source/WebCore/platform/win/ |
ClipboardUtilitiesWin.cpp | 561 unsigned lineStart = cfhtml.find(srcURLStr, 0, false); 562 if (lineStart != -1) { 563 unsigned srcEnd = cfhtml.find("\n", lineStart, false); 564 unsigned srcStart = lineStart+srcURLStr.length();
|
/external/webkit/Source/WebKit/android/nav/ |
FindCanvas.cpp | 172 const uint16_t* lineStart = glyphs - index; 174 SkScalar before = paint.measureText(lineStart, index * sizeof(uint16_t), 0);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/xml/ |
Hyperlinks.java | [all...] |
/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
diff_match_patch.java | 361 int lineStart = 0; 369 lineEnd = text.indexOf('\n', lineStart); 373 line = text.substring(lineStart, lineEnd + 1); 374 lineStart = lineEnd + 1; [all...] |