Searched refs:result (Results 1 - 25 of 1036) sorted by relevance

1234567891011>>

/frameworks/compile/llvm-ndk-cc/tests/P_hello/
H A Dbar.c2 int result = 0; local
4 result += 1;
6 return result;
/frameworks/wilhelm/src/
H A Dtrace.h35 #define SL_ENTER_GLOBAL SLresult result;
36 #define SL_LEAVE_GLOBAL return result;
37 #define SL_ENTER_INTERFACE SLresult result;
38 #define SL_LEAVE_INTERFACE return result;
42 #define XA_ENTER_GLOBAL XAresult result;
43 #define XA_LEAVE_GLOBAL return result;
44 #define XA_ENTER_INTERFACE XAresult result;
45 #define XA_LEAVE_INTERFACE return result;
50 extern void slTraceLeaveGlobal(const char *function, SLresult result);
52 extern void slTraceLeaveInterface(const char *function, SLresult result);
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Ddiv_32.cpp46 that the result will not saturate.
104 result = 32-bit quotient of of the division of two 32 bit integers
125 3. result = L_num * (1/L_denom).
179 Word32 result; local
187 result = Mpy_32_16(L_denom_hi, L_denom_lo, approx, pOverflow);
188 /* result is > 0 , and less than 1.0 */
189 result = 0x7fffffffL - result;
191 hi = (Word16)(result >> 16);
192 lo = (result >>
[all...]
H A Dshr.cpp114 product = Shifted result limited to 16 bits (Word16)
127 -var2 with sign extension. Saturate the result in case of underflows or
207 register Word16 result; local
216 result = ((var1 < 0) ? -1 : 0);
222 result = (~((~var1) >> var2));
226 result = (var1 >> var2);
241 result = (Word16)(temp_res);
243 if (temp_res != (Word32) result)
246 result = ((var1 > 0) ? MAX_16 : MIN_16);
253 result
[all...]
H A Dl_shr_r.cpp41 function return value name from "L_var_out" to "result".
95 result = Shifted result w/ rounding (Word32)
109 the result. The result is saturated in case of underflows or overflows, i.e.,
195 Word32 result; local
199 result = 0;
203 result = L_shr(L_var1, var2, pOverflow);
209 result++;
213 return (result);
[all...]
H A Dround.cpp48 Created a new return variable result.
110 result = MS 16 bits of rounded input L_var1.
189 Word16 result; local
192 result = (Word16)(L_var1 >> 16);
194 return (result);
/frameworks/wilhelm/tests/sandbox/
H A Doutputmix.c30 SLresult result; local
31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
32 assert(SL_RESULT_SUCCESS == result);
35 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
36 assert(SL_RESULT_SUCCESS == result);
39 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
40 assert(SL_RESULT_SUCCESS == result);
43 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, SL_OBJECTID_OUTPUTMIX,
45 assert(SL_RESULT_SUCCESS == result);
50 result
[all...]
H A Ddim.c36 SLresult result; local
40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
41 assert(SL_RESULT_SUCCESS == result);
43 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
44 assert(SL_RESULT_SUCCESS == result);
45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
46 assert(SL_RESULT_SUCCESS == result);
50 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL);
51 assert(SL_RESULT_SUCCESS == result);
55 result
[all...]
/frameworks/base/core/java/android/text/format/
H A DFormatter.java52 float result = number;
54 if (result > 900) {
56 result = result / 1024;
58 if (result > 900) {
60 result = result / 1024;
62 if (result > 900) {
64 result = result / 102
[all...]
/frameworks/wilhelm/src/ut/
H A DslesutResult.c22 /** \brief Maximum result return code */
26 /** \brief Array of strings correponding to each result code */
49 /** \brief Convert a result code to a string or NULL. */
51 const char *slesutResultToString(SLresult result) argument
54 return result < SLESUT_RESULT_MAX ? slesutResultStrings[result] : NULL;
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_Time.h43 The result is a M4OSA_Double*/
44 #define M4OSA_TIME_TO_MS(result, time, timescale)\
45 { result = (1000*(M4OSA_Double)time)/((M4OSA_Double)timescale); }
/frameworks/compile/mclinker/lib/LD/
H A DResolveInfoFactory.cpp20 entry_type* result = static_cast<entry_type*>( local
22 if (NULL == result)
25 new (result) entry_type();
26 std::memcpy(result->m_Name, pKey.data(), pKey.size());
27 result->m_Name[pKey.size()] = '\0';
28 result->m_BitField &= ~ResolveInfo::RESOLVE_MASK;
29 result->m_BitField |= (pKey.size() << ResolveInfo::NAME_LENGTH_OFFSET);
30 return result;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResultException.java30 public ResultException(ResultCode result) { argument
36 switch (result) {
46 "For result code, " + result +
50 mResult = result;
55 public ResultException(ResultCode result, String explanation) { argument
56 this(result);
60 public ResultException(ResultCode result, int additionalInfo) { argument
61 this(result);
71 public ResultException(ResultCode result, in argument
76 public ResultCode result() { method in class:ResultException
[all...]
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
H A DICU_Delegate.java157 /*package*/ static boolean initLocaleDataImpl(String locale, LocaleData result) { argument
160 result.firstDayOfWeek = Integer.valueOf(1);
161 result.minimalDaysInFirstWeek = Integer.valueOf(1);
164 result.amPm = new String[] { "AM", "PM" };
165 result.eras = new String[] { "BC", "AD" };
167 result.longMonthNames = new String[] { "January", "February", "March", "April", "May",
169 result.shortMonthNames = new String[] { "Jan", "Feb", "Mar", "Apr", "May",
171 result.longStandAloneMonthNames = result.longMonthNames;
172 result
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayUri2.cpp29 void ExitOnError( SLresult result )
31 if (SL_RESULT_SUCCESS != result) {
32 fprintf(stdout, "%u error code encountered, exiting\n", result);
65 SLresult result; local
89 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
90 ExitOnError(result);
108 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
109 ExitOnError(result);
112 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
113 ExitOnError(result);
251 SLresult result; local
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DSimTonesTest.java46 boolean result = TonesAutoTest.tonesDtmfTest();
47 assertTrue("DTMF Tones", result);
52 boolean result = TonesAutoTest.tonesSupervisoryTest();
53 assertTrue("Supervisory Tones", result);
58 boolean result = TonesAutoTest.tonesProprietaryTest();
59 assertTrue("Proprietary Tones", result);
64 boolean result = TonesAutoTest.tonesSimultaneousTest();
65 assertTrue("Simultaneous Tones", result);
70 boolean result = TonesAutoTest.tonesStressTest();
71 assertTrue("Stress Tones", result);
[all...]
/frameworks/native/libs/ui/
H A DRect.cpp77 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y);
78 return result;
83 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y);
84 return result;
87 bool Rect::intersect(const Rect& with, Rect* result) const
89 result->left = max(left, with.left);
90 result->top = max(top, with.top);
91 result->right = min(right, with.right);
92 result->bottom = min(bottom, with.bottom);
93 return !(result
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java106 public void getIccCardStatus(Message result) { argument
107 unimplemented(result);
110 public void supplyIccPin(String pin, Message result) { argument
116 AsyncResult.forMessage(result, null, ex);
117 result.sendToTarget();
127 if (result != null) {
128 AsyncResult.forMessage(result, null, null);
129 result.sendToTarget();
135 if (result != null) {
147 AsyncResult.forMessage(result, nul
152 supplyIccPuk(String puk, String newPin, Message result) argument
194 supplyIccPin2(String pin2, Message result) argument
235 supplyIccPuk2(String puk2, String newPin2, Message result) argument
276 changeIccPin(String oldPin, String newPin, Message result) argument
297 changeIccPin2(String oldPin2, String newPin2, Message result) argument
319 changeBarringPassword(String facility, String oldPwd, String newPwd, Message result) argument
324 setSuppServiceNotifications(boolean enable, Message result) argument
335 queryFacilityLock(String facility, String pin, int serviceClass, Message result) argument
341 queryFacilityLockForApp(String facility, String pin, int serviceClass, String appId, Message result) argument
369 setFacilityLock(String facility, boolean lockEnabled, String pin, int serviceClass, Message result) argument
375 setFacilityLockForApp(String facility, boolean lockEnabled, String pin, int serviceClass, String appId, Message result) argument
431 supplyNetworkDepersonalization(String netpin, Message result) argument
443 getCurrentCalls(Message result) argument
458 getPDPContextList(Message result) argument
469 getDataCallList(Message result) argument
484 dial(String address, int clirMode, Message result) argument
501 dial(String address, int clirMode, UUSInfo uusInfo, Message result) argument
507 getIMSI(Message result) argument
517 getIMSIForApp(String aid, Message result) argument
528 getIMEI(Message result) argument
539 getIMEISV(Message result) argument
554 hangupConnection(int gsmIndex, Message result) argument
576 hangupWaitingOrBackground(Message result) argument
597 hangupForegroundResumeBackground(Message result) argument
618 switchWaitingOrHoldingAndActive(Message result) argument
638 conference(Message result) argument
658 explicitCallTransfer(Message result) argument
675 separateConnection(int gsmIndex, Message result) argument
694 acceptCall(Message result) argument
712 rejectCall(Message result) argument
732 getLastCallFailCause(Message result) argument
742 getLastPdpFailCause(Message result) argument
746 getLastDataCallFailCause(Message result) argument
751 setMute(boolean enableMute, Message result) argument
753 getMute(Message result) argument
762 getSignalStrength(Message result) argument
777 setBandMode(int bandMode, Message result) argument
788 queryAvailableBandMode(Message result) argument
835 getVoiceRegistrationState(Message result) argument
873 getDataRegistrationState(Message result) argument
890 getOperator(Message result) argument
905 sendDtmf(char c, Message result) argument
914 startDtmf(char c, Message result) argument
923 stopDtmf(Message result) argument
932 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument
942 sendSMS(String smscPDU, String pdu, Message result) argument
964 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument
970 deactivateDataCall(int cid, int reason, Message result) argument
972 setPreferredNetworkType(int networkType , Message result) argument
977 getPreferredNetworkType(Message result) argument
984 getNeighboringCids(Message result) argument
998 getSmscAddress(Message result) argument
1002 setSmscAddress(String address, Message result) argument
1006 reportSmsMemoryStatus(boolean available, Message result) argument
1010 reportStkServiceIsRunning(Message result) argument
1015 getCdmaSubscriptionSource(Message result) argument
1026 setRadioPower(boolean on, Message result) argument
1035 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message result) argument
1039 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message result) argument
1043 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message result) argument
1058 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message result) argument
1088 getCLIR(Message result) argument
1096 setCLIR(int clirMode, Message result) argument
1126 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message result) argument
1137 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message result) argument
1140 setNetworkSelectionModeAutomatic(Message result) argument
1141 exitEmergencyCallbackMode(Message result) argument
1142 setNetworkSelectionModeManual( String operatorNumeric, Message result) argument
1153 getNetworkSelectionMode(Message result) argument
1165 getAvailableNetworks(Message result) argument
1167 getBasebandVersion(Message result) argument
1185 sendUSSD(String ussdString, Message result) argument
1206 resetRadio(Message result) argument
1330 unimplemented(Message result) argument
1343 resultSuccess(Message result, Object ret) argument
1354 resultFail(Message result, Throwable tr) argument
1399 getPreferredVoicePrivacy(Message result) argument
1404 setPreferredVoicePrivacy(boolean enable, Message result) argument
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DContextFactory.cpp27 LDContext* result = find(pPath); local
28 if (0 == result) {
29 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate();
30 new (result) LDContext();
31 f_KeyMap.insert(std::make_pair(pPath, result));
33 return result;
38 LDContext* result = allocate(); local
39 new (result) LDContext();
40 return result;
/frameworks/base/services/input/
H A DInputManager.cpp54 status_t result = mDispatcherThread->run("InputDispatcher", PRIORITY_URGENT_DISPLAY); local
55 if (result) {
56 ALOGE("Could not start InputDispatcher thread due to error %d.", result);
57 return result;
60 result = mReaderThread->run("InputReader", PRIORITY_URGENT_DISPLAY);
61 if (result) {
62 ALOGE("Could not start InputReader thread due to error %d.", result);
65 return result;
72 status_t result = mReaderThread->requestExitAndWait(); local
73 if (result) {
[all...]
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp47 leb128::ByteType *result; local
50 result = buffer;
51 size = leb128::encode<uint32_t>(result, 2);
53 ASSERT_EQ(result, buffer + 1);
56 result = buffer;
57 size = leb128::encode<uint32_t>(result, 127);
59 ASSERT_EQ(result, buffer + 1);
62 result = buffer;
63 size = leb128::encode<uint32_t>(result, 128);
66 ASSERT_EQ(result, buffe
93 leb128::ByteType *result; local
139 leb128::ByteType *result; local
301 leb128::ByteType *result; local
418 leb128::ByteType *result; local
464 leb128::ByteType *result; local
499 leb128::ByteType *result; local
515 char *result; local
[all...]
/frameworks/compile/libbcc/runtime/lib/
H A Dashldi3.c26 dwords result; local
30 result.s.low = 0;
31 result.s.high = input.s.low << (b - bits_in_word);
37 result.s.low = input.s.low << b;
38 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_word - b));
40 return result.all;
H A Dashlti3.c28 twords result; local
32 result.s.low = 0;
33 result.s.high = input.s.low << (b - bits_in_dword);
39 result.s.low = input.s.low << b;
40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_dword - b));
42 return result.all;
H A Dashrdi3.c26 dwords result; local
30 /* result.s.high = input.s.high < 0 ? -1 : 0 */
31 result.s.high = input.s.high >> (bits_in_word - 1);
32 result.s.low = input.s.high >> (b - bits_in_word);
38 result.s.high = input.s.high >> b;
39 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b);
41 return result.all;
H A Dlshrdi3.c26 udwords result; local
30 result.s.high = 0;
31 result.s.low = input.s.high >> (b - bits_in_word);
37 result.s.high = input.s.high >> b;
38 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b);
40 return result.all;

Completed in 1719 milliseconds

1234567891011>>