Home
last modified time | relevance | path

Searched refs:can_read (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_vsyscall.c405 bool can_read; in test_vsys_r() local
408 can_read = true; in test_vsys_r()
410 can_read = false; in test_vsys_r()
413 if (can_read && !should_read_vsyscall) { in test_vsys_r()
416 } else if (!can_read && should_read_vsyscall) { in test_vsys_r()
/external/iperf3/src/
Dcjson.c221 #define can_read(buffer, size) ((buffer != NULL) && (((buffer)->offset + size) <= (buffer)->length)) macro
222 #define cannot_read(buffer, size) (!can_read(buffer, size))
1160 …if (can_read(input_buffer, 4) && (strncmp((const char*)buffer_at_offset(input_buffer), "null", 4) … in parse_value()
1167 …if (can_read(input_buffer, 5) && (strncmp((const char*)buffer_at_offset(input_buffer), "false", 5)… in parse_value()
1174 …if (can_read(input_buffer, 4) && (strncmp((const char*)buffer_at_offset(input_buffer), "true", 4) … in parse_value()