Searched refs:firstIndex (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium_org/third_party/tlslite/tlslite/
H A Dsessioncache.py48 self.firstIndex = 0
81 if self.lastIndex == self.firstIndex:
82 del(self.entriesDict[self.entriesList[self.firstIndex][0]])
83 self.firstIndex = (self.firstIndex+1) % len(self.entriesList)
95 index = self.firstIndex
102 self.firstIndex = index
/external/proguard/src/proguard/classfile/util/
H A DInternalTypeEnumeration.java37 private int firstIndex; field in class:InternalTypeEnumeration
48 this.firstIndex = descriptor.indexOf(ClassConstants.INTERNAL_METHOD_ARGUMENTS_OPEN);
50 this.index = firstIndex + 1;
65 return descriptor.substring(0, firstIndex);
183 if (enumeration.firstIndex >= 0)
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPrintContextTest.cpp126 size_t firstIndex = operations[0].rect.x() == 50 ? 0 : 1; local
127 EXPECT_EQ(MockCanvas::DrawRect, operations[firstIndex].type);
128 EXPECT_SKRECT_EQ(50, 60, 70, 80, operations[firstIndex].rect);
132 size_t secondIndex = firstIndex == 0 ? 1 : 0;
150 size_t firstIndex = operations[0].rect.x() == 50 ? 0 : 1; local
151 EXPECT_EQ(MockCanvas::DrawRect, operations[firstIndex].type);
152 EXPECT_SKRECT_EQ(50, 60, 70, 80, operations[firstIndex].rect);
154 size_t secondIndex = firstIndex == 0 ? 1 : 0;
/external/chromium_org/ui/file_manager/gallery/js/
H A Dribbon.js188 var firstIndex = lastIndex - fullItems + 1;
190 if (this.firstVisibleIndex_ != firstIndex ||
194 this.firstVisibleIndex_ = firstIndex;
201 var startIndex = Math.min(firstIndex, this.firstVisibleIndex_);
207 if (this.lastVisibleIndex_ < index && index < firstIndex ||
213 if (index < firstIndex || index > lastIndex) {
223 if (startIndex == firstIndex) {
248 firstIndex > 0 && selectedIndex != firstIndex);
253 this.firstVisibleIndex_ = firstIndex;
[all...]
/external/eigen/bench/btl/libs/blitz/
H A Dblitz_interface.hh87 firstIndex i;
95 firstIndex i;
103 firstIndex i;
111 firstIndex i;
118 firstIndex i;
125 firstIndex i;
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dgrid.js233 var firstIndex =
238 this.countItemsInRange_(firstIndex, scrollTop + clientHeight));
240 count = Math.min(count, this.dataModel.length - firstIndex);
242 first: firstIndex,
244 last: firstIndex + count - 1
251 * @param {number} firstIndex The index of first item, inclusively.
257 mergeItems: function(firstIndex, lastIndex, cachedItems, newCachedItems) {
258 List.prototype.mergeItems.call(this, firstIndex, lastIndex);
275 // [firstIndex, lastIndex). Ignore it.
276 if (index >= firstIndex
[all...]
H A Dlist.js916 var firstIndex = this.getIndexForListOffset_(scrollTop);
920 first: firstIndex,
921 length: lastIndex - firstIndex + 1,
928 * [firstIndex, lastIndex). Removes or adds items if needed.
931 * @param {number} firstIndex The index of first item, inclusively.
934 mergeItems: function(firstIndex, lastIndex) {
937 var currentIndex = firstIndex;
984 this.pinnedItem_.hidden = index < firstIndex || index >= lastIndex;
1090 var firstIndex = Math.max(
1096 this.autoExpands ? 0 : this.getItemTop(firstIndex);
[all...]
H A Dtable.js345 var firstIndex = Math.floor(Math.max(0,
348 firstIndex + MAXIMUM_ROWS_TO_MEASURE);
349 for (var i = firstIndex; i < lastIndex; i++) {
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DListRemoveTester.java43 int firstIndex = getList().indexOf(duplicate);
51 firstIndex == getList().indexOf(duplicate));
/external/chromium_org/third_party/skia/src/core/
H A DSkTDynamicHash.h91 int index = this->firstIndex(key);
145 int index = this->firstIndex(key);
209 int index = this->firstIndex(key);
227 const int firstIndex = this->firstIndex(key); local
228 int index = firstIndex;
270 int firstIndex(const Key& key) const { function in class:SkTDynamicHash
H A DSkAdvancedTypefaceMetrics.cpp159 int firstIndex = 0; local
162 firstIndex = static_cast<int>(subsetGlyphIDs[0]);
166 curRange = appendRange(&result, firstIndex);
168 for (int gId = firstIndex; gId <= lastIndex; gId++) {
/external/skia/src/core/
H A DSkTDynamicHash.h64 int index = this->firstIndex(key);
101 int index = this->firstIndex(key);
164 int index = this->firstIndex(key);
181 const int firstIndex = this->firstIndex(key); local
182 int index = firstIndex;
223 int firstIndex(const Key& key) const { function in class:SkTDynamicHash
H A DSkAdvancedTypefaceMetrics.cpp159 int firstIndex = 0; local
162 firstIndex = static_cast<int>(subsetGlyphIDs[0]);
166 curRange = appendRange(&result, firstIndex);
168 for (int gId = firstIndex; gId <= lastIndex; gId++) {
/external/chromium_org/third_party/angle/tests/angle_tests/
H A DIndexedPointsTest.cpp85 void runTest(GLuint firstIndex) argument
102 glDrawElements(GL_POINTS, mPointCount - firstIndex, IndexTypeName, reinterpret_cast<void*>(firstIndex * sizeof(IndexType)));
109 if (i < firstIndex)
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/
H A Dlist.js799 * @param {number} firstIndex Index of the first item in viewport.
803 getItemsInViewPort: function(itemHeight, firstIndex, scrollTop) {
812 this.dataModel.length - firstIndex,
815 this.countItemsInRange_(firstIndex, scrollTop + clientHeight)));
820 * @param {number} firstIndex The index of first item, inclusively.
825 addItems: function(firstIndex, lastIndex, cachedItems, newCachedItems) {
830 for (var y = firstIndex; y < lastIndex; y++) {
875 var firstIndex = autoExpands ? 0 : this.getIndexForListOffset_(scrollTop);
876 var itemsInViewPort = this.getItemsInViewPort(itemHeight, firstIndex,
878 var lastIndex = firstIndex
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DShapeOps.cpp53 int firstIndex = -1; local
56 angle = sorted[++firstIndex];
60 segment->debugShowSort(__FUNCTION__, sorted, firstIndex);
67 int nextIndex = firstIndex + 1;
68 int lastIndex = firstIndex != 0 ? firstIndex : angleCount;
71 SkASSERT(nextIndex != firstIndex);
H A DthingsToDo.txt282 int firstIndex = first;
285 const Angle* angle = sorted[firstIndex];
286 int prior = firstIndex;
291 if (prior == firstIndex) { // all are coincident with each other
308 if (next == firstIndex) { // all are coincident with each other
335 // alreadyMarked |= aSeg == sorted[firstIndex]->segment();
355 // alreadyMarked |= aSeg == sorted[firstIndex]->segment();
H A DSimplify.cpp2147 int firstIndex = 0;
2149 angle = sorted[firstIndex];
2156 if (++firstIndex == angleCount) {
2172 base->debugShowSort(__FUNCTION__, sorted, firstIndex, winding, oWinding);
2174 int nextIndex = firstIndex + 1;
2175 int lastIndex = firstIndex != 0 ? firstIndex : angleCount;
2445 int firstIndex = findStartingEdge(sorted, startIndex, end);
2446 SkASSERT(firstIndex >= 0);
2448 debugShowSort(__FUNCTION__, sorted, firstIndex);
[all...]
/external/skia/experimental/Intersection/
H A DShapeOps.cpp53 int firstIndex = -1; local
56 angle = sorted[++firstIndex];
60 segment->debugShowSort(__FUNCTION__, sorted, firstIndex);
67 int nextIndex = firstIndex + 1;
68 int lastIndex = firstIndex != 0 ? firstIndex : angleCount;
71 SkASSERT(nextIndex != firstIndex);
H A DthingsToDo.txt282 int firstIndex = first;
285 const Angle* angle = sorted[firstIndex];
286 int prior = firstIndex;
291 if (prior == firstIndex) { // all are coincident with each other
308 if (next == firstIndex) { // all are coincident with each other
335 // alreadyMarked |= aSeg == sorted[firstIndex]->segment();
355 // alreadyMarked |= aSeg == sorted[firstIndex]->segment();
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
H A DSetValuesTest.java120 int firstIndex, int length) {
126 packet.setNextValueAsInt(firstIndex);
140 packet.setNextValueAsInt(firstIndex);
119 checkArrayRegion(ArrayRegion valuesRegion, long arrayID, int firstIndex, int length) argument
H A DGetValuesTest.java159 + "; firstIndex = 0; length = " + length);
167 + "; firstIndex = 1; length = " + (length-1));
174 + "; firstIndex = 0; length = " + (length-1));
181 + "; firstIndex = " + (length-1) + " length = 1");
188 private void checkArrayRegion(long arrayID, int error, int firstIndex, int length, argument
196 packet.setNextValueAsInt(firstIndex);
231 value.getIntValue(), i + firstIndex);
237 Integer.parseInt(s), i + firstIndex);
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DPhiTypeResolver.java134 int firstIndex = -1;
142 firstIndex = i;
155 if (i == firstIndex) {
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DCSSMetadata.js867 var firstIndex = this._firstIndexOfPrefix(prefix);
868 if (firstIndex === -1)
872 while (firstIndex < this._values.length && this._values[firstIndex].startsWith(prefix))
873 results.push(this._values[firstIndex++]);
/external/smali/util/src/main/java/org/jf/util/
H A DClassFileNameHandler.java125 int firstIndex = (pathComponent.length()/2) - (toRemove/2);
126 return pathComponent.substring(0, firstIndex) + "#" + pathComponent.substring(firstIndex+toRemove);

Completed in 6502 milliseconds

123