Searched refs:filebuf (Results 1 – 17 of 17) sorted by relevance
/external/u-boot/tools/ |
D | mkenvimage.c | 74 unsigned char *filebuf = NULL; in main() local 164 filebuf = realloc(filebuf, filesize + readlen); in main() 165 if (!filebuf) { in main() 169 readbytes = read(txt_fd, filebuf + filesize, readlen); in main() 196 filebuf = mmap(NULL, sizeof(*envptr) * filesize, PROT_READ, in main() 198 if (filebuf == MAP_FAILED) { in main() 204 filebuf = malloc(sizeof(*envptr) * filesize); in main() 205 ret = read(txt_fd, filebuf, sizeof(*envptr) * filesize); in main() 220 if (filebuf[fp] == '\n') { in main() 221 if (fp == 0 || filebuf[fp-1] == '\n') { in main() [all …]
|
/external/ltp/testcases/kernel/sched/eas/ |
D | util.c | 60 char *filebuf, *tmp1, *tmp2; in read_capacity_sched_domains() local 73 filebuf = calloc(1, CAP_STATE_FILE_SIZE + 1); in read_capacity_sched_domains() 74 if (!filebuf) { in read_capacity_sched_domains() 78 tmp1 = filebuf; in read_capacity_sched_domains() 90 if (tmp1 - filebuf == CAP_STATE_FILE_SIZE) { in read_capacity_sched_domains() 94 tmp1 = strrchr(filebuf, '\t'); in read_capacity_sched_domains() 95 if (!tmp1 || tmp1 == filebuf ) { in read_capacity_sched_domains() 96 printf("Malformatted cap_states_file (1).\n%s\n", filebuf); in read_capacity_sched_domains() 100 if (!tmp1 || tmp1 == filebuf) { in read_capacity_sched_domains() 101 printf("Malformatted cap_states_file (2).\n%s\n", filebuf); in read_capacity_sched_domains() [all …]
|
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | seekoff.pass.cpp | 26 typedef std::filebuf::pos_type pos_type; in main() 27 std::filebuf f; in main() 47 typedef std::filebuf::pos_type pos_type; in main()
|
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/ |
D | open_path.pass.cpp | 27 std::filebuf f; in main() 33 std::filebuf f; in main()
|
D | open_pointer.pass.cpp | 22 std::filebuf f; in main() 28 std::filebuf f; in main()
|
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/ |
D | move_assign.pass.cpp | 27 std::filebuf f; in main() 34 std::filebuf f2; in main()
|
D | nonmember_swap.pass.cpp | 27 std::filebuf f; in main() 34 std::filebuf f2; in main()
|
D | member_swap.pass.cpp | 25 std::filebuf f; in main() 32 std::filebuf f2; in main()
|
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/ |
D | move.pass.cpp | 27 std::filebuf f; in main() 34 std::filebuf f2(move(f)); in main()
|
D | default.pass.cpp | 23 std::filebuf f; in main()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 1161 char *filebuf = calloc(F2FS_BLKSIZE, 2); in f2fs_write_default_quota() local 1167 if (filebuf == NULL) { in f2fs_write_default_quota() 1177 memcpy(filebuf, &ddqheader, sizeof(ddqheader)); in f2fs_write_default_quota() 1187 memcpy(filebuf + V2_DQINFOOFF, &ddqinfo, sizeof(ddqinfo)); in f2fs_write_default_quota() 1189 filebuf[1024] = 2; in f2fs_write_default_quota() 1190 filebuf[2048] = 3; in f2fs_write_default_quota() 1191 filebuf[3072] = 4; in f2fs_write_default_quota() 1192 filebuf[4096] = 5; in f2fs_write_default_quota() 1194 filebuf[5120 + 8] = 1; in f2fs_write_default_quota() 1213 memcpy(filebuf + 5136, &dqblk, sizeof(struct v2r1_disk_dqblk)); in f2fs_write_default_quota() [all …]
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/ |
D | rdbuf.pass.cpp | 24 std::filebuf* fb = fs.rdbuf(); in main()
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/ |
D | rdbuf.pass.cpp | 26 std::filebuf* fb = fs.rdbuf(); in main()
|
/external/libcxx/include/ |
D | iosfwd | 67 typedef basic_filebuf<char> filebuf; 169 typedef basic_filebuf<char> filebuf;
|
D | fstream | 64 typedef basic_filebuf<char> filebuf;
|
/external/libcxx/test/std/input.output/iostream.forward/ |
D | iosfwd.pass.cpp | 100 test<std::filebuf* >(); in main()
|
/external/clang/test/ |
D | cxx-sections.data | 1357 27.9.1.1 [filebuf] 1358 27.9.1.2 [filebuf.cons] 1359 27.9.1.3 [filebuf.assign] 1360 27.9.1.4 [filebuf.members] 1361 27.9.1.5 [filebuf.virtuals]
|