Searched refs:GetLength (Results 1 - 6 of 6) sorted by relevance
/commonlibrary/ets_utils/js_api_module/buffer/ |
H A D | js_blob.h | 38 unsigned int GetLength();
|
H A D | js_buffer.cpp | 106 unsigned int Buffer::GetLength() in GetLength() function in OHOS::buffer::Buffer 413 unsigned int loop = buffer->GetLength() > end - offset ? end - offset : buffer->GetLength(); in FillBuffer()
|
H A D | js_blob.cpp | 111 unsigned int Blob::GetLength() in GetLength() function in OHOS::buffer::Blob
|
H A D | js_buffer.h | 38 unsigned int GetLength();
|
H A D | native_module_buffer.cpp | 496 static napi_value GetLength(napi_env env, napi_callback_info info) in GetLength() function 502 uint32_t res = buf->GetLength(); in GetLength() 649 uint32_t length = buf->GetLength(); in GetBufferData() 675 uint32_t length = buf->GetLength(); in GetArrayBuffer() 1070 size_t bufferSize = blob->GetLength(); in ArrayBufferAsync() 1103 napi_create_string_utf8(env, reinterpret_cast<char *>(blob->GetRaw()), blob->GetLength(), &string); in TextAsync() 1124 for (unsigned int i = 0; i < blob->GetLength(); i++) { in GetBytes() 1146 DECLARE_NAPI_FUNCTION("getLength", GetLength), in BufferInit()
|
/commonlibrary/ets_utils/js_api_module/buffer/test/ |
H A D | test_napi.cpp | 57 ASSERT_EQ(buf->GetLength(), 10); in HWTEST_F() 72 ASSERT_EQ(buf2->GetLength(), 10); in HWTEST_F() 88 ASSERT_EQ(buf2->GetLength(), 5); in HWTEST_F() 93 ASSERT_EQ(buf3->GetLength(), 6); in HWTEST_F() 108 ASSERT_EQ(buf2->GetLength(), 4); in HWTEST_F() 122 ASSERT_EQ(buf->GetLength(), 1); in HWTEST_F() 160 ASSERT_EQ(buf->GetLength(), 4); in HWTEST_F() 174 ASSERT_EQ(buf->GetLength(), 0); in HWTEST_F() 187 ASSERT_EQ(buf->GetLength(), 6); in HWTEST_F() 201 ASSERT_EQ(buf->GetLength(), in HWTEST_F() [all...] |
Completed in 6 milliseconds