Home
last modified time | relevance | path

Searched defs:N (Results 1 – 23 of 23) sorted by relevance

/system/chre/apps/chqts/src/shared/
Darray_length.h31 constexpr size_t arrayLength(T (&)[N]) { return N; } in arrayLength()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h76 template <typename T, size_t N> inline size_t array_size(const T (&a)[N]) { in array_size()
83 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length()
104 template <typename T, size_t N> inline T* dup_array(const T (&a)[N]) { in dup_array()
117 template <typename T, size_t N> inline void copy_array(const T (&arr)[N], T* dest) { in copy_array()
127 template <typename T, size_t N> inline bool array_contains(const T (&a)[N], T val) { in array_contains()
172 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser()
/system/core/libutils/include/utils/
DString16.h168 static constexpr const StaticData<N> makeStaticData(const char16_t (&s)[N]) { in makeStaticData()
212 constexpr StaticString16(const char16_t (&s)[N]) : String16(mData), mData(makeStaticData(s)) {} in StaticString16()
/system/libhwbinder/
DStatic.cpp41 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines()
DBpHwBinder.cpp76 const size_t N = mObjects.size(); in kill() local
165 const size_t N = mObituaries ? mObituaries->size() : 0; in unlinkToDeath() local
214 const size_t N = obits->size(); in sendObituary() local
DIPCThreadState.cpp144 static const size_t N = sizeof(kReturnStrings)/sizeof(kReturnStrings[0]); in printReturnCommand() local
205 static const size_t N = sizeof(kCommandStrings)/sizeof(kCommandStrings[0]); in printCommand() local
DProcessState.cpp268 const size_t N=mHandleToObject.size(); in lookupHandleLocked() local
DParcel.cpp1252 const size_t N = mObjectsSize; in readObject() local
1616 const size_t N = objectsCount(); in print() local
/system/tools/aidl/
Dast_java.cpp69 size_t N = arguments.size(); in WriteArgumentList() local
141 int N = this->statements.size(); in Write() local
298 int N = this->cases.size(); in Write() local
321 int N = this->cases.size(); in Write() local
330 size_t N, i; in Write() local
382 size_t N, i; in Write() local
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_utils.h43 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length()
/system/core/libutils/
DString16.cpp147 const size_t N = other.size(); in setTo() local
395 const size_t N = size(); in makeLower() local
417 const size_t N = size(); in replaceAll() local
438 const size_t N = size(); in remove() local
/system/media/audio_utils/include/audio_utils/
DTimestampVerifier.h46 constexpr TimestampVerifier(const F (&frames)[N], const T (&timeNs)[N], uint32_t sampleRate) { in TimestampVerifier()
/system/media/audio_utils/tests/
Dtimestampverifier_tests.cpp28 size_t N, uint32_t sampleRate, size_t errors, size_t discontinuities) { in makeVerifier()
Dstatistics_tests.cpp59 explicit constexpr ConstexprStatistics(const T (&a)[N]) in ConstexprStatistics()
/system/vold/
DCryptoType.h81 constexpr size_t array_length(T (&)[N]) { in array_length()
Dcryptfs.cpp1156 int N = 1 << ftr->N_factor; in scrypt() local
1176 int N = 1 << ftr->N_factor; in scrypt_keymaster() local
1271 int N = 1 << crypt_ftr->N_factor; in encrypt_master_key() local
1738 int N = 1 << crypt_ftr->N_factor; in test_mount_encrypted_fs() local
/system/iorap/src/common/
Dmacros.h33 #define IORAP_PP_NARG_IMPL(e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15, e1… argument
48 #define IORAP_PP_MAP_IMPL(N, FN, sep, ...) IORAP_PP_CONCAT(IORAP_PP_MAP_IMPL_, N)(FN, sep, __VA_ARG… argument
/system/media/audio/include/system/
Daudio-base-utils.h349 constexpr bool isSorted(const T(&a)[N]) { in isSorted()
/system/media/audio_utils/
DPowerLog.cpp38 constexpr size_t array_size(const T(&)[N]) in array_size()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.h149 template <size_t N> std::string make_string(const uint8_t (&a)[N]) { in make_string()
Dandroid_keymaster_test.cpp4309 template <size_t N> ByteString ToByteString(const uint8_t (&a)[N]) { return ByteString(a, N); } in ToByteString()
/system/netd/server/
DXfrmControllerTest.cpp75 ACTION_TEMPLATE(SetArgSlice, HAS_1_TEMPLATE_PARAMS(int, N), AND_1_VALUE_PARAMS(value)) { in ACTION_TEMPLATE() argument
87 ACTION_TEMPLATE(SaveFlattenedIovecs, HAS_1_TEMPLATE_PARAMS(int, N), AND_1_VALUE_PARAMS(resVec)) { in ACTION_TEMPLATE() argument
/system/keymaster/km_openssl/
Dattestation_utils.cpp50 inline keymaster_blob_t certBlobifier(const uint8_t (&cert)[N], bool* fail){ in certBlobifier()