Home
last modified time | relevance | path

Searched refs:kBufferSize (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/
Dconnector.cpp56 const int kBufferSize = 128; in main() local
57 char buf[kBufferSize]; in main()
58 memset(buf, 0, kBufferSize); in main()
59 ssize_t result = TEMP_FAILURE_RETRY(read(fd, buf, kBufferSize - 1)); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2022-20147/
Dpoc.cpp23 constexpr size_t kBufferSize = 2; variable
54 uint8_t *buffer = (uint8_t *)malloc(kBufferSize * sizeof(uint8_t)); in main()
60 nfa_dm_check_set_config(kBufferSize, buffer, false); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2022-20131/
Dpoc.cpp23 constexpr size_t kBufferSize = 16; variable
56 uint8_t* buffer = (uint8_t*)malloc(sizeof(uint8_t) * kBufferSize); in main()
59 buffer = buffer + kBufferSize; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0241/
Dpoc.cpp22 const size_t kBufferSize = 1024; variable
45 IBinder *onAsBinder() { return (IBinder *)malloc(kBufferSize); } in onAsBinder()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2022-23852/
Dpoc.cpp32 constexpr size_t kBufferSize = XML_CONTEXT_BYTES + 2; variable
33 constexpr size_t kBufferPtrOffset = kBufferSize - 1;
368 std::vector<char> m_buffervector(kBufferSize); in main()