Searched defs:COMPARE_FIELD (Results 1 - 1 of 1) sorted by relevance
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | kernel_wrap_test.cc | 43 #define COMPARE_FIELD(actual, expected, f) \ macro 51 #define COMPARE_FIELD_SIMPLE(f) COMPARE_FIELD(arg->f, other->f, #f) 69 COMPARE_FIELD(arg[0].tv_sec, other->actime, "actime"); 70 COMPARE_FIELD(arg[1].tv_sec, other->modtime, "modtime"); 75 COMPARE_FIELD(arg[0].tv_sec, other[0].tv_sec, "[0].tv_sec"); 76 COMPARE_FIELD(arg[0].tv_nsec, other[0].tv_usec * 1000, "[0].tv_usec"); 77 COMPARE_FIELD(arg[1].tv_sec, other[1].tv_sec, "[1].tv_sec"); 78 COMPARE_FIELD(arg[1].tv_nsec, other[1].tv_usec * 1000, "[1].tv_usec"); 82 #undef COMPARE_FIELD macro
|
Completed in 35 milliseconds