Home
last modified time | relevance | path

Searched refs:me (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/av/media/libstagefright/
DSimpleDecodingSource.cpp140 Mutexed<ProtectedState>::Locked me(mProtectedState); in start() local
141 if (me->mState != INIT) { in start()
150 me->mState = STARTED; in start()
151 me->mQueuedInputEOS = false; in start()
152 me->mGotOutputEOS = false; in start()
154 me->mState = ERROR; in start()
161 Mutexed<ProtectedState>::Locked me(mProtectedState); in stop() local
162 if (me->mState != STARTED) { in stop()
167 me->mState = STOPPING; in stop()
168 while (me->mReading) { in stop()
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h349 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument
352 if (me.v.value <= 4096) { in BitrateSetter()
353 me.set().value = 4096; in BitrateSetter()
359 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument
362 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
363 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
364 me.set().width = oldMe.v.width; in SizeSetter()
366 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
367 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
368 me.set().height = oldMe.v.height; in SizeSetter()
[all …]
DC2SoftVpxDec.cpp220 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
223 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
224 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
225 me.set().width = oldMe.v.width; in SizeSetter()
227 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
228 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
229 me.set().height = oldMe.v.height; in SizeSetter()
234 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
238 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 2048u); in MaxPictureSizeSetter()
239 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 2048u); in MaxPictureSizeSetter()
[all …]
/frameworks/compile/libbcc/lib/
DRSEmbedInfo.cpp71 bcinfo::MetadataExtractor me(module); in getRSInfoString() local
72 if (!me.extract()) { in getRSInfoString()
77 size_t exportVarCount = me.getExportVarCount(); in getRSInfoString()
78 size_t exportFuncCount = me.getExportFuncCount(); in getRSInfoString()
79 size_t exportForEachCount = me.getExportForEachSignatureCount(); in getRSInfoString()
80 size_t exportReduceCount = me.getExportReduceCount(); in getRSInfoString()
81 size_t objectSlotCount = me.getObjectSlotCount(); in getRSInfoString()
82 size_t pragmaCount = me.getPragmaCount(); in getRSInfoString()
83 const char **exportVarNameList = me.getExportVarNameList(); in getRSInfoString()
84 const char **exportFuncNameList = me.getExportFuncNameList(); in getRSInfoString()
[all …]
DCompiler.cpp372 bcinfo::MetadataExtractor me(&module); in addInternalizeSymbolsPass() local
373 if (!me.extract()) { in addInternalizeSymbolsPass()
402 size_t exportVarCount = me.getExportVarCount(); in addInternalizeSymbolsPass()
403 size_t exportFuncCount = me.getExportFuncCount(); in addInternalizeSymbolsPass()
404 size_t exportForEachCount = me.getExportForEachSignatureCount(); in addInternalizeSymbolsPass()
405 size_t exportReduceCount = me.getExportReduceCount(); in addInternalizeSymbolsPass()
406 const char **exportVarNameList = me.getExportVarNameList(); in addInternalizeSymbolsPass()
407 const char **exportFuncNameList = me.getExportFuncNameList(); in addInternalizeSymbolsPass()
408 const char **exportForEachNameList = me.getExportForEachNameList(); in addInternalizeSymbolsPass()
409 const bcinfo::MetadataExtractor::Reduce *exportReduceList = me.getExportReduceList(); in addInternalizeSymbolsPass()
/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp115 SoftOMXComponent *me = in SendCommandWrapper() local
119 return me->sendCommand(cmd, param, data); in SendCommandWrapper()
127 SoftOMXComponent *me = in GetParameterWrapper() local
131 return me->getParameter(index, params); in GetParameterWrapper()
139 SoftOMXComponent *me = in SetParameterWrapper() local
143 return me->setParameter(index, params); in SetParameterWrapper()
151 SoftOMXComponent *me = in GetConfigWrapper() local
155 return me->getConfig(index, params); in GetConfigWrapper()
163 SoftOMXComponent *me = in SetConfigWrapper() local
167 return me->setConfig(index, params); in SetConfigWrapper()
[all …]
DSoftOMXPlugin.cpp171 SoftOMXComponent *me = in destroyComponentInstance() local
175 me->prepareForDestruction(); in destroyComponentInstance()
177 void *libHandle = me->libHandle(); in destroyComponentInstance()
179 CHECK_EQ(me->getStrongCount(), 1); in destroyComponentInstance()
180 me->decStrong(this); in destroyComponentInstance()
181 me = NULL; in destroyComponentInstance()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Drepeated_field_unittest.cc271 RepeatedField<int> me; in TEST() local
272 me.Add(3); in TEST()
273 EXPECT_DEATH(me.MergeFrom(me), ""); in TEST()
293 RepeatedField<int> me; in TEST() local
294 me.Add(3); in TEST()
295 me.CopyFrom(me); in TEST()
296 ASSERT_EQ(1, me.size()); in TEST()
297 EXPECT_EQ(3, me.Get(0)); in TEST()
301 RepeatedField<int> me; in TEST() local
302 RepeatedField<int>::iterator it = me.erase(me.begin(), me.end()); in TEST()
[all …]
Darena.cc118 Arena::Block* Arena::NewBlock(void* me, Block* my_last_block, size_t n, in NewBlock() argument
136 b->owner = me; in NewBlock()
193 void* me = &thread_cache(); in AllocateAligned() local
195 if (!b || b->owner != me || b->avail() < n) { in AllocateAligned()
211 void* me = &thread_cache(); in SlowAlloc() local
212 Block* b = FindBlock(me); // Find block owned by me. in SlowAlloc()
219 b = NewBlock(me, b, n, options_.start_block_size, options_.max_block_size); in SlowAlloc()
303 Arena::Block* Arena::FindBlock(void* me) { in FindBlock() argument
307 while (b != NULL && b->owner != me) { in FindBlock()
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h207 bool mayBlock, C2InterfaceHelper::C2P<type> &me) { in NonStrictValueWithNoDeps()
209 return me.F(me.v.value).validatePossible(me.v.value); in NonStrictValueWithNoDeps()
213 bool mayBlock, C2InterfaceHelper::C2P<type> &me) { in NonStrictValuesWithNoDeps()
216 for (size_t ix = 0; ix < me.v.flexCount(); ++ix) { in NonStrictValuesWithNoDeps()
217 res.plus(me.F(me.v.m.values[ix]).validatePossible(me.v.m.values[ix])); in NonStrictValuesWithNoDeps()
225 C2InterfaceHelper::C2P<type> &me) { in StrictValueWithNoDeps()
227 if (!me.F(me.v.value).supportsNow(me.v.value)) { in StrictValueWithNoDeps()
228 me.set().value = old.v.value; in StrictValueWithNoDeps()
230 return me.F(me.v.value).validatePossible(me.v.value); in StrictValueWithNoDeps()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp201 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
204 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
205 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
206 me.set().width = oldMe.v.width; in SizeSetter()
208 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
209 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
210 me.set().height = oldMe.v.height; in SizeSetter()
215 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
219 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4080u); in MaxPictureSizeSetter()
220 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4080u); in MaxPictureSizeSetter()
[all …]
DC2SoftAvcEnc.cpp205 C2P<C2PortActualDelayTuning::input> &me, in InputDelaySetter() argument
210 me.set().value = maxBframes; in InputDelaySetter()
214 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument
217 if (me.v.value <= 4096) { in BitrateSetter()
218 me.set().value = 4096; in BitrateSetter()
224 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument
227 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
228 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
229 me.set().width = oldMe.v.width; in SizeSetter()
231 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
[all …]
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp195 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
198 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
199 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
200 me.set().width = oldMe.v.width; in SizeSetter()
202 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
203 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
204 me.set().height = oldMe.v.height; in SizeSetter()
209 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
213 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter()
214 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter()
[all …]
DC2SoftHevcEnc.cpp176 C2P<C2StreamBitrateInfo::output>& me) { in BitrateSetter() argument
179 if (me.v.value < 4096) { in BitrateSetter()
180 me.set().value = 4096; in BitrateSetter()
187 C2P<C2StreamPictureSizeInfo::input>& me) { in SizeSetter() argument
190 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
191 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
192 me.set().width = oldMe.v.width; in SizeSetter()
194 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
195 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
196 me.set().height = oldMe.v.height; in SizeSetter()
[all …]
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp156 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument
159 if (me.v.value <= 4096) { in BitrateSetter()
160 me.set().value = 4096; in BitrateSetter()
166 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument
169 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
170 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
171 me.set().width = oldMe.v.width; in SizeSetter()
173 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
174 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
175 me.set().height = oldMe.v.height; in SizeSetter()
[all …]
DC2SoftMpeg4Dec.cpp189 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
192 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
193 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
194 me.set().width = oldMe.v.width; in SizeSetter()
196 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
197 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
198 me.set().height = oldMe.v.height; in SizeSetter()
203 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
208 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 1920u); in MaxPictureSizeSetter()
209 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 1088u); in MaxPictureSizeSetter()
[all …]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp164 C2P<C2StreamPictureSizeInfo::output>& me) { in SizeSetter() argument
167 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
168 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
169 me.set().width = oldMe.v.width; in SizeSetter()
171 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
172 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
173 me.set().height = oldMe.v.height; in SizeSetter()
179 bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output>& me, in MaxPictureSizeSetter() argument
184 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter()
185 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter()
[all …]
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp183 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
186 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
187 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
188 me.set().width = oldMe.v.width; in SizeSetter()
190 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
191 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
192 me.set().height = oldMe.v.height; in SizeSetter()
197 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
201 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 1920u); in MaxPictureSizeSetter()
202 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 1088u); in MaxPictureSizeSetter()
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rs58 IndexedVal me;
59 me.val = in;
60 me.idx = x;
62 if (me.val < accum->min.val)
63 accum->min = me;
64 if (me.val > accum->max.val)
65 accum->max = me;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce_backward.rs53 IndexedVal me;
54 me.val = in;
55 me.idx = x;
57 if (me.val <= accum->min.val)
58 accum->min = me;
59 if (me.val >= accum->max.val)
60 accum->max = me;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreduce_backward.rs55 IndexedVal me;
56 me.val = in;
57 me.idx = x;
59 if (me.val <= accum->min.val)
60 accum->min = me;
61 if (me.val >= accum->max.val)
62 accum->max = me;
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rs62 IndexedVal me;
63 me.val = in;
64 me.idx = x;
66 if (me.val < accum->min.val)
67 accum->min = me;
68 if (me.val > accum->max.val)
69 accum->max = me;
/frameworks/base/core/java/android/os/
DLooper.java152 final Looper me = myLooper(); in loop() local
153 if (me == null) { in loop()
156 final MessageQueue queue = me.mQueue; in loop()
181 final Printer logging = me.mLogging; in loop()
189 final long traceTag = me.mTraceTag; in loop()
190 long slowDispatchThresholdMs = me.mSlowDispatchThresholdMs; in loop()
191 long slowDeliveryThresholdMs = me.mSlowDeliveryThresholdMs; in loop()
/frameworks/av/media/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp561 MediaPlayer2AudioOutput *me = data->getOutput(); in CallbackWrapper() local
563 if (me == nullptr) { in CallbackWrapper()
575 size_t actualSize = (*me->mCallback)( in CallbackWrapper()
576 me, buffer->mData, buffer->mSize, me->mCallbackCookie, in CallbackWrapper()
596 (*me->mCallback)(me, nullptr /* buffer */, 0 /* size */, in CallbackWrapper()
597 me->mCallbackCookie, CB_EVENT_STREAM_END); in CallbackWrapper()
602 (*me->mCallback)(me, nullptr /* buffer */, 0 /* size */, in CallbackWrapper()
603 me->mCallbackCookie, CB_EVENT_TEAR_DOWN); in CallbackWrapper()
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
DMultipartTest.java50 MultipartEntity me = new MultipartEntity(parts); in testParts() local
52 me.writeTo(os); in testParts()
53 Header h = me.getContentType(); in testParts()
54 String boundry = EncodingUtils.getAsciiString(me.getMultipartBoundary()); in testParts()

1234