Home
last modified time | relevance | path

Searched refs:LENGTH (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9585/
Dpoc.cpp21 #define LENGTH 16 macro
35 uint8_t *p_msg = (uint8_t *)malloc(LENGTH); in main()
39 memset(p_msg, 0x01, LENGTH); in main()
43 nfc_ncif_proc_get_routing(p_msg, LENGTH); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9564/
Dpoc.cpp23 #define LENGTH 1 macro
28 const int32_t offset = SIZE - LENGTH; in main()
35 llcp_util_parse_link_params(LENGTH, &p_bytes[offset]); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9593/
Dpoc.cpp22 #define LENGTH 1 macro
36 llcp_dlc_proc_i_pdu(llcp_cb.dlcb[0].local_sap, llcp_cb.dlcb[0].remote_sap, LENGTH, in main()
37 &p_i_pdu[SIZE - LENGTH], nullptr); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9584/
Dpoc.cpp21 #define LENGTH 16 macro
35 uint8_t *p_msg = (uint8_t *)malloc(LENGTH); in main()
44 nfc_ncif_set_config_status(p_msg, LENGTH); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9561/
Dpoc.cpp23 #define LENGTH 1 macro
29 const int32_t offset = SIZE - LENGTH; in main()
37 llcp_util_parse_connect(&p_bytes[offset], LENGTH, &params); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9563/
Dpoc.cpp23 #define LENGTH 1 macro
29 const int32_t offset = SIZE - LENGTH; in main()
37 llcp_util_parse_cc(&p_bytes[offset], LENGTH, &(params.miu), &(params.rw)); in main()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java35 private static final long LENGTH = 100; field in AssetFileDescriptorTest
56 mAssetFileDes = new AssetFileDescriptor(mFd, START_OFFSET, LENGTH); in initAssetFileDescriptor()
78 assetFileDes = new AssetFileDescriptor(fd, START_OFFSET, LENGTH); in testConstructor()
83 assetFileDes = new AssetFileDescriptor(fd, START_OFFSET, LENGTH, extras); in testConstructor()
89 assetFileDes = new AssetFileDescriptor(fd, START_OFFSET, LENGTH, extras); in testConstructor()
183 assertEquals(LENGTH, mAssetFileDes.getLength()); in testMiscMethod()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2099/
Dpoc.cpp24 #define LENGTH 0xBEB macro
48 if (numBytes == LENGTH) { in memcpy()
115 p_rw_data->data.p_data->len = LENGTH; in main()
/cts/tests/tests/util/src/android/util/cts/
DSparseLongArrayTest.java38 private static final int LENGTH = VALUES.length; field in SparseLongArrayTest
67 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
70 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
129 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
132 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
DLongSparseArrayTest.java40 private static final int LENGTH = VALUES.length; field in LongSparseArrayTest
69 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
72 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
135 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
138 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
DSparseArrayTest.java44 private static final int LENGTH = VALUES.length; field in SparseArrayTest
73 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
76 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithDefaultCapacity()
139 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()
142 assertEquals(LENGTH, sparseArray.size()); in testSparseArrayWithSpecifiedCapacity()