Lines Matching refs:result
81 auto result = g_apiTransactClient.InitAndConnectPeer(token, callbackHandler);
82 LOG_I("End setup transaction connection, result=%{public}d", result);
87 /**Wait connection result sync if need.*/
203 * transaction if any, else return the result object. */
210 LOG_I("Start to Unmarshal transaction result");
221 napi_value result = nullptr;
223 NAPI_CALL(env, napi_get_null(env, &result));
225 NAPI_CALL(env, napi_create_array_with_length(env, reply.resultValue_.size(), &result));
229 NAPI_CALL(env, napi_set_element(env, result, idx, item));
232 NAPI_CALL(env, UnmarshalObject(env, reply.resultValue_, &result, ctx.jsThis_));
234 return result;
237 /**Call api with parameters out, wait for and return result value or throw raised exception.*/
291 // NOT:: use 'auto&' rather than 'auto', or the result will be set to copy-constructed temp-object