Searched refs:index (Results 251 - 275 of 8871) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_code.c61 unsigned index = c->Count; local
77 c->Constants[index] = *constant;
80 return index;
89 unsigned index; local
92 for(index = 0; index < c->Count; ++index) {
93 if (c->Constants[index].Type == RC_CONSTANT_STATE) {
94 if (c->Constants[index].u.State[0] == state0 &&
95 c->Constants[index]
116 unsigned index; local
141 unsigned index; local
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DFixedSizeArray.java82 final int index = find(object, ignoreComparator);
83 if (index != -1) {
84 remove(index);
89 * Removes the specified index from the array. Subsequent entries in the array are shifted up
92 public void remove(int index) { argument
93 assert index < mCount;
95 if (index < mCount) {
96 for (int x = index; x < mCount; x++) {
123 * Swaps the element at the passed index with the element at the end of the array. When
126 public void swapWithLast(int index) { argument
139 set(int index, T object) argument
161 get(int index) argument
[all...]
/external/skia/experimental/Intersection/
H A DQuadraticBezierClip_Test.cpp46 for (size_t index = 0; index < quadraticTests_count; ++index) {
47 const Quadratic& quad1 = quadraticTests[index][0];
48 const Quadratic& quad2 = quadraticTests[index][1];
53 SkDebugf("%s [%d] quad1 order=%d\n", __FUNCTION__, (int)index, order1);
56 SkDebugf("%s [%d] quad2 order=%d\n", __FUNCTION__, (int)index, order2);
/external/clang/test/Analysis/
H A Darray-struct-region.c97 int testSymbolicInvalidation(int index) { argument
103 vals[index] = randomInt();
106 return vals[index]; // no-warning
109 int testConcreteInvalidation(int index) { argument
112 vals[index] = 42;
113 clang_analyzer_eval(vals[index] == 42); // expected-warning{{TRUE}}
115 clang_analyzer_eval(vals[index] == 42); // expected-warning{{UNKNOWN}}
127 int testSymbolicInvalidationStruct(int index) { argument
133 vals[index] = makeS();
136 return vals[index]
139 testConcreteInvalidationStruct(int index) argument
155 testSymbolicInvalidationDoubleStruct(int index) argument
170 testConcreteInvalidationDoubleStruct(int index) argument
197 testNonOverlappingStructFieldsSymbolicBase(int index, int anotherIndex) argument
213 testStructFieldChains(int index, int anotherIndex) argument
238 testStructFieldChainsNested(int index, int anotherIndex) argument
325 testMixSymbolicAndConcrete(int index, int anotherIndex) argument
346 testFieldChainIsNotEnough(int index) argument
[all...]
/external/chromium_org/net/base/
H A Dip_endpoint_unittest.cc38 for (int index = 0; index < test_count; ++index) {
39 EXPECT_TRUE(ParseIPLiteralToNumber(tests[index].host,
40 &tests[index].ip_address));
49 for (int index = 0; index < test_count; ++index) {
50 IPEndPoint endpoint(tests[index].ip_address, 80);
52 EXPECT_EQ(tests[index]
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DCodeAnalyzer.java71 private void visitBytecode(CodeIterator ci, int[] stack, int index) argument
75 ci.move(index);
76 int stackDepth = -stack[index];
80 index = ci.next();
81 stack[index] = stackDepth;
82 int op = ci.byteAt(index);
83 stackDepth = visitInst(op, ci, index, stackDepth);
85 throw new BadBytecode("stack underflow at " + index);
87 if (processBranch(op, ci, index, codeLength, stack, stackDepth, jsrDepth))
98 private boolean processBranch(int opcode, CodeIterator ci, int index, argument
211 visitInst(int op, CodeIterator ci, int index, int stack) argument
258 getFieldSize(CodeIterator ci, int index) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dbrowser_action_test_util_views.cc37 ExtensionAction* BrowserActionTestUtil::GetExtensionAction(int index) { argument
39 GetBrowserAction(*GetContainer(browser_)->GetBrowserActionViewAt(index)->
43 void BrowserActionTestUtil::InspectPopup(int index) { argument
44 GetContainer(browser_)->GetBrowserActionViewAt(index)->
48 bool BrowserActionTestUtil::HasIcon(int index) { argument
49 return !GetContainer(browser_)->GetBrowserActionViewAt(index)->
53 gfx::Image BrowserActionTestUtil::GetIcon(int index) { argument
54 gfx::ImageSkia icon = GetContainer(browser_)->GetBrowserActionViewAt(index)->
59 void BrowserActionTestUtil::Press(int index) { argument
60 GetContainer(browser_)->GetBrowserActionViewAt(index)
64 GetExtensionId(int index) argument
69 GetTooltip(int index) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTableSectionElement.cpp56 // the index... but they aren't used during usual HTML parsing anyway
57 PassRefPtrWillBeRawPtr<HTMLElement> HTMLTableSectionElement::insertRow(int index, ExceptionState& exceptionState) argument
61 if (index < -1 || index > numRows) {
62 exceptionState.throwDOMException(IndexSizeError, "The provided index (" + String::number(index) + " is outside the range [-1, " + String::number(numRows) + "].");
67 if (numRows == index || index == -1)
70 insertBefore(row, children->item(index), exceptionState);
74 void HTMLTableSectionElement::deleteRow(int index, ExceptionStat argument
[all...]
H A DCollectionIndexCache.h61 NodeType* nodeAt(const Collection&, unsigned index);
73 ALWAYS_INLINE void setCachedNode(NodeType* node, unsigned index) argument
77 m_cachedNodeIndex = index;
89 NodeType* nodeBeforeCachedNode(const Collection&, unsigned index);
90 NodeType* nodeAfterCachedNode(const Collection&, unsigned index);
127 inline NodeType* CollectionIndexCache<Collection, NodeType>::nodeAt(const Collection& collection, unsigned index) argument
129 if (isCachedNodeCountValid() && index >= cachedNodeCount())
133 if (index > cachedNodeIndex())
134 return nodeAfterCachedNode(collection, index);
135 if (index < cachedNodeInde
153 nodeBeforeCachedNode(const Collection& collection, unsigned index) argument
[all...]
/external/proguard/src/proguard/classfile/util/
H A DInternalTypeEnumeration.java39 private int index; field in class:InternalTypeEnumeration
50 this.index = firstIndex + 1;
75 return index < lastIndex;
84 int startIndex = index;
88 char c = descriptor.charAt(index++);
104 return descriptor.substring(startIndex, index);
122 while (descriptor.charAt(index) == ClassConstants.INTERNAL_TYPE_ARRAY)
124 index++;
133 char c = descriptor.charAt(index++);
153 char c = descriptor.charAt(index
[all...]
H A DDescriptorClassEnumeration.java37 private int index; field in class:DescriptorClassEnumeration
70 index = 0;
82 return index < descriptor.length();
91 int fluffStartIndex = index;
94 loop: while (index < descriptor.length())
96 switch (descriptor.charAt(index++))
148 while (descriptor.charAt(index++) != ClassConstants.INTERNAL_TYPE_CLASS_END);
154 descriptor.charAt(index) != ClassConstants.INTERNAL_TYPE_GENERIC_END)
158 while (descriptor.charAt(index++) != ClassConstants.INTERNAL_TYPE_GENERIC_BOUND);
162 return descriptor.substring(fluffStartIndex, index);
[all...]
/external/chromium_org/ui/base/models/
H A Dbutton_menu_item_model.cc77 int index) const {
78 return items_[index].type;
81 int ButtonMenuItemModel::GetCommandIdAt(int index) const {
82 return items_[index].command_id;
85 bool ButtonMenuItemModel::IsItemDynamicAt(int index) const {
87 return delegate_->IsItemForCommandIdDynamic(GetCommandIdAt(index));
91 base::string16 ButtonMenuItemModel::GetLabelAt(int index) const {
92 if (IsItemDynamicAt(index))
93 return delegate_->GetLabelForCommandId(GetCommandIdAt(index));
94 return items_[index]
97 GetIconAt(int index, int* icon_idr) const argument
[all...]
/external/proguard/src/proguard/evaluation/
H A DTracedVariables.java78 * @param index the variable index.
81 public Value getProducerValue(int index) argument
83 return producerVariables.getValue(index);
90 * @param index the variable index.
93 public void setProducerValue(int index, Value value) argument
95 producerVariables.store(index, value);
125 for (int index = 0; index < siz
143 store(int index, Value value) argument
[all...]
/external/icu/icu4c/source/layout/
H A DGlyphPositionAdjustments.h106 inline le_bool isCursiveGlyph(le_int32 index) const;
107 inline le_bool baselineIsLogicalEnd(le_int32 index) const;
109 const LEPoint *getEntryPoint(le_int32 index, LEPoint &entryPoint) const;
110 const LEPoint *getExitPoint(le_int32 index, LEPoint &exitPoint) const;
112 inline float getXPlacement(le_int32 index) const;
113 inline float getYPlacement(le_int32 index) const;
114 inline float getXAdvance(le_int32 index) const;
115 inline float getYAdvance(le_int32 index) const;
117 inline le_int32 getBaseOffset(le_int32 index) const;
119 inline void setXPlacement(le_int32 index, floa
325 setXPlacement(le_int32 index, float newXPlacement) argument
330 setYPlacement(le_int32 index, float newYPlacement) argument
335 setXAdvance(le_int32 index, float newXAdvance) argument
340 setYAdvance(le_int32 index, float newYAdvance) argument
345 setBaseOffset(le_int32 index, le_int32 newBaseOffset) argument
350 adjustXPlacement(le_int32 index, float xAdjustment) argument
355 adjustYPlacement(le_int32 index, float yAdjustment) argument
360 adjustXAdvance(le_int32 index, float xAdjustment) argument
365 adjustYAdvance(le_int32 index, float yAdjustment) argument
[all...]
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_info_cache.h60 virtual base::string16 GetNameOfProfileAtIndex(size_t index) const OVERRIDE;
61 virtual base::string16 GetShortcutNameOfProfileAtIndex(size_t index)
63 virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const OVERRIDE;
64 virtual base::Time GetProfileActiveTimeAtIndex(size_t index) const OVERRIDE;
66 size_t index) const OVERRIDE;
68 size_t index) const OVERRIDE;
70 size_t index) const OVERRIDE;
75 size_t index) const OVERRIDE;
77 size_t index) const OVERRIDE;
79 size_t index) cons
[all...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
H A DJSONArray.java39 * methods for accessing the values by index, and <code>put</code> methods for
238 * Get the object value associated with an index.
239 * @param index
240 * The index must be between 0 and length() - 1.
242 * @throws JSONException If there is no value for the index.
244 public Object get(int index) throws JSONException { argument
245 Object o = opt(index);
247 throw new JSONException("JSONArray[" + index + "] not found.");
254 * Get the boolean value associated with an index.
257 * @param index Th
262 getBoolean(int index) argument
285 getDouble(int index) argument
307 getInt(int index) argument
321 getJSONArray(int index) argument
338 getJSONObject(int index) argument
356 getLong(int index) argument
369 getString(int index) argument
379 isNull(int index) argument
422 opt(int index) argument
436 optBoolean(int index) argument
450 optBoolean(int index, boolean defaultValue) argument
467 optDouble(int index) argument
481 optDouble(int index, double defaultValue) argument
498 optInt(int index) argument
511 optInt(int index, int defaultValue) argument
526 optJSONArray(int index) argument
540 optJSONObject(int index) argument
554 optLong(int index) argument
567 optLong(int index, long defaultValue) argument
584 optString(int index) argument
597 optString(int index, String defaultValue) argument
700 put(int index, boolean value) argument
715 put(int index, Collection value) argument
731 put(int index, double value) argument
746 put(int index, int value) argument
761 put(int index, long value) argument
776 put(int index, Map value) argument
794 put(int index, Object value) argument
817 remove(int index) argument
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_model.cc57 int ShelfModel::AddAt(int index, const ShelfItem& item) { argument
58 index = ValidateInsertionIndex(item.type, index);
59 items_.insert(items_.begin() + index, item);
60 items_[index].id = next_id_++;
61 FOR_EACH_OBSERVER(ShelfModelObserver, observers_, ShelfItemAdded(index));
62 return index;
65 void ShelfModel::RemoveItemAt(int index) { argument
66 DCHECK(index >= 0 && index < item_coun
76 Move(int index, int target_index) argument
87 Set(int index, const ShelfItem& item) argument
[all...]
/external/qemu/android/utils/
H A Dintmap.c84 int index = 0; local
87 index = 0;
89 if (keys[index] == key)
90 return map->values[index];
91 index++;
127 int index, limit; local
134 index = 0;
136 if (keys[index] == key)
138 index++;
151 result = map->values[index];
160 int index, limit; local
203 int index; local
[all...]
/external/smack/src/org/jivesoftware/smack/proxy/
H A DSocks5ProxySocketFactory.java95 int index=0;
118 buf[index++]=5;
120 buf[index++]=2;
121 buf[index++]=0; // NO AUTHENTICATION REQUIRED
122 buf[index++]=2; // USERNAME/PASSWORD
124 out.write(buf, 0, index);
170 index=0;
171 buf[index++]=1;
172 buf[index++]=(byte)(user.length());
173 System.arraycopy(user.getBytes(), 0, buf, index,
[all...]
/external/chromium_org/third_party/skia/tests/
H A DPathOpsBoundsTest.cpp50 for (size_t index = 0; index < sectTestsCount; ++index) {
51 const SkPathOpsBounds& bounds1 = static_cast<const SkPathOpsBounds&>(sectTests[index][0]);
53 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(sectTests[index][1]);
58 for (size_t index = 0; index < noSectTestsCount; ++index) {
59 const SkPathOpsBounds& bounds1 = static_cast<const SkPathOpsBounds&>(noSectTests[index][0]);
61 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(noSectTests[index][
[all...]
/external/skia/tests/
H A DPathOpsBoundsTest.cpp50 for (size_t index = 0; index < sectTestsCount; ++index) {
51 const SkPathOpsBounds& bounds1 = static_cast<const SkPathOpsBounds&>(sectTests[index][0]);
53 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(sectTests[index][1]);
58 for (size_t index = 0; index < noSectTestsCount; ++index) {
59 const SkPathOpsBounds& bounds1 = static_cast<const SkPathOpsBounds&>(noSectTests[index][0]);
61 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(noSectTests[index][
[all...]
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dapps_helper.h17 // Returns true iff the profile with index |index| has the same apps (hosted,
19 bool HasSameAppsAsVerifier(int index) WARN_UNUSED_RESULT;
25 // Installs the app for the given index to |profile|, and returns the extension
27 std::string InstallApp(Profile* profile, int index);
29 // Installs the platform app for the given index to |profile|, and returns the
32 std::string InstallPlatformApp(Profile* profile, int index);
34 // Installs the app for the given index to all profiles (including the
36 std::string InstallAppForAllProfiles(int index);
38 // Uninstalls the app for the given index fro
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/
H A Dlist_selection_model.js55 * Convenience getter which returns the first selected index.
78 * @param {number} start The first index to select.
79 * @param {number} end The last index to select.
91 for (var index = start; index != end; index++) {
92 this.setIndexSelected(index, true);
129 * Sets the selected state for an index.
130 * @param {number} index The index t
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DQuotesData.cpp47 const String QuotesData::getOpenQuote(int index) const
49 ASSERT(index >= 0);
50 if (!m_quotePairs.size() || index < 0)
52 if ((size_t)index >= m_quotePairs.size())
54 return m_quotePairs.at(index).first;
57 const String QuotesData::getCloseQuote(int index) const
59 ASSERT(index >= -1);
60 if (!m_quotePairs.size() || index < 0)
62 if ((size_t)index >= m_quotePairs.size())
64 return m_quotePairs.at(index)
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGLengthList.idl37 [RaisesException] getter SVGLength getItem(unsigned long index);
38 [RaisesException] setter SVGLength (unsigned long index, SVGLength value);
39 [RaisesException] SVGLength insertItemBefore(SVGLength item, unsigned long index);
40 [RaisesException] SVGLength replaceItem(SVGLength item, unsigned long index);
41 [RaisesException] SVGLength removeItem(unsigned long index);

Completed in 5826 milliseconds

<<11121314151617181920>>