Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 21 of 21) sorted by relevance

/frameworks/compile/libbcc/runtime/lib/
Dudivmodti4.c36 unsigned sr; in __udivmodti4() local
104 sr = __builtin_clzll(d.s.high) - __builtin_clzll(n.s.high); in __udivmodti4()
106 if (sr > n_udword_bits - 2) in __udivmodti4()
112 ++sr; in __udivmodti4()
116 q.s.high = n.s.low << (n_udword_bits - sr); in __udivmodti4()
118 r.s.high = n.s.high >> sr; in __udivmodti4()
119 r.s.low = (n.s.high << (n_udword_bits - sr)) | (n.s.low >> sr); in __udivmodti4()
135 unsigned sr = __builtin_ctzll(d.s.low); in __udivmodti4() local
136 q.s.high = n.s.high >> sr; in __udivmodti4()
137 q.s.low = (n.s.high << (n_udword_bits - sr)) | (n.s.low >> sr); in __udivmodti4()
[all …]
Dudivmoddi4.c34 unsigned sr; in __udivmoddi4() local
102 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high); in __udivmoddi4()
104 if (sr > n_uword_bits - 2) in __udivmoddi4()
110 ++sr; in __udivmoddi4()
114 q.s.high = n.s.low << (n_uword_bits - sr); in __udivmoddi4()
116 r.s.high = n.s.high >> sr; in __udivmoddi4()
117 r.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()
133 unsigned sr = __builtin_ctz(d.s.low); in __udivmoddi4() local
134 q.s.high = n.s.high >> sr; in __udivmoddi4()
135 q.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4()
[all …]
Dudivsi3.c27 unsigned sr; in __udivsi3() local
33 sr = __builtin_clz(d) - __builtin_clz(n); in __udivsi3()
35 if (sr > n_uword_bits - 1) /* d > r */ in __udivsi3()
37 if (sr == n_uword_bits - 1) /* d == 1 */ in __udivsi3()
39 ++sr; in __udivsi3()
42 q = n << (n_uword_bits - sr); in __udivsi3()
43 r = n >> sr; in __udivsi3()
45 for (; sr > 0; --sr) in __udivsi3()
/frameworks/wilhelm/src/android/
DAacBqToPcmCbRenderer.cpp186 int32_t sr; in onPrepare() local
187 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare()
198 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; in onPrepare()
204 channelCount, sr); in onPrepare()
Dandroid_AudioSfDecoder.cpp267 int32_t sr; in onPrepare() local
268 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); in onPrepare()
331 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare()
350 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; in onPrepare()
763 int32_t sr; in hasNewDecodeParams() local
764 CHECK(meta->findInt32(kKeySampleRate, &sr)); in hasNewDecodeParams()
772 sr, channelCount); in hasNewDecodeParams()
774 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; in hasNewDecodeParams()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp115 uint32_t sr = get_sample_rate(sf_index); in AacAdtsExtractor() local
117 if (sr == 0) { in AacAdtsExtractor()
123 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel); in AacAdtsExtractor()
129 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr; in AacAdtsExtractor()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java198 ScanResult sr= netList.get(s); in testWifiScanning() local
199 log(String.format("scan result for %s is: %s", sr.SSID, sr.toString())); in testWifiScanning()
200 log(String.format("signal level for %s is %d ", sr.SSID, sr.level)); in testWifiScanning()
201 if (sr.SSID.equals(mSsid)) { in testWifiScanning()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java760 boolean sr = (flag & NdefRecord.FLAG_SR) != 0; in parse()
780 long payloadLength = sr ? (buffer.get() & 0xFF) : (buffer.getInt() & 0xFFFFFFFFL); in parse()
895 boolean sr = mPayload.length < 256; in writeToByteBuffer()
899 (sr ? FLAG_SR : 0) | (il ? FLAG_IL : 0) | mTnf); in writeToByteBuffer()
903 if (sr) { in writeToByteBuffer()
923 boolean sr = mPayload.length < 256; in getByteLength()
926 if (!sr) length += 3; in getByteLength()
/frameworks/av/media/libstagefright/
DAACExtractor.cpp162 uint32_t sr = get_sample_rate(sf_index); in AACExtractor() local
163 if (sr == 0) { in AACExtractor()
187 mFrameDurationUs = (1024 * 1000000ll + (sr - 1)) / sr; in AACExtractor()
/frameworks/wilhelm/tests/sandbox/
Dintbufq.c151 float sr = 44100; in main() local
153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0; in main()
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; in main()
161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0; in main()
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java77 final SecureRandom sr = new SecureRandom(); in generate() local
78 return generate(sr); in generate()
/frameworks/base/services/java/com/android/server/am/
DServiceRecord.java105 final ServiceRecord sr; field in ServiceRecord.StartItem
119 sr = _sr; in StartItem()
128 uriPermissions = new UriPermissionOwner(sr.ams, this); in getUriPermissionsLocked()
146 .append(Integer.toHexString(System.identityHashCode(sr))) in toString()
147 .append(' ').append(sr.shortName) in toString()
DProcessRecord.java268 for (ServiceRecord sr : services) { in dump()
269 pw.print(prefix); pw.print(" - "); pw.println(sr); in dump()
274 for (ServiceRecord sr : executingServices) { in dump()
275 pw.print(prefix); pw.print(" - "); pw.println(sr); in dump()
DActivityManagerService.java3877 ServiceRecord sr = mPendingServices.get(i); in processStartTimedOutLocked() local
3878 if ((app.uid == sr.appInfo.uid in processStartTimedOutLocked()
3879 && app.processName.equals(sr.processName)) in processStartTimedOutLocked()
3880 || sr.isolatedProc == app) { in processStartTimedOutLocked()
3881 Slog.w(TAG, "Forcing bringing down service: " + sr); in processStartTimedOutLocked()
3882 sr.isolatedProc = null; in processStartTimedOutLocked()
3885 bringDownServiceLocked(sr, true); in processStartTimedOutLocked()
4088 ServiceRecord sr = null; in attachApplicationLocked() local
4091 sr = mPendingServices.get(i); in attachApplicationLocked()
4092 if (app != sr.isolatedProc && (app.uid != sr.appInfo.uid in attachApplicationLocked()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java387 String[] sr = mRemote.stringArray(s0, s1, s2); in testArrays() local
389 assertEquals(1, sr.length); in testArrays()
390 assertEquals("s0[0]", sr[0]); in testArrays()
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java298 StringReader sr= new StringReader(stack); in getFilteredTrace() local
301 BufferedReader br= new BufferedReader(sr, 1000); in getFilteredTrace()
/frameworks/base/core/java/android/app/
DInstrumentation.java337 SyncRunnable sr = new SyncRunnable(runner); in runOnMainSync() local
338 mThread.getHandler().post(sr); in runOnMainSync()
339 sr.waitForComplete(); in runOnMainSync()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java572 ScanResult sr= netList.get(i); in connectToWifiWithConfiguration() local
573 if (sr.SSID.equals(ssid)) { in connectToWifiWithConfiguration()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestActivity.java597 ScanResult sr= netList.get(i); in connectToWifiWithConfiguration() local
598 if (sr.SSID.equals(ssid)) { in connectToWifiWithConfiguration()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java417 SignatureReader sr = new SignatureReader(signature); in considerSignature() local
420 sr.accept(new MySignatureVisitor()); in considerSignature()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp877 uint32_t sr; in Session_SetConfig() local