Lines Matching refs:rval

132         ssize_t  rval  = read(sSettingsFd, buffer, count);  in swapWrite()  local
134 VerifyOrDie(rval > 0, OT_EXIT_FAILURE); in swapWrite()
135 count = static_cast<uint16_t>(rval); in swapWrite()
136 rval = write(aFd, buffer, count); in swapWrite()
137 assert(rval == count); in swapWrite()
138 VerifyOrDie(rval == count, OT_EXIT_FAILURE); in swapWrite()
197 ssize_t rval; in otPlatSettingsInit() local
199 rval = read(sSettingsFd, &key, sizeof(key)); in otPlatSettingsInit()
200 VerifyOrExit(rval == sizeof(key), error = OT_ERROR_PARSE); in otPlatSettingsInit()
202 rval = read(sSettingsFd, &length, sizeof(length)); in otPlatSettingsInit()
203 VerifyOrExit(rval == sizeof(length), error = OT_ERROR_PARSE); in otPlatSettingsInit()
249 ssize_t rval; in otPlatSettingsGet() local
251 rval = read(sSettingsFd, &key, sizeof(key)); in otPlatSettingsGet()
252 VerifyOrExit(rval == sizeof(key), error = OT_ERROR_PARSE); in otPlatSettingsGet()
254 rval = read(sSettingsFd, &length, sizeof(length)); in otPlatSettingsGet()
255 VerifyOrExit(rval == sizeof(length), error = OT_ERROR_PARSE); in otPlatSettingsGet()
413 ssize_t rval; in platformSettingsDelete() local
415 rval = read(sSettingsFd, &key, sizeof(key)); in platformSettingsDelete()
416 VerifyOrExit(rval == sizeof(key), error = OT_ERROR_PARSE); in platformSettingsDelete()
418 rval = read(sSettingsFd, &length, sizeof(length)); in platformSettingsDelete()
419 VerifyOrExit(rval == sizeof(length), error = OT_ERROR_PARSE); in platformSettingsDelete()
444 rval = write(swapFd, &key, sizeof(key)); in platformSettingsDelete()
445 assert(rval == sizeof(key)); in platformSettingsDelete()
446 VerifyOrDie(rval == sizeof(key), OT_EXIT_FAILURE); in platformSettingsDelete()
448 rval = write(swapFd, &length, sizeof(length)); in platformSettingsDelete()
449 assert(rval == sizeof(length)); in platformSettingsDelete()
450 VerifyOrDie(rval == sizeof(length), OT_EXIT_FAILURE); in platformSettingsDelete()