/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 913 char buffer[128]; in testCreateData2() local 916 OH_JSVM_GetValueStringUtf8(env,description, buffer, bufferSize, &copied); in testCreateData2() 1127 char buffer[128]; in testCreateData5() local 1130 OH_JSVM_GetValueStringLatin1(env,description, buffer, bufferSize, &copied); in testCreateData5() 5404 char16_t buffer[MAX_BUFFER_SIZE]; in GetValueStringUtf16() local 5407 JSVM_Status status = OH_JSVM_GetValueStringUtf16(env, args[0], buffer, bufferSize, &length); in GetValueStringUtf16() 5412 OH_JSVM_CreateStringUtf16(env, buffer, length, &result); in GetValueStringUtf16() 5888 char buffer[MAX_BUFFER_SIZE]; in SymbolFor() local 5890 OH_JSVM_GetValueStringUtf8(env, description, buffer, MAX_BUFFER_SIZE, &copied); in SymbolFor() 7342 char *buffer in CreateFunctionWithScript() local 7763 char *buffer = new char[length + 1]; JsVmThrowError() local 7781 char *buffer = new char[length + 1]; JsVmThrowTypeError() local 9641 char *buffer = (char *)malloc(length + 1); ConvertString() local 9649 char16_t buffer[128]; ConvertString() local 9660 char *buffer = (char *)malloc(length + 1); ConvertString() local 9673 char *buffer = (char *)malloc(length + 1); ConvertString() local 9959 char *buffer = (char *)malloc(length + 1); RunScriptFail() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | teximage.c | 2304 /* Check that the source buffer is complete */ in copytexture_error_check() 2396 "glCopyTexImage%dD(read buffer)", dimensions); in copytexture_error_check() 2455 * framebuffer attachment corresponding to the read buffer in copytexture_error_check() 2489 * buffer is not an integer format, or if the internalformat is not an in copytexture_error_check() 2490 * integer format and the read color buffer is an integer format." in copytexture_error_check() 2515 * format of the current color buffer is not signed integer; if in copytexture_error_check() 2517 * current color buffer is not unsigned integer; or if fixed-point in copytexture_error_check() 2518 * RGBA data is required and the format of the current color buffer in copytexture_error_check() 2571 /* Check that the source buffer is complete */ in copytexsubimage_error_check() 2652 * and the read color buffer i in copytexsubimage_error_check() 6447 _mesa_TexBuffer(GLenum target, GLenum internalFormat, GLuint buffer) _mesa_TexBuffer() argument 6478 _mesa_TexBufferRange(GLenum target, GLenum internalFormat, GLuint buffer, GLintptr offset, GLsizeiptr size) _mesa_TexBufferRange() argument 6525 _mesa_TextureBufferRangeEXT(GLuint texture, GLenum target, GLenum internalFormat, GLuint buffer, GLintptr offset, GLsizeiptr size) _mesa_TextureBufferRangeEXT() argument 6569 _mesa_TextureBuffer(GLuint texture, GLenum internalFormat, GLuint buffer) _mesa_TextureBuffer() argument 6596 _mesa_TextureBufferEXT(GLuint texture, GLenum target, GLenum internalFormat, GLuint buffer) _mesa_TextureBufferEXT() argument 6625 _mesa_MultiTexBufferEXT(GLenum texunit, GLenum target, GLenum internalFormat, GLuint buffer) _mesa_MultiTexBufferEXT() argument 6655 _mesa_TextureBufferRange(GLuint texture, GLenum internalFormat, GLuint buffer, GLintptr offset, GLsizeiptr size) _mesa_TextureBufferRange() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | aesni-intel_avx-x86_64.S | 1562 vmovdqu \XMM1, 16*0(arg3,%r11) # Write to the Ciphertext buffer 1563 vmovdqu \XMM2, 16*1(arg3,%r11) # Write to the Ciphertext buffer 1564 vmovdqu \XMM3, 16*2(arg3,%r11) # Write to the Ciphertext buffer 1565 vmovdqu \XMM4, 16*3(arg3,%r11) # Write to the Ciphertext buffer 1566 vmovdqu \XMM5, 16*4(arg3,%r11) # Write to the Ciphertext buffer 1567 vmovdqu \XMM6, 16*5(arg3,%r11) # Write to the Ciphertext buffer 1568 vmovdqu \XMM7, 16*6(arg3,%r11) # Write to the Ciphertext buffer 1569 vmovdqu \XMM8, 16*7(arg3,%r11) # Write to the Ciphertext buffer 2513 vmovdqu \XMM1, 16*0(arg3,%r11) # Write to the Ciphertext buffer 2514 vmovdqu \XMM2, 16*1(arg3,%r11) # Write to the Ciphertext buffer [all...] |
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | aesni-intel_avx-x86_64.S | 1530 vmovdqu \XMM1, 16*0(arg3,%r11) # Write to the Ciphertext buffer 1531 vmovdqu \XMM2, 16*1(arg3,%r11) # Write to the Ciphertext buffer 1532 vmovdqu \XMM3, 16*2(arg3,%r11) # Write to the Ciphertext buffer 1533 vmovdqu \XMM4, 16*3(arg3,%r11) # Write to the Ciphertext buffer 1534 vmovdqu \XMM5, 16*4(arg3,%r11) # Write to the Ciphertext buffer 1535 vmovdqu \XMM6, 16*5(arg3,%r11) # Write to the Ciphertext buffer 1536 vmovdqu \XMM7, 16*6(arg3,%r11) # Write to the Ciphertext buffer 1537 vmovdqu \XMM8, 16*7(arg3,%r11) # Write to the Ciphertext buffer 2481 vmovdqu \XMM1, 16*0(arg3,%r11) # Write to the Ciphertext buffer 2482 vmovdqu \XMM2, 16*1(arg3,%r11) # Write to the Ciphertext buffer [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Renderer11.cpp | 1456 return egl::EglBadParameter() << "client buffer is not a ID3D11Texture2D"; in getD3DTextureInfo() 1516 return egl::EglBadParameter() << "Invalid client buffer texture plane: " << plane; in getD3DTextureInfo() 1543 << "Invalid client buffer texture format: " << desc.Format; in getD3DTextureInfo() 1568 << "Invalid client buffer texture internal format: " << std::hex in getD3DTextureInfo() 1578 << "Invalid client buffer texture internal format: " << std::hex in getD3DTextureInfo() 1591 << "Invalid client buffer texture array slice: " << textureArraySlice; in getD3DTextureInfo() 1799 // a loop to draw each batch of points. An offset into the instanced data buffer is in drawArrays() 1893 // rendered. Each instance is referenced by the bound index buffer from the the caller. in drawElements() 1896 // buffer. This is not an efficent rendering mechanism and is only used on downlevel renderers in drawElements() 1906 // batch of points. An offset into the instanced data buffer i in drawElements() 1942 ID3D11Buffer *buffer = nullptr; drawArraysIndirect() local 1963 ID3D11Buffer *buffer = nullptr; drawElementsIndirect() local 3251 createExternalImageSibling(const gl::Context *context, EGLenum target, EGLClientBuffer buffer, const egl::AttributeMap &attribs) createExternalImageSibling() argument 4090 ID3D11Buffer *buffer = nullptr; dispatchComputeIndirect() local 4292 const auto &buffer = glState.getIndexedAtomicCounterBuffer(binding); markRawBufferUsage() local [all...] |
/third_party/mesa3d/include/vulkan/ |
H A D | vulkan_core.h | 2696 VkBuffer buffer; member 3119 VkBuffer buffer; member 3222 VkBuffer buffer; member 3533 VkBuffer buffer; member 3803 typedef VkResult (VKAPI_PTR *PFN_vkBindBufferMemory)(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset); 3805 typedef void (VKAPI_PTR *PFN_vkGetBufferMemoryRequirements)(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements); 3826 typedef void (VKAPI_PTR *PFN_vkDestroyBuffer)(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator); 3879 typedef void (VKAPI_PTR *PFN_vkCmdBindIndexBuffer)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType); 3883 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 3884 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndexedIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSiz 4925 VkBuffer buffer; global() member 4958 VkBuffer buffer; global() member 5034 VkBuffer buffer; global() member 6222 VkBuffer buffer; global() member 6762 VkBuffer buffer; global() member 9896 VkBuffer buffer; global() member 10375 VkBuffer buffer; global() member 13060 VkBuffer buffer; global() member 14637 VkBuffer buffer; global() member [all...] |
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan_core.h | 2432 VkBuffer buffer; member 2855 VkBuffer buffer; member 2958 VkBuffer buffer; member 3269 VkBuffer buffer; member 3539 typedef VkResult (VKAPI_PTR *PFN_vkBindBufferMemory)(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset); 3541 typedef void (VKAPI_PTR *PFN_vkGetBufferMemoryRequirements)(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements); 3562 typedef void (VKAPI_PTR *PFN_vkDestroyBuffer)(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator); 3615 typedef void (VKAPI_PTR *PFN_vkCmdBindIndexBuffer)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType); 3619 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 3620 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndexedIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSiz 4661 VkBuffer buffer; global() member 4694 VkBuffer buffer; global() member 4770 VkBuffer buffer; global() member 5955 VkBuffer buffer; global() member 8143 VkBuffer buffer; global() member 8802 VkBuffer buffer; global() member 9240 VkBuffer buffer; global() member 12010 VkBuffer buffer; global() member 13074 VkBuffer buffer; global() member [all...] |
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/ |
H A D | vulkan_core.h | 2481 VkBuffer buffer; member 2904 VkBuffer buffer; member 3007 VkBuffer buffer; member 3318 VkBuffer buffer; member 3588 typedef VkResult (VKAPI_PTR *PFN_vkBindBufferMemory)(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset); 3590 typedef void (VKAPI_PTR *PFN_vkGetBufferMemoryRequirements)(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements); 3611 typedef void (VKAPI_PTR *PFN_vkDestroyBuffer)(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator); 3664 typedef void (VKAPI_PTR *PFN_vkCmdBindIndexBuffer)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType); 3668 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 3669 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndexedIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSiz 4710 VkBuffer buffer; global() member 4743 VkBuffer buffer; global() member 4819 VkBuffer buffer; global() member 6005 VkBuffer buffer; global() member 8303 VkBuffer buffer; global() member 8962 VkBuffer buffer; global() member 9400 VkBuffer buffer; global() member 12170 VkBuffer buffer; global() member 13281 VkBuffer buffer; global() member [all...] |
/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_decoder_capi_unit_test.cpp | 279 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local 280 if (buffer == nullptr) { in InputFunc() 287 cout << "end buffer\n"; in InputFunc() 299 inputFile_.read((char *)OH_AVMemory_GetAddr(buffer), size); in InputFunc() 301 cout << "Fatal: read buffer fail" << endl; in InputFunc() 504 char buffer[dataSize]; in Configure() local 505 inputFile_.read(buffer, dataSize); in Configure() 510 OH_AVFormat_SetBuffer(format_, MediaDescriptionKey::MD_KEY_CODEC_CONFIG.data(), (uint8_t *)buffer, dataSize); in Configure() 1851 uint8_t buffer[1]; in HWTEST_F() local 1852 OH_AVFormat_SetBuffer(format_, MediaDescriptionKey::MD_KEY_IDENTIFICATION_HEADER.data(), buffer, in HWTEST_F() 1864 uint8_t buffer[1]; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_base_impl.cpp | 175 uint32_t buffer = webGlBuffer->GetBufferId(); in IsBuffer() local 176 bool result = static_cast<bool>(glIsBuffer(static_cast<GLuint>(buffer))); in IsBuffer() 177 LOGD("WebGL isBuffer %{public}u res %{public}d", buffer, result); in IsBuffer() 279 // record render buffer in BindRenderBuffer() 468 GLuint buffer = webGlBuffer->GetBufferId(); in DeleteBuffer() local 470 DeleteObject<WebGLBuffer>(env, buffer); in DeleteBuffer() 471 glDeleteBuffers(1, &buffer); in DeleteBuffer() 472 LOGD("WebGL deleteBuffer bufferId %{public}u %{public}p result %{public}u", buffer, webGlBuffer, GetError_()); in DeleteBuffer() 474 if (boundBufferIds_[i] == buffer) { in DeleteBuffer() 596 "WebGL getRenderbufferParameter can not get bound render buffer I in GetRenderBufferParameter() 2855 WebGLBuffer* buffer = WebGLObject::GetObjectInstance<WebGLBuffer>(env, object); GetValidBuffer() local [all...] |
/kernel/linux/linux-5.10/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 485 static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, 935 dma_addr_t buffer; member 946 * @buffer DMA accessible for command data. 947 * @buf_len Length, in bytes, of the data buffer. 954 * -EFAULT The buffer address is not correctly aligned. 961 dma_addr_t buffer, in mtip_exec_internal_command() 971 .buffer = buffer, in mtip_exec_internal_command() 977 /* Make sure the buffer is 8 byte aligned. This is asic specific. */ in mtip_exec_internal_command() 978 if (buffer in mtip_exec_internal_command() 958 mtip_exec_internal_command(struct mtip_port *port, struct host_to_dev_fis *fis, int fis_len, dma_addr_t buffer, int buf_len, u32 opts, unsigned long timeout) mtip_exec_internal_command() argument 1256 mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, dma_addr_t buffer_dma, unsigned int sectors) mtip_read_log_page() argument 1292 mtip_get_smart_data(struct mtip_port *port, u8 *buffer, dma_addr_t buffer_dma) mtip_get_smart_data() argument [all...] |
/kernel/linux/linux-6.6/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 473 static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, 923 dma_addr_t buffer; member 934 * @buffer DMA accessible for command data. 935 * @buf_len Length, in bytes, of the data buffer. 942 * -EFAULT The buffer address is not correctly aligned. 949 dma_addr_t buffer, in mtip_exec_internal_command() 959 .buffer = buffer, in mtip_exec_internal_command() 965 /* Make sure the buffer is 8 byte aligned. This is asic specific. */ in mtip_exec_internal_command() 966 if (buffer in mtip_exec_internal_command() 946 mtip_exec_internal_command(struct mtip_port *port, struct host_to_dev_fis *fis, int fis_len, dma_addr_t buffer, int buf_len, u32 opts, unsigned long timeout) mtip_exec_internal_command() argument 1244 mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, dma_addr_t buffer_dma, unsigned int sectors) mtip_read_log_page() argument 1280 mtip_get_smart_data(struct mtip_port *port, u8 *buffer, dma_addr_t buffer_dma) mtip_get_smart_data() argument [all...] |
/test/xts/hats/hdf/codec/hdi_component_additional/ |
H A D | codec_component_test.cpp | 73 void InitOmxCodecBuffer(OmxCodecBuffer &buffer, CodecBufferType type) in InitOmxCodecBuffer() argument 75 buffer.bufferType = type; in InitOmxCodecBuffer() 76 buffer.fenceFd = -1; in InitOmxCodecBuffer() 77 buffer.version = g_version; in InitOmxCodecBuffer() 78 buffer.allocLen = BUFFER_SIZE; in InitOmxCodecBuffer() 79 buffer.fd = FD_DEFAULT; in InitOmxCodecBuffer() 80 buffer.bufferhandle = nullptr; in InitOmxCodecBuffer() 81 buffer.pts = 0; in InitOmxCodecBuffer() 82 buffer.flag = 0; in InitOmxCodecBuffer() 83 buffer in InitOmxCodecBuffer() [all...] |
/third_party/node/deps/v8/src/diagnostics/ |
H A D | objects-printer.cc | 410 os << "\n 0-" << length << ": <mocked array buffer bytes>"; in PrintTypedArrayElements() 1477 os << "\n - buffer: " << Brief(buffer()); in JSTypedArrayPrint() 1487 if (!buffer().IsJSArrayBuffer()) { in JSTypedArrayPrint() 1488 os << "\n <invalid buffer>\n"; in JSTypedArrayPrint() 1507 os << "\n - buffer =" << Brief(buffer()); in JSDataViewPrint() 1510 if (!buffer().IsJSArrayBuffer()) { in JSDataViewPrint() 1511 os << "\n <invalid buffer>"; in JSDataViewPrint() 2688 static char* buffer in ToAsciiArray() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | capture_gles_3_0_autogen.cpp | 152 GLenum buffer, in CaptureClearBufferfi() 159 paramBuffer.addEnumParam("buffer", GLenumGroup::Buffer, ParamType::TGLenum, buffer); in CaptureClearBufferfi() 169 GLenum buffer, in CaptureClearBufferfv() 175 paramBuffer.addEnumParam("buffer", GLenumGroup::Buffer, ParamType::TGLenum, buffer); in CaptureClearBufferfv() 182 CaptureClearBufferfv_value(glState, isCallValid, buffer, drawbuffer, value, &valueParam); in CaptureClearBufferfv() 198 GLenum buffer, in CaptureClearBufferiv() 204 paramBuffer.addEnumParam("buffer", GLenumGroup::Buffer, ParamType::TGLenum, buffer); in CaptureClearBufferiv() 150 CaptureClearBufferfi(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) CaptureClearBufferfi() argument 167 CaptureClearBufferfv(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLfloat *value) CaptureClearBufferfv() argument 196 CaptureClearBufferiv(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLint *value) CaptureClearBufferiv() argument 225 CaptureClearBufferuiv(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLuint *value) CaptureClearBufferuiv() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSSBOLayoutCase.cpp | 950 src << "buffer " << block.getBlockName(); in generateDeclaration() 1356 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to get number of buffer variables and buffer blocks"); in getGLBufferLayout() 1919 deUint32 buffer; member 1922 Buffer (deUint32 buffer_, int size_) : buffer(buffer_), size(size_) {} in Buffer() 1923 Buffer (void) : buffer(0), size(0) {} in Buffer() 1997 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffers[ndx].buffer); in mapBuffers() 1999 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to map buffer"); in mapBuffers() 2014 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffers[ndx].buffer); in mapBuffers() 2029 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffers[ndx].buffer); in unmapBuffers() 2218 const deUint32 buffer = bufferManager.allocBuffer(); iterate() local [all...] |
/base/hiviewdfx/hitrace/cmd/src/ |
H A D | hitrace_cmd.cpp | 242 " -b N Sets the size of the buffer (KB) for storing and reading traces. The default \n" in ShowHelp() 243 " buffer size is 18432 KB.\n" in ShowHelp() 260 " --overwrite Sets the action to take when the buffer is full. If this option is used,\n" in ShowHelp() 317 ConsoleLog("error: buffer size is illegal input. eg: \"--buffer_size 18432\"."); in ParseLongOpt() 320 ConsoleLog("error: buffer size must be from 256 KB to " + std::to_string(maxBufferSizeKB / KB_PER_MB) + in ParseLongOpt() 403 ConsoleLog("error: buffer size is illegal input. eg: \"--buffer_size 18432\"."); in ParseOpt() 406 ConsoleLog("error: buffer size must be from 256 KB to " + std::to_string(maxBufferSizeKB / KB_PER_MB) + in ParseOpt() 501 ConsoleLog("error: zip stream buffer init failed."); in DumpCompressedTrace() 592 char buffer[blockSize]; in DumpTrace() local 594 bytesRead = TEMP_FAILURE_RETRY(read(traceFd, buffer, blockSiz in DumpTrace() [all...] |
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | process_dumper.cpp | 461 long buffer[bufLen] = {0}; in ReadStringByPtrace() local 468 buffer[i] = ret; in ReadStringByPtrace() 473 char* val = reinterpret_cast<char*>(buffer); in ReadStringByPtrace()
|
/base/global/resource_management/interfaces/js/innerkits/core/src/ |
H A D | resource_manager_napi_utils.cpp | 187 napi_value buffer; in CreateJsUint8Array() local 189 napi_status status = napi_create_arraybuffer(env, context.len_, reinterpret_cast<void **>(&data), &buffer); in CreateJsUint8Array() 191 context.SetErrorMsg("Failed to create media array buffer"); in CreateJsUint8Array() 196 status = napi_create_typedarray(env, napi_uint8_array, context.len_, buffer, 0, &result); in CreateJsUint8Array() 210 context.SetErrorMsg("Failed to copy media to buffer"); in CreateJsUint8Array()
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/ |
H A D | hks_teec.c | 168 des->tmpref.buffer = src->tmpRef.buffer;
in FillUpCommand() 226 dest->tmpRef.buffer = src->blob.data;
in FillUpArgs()
|
/base/security/security_guard/services/data_collect/sa/ |
H A D | data_collect_manager_service.cpp | 535 auto buffer = std::make_unique<char[]> (CFG_FILE_BUFF_SIZE);
in WriteRemoteFileToLocal() local 537 while ((offset = read(outputFd, buffer.get(), CFG_FILE_BUFF_SIZE)) > 0) {
in WriteRemoteFileToLocal() 544 if (write(inputFd, buffer.get(), offset) < 0) {
in WriteRemoteFileToLocal()
|
/base/startup/init/interfaces/kits/jskits/src/ |
H A D | native_parameters_watch.cpp | 85 static int GetParamValue(napi_env env, napi_value arg, napi_valuetype valueType, char *buffer, size_t &buffLen) 92 status = napi_get_value_string_utf8(env, arg, buffer, buffLen, &buffLen); 94 status = napi_get_value_int32(env, arg, reinterpret_cast<int *>(buffer));
|
/base/telephony/sms_mms/services/sms/ |
H A D | sms_interface_stub.cpp | 238 const uint8_t *buffer = reinterpret_cast<const uint8_t *>(data.ReadRawData(dataLen)); in OnSendSmsDataRequest() local 239 if (buffer == nullptr) { in OnSendSmsDataRequest() 243 int32_t result = SendMessage(slotId, desAddr, scAddr, port, buffer, dataLen, sendCallback, deliveryCallback); in OnSendSmsDataRequest()
|
/base/update/updater/services/updater_binary/ |
H A D | update_image_block.cpp | 44 static int ExtractNewData(const PkgBuffer &buffer, size_t size, size_t start, bool isFinish, const void* context)
in ExtractNewData() argument 48 uint8_t *addr = buffer.buffer;
in ExtractNewData()
|
/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/ |
H A D | camera_adapter_impl_test.cpp | 102 std::shared_ptr<CameraSurfaceBufferAdapter> buffer, 178 sptr<SurfaceBuffer> buffer = adapterImpl->GetBuffer(); in HWTEST_F() local 179 EXPECT_NE(buffer, nullptr); in HWTEST_F()
|