/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue4232.go | 14 _ = a[-1] // ERROR "invalid array index -1|index out of bounds" 15 _ = a[-1:] // ERROR "invalid slice index -1|index out of bounds" 16 _ = a[:-1] // ERROR "invalid slice index -1|index out of bounds" 17 _ = a[10] // ERROR "invalid array index 10|index out of bounds" 20 _ = a[9:12] // ERROR "invalid slice index 12|index out of bounds [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue4232.go | 14 _ = a[-1] // ERROR "invalid array index -1|index out of bounds" 15 _ = a[-1:] // ERROR "invalid slice index -1|index out of bounds" 16 _ = a[:-1] // ERROR "invalid slice index -1|index out of bounds" 17 _ = a[10] // ERROR "invalid array index 10|index out of bounds" 20 _ = a[9:12] // ERROR "invalid slice index 12|index out of bounds [all...] |
/external/apache-http/src/org/apache/commons/codec/language/ |
DoubleMetaphone.java | 97 int index = isSilentStart(value) ? 1 : 0; local 101 while (!result.isComplete() && index <= value.length() - 1) { 102 switch (value.charAt(index)) { 109 index = handleAEIOUY(value, result, index); 113 index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1; 118 index++ [all...] |
/external/lzma/Java/SevenZip/Compression/LZMA/ |
Base.java | 15 public static final int StateUpdateChar(int index)
17 if (index < 4)
19 if (index < 10)
20 return index - 3;
21 return index - 6;
24 public static final int StateUpdateMatch(int index)
26 return (index < 7 ? 7 : 10);
29 public static final int StateUpdateRep(int index)
31 return (index < 7 ? 8 : 11);
34 public static final int StateUpdateShortRep(int index)
[all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
FullFrame.java | 85 for (int index = 0; index < variablesCount; index++) 87 variables[index].variablesAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); 97 for (int index = 0; index < stackCount; index++) 99 stack[index].stackAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
SignalGenerator.java | 28 * NOTE: The first and last (index 0 and size-1) are filled with the 35 for(int index = 0; index < size; index++) { 36 buffer[index] = (float)Math.sin(index * incr);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
ListsHelper.java | 26 for (int index = 0; index < len; index++) { 27 if (a[index] != b[index]) {
|
/external/skia/tests/ |
PathOpsTypesTest.cpp | 17 for (size_t index = 0; index < roughlyTestsCount; ++index) { 18 bool equal = RoughlyEqualUlps(roughlyTests[index][0], roughlyTests[index][1]);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/ |
FixedSizeList.java | 43 public T get(int index) { 44 if (index < 0 || index >= size()) { 47 return readItem(index); 51 * Reads the item at {@code index} 52 * @param index The index of the item. This is guaranteed to be in [0, size) 53 * @return The item at the given index 56 public abstract T readItem(int index);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
dec_acelp_2p_in_64.cpp | 47 int16 index, (i): 12 bits index 125 int16 index, /* (i): 12 bits index */ 135 i = (index >> 5) & 0x003E; 137 if (((index >> 6) & NB_POS) == 0) 146 i = ((index & 0x001F) << 1) + 1; 148 if ((index & NB_POS) == 0)
|
/libcore/ojluni/src/main/java/java/beans/ |
IndexedPropertyChangeEvent.java | 31 * but contains the index of the property that has changed. 46 private int index; field in class:IndexedPropertyChangeEvent 56 * @param index index of the property element that was changed. 60 int index) { 62 this.index = index; 66 * Gets the index of the property that was changed. 68 * @return The index specifying the property element that was 72 return index; [all...] |
/external/proguard/src/proguard/evaluation/ |
Variables.java | 122 for (int index = 0; index < size; index++) 124 Value thisValue = this.values[index]; 125 Value otherValue = other.values[index]; 129 // two local variables that share the same index), at some point 140 this.values[index] = newValue; 146 this.values[index] = null; 150 other.values[index] = null; 169 * Gets the Value of the variable with the given index, without disturbing it [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/tuple/tuple.apply/ |
return_type.pass.cpp | 23 template <int N> struct index {}; struct 25 void f(index<0>) {} 27 int f(index<1>) { return 0; } 28 int const f(index<2>) { return 0; } 29 int volatile f(index<3>) { return 0; } 30 int const volatile f(index<4>) { return 0; } 32 int & f(index<5>) { return static_cast<int &>(my_int); } 33 int const & f(index<6>) { return static_cast<int const &>(my_int); } 34 int volatile & f(index<7>) { return static_cast<int volatile &>(my_int); } 35 int const volatile & f(index<8>) { return static_cast<int const volatile &>(my_int); [all...] |
/external/proguard/src/proguard/obfuscate/ |
MultiMappingProcessor.java | 52 for (int index = 0; index < mappingProcessors.length; index++) 54 result |= mappingProcessors[index].processClassMapping(className, 67 for (int index = 0; index < mappingProcessors.length; index++) 69 mappingProcessors[index].processFieldMapping(className, 85 for (int index = 0; index < mappingProcessors.length; index++ [all...] |
/external/skia/src/core/ |
SkTDPQueue.h | 17 * Optionally objects may know their index into the priority queue. The queue will update the index 18 * as the objects move through the queue. This is enabled by using a non-nullptr function for INDEX. 19 * When an INDEX function is provided random deletes from the queue are allowed using remove(). 21 * afterwards. In debug builds the index will be set to -1 before an element is removed from the 26 int* (*INDEX)(const T&) = (int* (*)(const T&))nullptr> 41 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; }) 58 int index = fArray.count(); local 61 this->percolateUpIfNecessary(index); 68 int index = *INDEX(entry); local 88 int index = *INDEX(entry); local [all...] |
/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/lzma/Java/Tukaani/src/org/tukaani/xz/index/ |
BlockInfo.java | 10 package org.tukaani.xz.index; 21 IndexDecoder index; field in class:BlockInfo 24 index = indexOfFirstStream; 28 return index.getStreamFlags().checkType; 32 return index.hasRecord(blockNumber + 1); 36 index.setBlockInfo(this, blockNumber + 1);
|
/libcore/ojluni/src/main/java/sun/misc/ |
CompoundEnumeration.java | 37 private int index = 0; field in class:CompoundEnumeration 44 while (index < enums.length) { 45 if (enums[index] != null && enums[index].hasMoreElements()) { 48 index++; 61 return (E)enums[index].nextElement();
|
/external/ImageMagick/MagickCore/ |
colormap-private.h | 29 static inline ssize_t ConstrainColormapIndex(Image *image,const ssize_t index, 32 if ((index < 0) || (index >= (ssize_t) image->colors)) 38 return((ssize_t) index); 42 const ssize_t index,Quantum *target,ExceptionInfo *exception) 44 if ((index < 0) || (index >= (ssize_t) image->colors)) 51 *target=(Quantum) index;
|
/external/clang/test/CodeGen/ |
windows-on-arm-stack-probe-size.c | 12 __declspec(dllexport) signed char function(unsigned index) { 15 return buffer[index];
|
/external/skia/src/pipe/ |
SkRefSet.h | 18 T* get(int index) const { 19 SkASSERT((unsigned)index < (unsigned)fArray.count()); 20 return fArray[index]; 23 bool set(int index, T* value) { 24 if ((unsigned)index < (unsigned)fArray.count()) { 25 SkRefCnt_SafeAssign(fArray[index], value); 28 if (fArray.count() == index && value) { 32 SkDebugf("SkRefSet: index [%d] out of range %d\n", index, fArray.count());
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
create_augmented_vec.c | 28 size_t index, /* (i) Index for the augmented vector to be created */ 37 ilow = index-4; 40 ppo = buffer-index; 41 WEBRTC_SPL_MEMCPY_W16(cbVec, ppo, index); 45 ppi = buffer - index - 4; 55 ppo = buffer - index; 56 WEBRTC_SPL_MEMCPY_W16(cbVec+index,ppo,(SUBL-index));
|
/frameworks/av/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/av/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...] |
/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);
|