Lines Matching refs:C2SettingResultsBuilder
883 struct C2SettingResultsBuilder {
884 C2SettingResultsBuilder(const C2SettingResultsBuilder&) = delete;
885 C2SettingResultsBuilder(C2SettingResultsBuilder&&) = default;
886 C2SettingResultsBuilder &operator=(C2SettingResultsBuilder&&) = default;
889 inline static C2SettingResultsBuilder Ok() {
890 return C2SettingResultsBuilder(C2_OK);
894 inline static C2SettingResultsBuilder BadState() {
895 return C2SettingResultsBuilder(C2_BAD_STATE);
899 inline static C2SettingResultsBuilder TimedOut() {
900 return C2SettingResultsBuilder(C2_TIMED_OUT);
904 inline static C2SettingResultsBuilder Corrupted() {
905 return C2SettingResultsBuilder(C2_CORRUPTED);
908 inline static C2SettingResultsBuilder NoMemory(C2Param::Index index_ __unused) {
910 return C2SettingResultsBuilder(C2_NO_MEMORY);
915 C2SettingResultsBuilder(C2SettingResult &&result);
918 C2SettingResultsBuilder plus(C2SettingResultsBuilder&& results);
927 C2SettingResultsBuilder(c2_status_t status);