/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRRuleMemo.m | 37 @synthesize startIndex; 53 startIndex = nil; 63 startIndex = aStartIndex; 75 copy.startIndex = startIndex; 84 if (startIndex != nil) aCnt++; 98 if (aStartIndex == [aMatchMemo.startIndex integerValue] ) { 110 if (aStartIndex == [aMatchMemo.startIndex integerValue] ) { 122 if (aStartIndex == [aMatchMemo.startIndex integerValue] ) { 132 return startIndex; [all...] |
ANTLRCommonTree.m | 73 startIndex = -1; 87 startIndex = aNode.startIndex; 101 startIndex = -1; 114 // startIndex = token.startIndex; 115 startIndex = -1; 129 // startIndex = token.startIndex; 130 startIndex = -1 [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
WspTypeDecoder.java | 213 * @param startIndex The starting position of the "Text-string" in this pdu 219 public boolean decodeTextString(int startIndex) { 220 int index = startIndex; 224 mDataLength = index - startIndex + 1; 225 if (mWspData[startIndex] == 127) { 226 mStringValue = new String(mWspData, startIndex + 1, mDataLength - 2); 228 mStringValue = new String(mWspData, startIndex, mDataLength - 1); 236 * @param startIndex The starting position of the "Token-text" in this pdu 242 public boolean decodeTokenText(int startIndex) { 243 int index = startIndex; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ComprehensionTlv.java | 84 * @param startIndex Index in data at which to start parsing 88 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex) 92 while (startIndex < endIndex) { 93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); 96 startIndex = ctlv.mValueIndex + ctlv.mLength; 110 * @param startIndex Index in data at which to start parsing 114 public static ComprehensionTlv decode(byte[] data, int startIndex) 116 int curIndex = startIndex; 129 ", startIndex=" + startIndex + " curIndex=" + curIndex [all...] |
/external/skia/src/gpu/ |
GrBatchFlushState.cpp | 28 const GrIndexBuffer** buffer, int* startIndex) { 29 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
FreePathInterpolator.java | 99 int startIndex = 0; 104 return mY[startIndex]; 110 while (endIndex - startIndex > 1) { 111 int midIndex = (startIndex + endIndex) / 2; 115 startIndex = midIndex; 119 float xRange = mX[endIndex] - mX[startIndex]; 121 return mY[startIndex]; 124 float tInRange = t - mX[startIndex]; 127 float startY = mY[startIndex]; 138 int startIndex = 0 [all...] |
/frameworks/base/core/java/com/android/internal/alsa/ |
LineTokenizer.java | 32 int nextToken(String line, int startIndex) { 34 int offset = startIndex; 45 int nextDelimiter(String line, int startIndex) { 47 int offset = startIndex;
|
/external/skia/gm/ |
pathcontourstart.cpp | 53 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 55 path.addRect(rect, dir, startIndex); 59 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 61 path.addOval(rect, dir, startIndex); 65 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 71 path.addRRect(rrect, dir, startIndex); 75 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 80 path.addRRect(rrect, dir, startIndex); 84 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 89 path.addRRect(rrect, dir, startIndex); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncSubstring.java | 58 int startIndex; 66 startIndex = 0; 71 startIndex = (start > 0) ? (int) start - 1 : 0; 85 if (startIndex > lenOfS1) 86 startIndex = lenOfS1; 88 substr = s1.substring(startIndex, end); 92 if (startIndex > lenOfS1) 93 startIndex = lenOfS1; 94 substr = s1.substring(startIndex);
|
/frameworks/support/v4/donut/android/support/v4/view/animation/ |
PathInterpolatorDonut.java | 73 int startIndex = 0; 75 while (endIndex - startIndex > 1) { 76 int midIndex = (startIndex + endIndex) / 2; 80 startIndex = midIndex; 84 final float xRange = mX[endIndex] - mX[startIndex]; 86 return mY[startIndex]; 89 final float tInRange = t - mX[startIndex]; 92 final float startY = mY[startIndex];
|
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/ |
PathInterpolatorCompat.java | 80 int startIndex = 0; 82 while (endIndex - startIndex > 1) { 83 int midIndex = (startIndex + endIndex) / 2; 87 startIndex = midIndex; 91 final float xRange = mX[endIndex] - mX[startIndex]; 93 return mY[startIndex]; 96 final float tInRange = t - mX[startIndex]; 99 final float startY = mY[startIndex];
|
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
BitTreeEncoder.java | 72 public static int ReverseGetPrice(short[] Models, int startIndex,
81 price += Encoder.GetPrice(Models[startIndex + m], bit);
87 public static void ReverseEncode(short[] Models, int startIndex,
94 rangeEncoder.Encode(Models, startIndex + m, bit);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
ContactsDictionaryUtilsTest.java | 39 testString1, testString1.length(), 0 /* startIndex */)); 42 testString1, testString1.length(), 6 /* startIndex */)); 46 testString2, testString1.length(), 0 /* startIndex */)); 50 testString3, testString1.length(), 0 /* startIndex */));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureTrailDrawingPoints.java | 178 int startIndex; 179 for (startIndex = mTrailStartIndex; startIndex < trailSize; startIndex++) { 180 final int elapsedTime = sinceDown - eventTimes[startIndex]; 186 mTrailStartIndex = startIndex; 188 if (startIndex < trailSize) { 192 int p1x = getXCoordValue(xCoords[startIndex]); 193 int p1y = yCoords[startIndex]; 194 final int lastTime = sinceDown - eventTimes[startIndex]; [all...] |
/hardware/libhardware/modules/input/evdev/ |
BitUtils.cpp | 47 size_t startIndex = start / 8; 50 ALOGD("startIndex=%d, endIndex=%d", startIndex, endIndex); 52 for (size_t i = startIndex; i < endIndex; ++i) { 60 if (i == startIndex) {
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
CommonTree.cs | 56 protected int startIndex = -1; 74 this.startIndex = node.startIndex; 152 if (startIndex == -1 && token != null) { 155 return startIndex; 158 startIndex = value; 196 if (startIndex < 0 || stopIndex < 0) { 197 startIndex = stopIndex = token.TokenIndex; 204 if (startIndex >= 0 && stopIndex >= 0) 209 startIndex = firstChild.TokenStartIndex [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
CommonTree.cs | 56 protected int startIndex = -1; 76 this.startIndex = node.startIndex; 194 if ( startIndex == -1 && Token != null ) 197 return startIndex; 202 startIndex = value; 255 if ( startIndex < 0 || stopIndex < 0 ) 256 startIndex = stopIndex = Token.TokenIndex; 270 if ( startIndex >= 0 && stopIndex >= 0 ) 277 startIndex = firstChild.TokenStartIndex [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
CommonTree.java | 45 protected int startIndex=-1, stopIndex=-1; 58 this.startIndex = node.startIndex; 113 if ( startIndex==-1 && token!=null ) { 116 return startIndex; 120 startIndex = index; 140 if ( startIndex<0 || stopIndex<0 ) { 141 startIndex = stopIndex = token.getTokenIndex(); 148 if ( startIndex>=0 && stopIndex>=0 ) return; // already set 152 startIndex = firstChild.getTokenStartIndex() [all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoderBitTree.cs | 74 public static UInt32 ReverseGetPrice(BitEncoder[] Models, UInt32 startIndex,
83 price += Models[startIndex + m].GetPrice(bit);
89 public static void ReverseEncode(BitEncoder[] Models, UInt32 startIndex,
96 Models[startIndex + m].Encode(rangeEncoder, bit);
142 public static uint ReverseDecode(BitDecoder[] Models, UInt32 startIndex,
149 uint bit = Models[startIndex + m].Decode(rangeDecoder);
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
TextViewActions.java | 163 * Returns an action that long presses then drags on text from startIndex to endIndex on the 171 * @param startIndex The index of the TextView's text to start a drag from 174 public static ViewAction longPressAndDragOnText(int startIndex, int endIndex) { 178 new TextCoordinates(startIndex), 185 * Returns an action that double taps then drags on text from startIndex to endIndex on the 193 * @param startIndex The index of the TextView's text to start a drag from 196 public static ViewAction doubleTapAndDragOnText(int startIndex, int endIndex) { 200 new TextCoordinates(startIndex), 207 * Returns an action that click then drags by mouse on text from startIndex to endIndex on the 215 * @param startIndex The index of the TextView's text to start a drag fro [all...] |
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
int_array_view.h | 145 size_t startIndex = 0; 148 result.emplace_back(mPtr + startIndex, i - startIndex); 149 startIndex = i + 1; 155 result.emplace_back(mPtr + startIndex, mSize - startIndex);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ContactsDictionaryUtils.java | 29 * Returns the index of the last letter in the word, starting from position startIndex. 32 final int startIndex) { 35 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) {
|
/external/icu/icu4c/source/tools/toolutil/ |
collationinfo.h | 34 static int32_t getDataLength(const int32_t indexes[], int32_t startIndex);
|
/external/proguard/src/proguard/classfile/util/ |
ExternalTypeEnumeration.java | 81 int startIndex = index; 85 startIndex); 91 startIndex); 98 return descriptor.substring(startIndex, index++).trim();
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
CompositeFormat.java | 118 final int startIndex = pos.getIndex(); 119 final int endIndex = startIndex + n; 121 if (source.substring(startIndex, endIndex).compareTo(sb.toString()) == 0) { 142 final int startIndex = pos.getIndex(); 147 if (startIndex == endIndex) { 173 final int startIndex = pos.getIndex(); 174 final int endIndex = startIndex + expected.length(); 175 if ((startIndex >= source.length()) || 177 (source.substring(startIndex, endIndex).compareTo(expected) != 0)) { 179 pos.setIndex(startIndex); [all...] |