/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
MultidimensionalCounter.java | 225 int idx = 0; local 229 ++idx; 231 --idx; 233 indices[i] = idx; 236 int idx = 1; local 238 count += idx; 239 ++idx; 241 --idx; 242 indices[last] = idx;
|
/external/google-breakpad/src/common/linux/ |
file_id.cc | 174 for (unsigned int idx = 0; 175 (buffer_idx < buffer_length) && (idx < kMDGUIDSize); 176 ++idx) { 177 int hi = (identifier_swapped[idx] >> 4) & 0x0F; 178 int lo = (identifier_swapped[idx]) & 0x0F; 180 if (idx == 4 || idx == 6 || idx == 8 || idx == 10)
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_shader.h | 98 nine_info_mark_const_f_used(struct nine_shader_info *info, int idx) 100 if (info->const_float_slots < (idx + 1)) 101 info->const_float_slots = idx + 1; 104 nine_info_mark_const_i_used(struct nine_shader_info *info, int idx) 106 if (info->const_int_slots < (idx + 1)) 107 info->const_int_slots = idx + 1; 110 nine_info_mark_const_b_used(struct nine_shader_info *info, int idx) 112 if (info->const_bool_slots < (idx + 1)) 113 info->const_bool_slots = idx + 1;
|
/external/mesa3d/src/glx/ |
vertarr.c | 162 const int idx = format - GL_V2F; local 165 /* All valid formats are on the range [GL_V2F, GL_V2F+0x0D]. Since idx 166 * is just the format biased by -GL_V2F, all valid idx values are on the 169 if ((idx < 0) || (idx > 0x0D)) { 185 offsets[i] = (modes[idx][i].count != 0) ? size : -1; 186 size += modes[idx][i].size; 195 __indirect_glTexCoordPointer(modes[idx][0].count, GL_FLOAT, 200 __indirect_glColorPointer(modes[idx][1].count, modes[idx][1].type [all...] |
/external/skia/src/gpu/gl/ |
GrGLExtensions.cpp | 29 int idx = SkTSearch<SkString, extension_compare>(&strings.front(), local 33 return idx; 126 int idx = find_string(*fStrings, ext); local 127 if (idx < 0) { 133 fStrings->removeShuffle(idx); 134 if (idx != fStrings->count()) { 136 SkTInsertionSort(&(fStrings->operator[](idx)), &fStrings->back(), cmp); 142 int idx = find_string(*fStrings, ext); local 143 if (idx < 0) {
|
/external/skqp/src/gpu/gl/ |
GrGLExtensions.cpp | 29 int idx = SkTSearch<SkString, extension_compare>(&strings.front(), local 33 return idx; 126 int idx = find_string(*fStrings, ext); local 127 if (idx < 0) { 133 fStrings->removeShuffle(idx); 134 if (idx != fStrings->count()) { 136 SkTInsertionSort(&(fStrings->operator[](idx)), &fStrings->back(), cmp); 142 int idx = find_string(*fStrings, ext); local 143 if (idx < 0) {
|
/external/wpa_supplicant_8/src/drivers/ |
rfkill.c | 20 u32 idx; member in struct:rfkill_event 51 uint32_t idx; member in struct:rfkill_data 74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx) 77 wpa_printf(MSG_DEBUG, "rfkill: event: idx=%u type=%d " 79 event.idx, event.type, event.op, event.soft, 159 "/sys/class/rfkill/rfkill%d/device", event.idx); 169 wpa_printf(MSG_DEBUG, "rfkill: initial event: idx=%u type=%d " 171 event.idx, event.type, event.op, event.soft, 174 rfkill->idx = event.idx [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Base64.java | 54 for (int idx = 0; idx < 255; idx++) 56 ascii[idx] = INVALID; 59 for (int idx = 0; idx < base64.length; idx++) 61 ascii[base64[idx]] = (byte) idx;
|
/frameworks/base/rs/java/android/renderscript/ |
ProgramFragmentFixedFunction.java | 54 int idx = 0; local 57 tmp[idx++] = ProgramParam.INPUT.mID; 58 tmp[idx++] = mInputs[i].getID(mRS); 61 tmp[idx++] = ProgramParam.OUTPUT.mID; 62 tmp[idx++] = mOutputs[i].getID(mRS); 65 tmp[idx++] = ProgramParam.CONSTANT.mID; 66 tmp[idx++] = mConstants[i].getID(mRS); 69 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 70 tmp[idx++] = mTextureTypes[i].mID;
|
/external/aac/libDRCdec/src/ |
drcDec_tools.cpp | 170 int c, n, g, match, idx; local 185 idx = gainSetIndex[c]; 187 if (idx < 0) { 197 uniqueIndex[g] = idx; 203 if ((duckingSequence > 0) && (duckingSequence != idx)) { 206 duckingSequence = idx; 217 idx = gainSetIndex[c]; 219 if (idx >= 0) { 221 if ((uniqueIndex[n] == idx) && (uniqueScaling[n] == factor)) { 229 uniqueIndex[g] = idx; [all...] |
/external/elfutils/lib/ |
fixedsizehash.h | 136 size_t idx = 1 + hval % htab->nslots; local 138 if (htab->table[idx].hval != 0) 143 if (htab->table[idx].hval == hval 144 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) 145 return &htab->table[idx]; 152 if (idx <= hash) 153 idx = htab->nslots + idx - hash; 155 idx -= hash; 157 if (htab->table[idx].hval == hva [all...] |
/external/libxaac/decoder/ |
ixheaacd_esbr_polyphase.c | 50 WORD32 idx; local 54 for (idx = 0; idx < (ptr_hbe_txposer->no_bins >> 1); idx++) { 66 memset(ptr_hbe_txposer->qmf_in_buf[idx + HBE_OPER_WIN_LEN - 1], 0, 70 idx * 2 * ptr_hbe_txposer->synth_size + 1; 71 anal_buf = &ptr_hbe_txposer->qmf_in_buf[idx + HBE_OPER_WIN_LEN - 1] 147 WORD32 i, j, k, l, idx; local 158 for (idx = 0; idx < num_columns; idx++) [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
ir3_group.c | 42 struct ir3_instruction *(*get)(void *arr, int idx); 43 void (*insert_mov)(void *arr, int idx, struct ir3_instruction *instr); 46 static struct ir3_instruction *arr_get(void *arr, int idx) 48 return ((struct ir3_instruction **)arr)[idx]; 50 static void arr_insert_mov_out(void *arr, int idx, struct ir3_instruction *instr) 52 ((struct ir3_instruction **)arr)[idx] = 55 static void arr_insert_mov_in(void *arr, int idx, struct ir3_instruction *instr) 76 ((struct ir3_instruction **)arr)[idx] = in; 81 static struct ir3_instruction *instr_get(void *arr, int idx) 83 return ssa(((struct ir3_instruction *)arr)->regs[idx+1]) 97 int idx = 0; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
resize_bilinear_op_gpu.cu.cc | 43 int idx = out_idx; local 44 const int c = idx % channels; 45 idx /= channels; 46 const int x = idx % out_width; 47 idx /= out_width; 48 const int y = idx % out_height; 49 const int b = idx / out_height; 93 int idx = in_idx; local 94 const int c = idx % channels; 95 idx /= channels [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
dec_alg_codebook.cpp | 195 int32 mask, idx; local 204 idx = index & mask; 213 dec_2p_2N1(idx, (int16)(N - 1), j, pos); 216 tmp = N << 1; /* idx = (index >> (2*N)) & mask; */ 217 idx = (index >> tmp) & mask; 219 dec_1p_N1(idx, N, offset, pos + 2); 232 int32 mask, idx; local 239 idx = index & mask; 248 dec_2p_2N1(idx, (int16)(N - 1), j, pos); 253 idx = (index >> (N << 1)) & mask; /* idx = (index >> (2*N)) & mask; * 319 int32 idx; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lapi.c | 55 static TValue *index2addr (lua_State *L, int idx) { 57 if (idx > 0) { 58 TValue *o = ci->func + idx; 59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); 63 else if (!ispseudo(idx)) { /* negative index */ 64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); 65 return L->top + idx; 67 else if (idx == LUA_REGISTRYINDEX) 70 idx = LUA_REGISTRYINDEX - idx [all...] |
/external/syslinux/com32/lua/src/ |
lapi.c | 55 static TValue *index2addr (lua_State *L, int idx) { 57 if (idx > 0) { 58 TValue *o = ci->func + idx; 59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index"); 63 else if (!ispseudo(idx)) { /* negative index */ 64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); 65 return L->top + idx; 67 else if (idx == LUA_REGISTRYINDEX) 70 idx = LUA_REGISTRYINDEX - idx [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
QCamera3Mem.cpp | 787 int32_t idx = -1; local 805 idx = getFreeIndexLocked(); 806 if (0 > idx) { 811 mBufferHandle[idx] = buffer; 812 mPrivateHandle[idx] = (struct private_handle_t *)(*mBufferHandle[idx]); 814 setMetaData(mPrivateHandle[idx], UPDATE_COLOR_SPACE, &colorSpace); 821 ion_info_fd.fd = mPrivateHandle[idx]->fd; 829 LOGD("idx = %d, fd = %d, size = %d, offset = %d", 830 idx, mPrivateHandle[idx]->fd [all...] |
/external/curl/docs/examples/ |
multi-app.c | 150 int idx, found = 0; local 153 for(idx = 0; idx<HANDLECOUNT; idx++) { 154 found = (msg->easy_handle == handles[idx]); 159 switch(idx) {
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorBroadcasting.h | 175 const Index idx = index / m_outputStrides[i]; local 177 eigen_assert(idx < m_impl.dimensions()[i]); 178 inputIndex += idx * m_inputStrides[i]; 181 eigen_assert(idx % m_impl.dimensions()[i] == 0); 183 inputIndex += (idx % m_impl.dimensions()[i]) * m_inputStrides[i]; 186 index -= idx * m_outputStrides[i]; 205 const Index idx = index / m_outputStrides[i]; 207 eigen_assert(idx < m_impl.dimensions()[i]); 208 inputIndex += idx * m_inputStrides[i]; 211 eigen_assert(idx % m_impl.dimensions()[i] == 0) [all...] |
/external/elfutils/backends/ |
ia64_regs.c | 174 const size_t idx = regno - (334 + 8); local 176 if (idx == 1 || idx == 2) 178 if (idx < sizeof named_ar / sizeof named_ar[0] 179 && named_ar[idx][0] != '\0') 180 return stpcpy (name, named_ar[idx]) + 1 - name;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
QuantityFormatter.java | 43 int idx = StandardPlural.indexFromString(variant); local 44 if (templates[idx] != null) { 47 templates[idx] = SimpleFormatter.compileMinMaxArguments(template, 0, 1); 83 int idx = StandardPlural.indexOrOtherIndexFromString(variant); local 84 SimpleFormatter template = templates[idx]; 85 return (template == null && idx != StandardPlural.OTHER_INDEX) ?
|
/external/icu/icu4c/source/io/ |
ustream.cpp | 83 int32_t idx = 0; local 132 buffer[idx++] = ch; 133 while (idx > 0) { 134 stream.putback(buffer[--idx]); 154 idx = 0; 157 buffer[idx++] = ch;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
QuantityFormatter.java | 42 int idx = StandardPlural.indexFromString(variant); local 43 if (templates[idx] != null) { 46 templates[idx] = SimpleFormatter.compileMinMaxArguments(template, 0, 1); 82 int idx = StandardPlural.indexOrOtherIndexFromString(variant); local 83 SimpleFormatter template = templates[idx]; 84 return (template == null && idx != StandardPlural.OTHER_INDEX) ?
|
/external/puffin/src/ |
sample_generator.cc | 54 for (size_t idx = 0; idx < array.size(); idx++) { 56 << std::setw(2) << uint(array[idx]); 57 if (idx == array.size() - 1) { 62 if ((idx + 1) % 12 == 0) {
|