/external/replicaisland/src/com/replica/replicaisland/ |
H A D | FixedSizeArray.java | 82 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/vboot_reference/firmware/lib/ |
H A D | tpm_bootmode.c | 98 * Given the boot state, return the correct SHA1 digest index for TPMExtend 104 int index = 0; local 107 * Convert keyblock flags into keyblock mode which we use to index into 116 index = 2; 123 index = 1; 127 index = 0; 131 index += 3; 133 index += 6; 134 return index;
|
/external/clang/test/Analysis/ |
H A D | array-struct-region.c | 97 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/snakeyaml/src/test/java/org/pyyaml/ |
H A D | CanonicalScanner.java | 51 private int index; field in class:CanonicalScanner 58 this.index = 0; 112 char ch = data.charAt(index); 124 if ("---".equals(data.substring(index, index + 3))) { 125 index += 3; 131 index++; 136 index++; 141 index++; 146 index [all...] |
/external/javassist/src/main/javassist/bytecode/ |
H A D | CodeAnalyzer.java | 71 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/lzma/CPP/Windows/Control/ |
H A D | ComboBox.h | 23 LRESULT SetCurSel(int index) { return SendMsg(CB_SETCURSEL, index, 0); }
argument 27 LRESULT GetLBTextLen(int index) { return SendMsg(CB_GETLBTEXTLEN, index, 0); }
argument 28 LRESULT GetLBText(int index, LPTSTR s) { return SendMsg(CB_GETLBTEXT, index, (LPARAM)s); }
argument 29 LRESULT GetLBText(int index, CSysString &s);
31 LRESULT GetLBText(int index, UString &s);
34 LRESULT SetItemData(int index, LPARAM lParam) { return SendMsg(CB_SETITEMDATA, index, lPara argument 35 GetItemData(int index) argument 49 DeleteItem(int index) argument [all...] |
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
H A D | toy_tgsi.h | 69 int index:16; member in struct:toy_tgsi::__anon16249 79 int index:16; member in struct:toy_tgsi::__anon16250 88 int index:16; member in struct:toy_tgsi::__anon16251 104 toy_tgsi_find_input(const struct toy_tgsi *tgsi, int index) argument 109 if (tgsi->inputs[slot].index == index) 120 toy_tgsi_find_system_value(const struct toy_tgsi *tgsi, int index) argument 125 if (tgsi->system_values[slot].index == index) 136 toy_tgsi_get_imm(const struct toy_tgsi *tgsi, unsigned index, argument [all...] |
/external/proguard/src/proguard/classfile/util/ |
H A D | InternalTypeEnumeration.java | 39 private int index; field in class:InternalTypeEnumeration 50 this.index = firstIndex + 1; 84 return index < lastIndex; 93 int startIndex = index; 97 char c = descriptor.charAt(index++); 113 return descriptor.substring(startIndex, index); 131 while (descriptor.charAt(index) == ClassConstants.TYPE_ARRAY) 133 index++; 142 char c = descriptor.charAt(index++); 162 char c = descriptor.charAt(index [all...] |
H A D | DescriptorClassEnumeration.java | 37 private int index; field in class:DescriptorClassEnumeration 83 index = 0; 97 return index < descriptor.length(); 106 int fluffStartIndex = index; 109 loop: while (index < descriptor.length()) 111 switch (descriptor.charAt(index++)) 163 while (descriptor.charAt(index++) != ClassConstants.TYPE_CLASS_END); 169 descriptor.charAt(index) != ClassConstants.TYPE_GENERIC_END) 173 while (descriptor.charAt(index++) != ClassConstants.TYPE_GENERIC_BOUND); 177 return descriptor.substring(fluffStartIndex, index); [all...] |
/external/proguard/src/proguard/evaluation/ |
H A D | TracedVariables.java | 78 * @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/v8/src/interpreter/ |
H A D | bytecode-register.cc | 40 Register Register::FromParameterIndex(int index, int parameter_count) { argument 41 DCHECK_GE(index, 0); 42 DCHECK_LT(index, parameter_count); 43 int register_index = kLastParamRegisterIndex - parameter_count + index + 1; 50 return index() - kLastParamRegisterIndex + parameter_count - 1; 58 return index() == kFunctionClosureRegisterIndex; 66 return index() == kCurrentContextRegisterIndex; 72 return index() == kNewTargetRegisterIndex; 80 return index() == kBytecodeArrayRegisterIndex; 88 return index() [all...] |
H A D | bytecode-register.h | 21 explicit Register(int index = kInvalidIndex) : index_(index) {} 23 int index() const { return index_; } function in class:v8::internal::interpreter::final 24 bool is_parameter() const { return index() < 0; } 27 static Register FromParameterIndex(int index, int parameter_count); 73 return index() == other.index(); 76 return index() != other.index(); 79 return index() < othe [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | collationrootelements.cpp | 28 int32_t index = findP(p); local 29 uint32_t q = elements[index]; 32 // p == elements[index] is a root primary. Find the CE before it. 35 secTer = elements[index - 1]; 42 index -= 2; 44 p = elements[index]; 49 --index; 53 // p > elements[index] which is the previous primary. 58 q = elements[++index]; 73 int32_t index local 90 int32_t index = findPrimary(p); local 120 int32_t index; local 145 int32_t index; local 173 getPrimaryAfter(uint32_t p, int32_t index, UBool isCompressible) const argument 195 getSecondaryAfter(int32_t index, uint32_t s) const argument 221 getTertiaryAfter(int32_t index, uint32_t s, uint32_t t) const argument 276 int32_t index = findP(p); local [all...] |
H A D | pluralaffix.cpp | 40 PluralMapBase::Category index = PluralMapBase::NONE; local 41 for (DigitAffix *current = affixes.nextMutable(index); 42 current != NULL; current = affixes.nextMutable(index)) { 50 PluralMapBase::Category index = PluralMapBase::NONE; local 51 for (DigitAffix *current = affixes.nextMutable(index); 52 current != NULL; current = affixes.nextMutable(index)) { 60 PluralMapBase::Category index = PluralMapBase::NONE; local 61 for (DigitAffix *current = affixes.nextMutable(index); 62 current != NULL; current = affixes.nextMutable(index)) { 73 PluralMapBase::Category index local 98 PluralMapBase::Category index = PluralMapBase::OTHER; local [all...] |
/external/v8/src/compiler/ |
H A D | code-generator-impl.h | 30 Register InputRegister(size_t index) { argument 31 return ToRegister(instr_->InputAt(index)); 34 FloatRegister InputFloatRegister(size_t index) { argument 35 return ToFloatRegister(instr_->InputAt(index)); 38 DoubleRegister InputDoubleRegister(size_t index) { argument 39 return ToDoubleRegister(instr_->InputAt(index)); 42 Simd128Register InputSimd128Register(size_t index) { argument 43 return ToSimd128Register(instr_->InputAt(index)); 46 double InputDouble(size_t index) { return ToDouble(instr_->InputAt(index)); } argument 48 InputFloat32(size_t index) argument 50 InputInt32(size_t index) argument 54 InputUint32(size_t index) argument 58 InputInt64(size_t index) argument 62 InputInt8(size_t index) argument 66 InputInt16(size_t index) argument 70 InputInt3(size_t index) argument 74 InputInt4(size_t index) argument 78 InputInt5(size_t index) argument 82 InputInt6(size_t index) argument 86 InputExternalReference(size_t index) argument 90 InputHeapObject(size_t index) argument 94 InputLabel(size_t index) argument 96 InputRpo(size_t index) argument 104 TempRegister(size_t index) argument [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
H A D | JSONArray.java | 39 * 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/python/cpython2/Lib/idlelib/ |
H A D | ScrolledList.py | 50 def get(self, index): 51 return self.listbox.get(index) 55 index = self.listbox.index("active") 56 self.select(index) 57 self.on_select(index) 61 index = self.listbox.index("active") 62 self.select(index) 63 self.on_double(index) [all...] |
/external/python/cpython3/Lib/idlelib/ |
H A D | scrolledlist.py | 53 def get(self, index): 54 return self.listbox.get(index) 58 index = self.listbox.index("active") 59 self.select(index) 60 self.on_select(index) 64 index = self.listbox.index("active") 65 self.select(index) 66 self.on_double(index) [all...] |
/external/guava/guava/src/com/google/common/escape/ |
H A D | UnicodeEscaper.java | 94 * returning the index of the next character that requires escaping. 111 * @param start the index of the first character to be scanned 112 * @param end the index immediately after the last character to be scanned 117 int index = start; 118 while (index < end) { 119 int cp = codePointAt(csq, index, end); 123 index += Character.isSupplementaryCodePoint(cp) ? 2 : 1; 125 return index; 155 int index = nextEscapeIndex(string, 0, end); 156 return index 176 escapeSlow(String s, int index) argument 266 codePointAt(CharSequence seq, int index, int end) argument 303 growBuffer(char[] dest, int index, int size) argument [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
H A D | TransliteratingTextComponent.java | 108 // : start += index[0]; 109 // : cursor = start + index[2] - index[0]; 122 Transliterator.Position index = new Transliterator.Position(); 123 index.contextLimit = buf.length(); 124 index.contextStart = 0; 125 index.start = getKeyStart(); 126 if (index.start == -1) index.start = getSelectionStart(); 127 index [all...] |
/external/skia/tools/fonts/ |
H A D | sk_tool_utils_font.cpp | 26 for (int index = 0; index < gTestFontsCount; ++index) { 27 SkTestFontData& fontData = gTestFonts[index]; 38 for (int index = 0; index < gSubFontsCount; ++index) { 39 sub = &gSubFonts[index]; 112 for (int index = 0; index < FLAGS_ke [all...] |
/external/llvm/utils/TableGen/ |
H A D | X86DisassemblerTables.cpp | 392 for (unsigned index = 0; index < 256; ++index) { 393 if (decision.instructionIDs[index] != decision.instructionIDs[0]) 396 if (((index & 0xc0) == 0xc0) && 397 (decision.instructionIDs[index] != decision.instructionIDs[0xc0])) 400 if (((index & 0xc0) != 0xc0) && 401 (decision.instructionIDs[index] != decision.instructionIDs[0x00])) 404 if (((index & 0xc0) == 0xc0) && 405 (decision.instructionIDs[index] ! [all...] |
/external/aac/libAACdec/src/ |
H A D | usacdec_ace_d4t64.cpp | 140 * index I: pulse index 151 static void D_ACELP_decode_1p_N1(LONG index, SHORT N, SHORT offset, argument 160 pos1 = (SHORT)((index & mask) + offset); 161 i = ((index >> N) & 1); 172 * index I: pulse index 183 static void D_ACELP_decode_2p_2N1(LONG index, SHORT N, SHORT offset, argument 191 pos1 = (SHORT)(((index >> N) & mask) + offset); 192 i = (index >> ( 225 D_ACELP_decode_3p_3N1(LONG index, SHORT N, SHORT offset, SHORT pos[]) argument 260 D_ACELP_decode_4p_4N1(LONG index, SHORT N, SHORT offset, SHORT pos[]) argument 294 D_ACELP_decode_4p_4N(LONG index, SHORT N, SHORT offset, SHORT pos[]) argument 356 D_ACELP_decode_4t64(SHORT index[], int nbits, FIXP_COD code[]) argument [all...] |
/external/annotation-tools/scene-lib/src/annotations/el/ |
H A D | RelativeLocation.java | 11 * instanceof, cast, or new: either the bytecode offset or the source code index. 21 * The source code index of the construct. 23 public final int index; field in class:RelativeLocation 26 * The type index used for intersection types in casts. 35 private RelativeLocation(int offset, int index, int type_index) { argument 37 this.index = index; 45 public static RelativeLocation createIndex(int index, int type_index) { argument 46 return new RelativeLocation(-1, index, type_index); 57 return "*" + index; [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
H A D | _c_v_t.py | 26 writer.simpletag("cv", value=value, index=i) 33 index = safeEval(attrs["index"]) 35 for i in range(1 + index - len(self.values)): 37 self.values[index] = value 42 def __getitem__(self, index): 43 return self.values[index] 45 def __setitem__(self, index, value): 46 self.values[index] = value 48 def __delitem__(self, index) [all...] |