Home
last modified time | relevance | path

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

/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 …]