/packages/modules/DnsResolver/ |
D | gethnamaddr.cpp | 132 int n; in getanswer() local 177 n = dn_expand(answer->buf, eom, cp, bp, (int) (ep - bp)); in getanswer() 178 if ((n < 0) || !name_ok(bp)) goto no_recovery; in getanswer() 180 BOUNDED_INCR(n + QFIXEDSZ); in getanswer() 186 n = (int) strlen(bp) + 1; /* for the \0 */ in getanswer() 187 if (n >= MAXHOSTNAMELEN) goto no_recovery; in getanswer() 189 bp += n; in getanswer() 198 n = dn_expand(answer->buf, eom, cp, bp, (int) (ep - bp)); in getanswer() 199 if ((n < 0) || !name_ok(bp)) { in getanswer() 203 cp += n; /* name */ in getanswer() [all …]
|
D | res_query.cpp | 111 int n; in res_nquery() local 120 n = res_nmkquery(QUERY, name, cl, type, /*data=*/nullptr, 0, buf, sizeof(buf), in res_nquery() 122 if (n > 0 && in res_nquery() 126 n = res_nopt(statp, n, buf, sizeof(buf), anslen); in res_nquery() 127 if (n <= 0) { in res_nquery() 130 return n; in res_nquery() 132 n = res_nsend(statp, buf, n, answer, anslen, &rcode, 0); in res_nquery() 133 if (n < 0) { in res_nquery() 168 return n; in res_nquery() 195 return n; in res_nquery() [all …]
|
D | getaddrinfo.cpp | 124 int n = 0; // result length member 850 int n; in getanswer() local 890 n = dn_expand(answer.data(), eom, cp, bp, ep - bp); in getanswer() 891 if ((n < 0) || !(*name_ok)(bp)) { in getanswer() 895 BOUNDED_INCR(n + QFIXEDSZ); in getanswer() 901 n = strlen(bp) + 1; /* for the \0 */ in getanswer() 902 if (n >= MAXHOSTNAMELEN) { in getanswer() 907 bp += n; in getanswer() 914 n = dn_expand(answer.data(), eom, cp, bp, ep - bp); in getanswer() 915 if ((n < 0) || !(*name_ok)(bp)) { in getanswer() [all …]
|
D | res_send.cpp | 226 long n; in evCmpTime() local 230 n = a.tv_nsec - b.tv_nsec; in evCmpTime() 231 return SGN(n); in evCmpTime() 355 int n = dn_expand(buf, eom, cp, tname, sizeof tname); in res_nameinquery() local 356 if (n < 0) return (-1); in res_nameinquery() 357 cp += n; in res_nameinquery() 397 int n = dn_expand(buf1, eom1, cp, tname, sizeof tname); in res_queriesmatch() local 398 if (n < 0) return (-1); in res_queriesmatch() 399 cp += n; in res_queriesmatch() 667 int truncating, connreset, n; in send_vc() local [all …]
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | SparseArrayBitmapPool.java | 85 private void unlinkAndRecycleNode(Node n, boolean recycleBitmap) { in unlinkAndRecycleNode() argument 87 if (n.prevInBucket != null) { in unlinkAndRecycleNode() 89 n.prevInBucket.nextInBucket = n.nextInBucket; in unlinkAndRecycleNode() 92 mStore.put(n.bitmap.getWidth(), n.nextInBucket); in unlinkAndRecycleNode() 94 if (n.nextInBucket != null) { in unlinkAndRecycleNode() 96 n.nextInBucket.prevInBucket = n.prevInBucket; in unlinkAndRecycleNode() 100 if (n.prevInPool != null) { in unlinkAndRecycleNode() 102 n.prevInPool.nextInPool = n.nextInPool; in unlinkAndRecycleNode() 105 mPoolNodesHead = n.nextInPool; in unlinkAndRecycleNode() 107 if (n.nextInPool != null) { in unlinkAndRecycleNode() [all …]
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/ |
D | Utils.java | 41 public static int nextPowerOf2(int n) { in nextPowerOf2() argument 42 if (n <= 0 || n > (1 << 30)) throw new IllegalArgumentException("n is invalid: " + n); in nextPowerOf2() 43 n -= 1; in nextPowerOf2() 44 n |= n >> 16; in nextPowerOf2() 45 n |= n >> 8; in nextPowerOf2() 46 n |= n >> 4; in nextPowerOf2() 47 n |= n >> 2; in nextPowerOf2() 48 n |= n >> 1; in nextPowerOf2() 49 return n + 1; in nextPowerOf2() 55 public static int prevPowerOf2(int n) { in prevPowerOf2() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 241 private static String getTitleString(Notification n) { in getTitleString() argument 243 if (n.extras != null) { in getTitleString() 244 title = n.extras.getCharSequence(Notification.EXTRA_TITLE); in getTitleString() 246 title = n.extras.getCharSequence(Notification.EXTRA_TEXT); in getTitleString() 249 if (TextUtils.isEmpty(title) && !TextUtils.isEmpty(n.tickerText)) { in getTitleString() 250 title = n.tickerText; in getTitleString() 286 final Notification n = sbn.getNotification(); in loadNotifications() local 290 info.icon = loadIconDrawable(info.pkg, info.user, n.icon); in loadNotifications() 293 info.title = getTitleString(n); in loadNotifications() 298 info.priority = n.priority; in loadNotifications() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationStation.java | 241 private static String getTitleString(Notification n) { in getTitleString() argument 243 if (n.extras != null) { in getTitleString() 244 title = n.extras.getCharSequence(Notification.EXTRA_TITLE); in getTitleString() 246 title = n.extras.getCharSequence(Notification.EXTRA_TEXT); in getTitleString() 249 if (TextUtils.isEmpty(title) && !TextUtils.isEmpty(n.tickerText)) { in getTitleString() 250 title = n.tickerText; in getTitleString() 286 final Notification n = sbn.getNotification(); in loadNotifications() local 290 info.icon = loadIconDrawable(info.pkg, info.user, n.icon); in loadNotifications() 293 info.title = getTitleString(n); in loadNotifications() 298 info.priority = n.priority; in loadNotifications() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Utils.java | 79 public static int nextPowerOf2(int n) { in nextPowerOf2() argument 80 if (n <= 0 || n > (1 << 30)) throw new IllegalArgumentException("n is invalid: " + n); in nextPowerOf2() 81 n -= 1; in nextPowerOf2() 82 n |= n >> 16; in nextPowerOf2() 83 n |= n >> 8; in nextPowerOf2() 84 n |= n >> 4; in nextPowerOf2() 85 n |= n >> 2; in nextPowerOf2() 86 n |= n >> 1; in nextPowerOf2() 87 return n + 1; in nextPowerOf2() 93 public static int prevPowerOf2(int n) { in prevPowerOf2() argument [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PhonebookEntry.java | 43 Name n = ((Name) o); in equals() local 44 return (Objects.equals(family, n.family) || family != null && family.equals(n.family)) in equals() 45 && (Objects.equals(given, n.given) || given != null && given.equals(n.given)) in equals() 46 && (Objects.equals(middle, n.middle) || middle != null && middle.equals( in equals() 47 n.middle)) && (Objects.equals(prefix, n.prefix) in equals() 48 || prefix != null && prefix.equals(n.prefix)) && ( in equals() 49 Objects.equals(suffix, n.suffix) || suffix != null && suffix.equals(n.suffix)); in equals() 128 VCardEntry.NameData n = v.getNameData(); in PhonebookEntry() local 129 name.family = n.getFamily(); in PhonebookEntry() 130 name.given = n.getGiven(); in PhonebookEntry() [all …]
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | NotificationEntryTest.java | 77 Notification n = new Notification.Builder(mContext, channelId) in generateSbn() local 81 return new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, mUid, n, in generateSbn() 86 Notification n = new Notification.Builder(mContext, channelId) in generateSbn() local 90 return new StatusBarNotification(packageName, packageName, 0, "tag", mUid, mUid, n, in generateSbn() 94 private StatusBarNotification generateSbn(Notification n) { in generateSbn() argument 95 return new StatusBarNotification(mPkg, mPkg, 0, "tag", mUid, mUid, n, in generateSbn() 155 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsInboxStyle() local 159 mContext, mPackageManager, generateSbn(n), channel, mSmsHelper); in testIsInboxStyle() 167 Notification n = new Notification.Builder(mContext, channel.getId()) in testIsMessagingStyle() local 171 mContext, mPackageManager, generateSbn(n), channel, mSmsHelper); in testIsMessagingStyle() [all …]
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 10 …��Z��O���U��5�T ��L|��{�I��Y�S;�T�A��ZY}����<c�uϠ���j�ڭx�Βή!n�%c�PA/�����.���*… 12 ̇�n�Z���e�o�� 14 …����=���ϋ������+�ar�� f����Go�'�5���vb�E�%X_�k.�d�G�����n�����n@d}5NWH���L�y];�n�v�b��… 17 …Q����z+�ȪkO�q���:$B�_�;��䶢���o�s�e}�J�)��h)ΞD[�&Z�/�gY�MN7���n��p��4G|����P���7= ��… 19 …t�37��A�K�R�|��P�j<i��d�č%��&g��S���0��WaLB9�[%_��֦I��V2XOH�.�T_��v9��n�U4k�2���s�DmD�D��|/… 23 4���gFHS�$/iՙ'��?PЈ50�z�qЗ�Z7�b�M��iodHc�n�����)�oh�ho�jO���lW���$��zQ`�l���ךI��*��Q 27 …���Kט&gn|o��� ��ºϺ�4����Y����J@��B0-n�M�b˄�vu���>E�㖳a�p�}���oE���cK�67�Z?��F�D�=… 30 …�:r������a�Y����t[.���~a�����Z,ᣬ@j<Z�:� ���4)t����̷nW(�}�� {�s��O�!86����9�EG�A��5��n@υ… 41 �Zko�#�2�eOV0� �n��<��`mA��^�P1("=>�$B"�1$���v%�ʦ��F~o�_$(��:QcG<Pm�w֥�A�:��d��rV�����7 45 ,�|��-�j��%b ���G��Z0�s��,�g4�Y��7�?�P�\������%�h贵��$��"�r�t���)�u�9��r�Y���n��&@�ܜ��…
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | tr_wordlist.combined.gz | 1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ... |
D | cs_wordlist.combined.gz | 1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ... |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 156 /* package */int getColumnPos(final int n) { in getColumnPos() argument 157 return mIsMoreKeysFixedOrder ? getFixedOrderColumnPos(n) : getAutomaticColumnPos(n); in getColumnPos() 160 private int getFixedOrderColumnPos(final int n) { in getFixedOrderColumnPos() argument 161 final int col = n % mNumColumns; in getFixedOrderColumnPos() 162 final int row = n / mNumColumns; in getFixedOrderColumnPos() 180 private int getAutomaticColumnPos(final int n) { in getAutomaticColumnPos() argument 181 final int col = n % mNumColumns; in getAutomaticColumnPos() 182 final int row = n / mNumColumns; in getAutomaticColumnPos() 234 public int getX(final int n, final int row) { in getX() argument 235 final int x = getColumnPos(n) * mColumnWidth + getDefaultKeyCoordX(); in getX() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | SplineMath.java | 7 SplineMath(int n) { in SplineMath() argument 8 mPoints = new double[n][2]; in SplineMath() 17 public float[][] calculatetCurve(int n) { in calculatetCurve() argument 18 float[][] curve = new float[n][2]; in calculatetCurve() 113 int n = points.length; in solveSystem() local 114 double[][] system = new double[n][3]; in solveSystem() 115 double[] result = new double[n]; // d in solveSystem() 116 double[] solution = new double[n]; // returned coefficients in solveSystem() 118 system[n - 1][1] = 1; in solveSystem() 125 for (int i = 1; i < n - 1; i++) { in solveSystem() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Path.java | 113 int n = 0; in split() local 115 n++; in split() 117 String[] segments = new String[n]; in split() 118 int i = n - 1; in split() 127 int n = s.length(); in split() local 128 if (n == 0) return new String[0]; in split() 134 while (i < n) { in split() 137 for (j = i; j < n; j++) { in split() 157 int n = s.length(); in splitSequence() local 158 if (s.charAt(0) != '{' || s.charAt(n-1) != '}') { in splitSequence() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_rob_image_homography.cpp | 281 …ouble **JtJ_ref,double *min_Jtf,double **JtJ_temp_ref,double *min_Jtf_temp,int n,int *fetch_vector) in db_RobImageHomographyFetchJacobian() argument 286 for(i=0;i<n;i++) in db_RobImageHomographyFetchJacobian() 292 for(j=i;j<n;j++) in db_RobImageHomographyFetchJacobian() 299 …uble **JtJ_ref,double *min_Jtf,double **JtJ_temp_ref,double *min_Jtf_temp,double **JE_dx_ref,int n) in db_RobImageHomographyMultiplyJacobian() argument 306 db_MultiplyMatricesAB(JtJ_JE_ref,JtJ_temp_ref,JE_dx_ref,9,9,n); in db_RobImageHomographyMultiplyJacobian() 307 db_UpperMultiplyMatricesAtB(JtJ_ref,JE_dx_ref,JtJ_JE_ref,n,9,n); in db_RobImageHomographyMultiplyJacobian() 308 db_MultiplyMatrixVectorAtb(min_Jtf,JE_dx_ref,min_Jtf_temp,n,9); in db_RobImageHomographyMultiplyJacobian() 420 int i,j,fetch_vector[8],n; in db_RobImageHomography_Jacobians_Generic() local 439 n=4; in db_RobImageHomography_Jacobians_Generic() 443 … db_RobImageHomographyMultiplyJacobian(JtJ_ref,min_Jtf,JtJ_temp_ref,min_Jtf_temp,JE_dx_ref,n); in db_RobImageHomography_Jacobians_Generic() [all …]
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | NotificationEntry.java | 164 final Notification n = getNotification(); in calculateAudioAttributes() local 173 if (n.audioAttributes != null) { in calculateAudioAttributes() 175 attributes = n.audioAttributes; in calculateAudioAttributes() 176 } else if (n.audioStreamType >= 0 in calculateAudioAttributes() 177 && n.audioStreamType < AudioSystem.getNumStreamTypes()) { in calculateAudioAttributes() 180 .setInternalLegacyStreamType(n.audioStreamType) in calculateAudioAttributes() 182 } else if (n.audioStreamType != AudioSystem.STREAM_DEFAULT) { in calculateAudioAttributes() 183 Log.w(TAG, String.format("Invalid stream type: %d", n.audioStreamType)); in calculateAudioAttributes() 190 final Notification n = getNotification(); in calculateInitialImportance() local 195 if ((n.flags & Notification.FLAG_HIGH_PRIORITY) != 0) { in calculateInitialImportance() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11IdImpl.java | 38 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument 40 while (n-- > 0) { in glGenBuffers() 41 buffers[offset + n] = sNextId++; in glGenBuffers() 47 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { in glDeleteTextures() argument 49 gl.glDeleteTextures(n, textures, offset); in glDeleteTextures() 54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument 56 gl.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers() 61 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { in glDeleteFramebuffers() argument 63 gl11ep.glDeleteFramebuffersOES(n, buffers, offset); in glDeleteFramebuffers()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | misctest.cpp | 85 inline unsigned CountDecimalDigit_naive(unsigned n) { in CountDecimalDigit_naive() argument 87 while (n >= 10) { in CountDecimalDigit_naive() 88 n /= 10; in CountDecimalDigit_naive() 94 inline unsigned CountDecimalDigit_enroll4(unsigned n) { in CountDecimalDigit_enroll4() argument 96 while (n >= 10000) { in CountDecimalDigit_enroll4() 97 n /= 10000u; in CountDecimalDigit_enroll4() 100 if (n < 10) return count; in CountDecimalDigit_enroll4() 101 if (n < 100) return count + 1; in CountDecimalDigit_enroll4() 102 if (n < 1000) return count + 2; in CountDecimalDigit_enroll4() 106 inline unsigned CountDecimalDigit64_enroll4(uint64_t n) { in CountDecimalDigit64_enroll4() argument [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 86 NetworkByIdCallback(Network n) { in NetworkByIdCallback() argument 87 mNetwork = n; in NetworkByIdCallback() 91 public void onAvailable(Network n) { in onAvailable() argument 92 if (mNetwork.equals(n)) { in onAvailable() 93 showToast("onAvailable(), netId: " + n); in onAvailable() 98 public void onLosing(Network n, int maxMsToLive) { in onLosing() argument 99 if (mNetwork.equals(n)) { in onLosing() 100 showToast("onLosing(), netId: " + n); in onLosing() 105 public void onLost(Network n) { in onLost() argument 106 if (mNetwork.equals(n)) { in onLost() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | document.h | 172 Iterator operator+(DifferenceType n) const { return Iterator(ptr_+n); } 173 Iterator operator-(DifferenceType n) const { return Iterator(ptr_-n); } 175 Iterator& operator+=(DifferenceType n) { ptr_+=n; return *this; } 176 Iterator& operator-=(DifferenceType n) { ptr_-=n; return *this; } 193 Reference operator[](DifferenceType n) const { return ptr_[n]; } 511 data_.n.i64 = i; 518 data_.n.u64 = u; 525 data_.n.i64 = i64; 539 data_.n.u64 = u64; 549 …t GenericValue(double d) RAPIDJSON_NOEXCEPT : data_(), flags_(kNumberDoubleFlag) { data_.n.d = d; } [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | Spline.java | 349 int n = points.length; in solveSystem() local 350 double[][] system = new double[n][3]; in solveSystem() 351 double[] result = new double[n]; // d in solveSystem() 352 double[] solution = new double[n]; // returned coefficients in solveSystem() 354 system[n - 1][1] = 1; in solveSystem() 361 for (int i = 1; i < n - 1; i++) { in solveSystem() 374 for (int i = 1; i < n; i++) { in solveSystem() 384 solution[n - 1] = result[n - 1] / system[n - 1][1]; in solveSystem() 385 for (int i = n - 2; i >= 0; --i) { in solveSystem() 401 public void deletePoint(int n) { in deletePoint() argument [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | ngram_context.cpp | 74 const CodePointArrayView NgramContext::getNthPrevWordCodePoints(const size_t n) const { in getNthPrevWordCodePoints() 75 if (n <= 0 || n > mPrevWordCount) { in getNthPrevWordCodePoints() 78 return CodePointArrayView(mPrevWordCodePoints[n - 1], mPrevWordCodePointCount[n - 1]); in getNthPrevWordCodePoints() 81 bool NgramContext::isNthPrevWordBeginningOfSentence(const size_t n) const { in isNthPrevWordBeginningOfSentence() 82 if (n <= 0 || n > mPrevWordCount) { in isNthPrevWordBeginningOfSentence() 85 return mIsBeginningOfSentence[n - 1]; in isNthPrevWordBeginningOfSentence()
|