Home
last modified time | relevance | path

Searched refs:N (Results 1 – 25 of 175) sorted by relevance

1234567

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dreader.h1050 #define N NumberToken in Tokenize() macro
1051 #define N16 N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N in Tokenize()
1056 N, N, StringToken, N, N, N, N, N, N, N, N, N, CommaToken, N, N, N, // 20~2F in Tokenize()
1057 N, N, N, N, N, N, N, N, N, N, ColonToken, N, N, N, N, N, // 30~3F in Tokenize()
1059 N, N, N, N, N, N, N, N, N, N, N, LeftBracketToken, N, RightBracketToken, N, N, // 50~5F in Tokenize()
1060 N, N, N, N, N, N, FalseToken, N, N, N, N, N, N, N, NullToken, N, // 60~6F in Tokenize()
1061N, N, N, N, TrueToken, N, N, N, N, N, N, LeftCurlyBracketToken, N, RightCurlyBracketToken, N, N, /… in Tokenize()
1064 #undef N in Tokenize()
Dpointer.h1024 template <typename T, typename CharType, size_t N>
1025 typename T::ValueType& CreateValueByPointer(T& root, const CharType(&source)[N], typename T::Alloca… in CreateValueByPointer() argument
1026 return GenericPointer<typename T::ValueType>(source, N - 1).Create(root, a); in CreateValueByPointer()
1036 template <typename DocumentType, typename CharType, size_t N>
1037 …DocumentType::ValueType& CreateValueByPointer(DocumentType& document, const CharType(&source)[N]) { in CreateValueByPointer() argument
1038 return GenericPointer<typename DocumentType::ValueType>(source, N - 1).Create(document); in CreateValueByPointer()
1053 template <typename T, typename CharType, size_t N>
1054 typename T::ValueType* GetValueByPointer(T& root, const CharType (&source)[N]) { in GetValueByPointer() argument
1055 return GenericPointer<typename T::ValueType>(source, N - 1).Get(root); in GetValueByPointer()
1058 template <typename T, typename CharType, size_t N>
[all …]
/packages/apps/Gallery2/jni/filters/
Dkmeans.h25 template <typename T, typename N>
26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { in sum()
39 template <typename T, typename N>
40 inline void set(T val1[], N val2[], int dimension) { in set()
47 template <typename T, typename N>
48 inline void add(T val[], N dst[], int dimension) { in add()
55 template <typename T, typename N>
56 inline void divide(T dst[], N divisor, int dimension) { in divide()
70 template <typename T, typename N>
71 inline N euclideanDist(T val1[], T val2[], int dimension) { in euclideanDist()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_framestitching.cpp30 double N[16],q[4],lambda[4],lambda_max; in db_RotationFromMOuterProductSum() local
34 N[0]= M[0]+M[4]+M[8]; in db_RotationFromMOuterProductSum()
35 N[5]= M[0]-M[4]-M[8]; in db_RotationFromMOuterProductSum()
36 N[10]= -M[0]+M[4]-M[8]; in db_RotationFromMOuterProductSum()
37 N[15]= -M[0]-M[4]+M[8]; in db_RotationFromMOuterProductSum()
38 N[1] =N[4] =M[5]-M[7]; in db_RotationFromMOuterProductSum()
39 N[2] =N[8] =M[6]-M[2]; in db_RotationFromMOuterProductSum()
40 N[3] =N[12]=M[1]-M[3]; in db_RotationFromMOuterProductSum()
41 N[6] =N[9] =M[1]+M[3]; in db_RotationFromMOuterProductSum()
42 N[7] =N[13]=M[6]+M[2]; in db_RotationFromMOuterProductSum()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMatrixUtilsTests.java57 final int N = 4;
60 final float[][] inverse = new float[N][N];
61 final float[][] tempMatrix = new float[N][N];
62 for (int i = 0; i < N; ++i) {
63 for (int j = 0; j < N; ++j) {
67 final float[][] retval = new float[N][N];
78 for (int i = 0; i < N; ++i) {
79 for (int j = 0; j < N; ++j) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java230 final int N = mPresentDevices.size(); in startListening() local
231 for (int i=0; i<N; i++) { in startListening()
389 final int N = mPresentDevices.size(); in onReceive() local
390 for (int i=0; i<N; i++) { in onReceive()
433 final int N = mPresentDevices.size(); in onReceive() local
434 for (int i=N-1; i>=0; i--) { in onReceive()
469 final int N = mClients.size(); in sendScanningStarted() local
470 for (int i = 0; i < N; i++) { in sendScanningStarted()
478 final int N = mClients.size(); in sendScanningStopped() local
481 for (int i = N - 1; i >= 0; --i) { in sendScanningStopped()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DConditionManager.java75 final int N = mConditions.size(); in refreshAll() local
76 for (int i = 0; i < N; i++) { in refreshAll()
123 final int N = mConditions.size(); in saveToXml() local
124 for (int i = 0; i < N; i++) { in saveToXml()
192 final int N = conditions.size(); in getCondition() local
193 for (int i = 0; i < N; i++) { in getCondition()
207 final int N = mConditions.size(); in getVisibleConditions() local
208 for (int i = 0; i < N; i++) { in getVisibleConditions()
219 final int N = mListeners.size(); in notifyChanged() local
220 for (int i = 0; i < N; i++) { in notifyChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DSmoothingUtils.java52 final int N = xs.length; in get3DParameters() local
56 final float[][] m1 = new float[COEFF_COUNT][N]; in get3DParameters()
57 final float[][] m2 = new float[N][1]; in get3DParameters()
64 for (int k = 0; k < N; ++k) { in get3DParameters()
77 for (int j = 0; j < N; ++j) { in get3DParameters()
83 for (int i = 0; i < N; ++i) { in get3DParameters()
87 final float[][] m0Invxm1 = new float[COEFF_COUNT][N]; in get3DParameters()
/packages/services/Car/tools/io_analysis/
Dcheck_verity.py31 N = len(l)
38 average_io = sum_io / N
39 average_verity = sum_verity / N
40 average_total = sum_total / N
48 sigma_io = math.sqrt(var_io / N)
49 sigma_verity = math.sqrt(var_verity / N)
50 sigma_total = math.sqrt(var_total / N)
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h42 template <typename T, int N>
43 char (&ArraySizeHelper(T (&array)[N]))[N];
121 const int N = intArrayToCharArray(word, length, charBuf, NELEMS(charBuf)); in dumpWordInfo() local
122 if (N > 0) { in dumpWordInfo()
129 const int N = intArrayToCharArray(word, length, charBuf, NELEMS(charBuf)); in dumpWord() local
130 if (N > 1) { in dumpWord()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerSession.java54 final int N = ssi.getSuggestionsCount(); in fixWronglyInvalidatedWordWithSingleQuote() local
59 for (int i = 0; i < N; ++i) { in fixWronglyInvalidatedWordWithSingleQuote()
108 final int suggestionsSize = N + additionalSize; in fixWronglyInvalidatedWordWithSingleQuote()
113 for (i = 0; i < N; ++i) { in fixWronglyInvalidatedWordWithSingleQuote()
119 newOffsets[i] = additionalOffsets.get(i - N); in fixWronglyInvalidatedWordWithSingleQuote()
120 newLengths[i] = additionalLengths.get(i - N); in fixWronglyInvalidatedWordWithSingleQuote()
121 newSuggestionsInfos[i] = additionalSuggestionsInfos.get(i - N); in fixWronglyInvalidatedWordWithSingleQuote()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DArrayUtils.java52 final int N = cur.length; in appendString() local
53 for (int i = 0; i < N; i++) { in appendString()
58 String[] ret = new String[N + 1]; in appendString()
59 System.arraycopy(cur, 0, ret, 0, N); in appendString()
60 ret[N] = val; in appendString()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java89 final int N = packages.length; in execute() local
95 for (int i = 0; i < N; i++) { in execute()
108 for (int i = 0; i < N; i++) { in execute()
122 for (int i = 0; i < N; i++) { in execute()
128 for (int i = 0; i < N; i++) { in execute()
140 if (DEBUG) Log.d(TAG, "mAllAppsList.(un)suspend " + N); in execute()
323 for (int i=0; i<N; i++) { in execute()
376 for (int i = 0; i < N; i++) { in execute()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberCompat.java111 return VERSION.SDK_INT >= VERSION_CODES.N; in canUseNewFiltering()
159 return useNewFiltering(context) && VERSION.SDK_INT >= VERSION_CODES.N in getBaseUri()
248 && VERSION.SDK_INT >= VERSION_CODES.N) { in createManageBlockedNumbersIntent()
267 if (VERSION.SDK_INT < VERSION_CODES.N) { in canAttemptBlockOperations()
291 if (VERSION.SDK_INT < VERSION_CODES.N) { in canCurrentUserOpenBlockSettings()
309 @TargetApi(VERSION_CODES.N)
DBlockedNumbersMigrator.java51 @RequiresApi(VERSION_CODES.N)
52 @TargetApi(VERSION_CODES.N)
93 @RequiresApi(VERSION_CODES.N)
94 @TargetApi(VERSION_CODES.N)
136 @TargetApi(VERSION_CODES.N)
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DWeightWatcher.java71 final int N = getChildCount();
72 if (pids.length != N) initViews();
73 else for (int i=0; i<N; i++) {
250 final int N = mMemInfo.pss.length; in onDraw() local
251 final float barStep = (float) w / N; in onDraw()
257 for (i=0; i<N; i++) { in onDraw()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dint_array_view.h61 template <size_t N>
62 AK_FORCE_INLINE static IntArrayView fromArray(const std::array<int, N> &array) { in fromArray()
112 template <size_t N>
113 void copyToArray(std::array<int, N> *const buffer, const size_t offset) const { in copyToArray()
114 ASSERT(mSize + offset <= N); in copyToArray()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsEntry.java106 final int N = in.readInt(); in ProcStatsEntry() local
107 if (N > 0) { in ProcStatsEntry()
108 mServices.ensureCapacity(N); in ProcStatsEntry()
109 for (int i=0; i<N; i++) { in ProcStatsEntry()
292 final int N = mServices.size(); in writeToParcel() local
293 dest.writeInt(N); in writeToParcel()
294 for (int i=0; i<N; i++) { in writeToParcel()
DProcStatsPackageEntry.java91 final int N = mEntries.size(); in updateMetrics() local
92 for (int i=0; i < N; i++) { in updateMetrics()
108 mAvgBgMem /= N; in updateMetrics()
109 mAvgRunMem /= N; in updateMetrics()
/packages/apps/Dialer/java/com/android/contacts/common/compat/
DDirectoryCompat.java27 if (VERSION.SDK_INT >= VERSION_CODES.N) { in getContentUri()
34 if (VERSION.SDK_INT >= VERSION_CODES.N) { in isInvisibleDirectory()
42 if (VERSION.SDK_INT >= VERSION_CODES.N) { in isRemoteDirectoryId()
49 return VERSION.SDK_INT >= VERSION_CODES.N && Directory.isEnterpriseDirectoryId(directoryId); in isEnterpriseDirectoryId()
/packages/apps/Settings/src/com/android/settings/
DCheckableLinearLayout.java40 final int N = getChildCount(); in setEnabled() local
41 for (int i = 0; i < N; i++) { in setEnabled()
63 final int N = getChildCount(); in updateChecked() local
64 for (int i = 0; i < N; i++) { in updateChecked()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java544 final int N = codePointCount(s); in isEmptyStringOrWhiteSpaces() local
545 for (int i = 0; i < N; ++i) { in isEmptyStringOrWhiteSpaces()
575 final int N = hexString.length(); in hexStringToByteArray() local
576 if (N % 2 != 0) { in hexStringToByteArray()
578 + " Length = " + N); in hexStringToByteArray()
580 final byte[] bytes = new byte[N / 2]; in hexStringToByteArray()
581 for (int i = 0; i < N; i += 2) { in hexStringToByteArray()
/packages/apps/Dialer/java/com/android/dialer/database/
DVoicemailStatusQuery.java38 @RequiresApi(VERSION_CODES.N)
41 @RequiresApi(VERSION_CODES.N)
64 @RequiresApi(VERSION_CODES.N)
86 if (VERSION.SDK_INT >= VERSION_CODES.N) { in getProjection()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java1673 int N = workspaceItems.size(); in bindWorkspaceItems() local
1674 for (int i = 0; i < N; i += ITEMS_CHUNK) { in bindWorkspaceItems()
1676 final int chunkSize = (i+ITEMS_CHUNK <= N) ? ITEMS_CHUNK : (N-i); in bindWorkspaceItems()
1711 N = appWidgets.size(); in bindWorkspaceItems()
1712 for (int i = 0; i < N; i++) { in bindWorkspaceItems()
1912 int N = Integer.MAX_VALUE; in loadAllAppsByBatch() local
1917 while (i < N && !mStopped) { in loadAllAppsByBatch()
1928 N = apps.size(); in loadAllAppsByBatch()
1930 Log.d(TAG, "queryIntentActivities got " + N + " apps"); in loadAllAppsByBatch()
1932 if (N == 0) { in loadAllAppsByBatch()
[all …]
/packages/apps/Settings/src/com/android/settings/inputmethod/
DVirtualKeyboardFragment.java85 final int N = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews() local
86 for (int i = 0; i < N; ++i) { in updateInputMethodPreferenceViews()
110 for (int i = 0; i < N; ++i) { in updateInputMethodPreferenceViews()
118 mAddVirtualKeyboardScreen.setOrder(N); in updateInputMethodPreferenceViews()

1234567