Searched defs:idx (Results 1 - 25 of 90) sorted by relevance

1234

/frameworks/av/media/libstagefright/foundation/
H A DAHandler.cpp32 ssize_t idx = mMessages.indexOfKey(what); local
33 if (idx < 0) {
36 mMessages.editValueAt(idx)++;
/frameworks/base/tools/aapt/
H A DAaptUtil.h45 ssize_t idx = keyedVector.indexOfKey(key); local
46 if (idx < 0) {
47 idx = keyedVector.add(key, android::Vector<VALUE>());
49 keyedVector.editValueAt(idx).add(value);
55 ssize_t idx = keyedVector.indexOfKey(key); local
56 if (idx < 0) {
57 idx = keyedVector.add(key, android::SortedVector<VALUE>());
59 keyedVector.editValueAt(idx).add(value);
H A DAaptXml.cpp81 ssize_t idx = tree.indexOfAttribute(ns, attr); local
82 if (idx < 0) {
85 return getStringAttributeAtIndex(tree, idx, outError);
89 ssize_t idx = indexOfAttribute(tree, attrRes); local
90 if (idx < 0) {
93 return getStringAttributeAtIndex(tree, idx, outError);
98 ssize_t idx = indexOfAttribute(tree, attrRes); local
99 if (idx < 0) {
103 if (tree.getAttributeValue(idx, &value) != NO_ERROR) {
106 const char16_t* str = tree.getAttributeStringValue(idx,
125 ssize_t idx = tree.indexOfAttribute(ns, attr); local
134 ssize_t idx = indexOfAttribute(tree, attrRes); local
143 ssize_t idx = indexOfAttribute(tree, attrRes); local
165 ssize_t idx = indexOfAttribute(tree, attrRes); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dol_ltp.cpp96 idx = 16 bit value specifies the frame index
139 Word16 idx, // i : index
151 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx);
158 idx, dtx);
163 old_lags, ol_gain_flg, idx, dtx);
168 L_FRAME_BY2, idx, dtx);
210 Word16 idx, /* i : index */
223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx,
231 idx, dtx, pOverflow);
236 old_lags, ol_gain_flg, idx, dt
201 ol_ltp( pitchOLWghtState *st, vadState *vadSt, enum Mode mode, Word16 wsp[], Word16 *T_op, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
[all...]
H A Dp_ol_wgh.cpp684 idx = 16 bit value specifies the frame index
728 Word16 idx, // i : index
791 st->old_T0_med, &max1, st->wght_flg, &ol_gain_flg[idx],
794 if (ol_gain_flg[idx] > 0)
823 if (sub(idx, 1) == 0)
870 Word16 idx, /* i : index */
935 st->old_T0_med, &max1, st->wght_flg, &ol_gain_flg[idx],
938 if (ol_gain_flg[idx] > 0)
968 if (sub(idx, 1, pOverflow) == 0)
860 Pitch_ol_wgh( pitchOLWghtState *st, vadState *vadSt, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
/frameworks/av/media/libmedia/
H A DStringArray.cpp74 void StringArray::erase(int idx) { argument
75 if (idx < 0 || idx >= mCurrent)
77 delete[] mArray[idx];
78 if (idx < mCurrent-1) {
79 memmove(&mArray[idx], &mArray[idx+1],
80 (mCurrent-1 - idx) * sizeof(char*));
103 void StringArray::setEntry(int idx, const char* str) { argument
104 if (idx <
[all...]
H A DIMediaExtractor.cpp166 uint32_t idx; local
167 if (data.readUint32(&idx) == NO_ERROR) {
168 const sp<IMediaSource> track = getTrack(size_t(idx));
177 uint32_t idx; local
179 if (data.readUint32(&idx) == NO_ERROR &&
181 sp<MetaData> meta = getTrackMetaData(idx, flags);
H A DMediaScanner.cpp112 int idx = 0; local
116 while (mSkipIndex[idx] != -1) {
118 if ((len == mSkipIndex[idx])
124 startPos += mSkipIndex[idx] + 1; // extra char for the delimiter
125 idx++;
/frameworks/base/tools/aapt2/java/
H A DAnnotationProcessor.cpp35 std::string::size_type idx = comment.find(sSystemApi); local
36 if (idx != std::string::npos) {
38 comment.erase(comment.begin() + idx,
39 comment.begin() + idx + sSystemApi.size());
/frameworks/base/tools/split-select/
H A DSplitSelector_test.cpp57 ssize_t idx = rules.indexOfKey(expected); local
58 ASSERT_GE(idx, 0);
59 sp<Rule> rule = rules[idx];
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode_inline.h25 Int idx, run, level, j; local
28 idx = 0;
53 RLB->level[idx] = -level;
54 RLB->s[idx] = 1;
55 RLB->run[idx] = run;
57 idx++;
61 RLB->level[idx] = level;
62 RLB->s[idx] = 0;
63 RLB->run[idx] = run;
65 idx
116 Int idx, run, level, j; local
230 Int idx, run, level = 0, j; local
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dstubhal.cpp86 ssize_t idx = local
88 ALOG_ASSERT(idx >= 0 && static_cast<size_t>(idx) < g_instance_used.size(),
90 g_instance_used[static_cast<size_t>(idx)] = false;
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_alg_codebook.cpp195 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
319 int32 idx; local
[all...]
/frameworks/base/core/java/android/content/pm/split/
H A DSplitAssetDependencyLoader.java116 public AssetManager getSplitAssetManager(int idx) throws PackageParser.PackageParserException { argument
119 loadDependenciesForSplit(idx + 1);
120 return mCachedAssetManagers[idx + 1];
/frameworks/base/core/jni/
H A Dandroid_util_StringBlock.cpp75 jlong token, jint idx)
84 const char* str8 = osb->string8At(idx, &len);
89 const char16_t* str = osb->stringAt(idx, &len);
99 jlong token, jint idx)
107 const ResStringPool_span* spans = osb->styleAt(idx);
74 android_content_StringBlock_nativeGetString(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
98 android_content_StringBlock_nativeGetStyle(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
/frameworks/base/libs/androidfw/include/androidfw/
H A DAttributeFinder.h106 ssize_t idx = package_offsets_.indexOfKey(package_id); local
107 if (idx >= 0) {
110 current_ = package_offsets_[idx];
H A DAssetDir.h53 const String8& getFileName(int idx) { argument
54 return mFileInfo->itemAt(idx).getFileName();
56 const String8& getSourceName(int idx) { argument
57 return mFileInfo->itemAt(idx).getSourceName();
63 FileType getFileType(int idx) { argument
64 return mFileInfo->itemAt(idx).getFileType();
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp129 const ssize_t idx = mClients[mode].indexOf(ident); local
131 if (idx < 0) {
135 if (idx >= 0) {
136 mClients[mode].removeItemsAt(idx);
/frameworks/rs/driver/
H A DrsdVertexArray.cpp65 void RsdVertexArray::logAttrib(uint32_t idx, uint32_t slot) const { argument
66 if (idx == 0) {
70 idx, slot,
71 mAttribs[idx].name.c_str(),
72 mAttribs[idx].buffer,
73 mAttribs[idx].ptr,
74 mAttribs[idx].size,
75 mAttribs[idx].type,
76 mAttribs[idx].stride,
77 mAttribs[idx]
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dms_stereo.c64 Word32 idx, shift; local
66 idx = sfb + sfboffs;
68 thrL = sfbThresholdLeft[idx];
69 thrR = sfbThresholdRight[idx];
70 nrgL = sfbEnergyLeft[idx];
71 nrgR = sfbEnergyRight[idx];
84 nrgL = sfbEnergyMid[idx];
85 nrgR = sfbEnergySide[idx];
102 msMask[idx] = 1;
105 for (j=sfbOffset[idx];
[all...]
H A Dblock_switch.c249 Word32 i, idx; local
253 idx = 0;
259 idx = i;
262 *index = idx;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_InterpolateLuma_s.s99 idx RN 6 label
130 idx RN 6 label
147 M_LDR idx, ptridx
155 ADD index, idx, idy, LSL #2 ;// [index] = [idy][idx]
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp66 ssize_t idx; local
70 idx = mStates.removeItem(id);
73 if (idx >= 0) {
177 ssize_t idx = mStates.indexOfKey(newState.id); local
179 if (idx >= 0) {
181 mStates.replaceValueAt(idx, newState.state);
/frameworks/base/libs/androidfw/tests/
H A DTestHelpers.cpp129 std::string GetStringFromPool(const ResStringPool* pool, uint32_t idx) { argument
130 String8 str = pool->string8ObjectAt(idx);
/frameworks/rs/
H A DrsMesh.h72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { argument
73 mIndexBuffers[index].set(idx);
74 mHal.state.indexBuffers[index] = idx;

Completed in 1602 milliseconds

1234