| /foundation/ai/ai_engine/services/common/utils/file_operation/include/ |
| H A D | file_operation.h | 24 int ReadFile(const char *fileName, long long fileSize, long long countNumber, char *buffer);
|
| /foundation/systemabilitymgr/samgr_lite/samgr/adapter/ |
| H A D | memory_adapter.h | 28 void SAMGR_Free(void *buffer);
|
| /kernel/linux/common_modules/tzdriver/core/ |
| H A D | tee_compat_check.h | 29 int32_t check_teeos_compat_level(const uint32_t *buffer, uint32_t size);
|
| /kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
| H A D | hantro_jpeg.h | 9 unsigned char *buffer; member
|
| /kernel/linux/linux-5.10/drivers/staging/hievent/ |
| H A D | hievent_driver.h | 20 int hievent_write_internal(const char *buffer, size_t buf_len);
|
| /kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
| H A D | hantro_jpeg.h | 10 unsigned char *buffer; member
|
| /kernel/linux/linux-6.6/drivers/staging/hievent/ |
| H A D | hievent_driver.h | 20 int hievent_write_internal(const char *buffer, size_t buf_len);
|
| /third_party/curl/lib/ |
| H A D | sockaddr.h | 41 } buffer; member
|
| /third_party/curl/src/ |
| H A D | tool_cb_wrt.h | 32 size_t tool_write_cb(char *buffer, size_t sz, size_t nmemb, void *userdata);
|
| /third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
| H A D | fixed-dtoa.h | 37 // The buffer must be big enough to hold the result plus one terminating null 42 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and 45 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0. 46 // The returned buffer may contain digits that would be truncated from the 52 Vector<char> buffer, int* length, int* decimal_point);
|
| /third_party/icu/icu4c/source/common/ |
| H A D | ustrfmt.h | 16 uprv_itou (UChar * buffer, int32_t capacity, uint32_t i, uint32_t radix, int32_t minwidth);
|
| /third_party/node/deps/icu-small/source/common/ |
| H A D | ustrfmt.h | 16 uprv_itou (UChar * buffer, int32_t capacity, uint32_t i, uint32_t radix, int32_t minwidth);
|
| /third_party/node/deps/v8/src/base/numbers/ |
| H A D | fixed-dtoa.h | 15 // The buffer must be big enough to hold the result plus one terminating null 20 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and 23 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0. 24 // The returned buffer may contain digits that would be truncated from the 30 Vector<char> buffer, int* length,
|
| H A D | strtod.h | 13 // The buffer must only contain digits in the range [0-9]. It must not 15 V8_BASE_EXPORT double Strtod(Vector<const char> buffer, int exponent);
|
| /third_party/skia/third_party/externals/swiftshader/src/Device/ |
| H A D | Stream.hpp | 24 const void *buffer = nullptr; member
|
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| H A D | hb-ot-shape-complex-syllabic.hh | 35 hb_buffer_t *buffer,
|
| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | ustrfmt.h | 16 uprv_itou (UChar * buffer, int32_t capacity, uint32_t i, uint32_t radix, int32_t minwidth);
|
| /third_party/vixl/test/ |
| H A D | test-utils.h | 36 // In native (non-Simulator) environments, call a function at buffer + 38 void ExecuteMemory(byte* buffer, size_t size, int byte_offset = 0);
|
| /third_party/protobuf/js/experimental/runtime/kernel/ |
| H A D | buffer_decoder_helper.js | 13 return BufferDecoder.fromArrayBuffer(new Uint8Array(bytes).buffer);
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
| H A D | utf8.h | 30 // out the UTF-8 encoding into buffer, and returns the number of chars 41 // characters into buffer, however never will more than kMaxEncodedUTF8Size 44 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char);
|
| /third_party/mesa3d/include/GL/ |
| H A D | glcorearb.h | 655 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 658 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 675 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer); 678 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer); 1241 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1242 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 1286 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 1287 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 1288 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1289 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLin [all...] |
| /foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
| H A D | neural_network_runtime_test.cpp | 1130 const void *buffer = input; in HWTEST_F() local 1133 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_SetInput(nullptr, inputIndex, &m_tensor, buffer, length)); in HWTEST_F() 1152 const void *buffer = input; in HWTEST_F() local 1154 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_SetInput(nnExecutor, inputIndex, nullptr, buffer, length)); in HWTEST_F() 1174 const void *buffer = nullptr; in HWTEST_F() local 1176 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_SetInput(nnExecutor, inputIndex, &m_tensor, buffer, length)); in HWTEST_F() 1198 const void *buffer = input; in HWTEST_F() local 1199 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_SetInput(nnExecutor, inputIndex, &m_tensor, buffer, length)); in HWTEST_F() 1221 const void *buffer = input; in HWTEST_F() local 1223 OH_NN_ReturnCode ret = OH_NNExecutor_SetInput(nnExecutor, inputIndex, &m_tensor, buffer, lengt in HWTEST_F() 1236 void *buffer = input; HWTEST_F() local 1256 void *buffer = nullptr; HWTEST_F() local 1277 void *buffer = input; HWTEST_F() local [all...] |
| /foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/ |
| H A D | videodec_stable_unit_test.cpp | 74 void InBufferVoid(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in InBufferVoid() argument 78 (void)buffer; in InBufferVoid() 81 void OutBufferVoid(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OutBufferVoid() argument 85 (void)buffer; in OutBufferVoid() 164 void InBufferHandle(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in InBufferHandle() argument 170 vdec->HandleInputFrame(buffer); in InBufferHandle() 174 void OutBufferHandle(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OutBufferHandle() argument 180 vdec->HandleOutputFrame(buffer); in OutBufferHandle() 184 void InBufferOperate(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in InBufferOperate() argument 195 vdec->HandleInputFrame(buffer); in InBufferOperate() 199 OutBufferOperate(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) OutBufferOperate() argument 214 InBufferQueue(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) InBufferQueue() argument 225 OutBufferQueue(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) OutBufferQueue() argument [all...] |
| /foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
| H A D | trans_tcp_direct_message.c | 217 char *buffer, uint32_t bufLen) in PackBytes() 226 uint8_t *encData = (uint8_t *)buffer + DC_MSG_PACKET_HEAD_SIZE; in PackBytes() 237 if (memcpy_s(buffer, bufLen, packetHead, sizeof(TdcPacketHead)) != EOK) { in PackBytes() 238 TRANS_LOGE(TRANS_BYTES, "memcpy_s buffer fail"); in PackBytes() 271 char *buffer = (char *)SoftBusCalloc(bufferLen); in TransTdcPostBytes() local 272 if (buffer == NULL) { in TransTdcPostBytes() 273 TRANS_LOGE(TRANS_BYTES, "buffer malloc error."); in TransTdcPostBytes() 276 if (PackBytes(channelId, data, packetHead, buffer, bufferLen) != SOFTBUS_OK) { in TransTdcPostBytes() 278 SoftBusFree(buffer); in TransTdcPostBytes() 284 SoftBusFree(buffer); in TransTdcPostBytes() 216 PackBytes(int32_t channelId, const char *data, TdcPacketHead *packetHead, char *buffer, uint32_t bufLen) PackBytes() argument 1285 TransRecvTdcSocketData(int32_t channelId, char *buffer, int32_t bufferSize) TransRecvTdcSocketData() argument [all...] |
| /foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
| H A D | nstackx_file_manager_client.c | 45 static int32_t ReadFromFile(FileManager *fileManager, FileInfo *fileInfo, uint64_t offset, uint8_t *buffer, in ReadFromFile() argument 54 memcpy_s(buffer, bufferLength, fileInfo->tarData + offset, bufferLength) != EOK) { in ReadFromFile() 85 readLength = (uint32_t)fread(buffer, 1, bufferLength, fileInfo->fd); in ReadFromFile() 88 readLength = (uint32_t)pread(fileInfo->fd, buffer, bufferLength, (int64_t)offset); in ReadFromFile() 105 uint8_t *buffer = NULL; in GetEncryptedDataFrame() local 121 buffer = (uint8_t *)calloc(targetLenth, 1); in GetEncryptedDataFrame() 122 if (buffer == NULL) { in GetEncryptedDataFrame() 126 if (ReadFromFile(fileManager, fileInfo, fileOffset, buffer, targetLenth) != NSTACKX_EOK) { in GetEncryptedDataFrame() 140 if (AesGcmEncrypt(buffer, targetLenth, cryptPara, (uint8_t *)fileDataFrame + frameOffset, payLoadLen) == 0) { in GetEncryptedDataFrame() 148 free(buffer); in GetEncryptedDataFrame() 157 uint8_t *buffer = NULL; GetNoEncryptedDataFrame() local 192 FileDataFrame *buffer = fileList->tarFrame; GetEncryptedDataTarFrame() local [all...] |