/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | ParseException.java | 130 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() 141 …retval += "\" 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 …]
|
D | TokenMgrError.java | 56 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/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
D | ParseException.java | 130 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() 141 …retval += "\" 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 …]
|
D | TokenMgrError.java | 56 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/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ParseException.java | 130 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() 141 …retval += "\" 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 …]
|
D | TokenMgrError.java | 56 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/ |
D | AndroidSpellCheckerSession.java | 129 final SentenceSuggestionsInfo[] retval = splitAndSuggest(textInfos, suggestionsLimit); in onGetSentenceSuggestionsMultiple() local 130 if (retval == null || retval.length != textInfos.length) { in onGetSentenceSuggestionsMultiple() 131 return retval; in onGetSentenceSuggestionsMultiple() 133 for (int i = 0; i < retval.length; ++i) { in onGetSentenceSuggestionsMultiple() 135 fixWronglyInvalidatedWordWithSingleQuote(textInfos[i], retval[i]); in onGetSentenceSuggestionsMultiple() 137 retval[i] = tempSsi; in onGetSentenceSuggestionsMultiple() 140 return retval; in onGetSentenceSuggestionsMultiple() 177 final SentenceSuggestionsInfo[] retval = new SentenceSuggestionsInfo[infosSize]; in splitAndSuggest() local 188 retval[i] = SentenceLevelAdapter.reconstructSuggestions( in splitAndSuggest() 192 return retval; in splitAndSuggest() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MatrixUtilsTests.java | 41 final float[][] retval = new float[2][2]; in testMulti() local 43 MatrixUtils.multiply(matrixA, matrixB, retval); in testMulti() 48 MatrixUtils.dump("multi", retval); in testMulti() 50 assertEquals(retval[0][0], 19, EPSILON); in testMulti() 51 assertEquals(retval[0][1], 22, EPSILON); in testMulti() 52 assertEquals(retval[1][0], 43, EPSILON); in testMulti() 53 assertEquals(retval[1][1], 50, EPSILON); in testMulti() 68 final float[][] retval = new float[N][N]; in testInverse() local 75 MatrixUtils.multiply(matrix, inverse, retval); in testInverse() 81 assertEquals(((i == j) ? 1.0f : 0.0f), retval[i][j], EPSILON); in testInverse()
|
D | SmoothingUtilsTests.java | 40 final float[][] retval = new float[4][1]; in testGet3DParamaters() local 42 SmoothingUtils.get3DParameters(xs, ys, retval); in testGet3DParamaters() 44 MatrixUtils.dump("3d", retval); in testGet3DParamaters() 47 assertEquals(retval[i][0], 1.0f, 0.001f); in testGet3DParamaters()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | printer.c | 91 status_t retval = OK; in _send_data() local 98 while ((length > 0) && (retval != -1)) { in _send_data() 101 retval = ERROR; in _send_data() 112 while ((length > 0) && (retval == OK)) { in _send_data() 120 retval = ERROR; in _send_data() 126 retval = ERROR; in _send_data() 133 retval = ERROR; in _send_data() 136 retval = (print_job->timeout_enabled ? ERROR : OK); in _send_data() 137 if (retval == ERROR) { in _send_data() 144 print_job->job_status = retval; in _send_data() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | DataQueue.cpp | 62 bool retval = mQueue.empty(); in isEmpty() local 64 return retval; in isEmpty() 83 bool retval = false; in enqueue() local 93 retval = true; in enqueue() 98 return retval; in enqueue() 118 bool retval = false; in dequeue() local 138 retval = true; in dequeue() 141 return retval; in dequeue()
|
D | PowerSwitch.cpp | 150 bool retval = false; in setLevel() local 157 retval = true; in setLevel() 181 retval = setPowerOffSleepState(false); in setLevel() 187 retval = setPowerOffSleepState(true); in setLevel() 192 retval = true; in setLevel() 206 return retval; in setLevel() 280 bool retval = false; in setPowerOffSleepState() local 342 retval = true; in setPowerOffSleepState() 345 << StringPrintf("%s: exit; return %u", fn, retval); in setPowerOffSleepState() 346 return retval; in setPowerOffSleepState()
|
D | NfcTag.cpp | 1008 bool retval = false; in isP2pDiscovered() local 1015 retval = true; in isP2pDiscovered() 1019 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: return=%u", fn, retval); in isP2pDiscovered() 1020 return retval; in isP2pDiscovered() 1195 bool retval = false; in isMifareUltralight() local 1207 retval = true; in isMifareUltralight() 1212 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: return=%u", fn, retval); in isMifareUltralight() 1213 return retval; in isMifareUltralight() 1227 bool retval = false; in isMifareDESFire() local 1237 retval = true; in isMifareDESFire() [all …]
|
D | RouteDataSet.cpp | 162 bool retval = false; in import() local 221 retval = true; in import() 227 << StringPrintf("%s: exit; return=%u", fn, retval); in import() 228 return retval; in import() 245 bool retval = false; in saveToFile() local 257 retval = actualWritten == strlen(routesXml); in saveToFile() 261 if (retval == false) LOG(ERROR) << StringPrintf("%s: error during write", fn); in saveToFile() 267 return retval; in saveToFile()
|
D | NativeLlcpSocket.cpp | 157 jint retval = 0; in nativeLlcpSocket_doReceive() local 159 retval = actualLen; in nativeLlcpSocket_doReceive() 161 retval = -1; in nativeLlcpSocket_doReceive() 164 << StringPrintf("%s: exit; actual len=%d", __func__, retval); in nativeLlcpSocket_doReceive() 165 return retval; in nativeLlcpSocket_doReceive()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | HighlightView.java | 182 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | AccountUtils.java | 38 final ArrayList<String> retval = new ArrayList<>(); in getDeviceAccountsEmailAddresses() local 42 retval.add(name); in getDeviceAccountsEmailAddresses() 43 retval.add(name.split("@")[0]); in getDeviceAccountsEmailAddresses() 46 return retval; in getDeviceAccountsEmailAddresses() 57 final ArrayList<String> retval = new ArrayList<>(); in getDeviceAccountsWithDomain() local 61 retval.add(account.name); in getDeviceAccountsWithDomain() 64 return retval; in getDeviceAccountsWithDomain()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | SmoothingUtils.java | 45 final float[][] retval) throws MatrixOperationFailedException { in get3DParameters() argument 47 if (retval.length != COEFF_COUNT || retval[0].length != 1) { in get3DParameters() 48 Log.d(TAG, "--- invalid length of 3d retval " + retval.length + ", " in get3DParameters() 49 + retval[0].length); in get3DParameters() 97 MatrixUtils.multiply(m0Invxm1, m2, retval); in get3DParameters() 99 MatrixUtils.dump("result", retval); in get3DParameters()
|
D | MatrixUtils.java | 124 final float[][] retval) throws MatrixOperationFailedException { in multiply() argument 132 if (retval.length != m0h || retval[0].length != m1w) { in multiply() 134 "--- invalid length of retval " + retval.length + ", " + retval[0].length); in multiply() 138 Arrays.fill(retval[i], 0); in multiply() 141 retval[i][j] += m0[i][k] * m1[k][j]; in multiply()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ByteArrayDictBuffer.java | 41 final int retval = readUnsignedByte(); in readUnsignedShort() local 42 return (retval << 8) + readUnsignedByte(); in readUnsignedShort() 47 final int retval = readUnsignedShort(); in readUnsignedInt24() local 48 return (retval << 8) + readUnsignedByte(); in readUnsignedInt24() 53 final int retval = readUnsignedShort(); in readInt() local 54 return (retval << 16) + readUnsignedShort(); in readInt()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CreateConnectionProcessor.java | 523 int retval = 0; in sortSimPhoneAccountsForEmergency() local 556 retval = (slotId1 != SubscriptionManager.INVALID_SIM_SLOT_INDEX) ? -1 : 1; in sortSimPhoneAccountsForEmergency() 558 if (retval != 0) { in sortSimPhoneAccountsForEmergency() 559 return retval; in sortSimPhoneAccountsForEmergency() 582 retval = pkg1.compareTo(pkg2); in sortSimPhoneAccountsForEmergency() 583 if (retval != 0) { in sortSimPhoneAccountsForEmergency() 584 return retval; in sortSimPhoneAccountsForEmergency() 590 retval = label1.compareTo(label2); in sortSimPhoneAccountsForEmergency() 591 if (retval != 0) { in sortSimPhoneAccountsForEmergency() 592 return retval; in sortSimPhoneAccountsForEmergency()
|
D | TelecomServiceImpl.java | 938 boolean retval = false; 940 retval = getTelephonyManager().handlePinMmi(dialString); 945 return retval; 973 boolean retval = false; 977 retval = getTelephonyManager().handlePinMmiForSubscriber(subId, dialString); 981 return retval; 1007 String retval = "content://icc/adn/"; 1011 retval = retval + "subId/" + subId; 1016 return Uri.parse(retval);
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | InCallPresenter.java | 908 DialerCall retval = callList.getActiveCall(); in getCallToDisplay() local 909 if (retval != null && retval != ignore) { in getCallToDisplay() 910 return retval; in getCallToDisplay() 915 retval = callList.getSecondActiveCall(); in getCallToDisplay() 916 if (retval != null && retval != ignore) { in getCallToDisplay() 917 return retval; in getCallToDisplay() 924 retval = callList.getDisconnectingCall(); in getCallToDisplay() 925 if (retval != null && retval != ignore) { in getCallToDisplay() 926 return retval; in getCallToDisplay() 928 retval = callList.getDisconnectedCall(); in getCallToDisplay() [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | PhoneAccountSettingsFragment.java | 314 int retval = 0; in initAccountList() 320 retval = isSim1 ? -1 : 1; in initAccountList() 327 retval = (mSubscriptionManager.getSlotIndex(subId1) < in initAccountList() 332 if (retval == 0) { in initAccountList() 335 retval = pkg1.compareTo(pkg2); in initAccountList() 339 if (retval == 0) { in initAccountList() 342 retval = label1.compareTo(label2); in initAccountList() 346 if (retval == 0) { in initAccountList() 347 retval = account1.hashCode() - account2.hashCode(); in initAccountList() 349 return retval; in initAccountList()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | CallList.java | 379 DialerCall retval = getIncomingCall(); in getIncomingOrActive() local 380 if (retval == null) { in getIncomingOrActive() 381 retval = getActiveCall(); in getIncomingOrActive() 383 return retval; in getIncomingOrActive() 387 DialerCall retval = getOutgoingCall(); in getOutgoingOrActive() local 388 if (retval == null) { in getOutgoingOrActive() 389 retval = getActiveCall(); in getOutgoingOrActive() 391 return retval; in getOutgoingOrActive() 522 DialerCall retval = null; in getCallWithState() local 527 retval = call; in getCallWithState() [all …]
|