/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3Mem.h | 47 int cleanCache(int index) {return cacheOps(index, ION_IOC_CLEAN_CACHES);} 48 int invalidateCache(int index) {return cacheOps(index, ION_IOC_INV_CACHES);} 49 int cleanInvalidateCache(int index) {return cacheOps(index, ION_IOC_CLEAN_INV_CACHES);} 50 int getFd(int index) const; 51 int getSize(int index) const; 54 virtual int cacheOps(int index, unsigned int cmd) = 0; 57 virtual void *getPtr(int index) const= 0 [all...] |
/external/chromium/chrome/browser/tabs/ |
tab_strip_model_order_controller.cc | 42 // Get the index of the next item opened by this tab, and insert after 44 int index; local 46 index = tabstrip_->GetIndexOfLastTabContentsOpenedBy( 49 index = tabstrip_->GetIndexOfFirstTabContentsOpenedBy( 52 if (index != TabStripModel::kNoTab) 53 return index + delta; 72 // First see if the index being removed has any "child" tabs. If it does, we 79 int index = tabstrip_->GetIndexOfNextTabContentsOpenedBy(removed_controller, local 82 if (index != TabStripModel::kNoTab) 83 return GetValidIndex(index, removing_index) 87 int index = tabstrip_->GetIndexOfNextTabContentsOpenedBy(parent_opener, local 119 int index = tabstrip_->GetIndexOfTabContents(old_contents); local [all...] |
tab_strip_selection_model.cc | 15 static void IncrementFromImpl(int index, int* value) { 16 if (*value >= index) 20 static bool DecrementFromImpl(int index, int* value) { 21 if (*value == index) { 25 if (*value > index) 38 void TabStripSelectionModel::IncrementFrom(int index) { 42 IncrementFromImpl(index, &(*i)); 44 IncrementFromImpl(index, &anchor_); 45 IncrementFromImpl(index, &active_); 48 void TabStripSelectionModel::DecrementFrom(int index) { [all...] |
/external/chromium_org/chrome/browser/extensions/ |
browser_action_test_util.h | 32 // Returns the ExtensionAction for the given index. 33 ExtensionAction* GetExtensionAction(int index); 36 // Returns whether the browser action at |index| has a non-null icon. Note 39 bool HasIcon(int index); 41 // Returns icon for the browser action at |index|. 42 gfx::Image GetIcon(int index); 44 // Simulates a user click on the browser action button at |index|. 45 void Press(int index); 47 // Returns the extension id of the extension at |index|. 48 std::string GetExtensionId(int index); [all...] |
/external/chromium_org/ppapi/cpp/ |
network_list.h | 32 /// specified <code>index</code>. 33 std::string GetName(uint32_t index) const; 36 /// specified <code>index</code>. 37 PP_NetworkList_Type GetType(uint32_t index) const; 40 /// the specified <code>index</code>. 41 PP_NetworkList_State GetState(uint32_t index) const; 44 /// specified <code>index</code> and stores them in 46 int32_t GetIpAddresses(uint32_t index, 50 /// the specified <code>index</code>. 51 std::string GetDisplayName(uint32_t index) const [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
MIMETypeFromURL.cpp | 39 size_t index = url.find(';'); local 40 if (index == kNotFound) 41 index = url.find(','); 42 if (index != kNotFound) { 43 if (index > 5) 44 return url.substring(5, index - 5).lower();
|
/external/chromium_org/ui/base/models/ |
list_model.h | 26 // Adds |item| at the |index| into |items_|. Takes ownership of |item|. 27 void AddAt(size_t index, ItemType* item) { 28 DCHECK_LE(index, item_count()); 29 items_.insert(items_.begin() + index, item); 30 NotifyItemsAdded(index, 1); 38 // Removes the item at |index| from |items_| without deleting it. 40 scoped_ptr<ItemType> RemoveAt(size_t index) { 41 DCHECK_LT(index, item_count()); 42 ItemType* item = items_[index]; 43 items_.weak_erase(items_.begin() + index); [all...] |
list_selection_model.cc | 17 static void IncrementFromImpl(int index, int* value) { 18 if (*value >= index) 22 static bool DecrementFromImpl(int index, int* value) { 23 if (*value == index) { 27 if (*value > index) 40 void ListSelectionModel::IncrementFrom(int index) { 44 IncrementFromImpl(index, &(*i)); 46 IncrementFromImpl(index, &anchor_); 47 IncrementFromImpl(index, &active_); 50 void ListSelectionModel::DecrementFrom(int index) { [all...] |
simple_menu_model.h | 104 void InsertItemAt(int index, int command_id, const base::string16& label); 105 void InsertItemWithStringIdAt(int index, int command_id, int string_id); 106 void InsertSeparatorAt(int index, MenuSeparatorType separator_type); 107 void InsertCheckItemAt(int index, 110 void InsertCheckItemWithStringIdAt(int index, int command_id, int string_id); 111 void InsertRadioItemAt(int index, 116 int index, int command_id, int string_id, int group_id); 117 void InsertSubMenuAt(int index, 122 int index, int command_id, int string_id, MenuModel* model); 124 // Remove item at specified index from the model [all...] |
/external/proguard/src/proguard/classfile/instruction/visitor/ |
MultiInstructionVisitor.java | 86 for (int index = 0; index < instructionVisitorCount; index++) 88 instructionVisitors[index].visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction); 94 for (int index = 0; index < instructionVisitorCount; index++) 96 instructionVisitors[index].visitVariableInstruction(clazz, method, codeAttribute, offset, variableInstruction); 102 for (int index = 0; index < instructionVisitorCount; index++ [all...] |
/external/v8/src/ |
platform-tls-win32.h | 42 inline intptr_t InternalGetExistingThreadLocal(intptr_t index) { 47 ASSERT(0 <= index && index < kMaxSlots); 48 if (index < kMaxInlineSlots) { 50 kPointerSize * index)); 55 kPointerSize * (index - kMaxInlineSlots));
|
/libcore/luni/src/main/java/java/lang/ |
StringIndexOutOfBoundsException.java | 38 * {@code index}. 40 * @param index 41 * the index which is out of bounds. 43 public StringIndexOutOfBoundsException(int index) { 44 super("String index out of range: " + index); 62 public StringIndexOutOfBoundsException(String s, int index) { 63 this(s.length(), index); 70 public StringIndexOutOfBoundsException(int sourceLength, int index) { 71 super("length=" + sourceLength + "; index=" + index) [all...] |
/libcore/luni/src/main/java/java/text/ |
ParsePosition.java | 22 * index can be set to the position where the error occurred without having to 30 * Constructs a new {@code ParsePosition} with the specified index. 32 * @param index 33 * the index to begin parsing. 35 public ParsePosition(int index) { 36 currentPosition = index; 42 * instance of {@code ParsePosition} and it must have the same index and 43 * error index. 62 * Returns the index at which the parse could not continue. 64 * @return the index of the parse error or -1 if there is no error [all...] |
/external/skia/tests/ |
PathOpsCubicReduceOrderTest.cpp | 24 int index, minX, maxX, minY, maxY; 26 for (index = 1; index < 4; ++index) { 27 if (cubic[minX].fX > cubic[index].fX) { 28 minX = index; 30 if (cubic[minY].fY > cubic[index].fY) { 31 minY = index; 33 if (cubic[maxX].fX < cubic[index].fX) { 34 maxX = index; 62 size_t index; local [all...] |
PathOpsDTriangleTest.cpp | 32 for (size_t index = 0; index < tests_count; ++index) { 33 const SkDTriangle& triangle = tests[index]; 35 bool result = triangle.contains(inPoint[index]); 37 SkDebugf("%s [%d] expected point in triangle\n", __FUNCTION__, index); 40 result = triangle.contains(outPoint[index]); 42 SkDebugf("%s [%d] expected point outside triangle\n", __FUNCTION__, index); 59 for (size_t index = 0; index < oneOff_count; ++index) [all...] |
/libcore/json/src/main/java/org/json/ |
JSONArray.java | 40 * JSONObject#NULL}. In particular, {@code get} fails if the requested index 190 * Sets the value at {@code index} to {@code value}, null padding this array 192 * index}, it will be replaced. 196 public JSONArray put(int index, boolean value) throws JSONException { 197 return put(index, (Boolean) value); 201 * Sets the value at {@code index} to {@code value}, null padding this array 203 * index}, it will be replaced. 209 public JSONArray put(int index, double value) throws JSONException { 210 return put(index, (Double) value); 214 * Sets the value at {@code index} to {@code value}, null padding this arra [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
MoreZeroFrame.java | 80 for (int index = 0; index < additionalVariablesCount; index++) 82 additionalVariables[index].accept(clazz, method, codeAttribute, offset, verificationTypeVisitor); 118 for (int index = 0; index < additionalVariablesCount; index++) 120 VerificationType thisType = this.additionalVariables[index]; 121 VerificationType otherType = other.additionalVariables[index]; 137 for (int index = 0; index < additionalVariablesCount; index++ [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
UnboundedFifoByteBuffer.java | 187 * Increments the internal index.
189 * @param index the index to increment
190 * @return the updated index
192 private int increment(int index) {
193 index++;
194 if (index >= buffer.length) {
195 index = 0;
197 return index;
201 * Decrements the internal index. [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
sessions_helper.h | 39 // Copies the local session windows of profile |index| to |local_windows|. 41 bool GetLocalWindows(int index, SessionWindowMap* local_windows); 43 // Creates and verifies the creation of a new window for profile |index| with 46 bool OpenTabAndGetLocalWindows(int index, 51 bool CheckInitialState(int index); 54 int GetNumWindows(int index); 57 int GetNumForeignSessions(int index); 62 bool GetSessionData(int index, SyncedSessionVector* sessions); 93 int index, 98 bool OpenTab(int index, const GURL& url) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
q_gain_p.cpp | 130 Word16 -- index of quantization 179 Word16 q_gain_pitch( /* Return index of quantization */ 189 Word16 index; local 196 index = 0; 208 index = i; 215 /* in MR795 mode, compute three gain_pit candidates around the index 216 * found in the quantization loop: the index found and the two direct 222 if (index == 0) 224 ii = index; 228 if (index == (NB_QUA_PITCH - 1) | [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
AttributesImplSerializer.java | 32 * faster lookup of an index by qName, which is commonly done in the stream 42 * Hash table of qName/index values to quickly lookup the index 46 * The keys to the hashtable to find the index are either 66 * This method gets the index of an attribute given its qName. 68 * @return the integer index of the attribute. 73 int index; local 79 index = super.getIndex(qname); 80 return index; 86 index = -1 110 int index = super.getLength(); local 215 int index; local [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
stacked_tab_strip_layout.h | 51 // Sets the index of the active tab. 52 void SetActiveIndex(int index); 61 // Adds a new tab at the specified index. |add_types| is a bitmask of 63 void AddTab(int index, int add_types, int start_x); 65 // Removes the tab at the specified index. |start_x| is the new x-coordinate 68 void RemoveTab(int index, int start_x, int old_x); 70 // Moves the tab from |from| to |to|. |new_active_index| is the index of the 78 // Returns the active index as used by this class. The active index dictates 80 // StackedTabStripLayout forces the active index to be in the normal tabs [all...] |
/external/proguard/src/proguard/util/ |
ClassNameParser.java | 62 int index; local 66 for (index = 0; index < regularExpression.length(); index++) 69 if (regularExpression.regionMatches(index, "L///;", 0, 5)) 76 new OrMatcher(parse(regularExpression.substring(index + 5)), 85 if (regularExpression.regionMatches(index, "L***;", 0, 5)) 90 createAnyTypeMatcher(parse(regularExpression.substring(index + 5))); 95 if (regularExpression.regionMatches(index, "**", 0, 2)) 104 parse(regularExpression.substring(index + 2))) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatAttributes.java | 48 public String getURI(int index) { 49 if (index < 0 || index >= getLength()) { 52 return getURI(getParserPointer(), getPointer(), index); 55 public String getLocalName(int index) { 56 return (index < 0 || index >= getLength()) 58 : getLocalName(getParserPointer(), getPointer(), index); 61 public String getQName(int index) { 62 return (index < 0 || index >= getLength() [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
IntStream.java | 44 * current input position, index(), or some other marker so that 47 * track line/col info as well as input index so its markers are 52 /** Return the current input symbol index 0..n where n indicates the 53 * last symbol has been read. The index is the symbol about to be 56 int index(); method in interface:IntStream 58 /** Reset the stream so that next call to index would return marker. 59 * The marker will usually be index() but it doesn't have to be. It's 89 /** Set the input cursor to the position indicated by index. This is 95 * requirement and in that its argument is strictly an input cursor (index). 105 * The index is 0..n-1. A seek to position i means that LA(1) wil [all...] |