/kernel/linux/linux-6.6/drivers/media/cec/platform/s5p/ |
H A D | exynos_hdmi_cecctrl.c | 195 void s5p_cec_get_rx_buf(struct s5p_cec_dev *cec, u32 size, u8 *buffer) in s5p_cec_get_rx_buf() argument 201 buffer[i] = readb(cec->reg + S5P_CEC_RX_BUFF0 + (i * 4)); in s5p_cec_get_rx_buf() 202 sprintf(debug + i * 2, "%02x ", buffer[i]); in s5p_cec_get_rx_buf()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/ |
H A D | guest_print_test.c | 127 TEST_ASSERT(strcmp(uc.buffer, expected_printf) == 0, in run_test() 129 expected_printf, uc.buffer); in run_test() 132 ucall_abort(uc.buffer, expected_assert); in run_test()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | sound_oss.c | 218 struct snd_info_buffer *buffer) in snd_minor_info_oss_read() 229 snd_iprintf(buffer, "%3i: [%i-%2i]: %s\n", minor, in snd_minor_info_oss_read() 233 snd_iprintf(buffer, "%3i: : %s\n", minor, in snd_minor_info_oss_read() 217 snd_minor_info_oss_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_minor_info_oss_read() argument
|
/kernel/linux/linux-6.6/security/keys/ |
H A D | request_key_auth.c | 83 char *buffer, size_t buflen) in request_key_auth_read() 96 if (buffer && buflen > 0) { in request_key_auth_read() 100 memcpy(buffer, rka->callout_info, buflen); in request_key_auth_read() 82 request_key_auth_read(const struct key *key, char *buffer, size_t buflen) request_key_auth_read() argument
|
/kernel/liteos_a/fs/vfs/include/ |
H A D | vnode.h | 142 ssize_t (*ReadPage)(struct Vnode *vnode, char *buffer, off_t pos); 143 ssize_t (*WritePage)(struct Vnode *vnode, char *buffer, off_t pos, size_t buflen); 162 ssize_t (*Readlink)(struct Vnode *vnode, char *buffer, size_t bufLen);
|
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic79xx_proc.c | 208 ahd_proc_write_seeprom(struct Scsi_Host *shost, char *buffer, int length) in ahd_proc_write_seeprom() argument 227 printk("ahd_proc_write_seeprom: incorrect buffer size\n"); in ahd_proc_write_seeprom() 231 have_seeprom = ahd_verify_cksum((struct seeprom_config*)buffer); in ahd_proc_write_seeprom() 249 "eeprom buffer. Write failing\n"); in ahd_proc_write_seeprom() 255 ahd_write_seeprom(ahd, (u_int16_t *)buffer, start_addr, in ahd_proc_write_seeprom()
|
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/cpp/napi/ |
H A D | rdb_store_encrypt_test.cpp | 102 char *buffer = (char*)malloc((bufferSize) + 1);
in RdbFilePath() local 103 napi_get_value_string_utf8(env, args[0], buffer, bufferSize+1, &bufferSize);
in RdbFilePath() 106 sprintf(RDB_TEST_PATH, "%s", buffer);
in RdbFilePath()
|
/test/xts/device_attest/services/oem_adapter/src/ |
H A D | device_attest_oem_file.c | 128 int32_t OEMReadFile(const char* path, const char* fileName, char* buffer, uint32_t bufferLen) in OEMReadFile() argument 130 if (path == NULL || fileName == NULL || buffer == NULL || bufferLen == 0) { in OEMReadFile() 155 if (fread(buffer, fileSize, 1, fp) != 1) { in OEMReadFile()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtStabilityTest/src/ |
H A D | hdi_stability_test.cpp | 83 // map memory to get output buffer in RunModelTest() 87 auto buffer = (float *)memAddress; in RunModelTest() local 89 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in RunModelTest()
|
/test/xts/device_attest_lite/services/core/small/utils/ |
H A D | attest_utils_file_detail.c | 121 int32_t ReadFile(const char* path, const char* fileName, char* buffer, uint32_t bufferLen) in ReadFile() argument 123 if (path == NULL || fileName == NULL || buffer == NULL || bufferLen == 0) { in ReadFile() 153 if (fread(buffer, fileSize, 1, fp) != 1) { in ReadFile()
|
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtStabilityTest/src/ |
H A D | hdi_stability_test.cpp | 83 // map memory to get output buffer in RunModelTest() 87 auto buffer = static_cast<float*>(memAddress); in RunModelTest() local 89 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in RunModelTest()
|
/test/xts/hats/kernel/syscalls/fileio/copyfilerange/ |
H A D | CopyFileRangeApiTest.cpp | 78 char buffer[MAX_LEN]; in HWTEST_F() local 88 ret = read(fdOut, buffer, strlen(TEST_DATA)); in HWTEST_F() 90 EXPECT_STREQ(buffer, TEST_DATA); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | flac.c | 138 if (av_crc(av_crc_get_table(AV_CRC_8_ATM), 0, gb->buffer, in ff_flac_decode_frame_header() 211 const uint8_t *buffer) in ff_flac_parse_streaminfo() 214 init_get_bits(&gb, buffer, FLAC_STREAMINFO_SIZE*8); in ff_flac_parse_streaminfo() 210 ff_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s, const uint8_t *buffer) ff_flac_parse_streaminfo() argument
|
H A D | nvdec_h264.c | 48 const uint8_t *buffer, uint32_t size) in nvdec_h264_start_frame() 131 static int nvdec_h264_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, in nvdec_h264_decode_slice() argument 153 memcpy(ctx->bitstream + ctx->bitstream_len + 3, buffer, size); in nvdec_h264_decode_slice() 47 nvdec_h264_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) nvdec_h264_start_frame() argument
|
H A D | vaapi_vp9.c | 38 av_unused const uint8_t *buffer, in vaapi_vp9_start_frame() 129 const uint8_t *buffer, in vaapi_vp9_decode_slice() 162 buffer, size); in vaapi_vp9_decode_slice() 37 vaapi_vp9_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) vaapi_vp9_start_frame() argument 128 vaapi_vp9_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vaapi_vp9_decode_slice() argument
|
H A D | vaapi_mpeg4.c | 48 static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) in vaapi_mpeg4_start_frame() argument 155 static int vaapi_mpeg4_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) in vaapi_mpeg4_decode_slice() argument 173 buffer, size); in vaapi_mpeg4_decode_slice()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_compensationdelay.c | 123 double *buffer = (double *)s->delay_frame->extended_data[ch]; in filter_frame() local 131 buffer[w_ptr] = sample; in filter_frame() 132 dst[n] = dry * sample + wet * buffer[r_ptr]; in filter_frame()
|
/third_party/ffmpeg/libavformat/ |
H A D | latmenc.c | 43 uint8_t buffer[0x1fff + MAX_EXTRADATA_SIZE + 1024]; member 202 init_put_bits(&bs, ctx->buffer, pkt->size+1024+MAX_EXTRADATA_SIZE); in latm_write_packet() 240 avio_write(pb, ctx->buffer, len); in latm_write_packet()
|
/third_party/ffmpeg/libavformat/tests/ |
H A D | fifo_muxer.c | 161 "buffer overflow with drop_pkts_on_overflow was on.\n"); in fifo_overflow_drop_test() 202 char buffer[BUFFER_SIZE]; in run_test() local 219 snprintf(buffer, BUFFER_SIZE, in run_test() 223 ret = av_dict_set(&opts, "format_opts", buffer, 0); in run_test()
|
/third_party/alsa-utils/bat/ |
H A D | common.c | 220 * Generate buffer to be played either from input file or from generated data 226 int generate_input_data(struct bat *bat, void *buffer, int bytes, int frames) in generate_input_data() argument 236 err = fread((char *)buffer + load, 1, bytes - load, bat->fp); in generate_input_data() 259 err = generate_sine_wave(bat, frames, buffer); in generate_input_data()
|
/third_party/backends/backend/escl/ |
H A D | escl_pdf.c | 53 char buffer[1024] = { 0 }; in set_file_in_buffer() local 59 int n = fread(buffer,sizeof(char),1024,fp); in set_file_in_buffer() 67 memcpy(&(data[nx]), buffer, n); in set_file_in_buffer()
|
/third_party/backends/backend/ |
H A D | plustek-usbio.c | 98 static void dumpPic( char* name, SANE_Byte *buffer, u_long len, int is_gray ) in dumpPic() argument 106 if( NULL == buffer ) { in dumpPic() 138 fwrite( buffer, 1, len, fp ); in dumpPic()
|
/third_party/EGL/api/1.2/EGL/ |
H A D | egl.h | 146 /* EGL_RENDER_BUFFER values / BindTexImage / ReleaseTexImage buffer targets */ 166 /* Back buffer swap behaviors */ 170 /* CreatePbufferFromClientBuffer buffer types */ 231 EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, 236 EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 237 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
|
/third_party/EGL/api/1.2/ |
H A D | egl.h | 142 /* EGL_RENDER_BUFFER values / BindTexImage / ReleaseTexImage buffer targets */ 162 /* Back buffer swap behaviors */ 166 /* CreatePbufferFromClientBuffer buffer types */ 227 EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, 232 EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 233 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
|
/third_party/icu/icu4c/source/samples/layout/ |
H A D | FontMap.cpp | 44 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE]; in FontMap() local 56 while (fgets(buffer, BUFFER_SIZE, file) != NULL) { in FontMap() 60 line = strip(buffer); in FontMap()
|