Home
last modified time | relevance | path

Searched refs:MAX_BYTE_LENGTH (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/manager/
H A Dclient_trans_session_impl_test.cpp29 #define MAX_BYTE_LENGTH (128 * 1024 * 1024) macro
196 len = MAX_BYTE_LENGTH + 1; in HWTEST_F()
/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp68 static constexpr size_t MAX_BYTE_LENGTH = 2097152; variable
2541 if (size > MAX_BYTE_LENGTH) { in napi_create_buffer()
2544 static_cast<float>(MAX_BYTE_LENGTH) / static_cast<float>(ONEMIB_BYTE_SIZE)); in napi_create_buffer()
2578 if (length > MAX_BYTE_LENGTH) { in napi_create_buffer_copy()
2581 static_cast<float>(MAX_BYTE_LENGTH) / static_cast<float>(ONEMIB_BYTE_SIZE)); in napi_create_buffer_copy()
2619 if (length > MAX_BYTE_LENGTH) { in napi_create_external_buffer()
2622 static_cast<float>(MAX_BYTE_LENGTH) / static_cast<float>(ONEMIB_BYTE_SIZE)); in napi_create_external_buffer()
/foundation/arkui/napi/test/unittest/
H A Dtest_napi.cpp52 static constexpr size_t MAX_BYTE_LENGTH = 2097152; variable
6626 const unsigned int bufferSize = MAX_BYTE_LENGTH + 1; in HWTEST_F()
6646 const unsigned int bufferSize = MAX_BYTE_LENGTH + 1; in HWTEST_F()
6698 const unsigned int bufferSize = MAX_BYTE_LENGTH + 1; in HWTEST_F()

Completed in 24 milliseconds