Home
last modified time | relevance | path

Searched refs:write_cnt (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/syscalls/preadv2/
Dpreadv203.c153 unsigned int j, write_cnt = 0; in writer_thread() local
176 write_cnt++; in writer_thread()
180 tst_res(TINFO, "Number of writes %u", write_cnt); in writer_thread()
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress01.c151 int write_cnt; local
314 write_cnt = min(pagesize, bytes_left);
315 if ((c = write(fd, buf, write_cnt)) != write_cnt) {
320 "bytes\n", c, write_cnt);
Dmmapstress10.c179 int write_cnt; local
364 write_cnt = min(pagesize, bytes_left);
365 if ((c = write(fd, (char *)buf, write_cnt)) != write_cnt) {
370 "bytes\n", c, write_cnt);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc2872 SIZE_T write_cnt = res + (res < len);
2873 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt * sizeof(wchar_t));
2891 SIZE_T write_cnt = res + !*src;
2892 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt * sizeof(wchar_t));
2919 SIZE_T write_cnt = res + !*src;
2920 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt * sizeof(wchar_t));
2939 SIZE_T write_cnt = res + (res < len);
2940 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt);
2956 SIZE_T write_cnt = res + !*src;
2957 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt);
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc3458 SIZE_T write_cnt = res + (res < len);
3459 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt * sizeof(wchar_t));
3477 SIZE_T write_cnt = res + !*src;
3478 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt * sizeof(wchar_t));
3505 SIZE_T write_cnt = res + !*src;
3506 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt * sizeof(wchar_t));
3525 SIZE_T write_cnt = res + (res < len);
3526 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt);
3542 SIZE_T write_cnt = res + !*src;
3543 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dest, write_cnt);
[all …]