Lines Matching refs:result
39 int result = write(fd, msg, len);
40 if (result != len) {
41 t_error("%s write get result is %d not want %d", __func__, result, len);
73 int result = write(fd, msg, len);
74 if (result != len) {
75 t_error("%s write get result is %d not want %d", __func__, result, len);
83 * @tc.desc : test the return result of write when count is greater than the length of buf
97 int result = write(fd, msg, len);
98 if (result == -1) {
99 t_error("%s write get result is %d not want -1", __func__, result);
117 int result = write(fd, msg, len);
118 if (result != -1) {
119 t_error("%s write get result is %d not want -1", __func__, result);
141 int result = write(fd, msg, len);
142 if (result != -1) {
143 t_error("%s write get result is %d not want -1", __func__, result);