/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_code.c | 61 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].u.State[1] == state1 116 unsigned index; local 141 unsigned index; local [all...] |
/external/python/cpython2/Modules/ |
unicodedata_db.h | 331 struct reindex{int start;short count,index;}; member in struct:reindex 665 /* index tables for the database records */ 6182 int index; local [all...] |
/external/python/cpython3/Modules/ |
unicodedata_db.h | 347 struct reindex{int start;short count,index;}; member in struct:reindex 696 /* index tables for the database records */ 7358 int index; local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
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) { 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) { [all...] |
/external/vboot_reference/firmware/lib/ |
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;
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
q_pulse.h | 66 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]); 67 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]); 68 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]); 69 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]); 70 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]); 71 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]); 72 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
SkiaProfileRenderer.cpp | 29 for (int index = 0; index + 4 <= count; index += 4) { 30 SkRect rect = SkRect::MakeLTRB(rects[index + 0], rects[index + 1], rects[index + 2], 31 rects[index + 3]);
|
/frameworks/support/core/ktx/src/main/java/androidx/core/view/ |
Menu.kt | 25 * Returns the menu at [index]. 27 * @throws IndexOutOfBoundsException if index is less than 0 or greater than or equal to the count. 29 inline operator fun Menu.get(index: Int): MenuItem = getItem(index) 34 for (index in 0 until size()) { 35 if (getItem(index) == item) { 56 for (index in 0 until size()) { 57 action(getItem(index)) 61 /** Performs the given action on each item in this menu, providing its sequential index. */ 62 inline fun Menu.forEachIndexed(action: (index: Int, item: MenuItem) -> Unit) [all...] |
/frameworks/support/preference/ktx/src/main/java/androidx/preference/ |
PreferenceGroup.kt | 29 * Returns the preference at `index`. 31 * @throws IndexOutOfBoundsException if index is less than 0 or greater than or equal to the count. 33 operator fun PreferenceGroup.get(index: Int): Preference = getPreference(index) 34 ?: throw IndexOutOfBoundsException("Index: $index, Size: $preferenceCount") 38 for (index in 0 until preferenceCount) { 39 if (getPreference(index) == preference) { 67 for (index in 0 until preferenceCount) { 68 action(get(index)) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state.h | 65 inline int getPrimaryCodePointAt(const int index) const { 66 return getProximityCodePointsAt(index)[0]; 69 int getPrimaryOriginalCodePointAt(const int index) const; 86 AK_FORCE_INLINE bool existsCodePointInProximityAt(const int index, const int c) const { 87 const int *codePoints = getProximityCodePointsAt(index); 97 AK_FORCE_INLINE bool existsAdjacentProximityChars(const int index) const { 98 if (index < 0 || index >= mSampledInputSize) return false; 99 const int currentCodePoint = getPrimaryCodePointAt(index); 100 const int leftIndex = index - 1 [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/aarch64/ |
neon-ins.s | 4 .irp index, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 6 \macro_name \regs b \index \reg 10 .irp index, 0,1,2,3,4,5,6,7 12 \macro_name \regs h \index \reg 16 .irp index, 0,1,2,3 18 \macro_name \regs s \index \reg 23 .macro ins_mov_main reg_num type index xw_reg 24 ins v\reg_num\().\type[\index], \xw_reg\reg_num 25 mov v\reg_num\().\type[\index], \xw_reg\reg_num 28 .macro ins_mov_element reg_num type index nul [all...] |
/external/clang/test/Analysis/ |
array-struct-region.c | 97 int testSymbolicInvalidation(int index) { 103 vals[index] = randomInt(); 106 return vals[index]; // no-warning 109 int testConcreteInvalidation(int index) { 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) { 133 vals[index] = makeS(); 136 return vals[index].x; // no-warnin [all...] |
/external/snakeyaml/src/test/java/org/pyyaml/ |
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...] |
/frameworks/support/collection/src/main/java/androidx/collection/ |
SimpleArrayMap.java | 92 int index = binarySearchHashes(mHashes, N, hash); local 95 if (index < 0) { 96 return index; 99 // If the key at the returned index matches, that's what we want. 100 if (key.equals(mArray[index<<1])) { 101 return index; 104 // Search for a matching key after the index. 106 for (end = index + 1; end < N && mHashes[end] == hash; end++) { 110 // Search for a matching key before the index. 111 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) 130 int index = binarySearchHashes(mHashes, N, 0); local 358 final int index = indexOfKey(key); local 411 int index; local 497 final int index = indexOfKey(key); local [all...] |
/external/javassist/src/main/javassist/bytecode/ |
CodeAnalyzer.java | 71 private void visitBytecode(CodeIterator ci, int[] stack, int index) 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, [all...] |
/frameworks/layoutlib/bridge/src/android/content/res/ |
BridgeTypedArray.java | 78 // Contains ids that are @empty. We still store null in mResourceData for that index, since we 97 * @param index the index of the value in the TypedArray 103 public void bridgeSetValue(int index, String name, boolean isFramework, int resourceId, 105 mResourceId[index] = resourceId; 106 mResourceData[index] = value; 107 mNames[index] = name; 108 mIsFramework[index] = isFramework; 152 int index = 1; local 155 mIndices[index++] = i 992 int index = 0; local [all...] |
/external/lzma/CPP/Windows/Control/ |
ComboBox.h | 23 LRESULT SetCurSel(int index) { return SendMsg(CB_SETCURSEL, index, 0); }
27 LRESULT GetLBTextLen(int index) { return SendMsg(CB_GETLBTEXTLEN, index, 0); }
28 LRESULT GetLBText(int index, LPTSTR s) { return SendMsg(CB_GETLBTEXT, index, (LPARAM)s); }
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, lParam); } [all...] |
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
toy_tgsi.h | 69 int index:16; member in struct:toy_tgsi::__anon29594 79 int index:16; member in struct:toy_tgsi::__anon29595 88 int index:16; member in struct:toy_tgsi::__anon29596 104 toy_tgsi_find_input(const struct toy_tgsi *tgsi, int index) 109 if (tgsi->inputs[slot].index == index) 120 toy_tgsi_find_system_value(const struct toy_tgsi *tgsi, int index) 125 if (tgsi->system_values[slot].index == index) 136 toy_tgsi_get_imm(const struct toy_tgsi *tgsi, unsigned index, [all...] |
/external/proguard/src/proguard/classfile/util/ |
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...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
Duration.java | 57 int index = 0; local 67 index++; 70 index++; 73 if (len <= index) { 77 c = str.charAt(index); 80 "Duration.parse(str='" + str + "') expected 'P' at index=" 81 + index); 83 index++; 84 if (len <= index) { 87 c = str.charAt(index); [all...] |
/tools/dexter/slicer/ |
dex_ir.cc | 118 items[i]->index = i; 130 if (irClass->index == dex::u4(-1)) { 144 irClass->index = (*nextIndex)++; 152 irClass->index = dex::u4(-1); 165 SLICER_CHECK(a->decl->index != b->decl->index || a == b); 166 return a->decl->index < b->decl->index; 174 SLICER_CHECK(a->decl->index != b->decl->index || a == b) [all...] |
/external/proguard/src/proguard/evaluation/ |
TracedVariables.java | 78 * @param index the variable index. 81 public Value getProducerValue(int index) 83 return producerVariables.getValue(index); 90 * @param index the variable index. 93 public void setProducerValue(int index, Value value) 95 producerVariables.store(index, value); 125 for (int index = 0; index < size; index++ [all...] |
/external/v8/src/interpreter/ |
bytecode-register.cc | 40 Register Register::FromParameterIndex(int index, int parameter_count) { 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() == kBytecodeOffsetRegisterIndex [all...] |
/external/v8/src/js/ |
harmony-atomics.js | 41 function ValidateIndex(index, length) { 42 var numberIndex = TO_NUMBER(index); 55 function AtomicsCompareExchangeJS(sta, index, oldValue, newValue) { 57 index = ValidateIndex(index, %_TypedArrayGetLength(sta)); 60 return %_AtomicsCompareExchange(sta, index, oldValue, newValue); 63 function AtomicsAddJS(ia, index, value) { 65 index = ValidateIndex(index, %_TypedArrayGetLength(ia)); 67 return %_AtomicsAdd(ia, index, value) [all...] |
/frameworks/base/core/java/android/util/ |
XmlPullAttributes.java | 37 public String getAttributeNamespace (int index) { 38 return mParser.getAttributeNamespace(index); 41 public String getAttributeName(int index) { 42 return mParser.getAttributeName(index); 45 public String getAttributeValue(int index) { 46 return mParser.getAttributeValue(index); 57 public int getAttributeNameResource(int index) { 100 public int getAttributeListValue(int index, 103 getAttributeValue(index), options, defaultValue); 106 public boolean getAttributeBooleanValue(int index, boolean defaultValue) [all...] |