Searched refs:getOACount (Results 1 – 1 of 1) sorted by relevance
458 auto getOACount = std::make_unique<GetOACountAsyncContext>(); in GetCreatedOsAccountsCountInner() local459 getOACount->env = env; in GetCreatedOsAccountsCountInner()460 getOACount->throwErr = throwErr; in GetCreatedOsAccountsCountInner()462 if (!ParseParaGetOACount(env, cbInfo, getOACount.get()) && throwErr) { in GetCreatedOsAccountsCountInner()467 if (getOACount->callbackRef == nullptr) { in GetCreatedOsAccountsCountInner()468 napi_create_promise(env, &getOACount->deferred, &result); in GetCreatedOsAccountsCountInner()481 reinterpret_cast<void *>(getOACount.get()), in GetCreatedOsAccountsCountInner()482 &getOACount->work); in GetCreatedOsAccountsCountInner()484 napi_queue_async_work_with_qos(env, getOACount->work, napi_qos_default); in GetCreatedOsAccountsCountInner()485 getOACount.release(); in GetCreatedOsAccountsCountInner()