• Home
  • Raw
  • Download

Lines Matching full:ret

86         Result ret;  in RecvWatchDescription()  local
88 ret = json->GetInt("id", &id); in RecvWatchDescription()
89 if (ret != Result::SUCCESS) { in RecvWatchDescription()
94 ret = json->GetObject("result", &result); in RecvWatchDescription()
95 if (ret != Result::SUCCESS) { in RecvWatchDescription()
100 ret = result->GetObject("result", &watchResult); in RecvWatchDescription()
101 if (ret != Result::SUCCESS) { in RecvWatchDescription()
106 ret = watchResult->GetString("description", &numResult); in RecvWatchDescription()
107 if (ret != Result::SUCCESS) { in RecvWatchDescription()
120 Result ret; in RecvWatchType() local
122 ret = json->GetInt("id", &id); in RecvWatchType()
123 if (ret != Result::SUCCESS) { in RecvWatchType()
128 ret = json->GetObject("result", &result); in RecvWatchType()
129 if (ret != Result::SUCCESS) { in RecvWatchType()
134 ret = result->GetObject("result", &watchResult); in RecvWatchType()
135 if (ret != Result::SUCCESS) { in RecvWatchType()
140 ret = watchResult->GetString("type", &type); in RecvWatchType()
141 if (ret != Result::SUCCESS) { in RecvWatchType()
154 Result ret; in RecvWatchObject() local
156 ret = json->GetInt("id", &id); in RecvWatchObject()
157 if (ret != Result::SUCCESS) { in RecvWatchObject()
162 ret = json->GetObject("result", &result); in RecvWatchObject()
163 if (ret != Result::SUCCESS) { in RecvWatchObject()
168 ret = result->GetObject("result", &watchResult); in RecvWatchObject()
169 if (ret != Result::SUCCESS) { in RecvWatchObject()
174 ret = watchResult->GetString("type", &type); in RecvWatchObject()
175 if (ret != Result::SUCCESS) { in RecvWatchObject()
188 Result ret; in RecvWatchDescriptionByJack() local
190 ret = json->GetObject("result", &result); in RecvWatchDescriptionByJack()
191 if (ret != Result::SUCCESS) { in RecvWatchDescriptionByJack()
196 ret = result->GetArray("result", &watchResult); in RecvWatchDescriptionByJack()
197 if (ret != Result::SUCCESS) { in RecvWatchDescriptionByJack()
202 ret = watchResult->Get(0)->GetObject("value", &value); in RecvWatchDescriptionByJack()
203 if (ret != Result::SUCCESS) { in RecvWatchDescriptionByJack()
208 ret = value->GetString("description", &description); in RecvWatchDescriptionByJack()
209 if (ret != Result::SUCCESS) { in RecvWatchDescriptionByJack()