/external/webkit/Source/JavaScriptCore/wtf/ |
ByteArray.h | 39 void set(unsigned index, double value) 41 if (index >= m_size) 47 m_data[index] = static_cast<unsigned char>(value + 0.5); 50 void set(unsigned index, unsigned char value) 52 if (index >= m_size) 54 m_data[index] = value; 57 bool get(unsigned index, unsigned char& result) const 59 if (index >= m_size) 61 result = m_data[index]; 65 unsigned char get(unsigned index) cons [all...] |
/external/webkit/Source/WebCore/fileapi/ |
EntryArray.cpp | 42 Entry* EntryArray::item(unsigned index) const 44 if (index >= m_entries.size()) 46 return m_entries[index].get();
|
/libcore/luni/src/main/java/javax/xml/validation/ |
TypeInfoProvider.java | 88 * @param index 89 * The index of the attribute. The same index for 94 * If the index is invalid. 109 public abstract TypeInfo getAttributeTypeInfo(int index); 130 * @param index 131 * The index of the attribute. The same index for 136 * If the index is invalid. 144 public abstract boolean isIdAttribute(int index); [all...] |
/external/skia/src/core/ |
SkBitmapSampler.h | 99 static inline int do_clamp(int index, unsigned max) 104 if (index > (int)max) 105 index = max; 106 if (index < 0) 107 index = 0; 109 if ((unsigned)index > max) 111 if (index < 0) 112 index = 0; 114 index = max; 117 return index; [all...] |
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
bookmark_folder_applescript.h | 30 - (void)insertInBookmarkFolders:(id)aBookmarkFolder atIndex:(int)index; 35 - (void)removeFromBookmarkFoldersAtIndex:(int)index; 49 atIndex:(int)index; 54 - (void)removeFromBookmarkItemsAtIndex:(int)index; 60 - (int)calculatePositionOfBookmarkFolderAt:(int)index; 66 - (int)calculatePositionOfBookmarkItemAt:(int)index;
|
/frameworks/base/core/java/android/database/ |
CursorIndexOutOfBoundsException.java | 24 public CursorIndexOutOfBoundsException(int index, int size) { 25 super("Index " + index + " requested, with a size of " + size);
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
d2_11pf.cpp | 95 index -- Word16 -- Positions of the 2 pulses. 152 Word16 index, /* i : Positions of the 2 pulses. */ 164 j = index & 0x1; 166 index >>= 1; 168 i = index & 0x7; 175 index >>= 3; 177 j = index & 0x3; 179 index >>= 2; 181 i = index & 0x7;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
q_pulse.c | 36 Word32 index; local 42 index = L_deposit_l((Word16) (pos & mask)); 45 index = vo_L_add(index, L_deposit_l(1 << N)); /* index += 1 << N; */ 47 return (index); 57 Word32 index; local 67 /* index = ((pos1 & mask) << N) + (pos2 & mask); */ 68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); 72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))) 113 Word32 index; local 155 Word32 index; local 193 Word32 i, j, k, index; local 259 Word32 i, j, k, index, tmp2; local 333 Word32 i, j, k, index; local [all...] |
/libcore/luni/src/main/java/java/io/ |
SerializationHandleMap.java | 55 int index = findIndex(key, keys); local 56 keys[index] = key; 57 values[index] = value; 63 int index = findIndex(key, keys); local 64 if (keys[index] == key) { 65 return values[index]; 71 * Returns the index where the key is found at, or the index of the next 76 int index = getModuloHash(key, length); local 77 int last = (index + length - 1) % length 99 int index = findIndex(_key, keys); local 126 int index, next, hash; local [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
AttributesImpl.java | 110 * @param index The attribute's index (zero-based). 112 * available, or null if the index is out of range. 115 public String getURI (int index) 117 if (index >= 0 && index < length) { 118 return data[index*5]; 128 * @param index The attribute's index (zero-based). 130 * none is available, or null if the index if out of range [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
AttributesImpl.java | 102 * @param index The attribute's index (zero-based). 104 * available, or null if the index is out of range. 107 public String getURI (int index) 109 if (index >= 0 && index < length) { 110 return data[index*5]; 120 * @param index The attribute's index (zero-based). 122 * none is available, or null if the index if out of range [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
CstInsn.java | 32 * {@code >= -1;} the constant pool index for {@link #constant}, or 35 private int index; field in class:CstInsn 38 * {@code >= -1;} the constant pool index for the class reference in 45 * initially unknown ({@code -1}) as is the constant pool index. 63 this.index = -1; 73 if (index >= 0) { 74 result.setIndex(index); 90 if (index >= 0) { 91 result.setIndex(index); 111 * Gets the constant's index. It is only valid to call this afte [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
CstInsn.java | 32 * {@code >= -1;} the constant pool index for {@link #constant}, or 35 private int index; field in class:CstInsn 38 * {@code >= -1;} the constant pool index for the class reference in 45 * initially unknown ({@code -1}) as is the constant pool index. 63 this.index = -1; 73 if (index >= 0) { 74 result.setIndex(index); 90 if (index >= 0) { 91 result.setIndex(index); 111 * Gets the constant's index. It is only valid to call this afte [all...] |
/external/proguard/src/proguard/util/ |
FileNameParser.java | 42 int index; local 46 for (index = 0; index < regularExpression.length(); index++) 49 if (regularExpression.regionMatches(index, "**", 0, 2)) 58 parse(regularExpression.substring(index + 2))); 63 else if (regularExpression.charAt(index) == '*') 72 parse(regularExpression.substring(index + 1))); 77 else if (regularExpression.charAt(index) == '?') 86 parse(regularExpression.substring(index + 1))) [all...] |
VariableStringMatcher.java | 61 for (int index = 0; index < minimumLength; index++) 63 if (!isAllowedCharacter(string.charAt(index))) 72 for (int index = minimumLength; index < maximumLength; index++) 74 if (nextMatcher.matches(string.substring(index))) 79 if (!isAllowedCharacter(string.charAt(index))) 100 for (int index = 0; index < allowedCharacters.length; index++ [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSArrayExtras.m | 35 -(NSNumber *)_webkit_numberAtIndex:(NSUInteger)index 37 id object = [self objectAtIndex:index]; 41 -(NSString *)_webkit_stringAtIndex:(NSUInteger)index 43 id object = [self objectAtIndex:index]; 57 int index; 60 for (index = [self count] - 1; index >= 0; --index) { 61 NSMenuItem *item = [self objectAtIndex:index]; 64 if (itemIsSeparator && (removePreviousItemIfSeparator || index == 0) [all...] |
/libcore/luni/src/main/java/org/xml/sax/ext/ |
Attributes2Impl.java | 82 public boolean isDeclared (int index) 84 if (index < 0 || index >= getLength ()) 86 "No attribute at index: " + index); 87 return declared [index]; 97 int index = getIndex (uri, localName); local 99 if (index < 0) 103 return declared [index]; 113 int index = getIndex (qName) local 151 int index = getIndex (uri, localName); local 171 int index = getIndex (qName); local [all...] |
/external/chromium/base/threading/ |
thread_local_storage_unittest.cc | 70 // Create a TLS index with a destructor. Create a set of 81 for (int index = 0; index < kNumThreads; index++) { 82 values[index] = kInitialTlsValue; 83 thread_delegates[index] = new ThreadLocalStorageRunner(&values[index]); 84 threads[index] = new DelegateSimpleThread(thread_delegates[index], 86 threads[index]->Start() [all...] |
/external/clang/test/CodeGenCXX/ |
debug-info-enum.cpp | 4 enum index { MAX }; enum
|
/external/proguard/src/proguard/classfile/visitor/ |
MultiMemberVisitor.java | 81 for (int index = 0; index < memberVisitorCount; index++) 83 memberVisitors[index].visitProgramField(programClass, programField); 90 for (int index = 0; index < memberVisitorCount; index++) 92 memberVisitors[index].visitProgramMethod(programClass, programMethod); 99 for (int index = 0; index < memberVisitorCount; index++ [all...] |
/external/proguard/src/proguard/gui/splash/ |
CompositeSprite.java | 51 for (int index = 0; index < sprites.length; index++) 53 sprites[index].paint(graphics, time);
|
/external/v8/src/ |
platform-tls-mac.h | 42 INLINE(intptr_t InternalGetExistingThreadLocal(intptr_t index)); 44 inline intptr_t InternalGetExistingThreadLocal(intptr_t index) { 49 :"r"(kMacTlsBaseOffset), "r"(index)); 53 :"r"(kMacTlsBaseOffset), "r"(index));
|
/libcore/luni/src/main/java/java/lang/ |
ArrayIndexOutOfBoundsException.java | 38 * {@code index}. 40 * @param index 41 * the invalid index. 43 public ArrayIndexOutOfBoundsException(int index) { 44 super("index=" + index); 62 public ArrayIndexOutOfBoundsException(int sourceLength, int index) { 63 super("length=" + sourceLength + "; index=" + index);
|
/libcore/luni/src/main/java/java/lang/reflect/ |
Array.java | 48 * Returns the element of the array at the specified index. This reproduces 49 * the effect of {@code array[index]}. If the array component is a primitive 54 * @param index 55 * the index 64 * if {@code index < 0 || index >= array.length} 66 public static Object get(Object array, int index) 69 return ((Object[]) array)[index]; 72 return ((boolean[]) array)[index] ? Boolean.TRUE : Boolean.FALSE; 75 return Byte.valueOf(((byte[]) array)[index]); [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
DOMImplementationList.java | 19 * <code>DOMImplementationList</code> are accessible via an integral index, 26 * Returns the <code>index</code>th item in the collection. If 27 * <code>index</code> is greater than or equal to the number of 30 * @param index Index into the collection. 31 * @return The <code>DOMImplementation</code> at the <code>index</code> 33 * <code>null</code> if that is not a valid index. 35 public DOMImplementation item(int index);
|