Home
last modified time | relevance | path

Searched refs:buffer (Results 6976 - 7000 of 16004) sorted by relevance

1...<<271272273274275276277278279280>>...641

/third_party/skia/src/ports/
H A DSkOSFile_stdio.cpp121 size_t sk_fwrite(const void* buffer, size_t byteCount, FILE* f) { in sk_fwrite() argument
123 return fwrite(buffer, 1, byteCount, f); in sk_fwrite()
/third_party/skia/third_party/externals/brotli/python/
H A Dbro.py23 'raw' buffer object suitable for reading/writing binary data from/to it.
41 # get 'buffer' attribute to read/write binary data on python3.x
42 if hasattr(stdio, 'buffer'):
43 return stdio.buffer
46 return orig_stdio.buffer
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPURenderBundleEncoder.h51 interop::Interface<interop::GPUBuffer> buffer,
57 interop::Interface<interop::GPUBuffer> buffer,
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/
H A DWGPUHelpers.h99 const Ref<BufferBase>& buffer,
109 Ref<BufferBase> buffer; member
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftsystem.c202 * buffer ::
203 * The address of buffer to store the read data.
216 unsigned char* buffer, in ft_ansi_stream_io()
230 return (unsigned long)ft_fread( buffer, 1, count, file ); in ft_ansi_stream_io()
214 ft_ansi_stream_io( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ) ft_ansi_stream_io() argument
/third_party/skia/third_party/externals/freetype/src/type42/
H A Dt42drivr.c62 FT_Pointer buffer, in t42_get_glyph_name()
65 FT_STRCPYN( buffer, face->type1.glyph_names[glyph_index], buffer_max ); in t42_get_glyph_name()
60 t42_get_glyph_name( T42_Face face, FT_UInt glyph_index, FT_Pointer buffer, FT_UInt buffer_max ) t42_get_glyph_name() argument
/third_party/skia/third_party/externals/icu/source/common/
H A Dcstring.h104 T_CString_integerToString(char *buffer, int32_t n, int32_t radix);
107 T_CString_int64ToString(char *buffer, int64_t n, uint32_t radix);
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DQueueWriteBufferValidationTests.cpp93 // Test WriteBuffer with destroyed buffer
102 // Test WriteBuffer with mapped buffer
110 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F() local
113 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buffer, 0, &value, sizeof(value))); in TEST_F()
/third_party/skia/modules/canvaskit/
H A Dskottie.js35 var buffer = assets[key];
36 var data = new Uint8Array(buffer);
/third_party/skia/experimental/skottiekit/
H A Dinterface.js80 var buffer = assets[key];
81 var data = new Uint8Array(buffer);
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureUtil.hpp93 tcu::PixelBufferAccess getTextureBufferEffectiveRefTexture (TextureBuffer& buffer, int maxTextureBufferSize);
94 tcu::ConstPixelBufferAccess getTextureBufferEffectiveRefTexture (const TextureBuffer& buffer, int maxTextureBufferSize);
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_file_test.cpp784 uint8_t buffer[20] = {0}; in HWTEST_F() local
785 write(fd, buffer, 20); in HWTEST_F()
819 uint8_t buffer[40] = {0}; in HWTEST_F() local
820 write(fd, buffer, 40); in HWTEST_F()
854 uint8_t buffer[40] = {0}; in HWTEST_F() local
855 write(fd, buffer, 40); in HWTEST_F()
1185 uint8_t buffer[40] = {1}; in HWTEST_F() local
1186 write(fd, buffer, 40); in HWTEST_F()
1208 uint8_t buffer[40] = {1}; in HWTEST_F() local
1209 write(fd, buffer, 4 in HWTEST_F()
1383 uint8_t buffer[16] = {}; HWTEST_F() local
1732 uint8_t buffer[40] = {1}; HWTEST_F() local
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/
H A Dneural_network_core_test.cpp454 const void* buffer = nullptr; in HWTEST_F() local
457 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(compilation, buffer, length, modelSize); in HWTEST_F()
463 * @tc.desc: Verify the buffer is nullptr of the OH_NNCompilation_ExportCacheToBuffer function.
470 const void* buffer = nullptr; in HWTEST_F() local
473 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, length, modelSize); in HWTEST_F()
487 char buffer[SIZE_ONE]; in HWTEST_F() local
490 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, length, modelSize); in HWTEST_F()
504 char buffer[SIZE_ONE]; in HWTEST_F() local
507 OH_NN_ReturnCode ret = OH_NNCompilation_ExportCacheToBuffer(nnCompilation, buffer, length, modelSize); in HWTEST_F()
521 char buffer[SIZE_ON in HWTEST_F() local
537 char buffer[SIZE_ONE]; HWTEST_F() local
553 char buffer[SIZE_ONE]; HWTEST_F() local
574 const void* buffer = nullptr; HWTEST_F() local
589 const void* buffer = nullptr; HWTEST_F() local
605 char buffer[SIZE_ONE]; HWTEST_F() local
621 char buffer[SIZE_ONE]; HWTEST_F() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Datmel-sha.c108 u8 buffer[SHA_BUFFER_LEN + SHA512_BLOCK_SIZE] __aligned(sizeof(u32));
313 * Check if count <= 0 because the buffer is full or in atmel_sha_append_sg()
326 scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, ctx->sg, in atmel_sha_append_sg()
386 *(ctx->buffer + ctx->bufcnt) = 0x80; in atmel_sha_fill_padding()
387 memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen-1); in atmel_sha_fill_padding()
388 memcpy(ctx->buffer + ctx->bufcnt + padlen, bits, 16); in atmel_sha_fill_padding()
396 *(ctx->buffer + ctx->bufcnt) = 0x80; in atmel_sha_fill_padding()
397 memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen-1); in atmel_sha_fill_padding()
398 memcpy(ctx->buffer + ctx->bufcnt + padlen, &bits[1], 8); in atmel_sha_fill_padding()
566 const u32 *buffer in atmel_sha_xmit_cpu() local
1613 u8 buffer[SHA512_BLOCK_SIZE]; global() member
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_device.c946 /* Our buffer size fields allow only this much */ in tu_get_physical_device_properties_1_1()
1104 * allowing a larger buffer. Our buffer sizes are 64-bit though, so in tu_get_physical_device_properties_1_3()
1106 * a 4GB buffer. in tu_get_physical_device_properties_1_3()
1727 /* A single command buffer could be submitted several times, but we in tu_u_trace_submission_data_create()
1730 * a new timestamp buffer on every submit of reusable command buffer. in tu_u_trace_submission_data_create()
2452 TU_FROM_HANDLE(tu_buffer, buffer, pInfo->buffer); in tu_GetBufferMemoryRequirements2()
2454 tu_get_buffer_memory_requirements(buffer in tu_GetBufferMemoryRequirements2()
2607 struct tu_buffer *buffer; tu_CreateBuffer() local
[all...]
/arkcompiler/ets_runtime/ecmascript/serializer/
H A Dvalue_serializer.cpp134 void *buffer = detachNative(info->env, info->nativeValue, info->hint, info->detachData); in WriteValue() local
135 data_->EmitU64(reinterpret_cast<uint64_t>(buffer), static_cast<size_t>(entry.first)); in WriteValue()
324 LOG_ECMA(ERROR) << "ValueSerialize: don't support serialize detached array buffer"; in SerializeJSArrayBufferPrologue()
343 LOG_ECMA(ERROR) << "ValueSerialize: don't support clone arraybuffer has external allocated buffer, \ in SerializeJSArrayBufferPrologue()
368 LOG_ECMA(ERROR) << "ValueSerialize: don't support serialize detached or transfer shared array buffer"; in SerializeJSSharedArrayBufferPrologue()
375 void *buffer = np->GetExternalPointer(); in SerializeJSSharedArrayBufferPrologue() local
376 if (JSSharedMemoryManager::GetInstance()->CreateOrLoad(&buffer, arrayLength)) { in SerializeJSSharedArrayBufferPrologue()
377 LOG_ECMA(ERROR) << "ValueSerialize: can't find buffer form shared memory pool"; in SerializeJSSharedArrayBufferPrologue()
382 data_->insertSharedArrayBuffer(reinterpret_cast<uintptr_t>(buffer)); in SerializeJSSharedArrayBufferPrologue()
391 LOG_ECMA(ERROR) << "ValueSerialize: don't support serialize detached sendable array buffer"; in SerializeJSSendableArrayBufferPrologue()
[all...]
/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_loop_test.cpp98 char buffer[bufSize] = {0}; in OnFileDescriptorEvent() local
106 int len = read(inotifyFd_, buffer, bufSize); in OnFileDescriptorEvent()
111 offset = buffer; in OnFileDescriptorEvent()
112 event = reinterpret_cast<struct inotify_event *>(buffer); in OnFileDescriptorEvent()
113 while ((reinterpret_cast<char *>(event) - buffer) < len) { in OnFileDescriptorEvent()
/base/account/os_account/services/accountmgr/test/moduletest/common/
H A Dbundle_manager_adapter_module_test.cpp282 void *buffer = nullptr; in HWTEST_F() local
284 bool result = g_bundleManagerAdapterProxyRemoteNull->SendData(buffer, 10, nullptr); in HWTEST_F()
287 result = g_bundleManagerAdapterProxyRemoteNull->SendData(buffer, 0, "test_data"); in HWTEST_F()
291 result = g_bundleManagerAdapterProxyRemoteNull->SendData(buffer, -1, "test_data"); in HWTEST_F()
294 result = g_bundleManagerAdapterProxyRemoteNull->SendData(buffer, 10, "test_data"); in HWTEST_F()
/base/startup/init/test/unittest/innerkits/
H A Dinnerkits_unittest.cpp40 void CmdOnRecvMessage(const TaskHandle task, const uint8_t *buffer, uint32_t buffLen);
45 void CmdClientOnRecvMessage(const TaskHandle task, const uint8_t *buffer, uint32_t buffLen);
49 int BuildSendData(char *buffer, size_t size, const char *serviceName, bool hold, bool poll);
464 char buffer[MAX_FD_HOLDER_BUFFER + 1] = {}; in HWTEST_F() local
471 .iov_base = buffer, in HWTEST_F()
/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
H A Dhdi_session.cpp174 static int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle *buffer, int32_t fence) in SetDisplayClientBuffer() argument
177 return HdiSession::GetInstance().CallDisplayFunction(devId, &HdiDisplay::SetDisplayClientBuffer, buffer, fence); in SetDisplayClientBuffer()
224 static int32_t SetVirtualDisplayBuffer(uint32_t devId, BufferHandle *buffer, int32_t releaseFence) in SetVirtualDisplayBuffer() argument
298 static int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle *buffer, int32_t fence) in SetLayerBuffer() argument
301 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerBuffer, buffer, fence); in SetLayerBuffer()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_session.cpp196 static int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle *buffer, int32_t fence) in SetDisplayClientBuffer() argument
199 return HdiSession::GetInstance().CallDisplayFunction(devId, &HdiDisplay::SetDisplayClientBuffer, buffer, fence); in SetDisplayClientBuffer()
246 static int32_t SetVirtualDisplayBuffer(uint32_t devId, BufferHandle *buffer, int32_t releaseFence) in SetVirtualDisplayBuffer() argument
319 static int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle *buffer, int32_t fence) in SetLayerBuffer() argument
322 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerBuffer, buffer, fence); in SetLayerBuffer()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_session.cpp196 static int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle *buffer, int32_t fence) in SetDisplayClientBuffer() argument
199 return HdiSession::GetInstance().CallDisplayFunction(devId, &HdiDisplay::SetDisplayClientBuffer, buffer, fence); in SetDisplayClientBuffer()
246 static int32_t SetVirtualDisplayBuffer(uint32_t devId, BufferHandle *buffer, int32_t releaseFence) in SetVirtualDisplayBuffer() argument
320 static int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle *buffer, int32_t fence) in SetLayerBuffer() argument
323 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerBuffer, buffer, fence); in SetLayerBuffer()
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Ddisplay_composer_vdi_impl.cpp146 int32_t DisplayComposerVdiImpl::SetDisplayClientBuffer(uint32_t devId, const BufferHandle& buffer, int32_t fence) in SetDisplayClientBuffer() argument
149 int32_t ec = composerModel_->CallDisplayFunction(devId, &HdiDisplay::SetDisplayClientBuffer, &buffer, fence); in SetDisplayClientBuffer()
207 int32_t DisplayComposerVdiImpl::SetVirtualDisplayBuffer(uint32_t devId, const BufferHandle& buffer, const int32_t fence) in SetVirtualDisplayBuffer() argument
316 int32_t DisplayComposerVdiImpl::SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle& buffer, in SetLayerBuffer() argument
320 const BufferHandle* holder = &buffer; in SetLayerBuffer()
H A Dhdi_session.cpp199 static int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle *buffer, int32_t fence) in SetDisplayClientBuffer() argument
202 return HdiSession::GetInstance().CallDisplayFunction(devId, &HdiDisplay::SetDisplayClientBuffer, buffer, fence); in SetDisplayClientBuffer()
249 static int32_t SetVirtualDisplayBuffer(uint32_t devId, BufferHandle *buffer, int32_t releaseFence) in SetVirtualDisplayBuffer() argument
323 static int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle *buffer, int32_t fence) in SetLayerBuffer() argument
326 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerBuffer, buffer, fence); in SetLayerBuffer()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Dhdi_session.cpp199 static int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle *buffer, int32_t fence) in SetDisplayClientBuffer() argument
202 return HdiSession::GetInstance().CallDisplayFunction(devId, &HdiDisplay::SetDisplayClientBuffer, buffer, fence); in SetDisplayClientBuffer()
249 static int32_t SetVirtualDisplayBuffer(uint32_t devId, BufferHandle *buffer, int32_t releaseFence) in SetVirtualDisplayBuffer() argument
323 static int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle *buffer, int32_t fence) in SetLayerBuffer() argument
326 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerBuffer, buffer, fence); in SetLayerBuffer()

Completed in 27 milliseconds

1...<<271272273274275276277278279280>>...641