Home
last modified time | relevance | path

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

/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DParseException.java130 String retval = "Encountered \""; in getMessage() local
133 if (i != 0) retval += " "; in getMessage()
135 retval += tokenImage[0]; in getMessage()
138 retval += add_escapes(tok.image); in getMessage()
141retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColum… in getMessage()
142 retval += "." + eol; in getMessage()
144 retval += "Was expecting:" + eol + " "; in getMessage()
146 retval += "Was expecting one of:" + eol + " "; in getMessage()
148 retval += expected.toString(); in getMessage()
149 return retval; in getMessage()
[all …]
DTokenMgrError.java56 StringBuffer retval = new StringBuffer(); in addEscapes() local
64 retval.append("\\b"); in addEscapes()
67 retval.append("\\t"); in addEscapes()
70 retval.append("\\n"); in addEscapes()
73 retval.append("\\f"); in addEscapes()
76 retval.append("\\r"); in addEscapes()
79 retval.append("\\\""); in addEscapes()
82 retval.append("\\\'"); in addEscapes()
85 retval.append("\\\\"); in addEscapes()
90 retval.append("\\u" + s.substring(s.length() - 4, s.length())); in addEscapes()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
DParseException.java130 String retval = "Encountered \""; in getMessage() local
133 if (i != 0) retval += " "; in getMessage()
135 retval += tokenImage[0]; in getMessage()
138 retval += add_escapes(tok.image); in getMessage()
141retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColum… in getMessage()
142 retval += "." + eol; in getMessage()
144 retval += "Was expecting:" + eol + " "; in getMessage()
146 retval += "Was expecting one of:" + eol + " "; in getMessage()
148 retval += expected.toString(); in getMessage()
149 return retval; in getMessage()
[all …]
DTokenMgrError.java56 StringBuffer retval = new StringBuffer(); in addEscapes() local
64 retval.append("\\b"); in addEscapes()
67 retval.append("\\t"); in addEscapes()
70 retval.append("\\n"); in addEscapes()
73 retval.append("\\f"); in addEscapes()
76 retval.append("\\r"); in addEscapes()
79 retval.append("\\\""); in addEscapes()
82 retval.append("\\\'"); in addEscapes()
85 retval.append("\\\\"); in addEscapes()
90 retval.append("\\u" + s.substring(s.length() - 4, s.length())); in addEscapes()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
DParseException.java130 String retval = "Encountered \""; in getMessage() local
133 if (i != 0) retval += " "; in getMessage()
135 retval += tokenImage[0]; in getMessage()
138 retval += add_escapes(tok.image); in getMessage()
141retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColum… in getMessage()
142 retval += "." + eol; in getMessage()
144 retval += "Was expecting:" + eol + " "; in getMessage()
146 retval += "Was expecting one of:" + eol + " "; in getMessage()
148 retval += expected.toString(); in getMessage()
149 return retval; in getMessage()
[all …]
DTokenMgrError.java56 StringBuffer retval = new StringBuffer(); in addEscapes() local
64 retval.append("\\b"); in addEscapes()
67 retval.append("\\t"); in addEscapes()
70 retval.append("\\n"); in addEscapes()
73 retval.append("\\f"); in addEscapes()
76 retval.append("\\r"); in addEscapes()
79 retval.append("\\\""); in addEscapes()
82 retval.append("\\\'"); in addEscapes()
85 retval.append("\\\\"); in addEscapes()
90 retval.append("\\u" + s.substring(s.length() - 4, s.length())); in addEscapes()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerSession.java119 final SentenceSuggestionsInfo[] retval = in onGetSentenceSuggestionsMultiple() local
121 if (retval == null || retval.length != textInfos.length) { in onGetSentenceSuggestionsMultiple()
122 return retval; in onGetSentenceSuggestionsMultiple()
124 for (int i = 0; i < retval.length; ++i) { in onGetSentenceSuggestionsMultiple()
126 fixWronglyInvalidatedWordWithSingleQuote(textInfos[i], retval[i]); in onGetSentenceSuggestionsMultiple()
128 retval[i] = tempSsi; in onGetSentenceSuggestionsMultiple()
131 return retval; in onGetSentenceSuggestionsMultiple()
140 final SuggestionsInfo[] retval = new SuggestionsInfo[length]; in onGetSuggestionsMultiple() local
151 retval[i] = onGetSuggestionsInternal(textInfos[i], prevWord, suggestionsLimit); in onGetSuggestionsMultiple()
152 retval[i].setCookieAndSequence(textInfos[i].getCookie(), in onGetSuggestionsMultiple()
[all …]
DAndroidWordLevelSpellCheckerSession.java343 final SuggestionsInfo retval = new SuggestionsInfo(flags, result.mSuggestions); in onGetSuggestionsInternal() local
345 return retval; in onGetSuggestionsInternal()
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java182 int retval = GROW_NONE; in getHit() local
194 retval = GROW_TOP_EDGE; in getHit()
196 retval = GROW_BOTTOM_EDGE; in getHit()
200 retval = GROW_LEFT_EDGE; in getHit()
202 retval = GROW_RIGHT_EDGE; in getHit()
206 retval = MOVE; in getHit()
208 retval = GROW_NONE; in getHit()
220 retval |= GROW_LEFT_EDGE; in getHit()
223 retval |= GROW_RIGHT_EDGE; in getHit()
226 retval |= GROW_TOP_EDGE; in getHit()
[all …]
/packages/apps/Nfc/nci/jni/
DHostAidRouter.cpp111 bool retval = false; in addPpseRoute() local
141 retval = true; in addPpseRoute()
144 ALOGD ("%s: exit; ok=%u", fn, retval); in addPpseRoute()
145 return retval; in addPpseRoute()
163 bool retval = false; in deleteAllRoutes() local
184 retval = true; in deleteAllRoutes()
187 ALOGD ("%s: exit; ok=%u", fn, retval); in deleteAllRoutes()
188 return retval; in deleteAllRoutes()
208 bool retval = false; in startRoute() local
240 ALOGD ("%s: exit; ok=%u", fn, retval); in startRoute()
[all …]
DSecureElement.cpp539 bool retval = false; in deactivate() local
564 retval = true; in deactivate()
567 ALOGD ("%s: exit; ok=%u", fn, retval); in deactivate()
568 return retval; in deactivate()
1158 bool retval = false; in getUiccId() local
1174 ALOGD ("%s: exit; ret=%u", fn, retval); in getUiccId()
1175 return retval; in getUiccId()
1194 bool retval = false; in getTechnologyList() local
1222 ALOGD ("%s: exit; ret=%u", fn, retval); in getTechnologyList()
1223 return retval; in getTechnologyList()
[all …]
DPowerSwitch.cpp156 bool retval = false; in setLevel() local
163 retval = true; in setLevel()
171 retval = setPowerOffSleepState (false); in setLevel()
177 retval = setPowerOffSleepState (true); in setLevel()
181 retval = true; in setLevel()
192 return retval; in setLevel()
254 bool retval = false; in setPowerOffSleepState() local
317 retval = true; in setPowerOffSleepState()
319 ALOGD ("%s: exit; return %u", fn, retval); in setPowerOffSleepState()
320 return retval; in setPowerOffSleepState()
DDataQueue.cpp63 bool retval = mQueue.empty(); in isEmpty() local
65 return retval; in isEmpty()
87 bool retval = false; in enqueue() local
98 retval = true; in enqueue()
105 return retval; in enqueue()
126 bool retval = false; in dequeue() local
150 retval = true; in dequeue()
153 return retval; in dequeue()
DRouteDataSet.cpp169 bool retval = false; in import() local
229 retval = true; in import()
234 ALOGD ("%s: exit; return=%u", fn, retval); in import()
235 return retval; in import()
254 bool retval = false; in saveToFile() local
266 retval = actualWritten == strlen(routesXml); in saveToFile()
269 if (retval == false) in saveToFile()
275 return retval; in saveToFile()
DNativeLlcpSocket.cpp152 jint retval = 0; in nativeLlcpSocket_doReceive() local
154 retval = actualLen; in nativeLlcpSocket_doReceive()
156 retval = -1; in nativeLlcpSocket_doReceive()
159 …OGD_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: exit; actual len=%d", __FUNCTION__, retval); in nativeLlcpSocket_doReceive()
160 return retval; in nativeLlcpSocket_doReceive()
DNfcTag.cpp973 bool retval = false; in isP2pDiscovered() local
981 retval = true; in isP2pDiscovered()
985 ALOGD ("%s: return=%u", fn, retval); in isP2pDiscovered()
986 return retval; in isP2pDiscovered()
1164 bool retval = false; in isMifareUltralight() local
1189 retval = true; in isMifareUltralight()
1194 ALOGD ("%s: return=%u", fn, retval); in isMifareUltralight()
1195 return retval; in isMifareUltralight()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLocaleUtils.java211 Locale retval = null; in constructLocaleFromString()
214 retval = new Locale(localeParams[0]); in constructLocaleFromString()
216 retval = new Locale(localeParams[0], localeParams[1]); in constructLocaleFromString()
218 retval = new Locale(localeParams[0], localeParams[1], localeParams[2]); in constructLocaleFromString()
220 if (retval != null) { in constructLocaleFromString()
221 sLocaleCache.put(localeStr, retval); in constructLocaleFromString()
223 return retval; in constructLocaleFromString()
236 final HashMap<String, Long> retval = CollectionUtils.newHashMap(); in localeAndTimeStrToHashMap() local
240 retval.put(localeStr, time); in localeAndTimeStrToHashMap()
242 return retval; in localeAndTimeStrToHashMap()
DUserHistoryDictIOUtils.java72 final int retval = readUnsignedByte(); in readUnsignedShort() local
73 return (retval << 8) + readUnsignedByte(); in readUnsignedShort()
78 final int retval = readUnsignedShort(); in readUnsignedInt24() local
79 return (retval << 8) + readUnsignedByte(); in readUnsignedInt24()
84 final int retval = readUnsignedShort(); in readInt() local
85 return (retval << 16) + readUnsignedShort(); in readInt()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DLocaleUtils.java189 Locale retval = null; in constructLocaleFromString()
192 retval = new Locale(localeParams[0]); in constructLocaleFromString()
194 retval = new Locale(localeParams[0], localeParams[1]); in constructLocaleFromString()
196 retval = new Locale(localeParams[0], localeParams[1], localeParams[2]); in constructLocaleFromString()
198 if (retval != null) { in constructLocaleFromString()
199 sLocaleCache.put(localeStr, retval); in constructLocaleFromString()
201 return retval; in constructLocaleFromString()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckerUtils.java34 final SpellCheckerInfo retval = tsm.getCurrentSpellChecker(); in getCurrentSpellChecker() local
36 Log.d(TAG, "getCurrentSpellChecker: " + retval); in getCurrentSpellChecker()
38 return retval; in getCurrentSpellChecker()
41 final SpellCheckerInfo[] retval = tsm.getEnabledSpellCheckers(); in getEnabledSpellCheckers() local
43 Log.d(TAG, "get spell checkers: " + retval.length); in getEnabledSpellCheckers()
45 return retval; in getEnabledSpellCheckers()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DAccountUtils.java37 final ArrayList<String> retval = new ArrayList<String>(); in getDeviceAccountsEmailAddresses() local
41 retval.add(name); in getDeviceAccountsEmailAddresses()
42 retval.add(name.split("@")[0]); in getDeviceAccountsEmailAddresses()
45 return retval; in getDeviceAccountsEmailAddresses()
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DStateTransitionAnimation.java117 boolean retval = super.calculate(currentTimeMillis); in calculate()
125 return retval; in calculate()
/packages/apps/Phone/src/com/android/phone/
DOtaUtils.java1156 boolean retval = (mOtaCallCardDtmfDialer != null && mOtaCallCardDtmfDialer.isOpened()); in isDialerOpened()
1157 if (DBG) log("- isDialerOpened() ==> " + retval); in isDialerOpened()
1158 return retval; in isDialerOpened()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DBinaryDictInputOutput.java91 final int retval = readUnsignedByte(); in readUnsignedInt24() local
92 return (retval << 16) + readUnsignedShort(); in readUnsignedInt24()