Home
last modified time | relevance | path

Searched refs:filebuf (Results 1 – 25 of 32) sorted by relevance

12

/external/ltp/testcases/kernel/sched/eas/
Dutil.c60 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/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Dseekoff.pass.cpp27 typedef std::filebuf::pos_type pos_type; in main()
28 std::filebuf f; in main()
48 typedef std::filebuf::pos_type pos_type; in main()
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Dseekoff.pass.cpp26 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/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/
Dclose.pass.cpp26 std::filebuf f; in main()
37 std::filebuf f; in main()
Dopen_path.pass.cpp28 std::filebuf f; in main()
34 std::filebuf f; in main()
Dopen_pointer.pass.cpp22 std::filebuf f; in main()
28 std::filebuf f; in main()
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/
Dopen_path.pass.cpp27 std::filebuf f; in main()
33 std::filebuf f; in main()
Dopen_pointer.pass.cpp22 std::filebuf f; in main()
28 std::filebuf f; in main()
/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/
Dmove_assign.pass.cpp27 std::filebuf f; in main()
34 std::filebuf f2; in main()
Dmember_swap.pass.cpp25 std::filebuf f; in main()
32 std::filebuf f2; in main()
Dnonmember_swap.pass.cpp27 std::filebuf f; in main()
34 std::filebuf f2; in main()
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/
Dmove_assign.pass.cpp27 std::filebuf f; in main()
34 std::filebuf f2; in main()
Dmember_swap.pass.cpp25 std::filebuf f; in main()
32 std::filebuf f2; in main()
Dnonmember_swap.pass.cpp27 std::filebuf f; in main()
34 std::filebuf f2; in main()
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/
Dmove.pass.cpp27 std::filebuf f; in main()
34 std::filebuf f2(move(f)); in main()
Ddefault.pass.cpp23 std::filebuf f; in main()
/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.cons/
Dmove.pass.cpp27 std::filebuf f; in main()
34 std::filebuf f2(move(f)); in main()
Ddefault.pass.cpp24 std::filebuf f; in main()
/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/
Drdbuf.pass.cpp27 std::filebuf* fb = fs.rdbuf(); in main()
/external/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/
Drdbuf.pass.cpp24 std::filebuf* fb = fs.rdbuf(); in main()
/external/f2fs-tools/mkfs/
Df2fs_format.c1280 char *filebuf = calloc(F2FS_BLKSIZE, 2); in f2fs_write_default_quota() local
1286 if (filebuf == NULL) { in f2fs_write_default_quota()
1296 memcpy(filebuf, &ddqheader, sizeof(ddqheader)); in f2fs_write_default_quota()
1306 memcpy(filebuf + V2_DQINFOOFF, &ddqinfo, sizeof(ddqinfo)); in f2fs_write_default_quota()
1308 filebuf[1024] = 2; in f2fs_write_default_quota()
1309 filebuf[2048] = 3; in f2fs_write_default_quota()
1310 filebuf[3072] = 4; in f2fs_write_default_quota()
1311 filebuf[4096] = 5; in f2fs_write_default_quota()
1313 filebuf[5120 + 8] = 1; in f2fs_write_default_quota()
1332 memcpy(filebuf + 5136, &dqblk, sizeof(struct v2r1_disk_dqblk)); in f2fs_write_default_quota()
[all …]
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/
Drdbuf.pass.cpp26 std::filebuf* fb = fs.rdbuf(); in main()
/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/
Drdbuf.pass.cpp26 std::filebuf* fb = fs.rdbuf(); in main()
/external/libcxx/test/std/input.output/iostream.forward/
Diosfwd.pass.cpp100 test<std::filebuf* >(); in main()
/external/llvm-project/libcxx/test/std/input.output/iostream.forward/
Diosfwd.pass.cpp101 test<std::filebuf* >(); in main()

12