Home
last modified time | relevance | path

Searched refs:fwrite (Results 1 – 25 of 249) sorted by relevance

12345678910

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/afec/
H A Dfec_algo.cpp162 fwrite(&imgWidth, sizeof(unsigned short), 1, fpMeshXY); in GenMeshTable()
163 fwrite(&imgHeight, sizeof(unsigned short), 1, fpMeshXY); in GenMeshTable()
164 fwrite(&meshSizeW, sizeof(unsigned short), 1, fpMeshXY); in GenMeshTable()
165 fwrite(&meshSizeH, sizeof(unsigned short), 1, fpMeshXY); in GenMeshTable()
166 fwrite(&meshStepW, sizeof(unsigned short), 1, fpMeshXY); in GenMeshTable()
167 fwrite(&meshStepH, sizeof(unsigned short), 1, fpMeshXY); in GenMeshTable()
168 fwrite(pMeshXY, sizeof(unsigned short), meshSizeW * meshSizeH * 2 * 2, fpMeshXY); in GenMeshTable()
179 fwrite(pMeshXI, sizeof(unsigned short), meshSizeW * meshSizeH, fpMeshXI); in GenMeshTable()
190 fwrite(pMeshXF, sizeof(unsigned char), meshSizeW * meshSizeH, fpMeshXF); in GenMeshTable()
201 fwrite(pMeshYI, sizeof(unsigned short), meshSizeW * meshSizeH, fpMeshYI); in GenMeshTable()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/iq_check/src/
H A Dtobin.c36 wr_size = fwrite(objs,sizeof(objs), 1, fp); in main()
40 wr_size = fwrite(structs,sizeof(structs), 1, fp); in main()
44 wr_size = fwrite(enums,sizeof(enums), 1, fp); in main()
48 wr_size = fwrite(enum_values,sizeof(enum_values), 1, fp); in main()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dsaving.h98 std::fwrite(&header, sizeof(header),1,stream);
128 fwrite(&value, sizeof(value),count, stream);
134 fwrite(&value, sizeof(value),1, stream);
135 fwrite(value.data, sizeof(T),value.rows*value.cols, stream);
142 fwrite(&size, sizeof(size_t), 1, stream);
143 fwrite(&value[0], sizeof(T), size, stream);
/OK3568_Linux_fs/external/rktoolkit/
H A Dupdate.c130 fwrite(arg, strlen(arg), 1, command_file); in bootCommand()
131 fwrite("\n", 1, 1, command_file); in bootCommand()
147 fwrite(&msg, sizeof(msg), 1, misc_file); in bootCommand()
152 fwrite(blank, LOG_FILE_LEN, 1, log_file); in bootCommand()
/OK3568_Linux_fs/buildroot/package/patch/
H A D0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch86 - if (! fwrite (buf, sizeof *buf, chars_read, pipefp))
88 + if (! fwrite (buf, sizeof *buf, chars_read, tmpfp))
94 - if (! fwrite (buf, sizeof *buf, chars_read, pipefp))
96 + if (! fwrite (buf, sizeof *buf, chars_read, tmpfp))
107 - if (fwrite ("w\nq\n", sizeof (char), (size_t) 4, pipefp) == 0
109 + if (fwrite ("w\nq\n", sizeof (char), (size_t) 4, tmpfp) == 0
/OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/cnpy/
H A Dcnpy.h158 fwrite(&header[0], sizeof(char), header.size(), fp);
160 fwrite(data, sizeof(T), nels, fp);
257 fwrite(&local_header[0], sizeof(char), local_header.size(), fp);
258 fwrite(&npy_header[0], sizeof(char), npy_header.size(), fp);
259 fwrite(data, sizeof(T), nels, fp);
260 fwrite(&global_header[0], sizeof(char), global_header.size(), fp);
261 fwrite(&footer[0], sizeof(char), footer.size(), fp);
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/cnpy/
H A Dcnpy.h158 fwrite(&header[0], sizeof(char), header.size(), fp);
160 fwrite(data, sizeof(T), nels, fp);
257 fwrite(&local_header[0], sizeof(char), local_header.size(), fp);
258 fwrite(&npy_header[0], sizeof(char), npy_header.size(), fp);
259 fwrite(data, sizeof(T), nels, fp);
260 fwrite(&global_header[0], sizeof(char), global_header.size(), fp);
261 fwrite(&footer[0], sizeof(char), footer.size(), fp);
/OK3568_Linux_fs/kernel/scripts/
H A Dmkkrnlimg.c144 fwrite(ptr1, 1, 8, fid_out); in main()
149 cnt = fwrite(ptr1, 1, fileSize, fid_out); in main()
151 fwrite(&crcData, 1, 4, fid_out); in main()
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/cracklib/cracklib/
H A D0001-packlib.c-support-dictionary-byte-order-dependent.patch243 - fwrite((char *) &pdesc.header, sizeof(pdesc.header), 1, ifp);
248 + fwrite((char *) &tmpheader32, sizeof(tmpheader32), 1, ifp);
288 - if (!fwrite((char *) &pwp->header, sizeof(pwp->header), 1, pwp->ifp))
293 + if (!fwrite((char *) &tmpheader32, sizeof(tmpheader32), 1, pwp->ifp))
295 fprintf(stderr, "index magic fwrite failed\n");
301 - fwrite(pwp->hwms, 1, sizeof(pwp->hwms), pwp->wfp);
307 + fwrite(tmp_pwp.hwms, 1, sizeof(tmp_pwp.hwms), pwp->wfp);
315 - fwrite((char *) &datum, sizeof(datum), 1, pwp->ifp);
317 + fwrite((char *) &tmpdatum, sizeof(tmpdatum), 1, pwp->ifp);
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/
H A D0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch85 - if (! fwrite (buf, sizeof *buf, chars_read, pipefp))
87 + if (! fwrite (buf, sizeof *buf, chars_read, tmpfp))
93 - if (! fwrite (buf, sizeof *buf, chars_read, pipefp))
95 + if (! fwrite (buf, sizeof *buf, chars_read, tmpfp))
106 - if (fwrite ("w\nq\n", sizeof (char), (size_t) 4, pipefp) == 0
108 + if (fwrite ("w\nq\n", sizeof (char), (size_t) 4, tmpfp) == 0
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Ddictlist.cpp387 if (fwrite(&scis_num_, sizeof(uint32), 1, fp) != 1) in save_list()
390 if (fwrite(start_pos_, sizeof(uint32), kMaxLemmaSize + 1, fp) != in save_list()
394 if (fwrite(start_id_, sizeof(uint32), kMaxLemmaSize + 1, fp) != in save_list()
398 if (fwrite(scis_hz_, sizeof(char16), scis_num_, fp) != scis_num_) in save_list()
401 if (fwrite(scis_splid_, sizeof(SpellingId), scis_num_, fp) != scis_num_) in save_list()
404 if (fwrite(buf_, sizeof(char16), start_pos_[kMaxLemmaSize], fp) != in save_list()
H A Dngram.cpp167 if (fwrite(&idx_num_, sizeof(uint32), 1, fp) != 1) in save_ngram()
170 if (fwrite(freq_codes_, sizeof(LmaScoreType), kCodeBookSize, fp) != in save_ngram()
174 if (fwrite(lma_freq_idx_, sizeof(CODEBOOK_TYPE), idx_num_, fp) != idx_num_) in save_ngram()
H A Dspellingtrie.cpp647 if (fwrite(&spelling_size_, sizeof(uint32), 1, fp) != 1) in save_spl_trie()
650 if (fwrite(&spelling_num_, sizeof(uint32), 1, fp) != 1) in save_spl_trie()
653 if (fwrite(&score_amplifier_, sizeof(float), 1, fp) != 1) in save_spl_trie()
656 if (fwrite(&average_score_, sizeof(unsigned char), 1, fp) != 1) in save_spl_trie()
659 if (fwrite(spelling_buf_, sizeof(char) * spelling_size_, in save_spl_trie()
H A Ddicttrie.cpp116 if (fwrite(&lma_node_num_le0_, sizeof(uint32), 1, fp) != 1) in save_dict()
119 if (fwrite(&lma_node_num_ge1_, sizeof(uint32), 1, fp) != 1) in save_dict()
122 if (fwrite(&lma_idx_buf_len_, sizeof(uint32), 1, fp) != 1) in save_dict()
125 if (fwrite(&top_lmas_num_, sizeof(uint32), 1, fp) != 1) in save_dict()
128 if (fwrite(root_, sizeof(LmaNodeLE0), lma_node_num_le0_, fp) in save_dict()
132 if (fwrite(nodes_ge1_, sizeof(LmaNodeGE1), lma_node_num_ge1_, fp) in save_dict()
136 if (fwrite(lma_idx_buf_, sizeof(unsigned char), lma_idx_buf_len_, fp) != in save_dict()
/OK3568_Linux_fs/u-boot/tools/
H A Dsunxi-spl-image-builder.c138 fwrite(buffer, info->page_size + info->oob_size, 1, dst); in write_page()
174 fwrite(buffer + offs, cnt, 1, dst); in write_page()
222 fwrite(buffer, info->ecc_step_size, 1, dst); in write_page()
224 fwrite(ecc - 4, eccbytes + 4, 1, dst); in write_page()
230 fwrite(buffer, 2, 1, dst); in write_page()
/OK3568_Linux_fs/kernel/arch/x86/boot/tools/
H A Dbuild.c472 if (fwrite(buf, 1, i, dest) != i) in main()
477 if (fwrite(kernel, 1, sz, dest) != sz) in main()
483 if (fwrite("\0", 1, 1, dest) != 1) in main()
489 if (fwrite(buf, 1, 4, dest) != 4) in main()
/OK3568_Linux_fs/external/mpp/utils/
H A Dutils.c85 fwrite(base_y, 1, width, fp); in dump_mpp_frame_to_file()
96 fwrite(tmp, 1, width * height, fp); in dump_mpp_frame_to_file()
106 fwrite(base_y, 1, width, fp); in dump_mpp_frame_to_file()
109 fwrite(base_c, 1, width, fp); in dump_mpp_frame_to_file()
118 fwrite(base_y, 1, width, fp); in dump_mpp_frame_to_file()
121 fwrite(base_c, 1, width / 2, fp); in dump_mpp_frame_to_file()
124 fwrite(base_c, 1, width / 2, fp); in dump_mpp_frame_to_file()
152 fwrite(tmp_line, width * sizeof(RK_U16) , 1, fp); in dump_mpp_frame_to_file()
169 fwrite(tmp_line, width * sizeof(RK_U16) , 1, fp); in dump_mpp_frame_to_file()
184 fwrite(base_y, 1, width, fp); in dump_mpp_frame_to_file()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A D__std_stream272 if (fwrite(&__1buf, sizeof(char_type), 1, __file_) != 1)
292 if (fwrite(pbase, 1, 1, __file_) != 1)
298 if (fwrite(__extbuf, 1, __nmemb, __file_) != __nmemb)
318 return fwrite(__s, sizeof(char_type), __n, __file_);
339 if (fwrite(__extbuf, 1, __nmemb, __file_) != __nmemb)
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A D__std_stream272 if (fwrite(&__1buf, sizeof(char_type), 1, __file_) != 1)
292 if (fwrite(pbase, 1, 1, __file_) != 1)
298 if (fwrite(__extbuf, 1, __nmemb, __file_) != __nmemb)
318 return fwrite(__s, sizeof(char_type), __n, __file_);
339 if (fwrite(__extbuf, 1, __nmemb, __file_) != __nmemb)
/OK3568_Linux_fs/external/rockit/mpi/example/mod/
H A Dtest_mpi_vdec.cpp102 fwrite(base_y, 1, width, fp); in dump_frame_to_file()
105 fwrite(base_c, 1, width, fp); in dump_frame_to_file()
117 fwrite(base_y, 1, width, fp); in dump_frame_to_file()
120 fwrite(base_c, 1, width, fp); in dump_frame_to_file()
131 fwrite(base_y, 1, width * 2, fp); in dump_frame_to_file()
140 fwrite(base_y, 1, width * 3, fp); in dump_frame_to_file()
/OK3568_Linux_fs/external/rk_pcba_test/
H A Decho_ringmic_test.c318 fwrite(rf_buff, 1, rf_len, fp); in ringmic_test()
342 fwrite(pre_buff, 1, pre_len, fp); in ringmic_test()
361 fwrite((int *)buffer+16000, 4, pre_len - 32000, fp); in ringmic_test()
H A Decho_ringmic_pdm_test.c277 fwrite(rf_buff, 1, rf_len, fp); in ringmic_test()
294 fwrite(pre_buff, 1, pre_len, fp); in ringmic_test()
315 fwrite((int *)buffer+16000, 4, pre_len - 32000, fp); in ringmic_test()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dcolor.c105 return fwrite(buf, count, 1, fp) != 1; in color_fwrite_lines()
111 fwrite(buf, p ? (size_t)(p - buf) : count, 1, fp) != 1 || in color_fwrite_lines()
/OK3568_Linux_fs/external/rk_pcba_test/tinyalsa/
H A Dtinycap.c176 fwrite(&header, sizeof(struct wav_header), 1, file); in tiny_cap()
223 if (fwrite(buffer, 1, size, file) != size) { in capture_sample()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/audiorecorder/
H A Dwidget.cpp121 if (fwrite(buffer, 1, size, file) != size) { in capture_sample()
172 fwrite(&header, sizeof(struct wav_header), 1, file); in on_startBtn_clicked()

12345678910