Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DSourcePos.cpp122 int retval=0; in error() local
126 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in error()
128 char* p = buf + retval - 1; in error()
134 return retval; in error()
140 int retval=0; in warning() local
144 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in warning()
146 char* p = buf + retval - 1; in warning()
152 return retval; in warning()
DResourceTable.cpp2249 int retval=0; in reportError() local
2253 retval = vsnprintf(buf, sizeof(buf), fmt, ap); in reportError()
/frameworks/base/services/java/com/android/server/
DRandomBlock.java53 RandomBlock retval = new RandomBlock(); in fromStream() local
56 int result = in.read(retval.block, total, BLOCK_SIZE - total); in fromStream()
62 return retval; in fromStream()
DTextServicesManagerService.java140 final boolean retval = userId == mSettings.getCurrentUserId(); in isChangingPackagesOfCurrentUser()
144 return retval; in isChangingPackagesOfCurrentUser()
633 final boolean retval = mSettings.isSpellCheckerEnabled(); in isSpellCheckerEnabledLocked()
635 Slog.w(TAG, "getSpellCheckerEnabled: " + retval); in isSpellCheckerEnabledLocked()
637 return retval; in isSpellCheckerEnabledLocked()
DInputMethodManagerService.java445 final boolean retval = userId == mSettings.getCurrentUserId(); in isChangingPackagesOfCurrentUser()
447 if (!retval) { in isChangingPackagesOfCurrentUser()
451 return retval; in isChangingPackagesOfCurrentUser()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java141 final SuggestionsInfo[] retval = new SuggestionsInfo[length]; in onGetSuggestionsMultiple() local
143 retval[i] = onGetSuggestions(textInfos[i], suggestionsLimit); in onGetSuggestionsMultiple()
144 retval[i].setCookieAndSequence( in onGetSuggestionsMultiple()
147 return retval; in onGetSuggestionsMultiple()
187 final SentenceSuggestionsInfo[] retval = new SentenceSuggestionsInfo[infosSize]; in onGetSentenceSuggestionsMultiple() local
198 retval[i] = SentenceLevelAdapter.reconstructSuggestions( in onGetSentenceSuggestionsMultiple()
202 return retval; in onGetSentenceSuggestionsMultiple()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java177 final SpellCheckerInfo[] retval = sService.getEnabledSpellCheckers(); in getEnabledSpellCheckers() local
179 Log.d(TAG, "getEnabledSpellCheckers: " + (retval != null ? retval.length : "null")); in getEnabledSpellCheckers()
181 return retval; in getEnabledSpellCheckers()
/frameworks/base/core/tests/overlaytests/
Druntests.sh10 local retval=$?
12 if [[ $retval -eq 0 ]]; then
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DVideoEditor3gpReader.cpp175 M4OSA_UInt32 retval; in VideoEditor3gpReader_BitStreamParserShowBits() local
181 retval=(M4OSA_UInt32)GET_MEMORY32(pStreamContext->\ in VideoEditor3gpReader_BitStreamParserShowBits()
188 retval=(retval >> (- i_ovf)) & u_mask; in VideoEditor3gpReader_BitStreamParserShowBits()
195 u_msb_value = retval << i_ovf; in VideoEditor3gpReader_BitStreamParserShowBits()
198 retval= (u_msb_value & u_msb_mask ) | (u_lsb_value & u_lsb_mask); in VideoEditor3gpReader_BitStreamParserShowBits()
201 return retval; in VideoEditor3gpReader_BitStreamParserShowBits()
237 M4OSA_UInt32 retval=0; in VideoEditor3gpReader_BitStreamParserGetBits() local
249 retval=(M4OSA_UInt32)GET_MEMORY32( in VideoEditor3gpReader_BitStreamParserGetBits()
255 retval=(retval >> (- i_ovf)) & u_mask; in VideoEditor3gpReader_BitStreamParserGetBits()
262 u_msb_value = retval << i_ovf; in VideoEditor3gpReader_BitStreamParserGetBits()
[all …]
/frameworks/av/libvideoeditor/vss/mcs/src/
DM4MCS_MediaAndCodecSubscription.c127 #define M4ERR_CHECK_NULL_RETURN_VALUE(retval, pointer) \ argument
128 if ((pointer) == M4OSA_NULL) return ((M4OSA_ERR)(retval));
/frameworks/av/libvideoeditor/vss/src/
DM4VSS3GPP_MediaAndCodecSubscription.c125 #define M4ERR_CHECK_NULL_RETURN_VALUE(retval, pointer) if ((pointer) == M4OSA_NULL)\ argument
126 return ((M4OSA_ERR)(retval));
DM4AIR_API.c103 #define M4ERR_CHECK_NULL_RETURN_VALUE(retval, pointer)\ argument
104 if ((pointer) == M4OSA_NULL) return ((M4OSA_ERR)(retval));
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java881 String retval = getErrorReturnValue(cfunc); in emitJniCode() local
886 baseType + "Constructor, " + retval + ");"); in emitJniCode()
888 out.println(indent + "return " + retval + ";"); in emitJniCode()
907 String retval = getErrorReturnValue(cfunc); in emitJniCode() local
912 baseType + "Constructor, " + retval + ");"); in emitJniCode()
914 out.println(indent + "return " + retval + ";"); in emitJniCode()
952 String retval = getErrorReturnValue(cfunc); in emitJniCode() local
953 if (retval != null) { in emitJniCode()
955 " _returnValue = " + retval + ";"); in emitJniCode()
/frameworks/native/cmds/dumpstate/
Dutils.c123 int retval = klogctl(KLOG_READ_ALL, buf, size); in do_dmesg() local
124 if (retval < 0) { in do_dmesg()
129 buf[retval] = '\0'; in do_dmesg()
/frameworks/av/libvideoeditor/osal/src/
DLVOSA_FileReader_optim.c48 #define M4ERR_CHECK_NULL_RETURN_VALUE(retval, pointer) if ((pointer) == M4OSA_NULL) return (retval); argument
/frameworks/base/core/java/android/view/
DViewGroup.java1098 boolean retval = false; in dispatchDragEvent()
1135 retval = true; in dispatchDragEvent()
1157 retval = true; in dispatchDragEvent()
1200 retval = target.dispatchDragEvent(event); in dispatchDragEvent()
1237 retval = target.dispatchDragEvent(event); in dispatchDragEvent()
1249 if (!retval) { in dispatchDragEvent()
1251 retval = super.dispatchDragEvent(event); in dispatchDragEvent()
1253 return retval; in dispatchDragEvent()
/frameworks/base/libs/androidfw/
DAssetManager.cpp309 bool retval = false; in createIdmapFileLocked() local
364 retval = true; in createIdmapFileLocked()
370 return retval; in createIdmapFileLocked()
DResourceTypes.cpp3058 status_t retval = idmapLookup(package->header->resourceIDMap, in getResource() local
3061 if (retval == NO_ERROR && overlayResID != 0x0) { in getResource()
3335 status_t retval = idmapLookup(package->header->resourceIDMap, in getBagLocked() local
3338 if (retval == NO_ERROR && overlayResID != 0x0) { in getBagLocked()
/frameworks/base/docs/html/reference/renderscript/
Ddoxygen.css489 .params, .retval, .exception, .tparams {
493 .params .paramname, .retval .paramname {
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java466 boolean retval = false; in isButtonsFocused()
469 retval |= notifier.isButtonsFocused(); in isButtonsFocused()
472 return retval; in isButtonsFocused()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorTools.cpp1993 #define M4ERR_CHECK_NULL_RETURN_VALUE(retval, pointer) if ((pointer) == M4OSA_NULL) return ((M4OSA_… argument