/foundation/multimedia/media_foundation/engine/include/foundation/ |
H A D | log.h | 118 #define NOK_RETURN(exec) \ 120 Status returnValue = (exec); \ 129 #define NOK_LOG(exec) \ 131 Status returnValue = (exec); \ 138 // If exec not return zero, then record the error code, especially when call system C function. 140 #define NZERO_LOG(exec) \ 142 int returnValue = (exec); \ 144 MEDIA_LOG_E("NZERO_LOG when call (" #exec "), return " PUBLIC_LOG_D32, returnValue); \ 150 #define NZERO_RETURN(exec) \ 152 int returnValue = (exec); \ [all...] |
/foundation/multimedia/media_foundation/interface/inner_api/common/ |
H A D | log.h | 194 #define NOK_RETURN(exec) \ 196 Status returnValue = (exec); \ 205 #define NOK_LOG(exec) \ 207 Status returnValue = (exec); \ 214 // If exec not return zero, then record the error code, especially when call system C function. 216 #define NZERO_LOG(exec) \ 218 int returnValue = (exec); \ 220 MEDIA_LOG_E("NZERO_LOG when call (" #exec "), return " PUBLIC_LOG_D32, returnValue); \ 226 #define NZERO_RETURN(exec) \ 228 int returnValue = (exec); \ [all...] |
/foundation/multimedia/media_foundation/engine/include/pipeline/core/ |
H A D | error_code.h | 52 #define FAIL_RETURN(exec) \ 54 ErrorCode returnValue = (exec); \ 63 #define FAIL_RETURN_MSG_IMPL(loglevel, exec, fmt, args...) \ 65 ErrorCode returnValue = (exec); \ 74 #define FAIL_RETURN_MSG(exec, fmt, args...) FAIL_RETURN_MSG_IMPL(MEDIA_LOG_E, exec, fmt, ##args) 78 #define FAIL_RETURN_MSG_W(exec, fmt, args...) FAIL_RETURN_MSG_IMPL(MEDIA_LOG_W, exec, fmt, ##args) 82 #define FAIL_LOG(exec) \ 84 ErrorCode returnValue = (exec); \ [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | js_execution_scope_defines.h | 20 #define JAVASCRIPT_EXECUTION_SCOPE(exec) \ 21 panda::LocalScope socpe(exec.vm_); 28 #define CHECK_JAVASCRIPT_SCOPE(exec, ...) \ 29 if (JsiDeclarativeEngineInstance::GetCurrentRuntime() == nullptr || exec.vm_ == nullptr) \ 31 #define JAVASCRIPT_EXECUTION_SCOPE_WITH_CHECK(exec, ...) \ 32 CHECK_JAVASCRIPT_SCOPE(exec, __VA_ARGS__) \ 33 JAVASCRIPT_EXECUTION_SCOPE(exec) 35 #define JAVASCRIPT_EXECUTION_SCOPE(exec) 38 #define JAVASCRIPT_EXECUTION_SCOPE_WITH_CHECK(exec, ...)
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/ |
H A D | av_trans_log.h | 46 #define TRUE_RETURN(exec, fmt, args...) \
48 bool retCode = (exec); \
57 #define TRUE_RETURN_V(exec, ret) \
59 bool retCode = (exec); \
67 #define TRUE_RETURN_V_MSG_E(exec, ret, fmt, args...) \
69 bool retCode = (exec); \
78 #define TRUE_RETURN_V_MSG_D(exec, ret, fmt, args...) \
80 bool retCode = (exec); \
89 #define TRUE_LOG_MSG(exec, fmt, args...) \
91 bool retCode = (exec); \
[all...] |
/foundation/multimedia/image_effect/interfaces/inner_api/native/common/ |
H A D | error_code.h | 125 #define FALSE_RETURN_MSG_W(exec, ret, fmt, args...) \ 127 bool returnValue = (exec); \ 136 #define FALSE_RETURN_E(exec, ret) \ 138 bool returnValue = (exec); \ 140 EFFECT_LOGE("FALSE_RETURN " #exec); \ 147 #define FALSE_RETURN_MSG_E(exec, ret, fmt, args...) \ 149 bool returnValue = (exec); \ 158 #define FAIL_RETURN(exec) \ 160 ErrorCode returnValue = (exec); \
|
/foundation/resourceschedule/ffrt/src/core/ |
H A D | task_io.cpp | 44 ffrt_coroutine_ptr_t coroutine = task->work.exec; in ExecuteIOTask() 71 void ffrt_submit_coroutine(void* co, ffrt_coroutine_ptr_t exec, ffrt_function_t destroy, const ffrt_deps_t* in_deps, in ffrt_submit_coroutine() argument 74 FFRT_COND_DO_ERR((exec == nullptr), return, "input invalid, exec == nullptr"); in ffrt_submit_coroutine() 83 task->work.exec = exec; in ffrt_submit_coroutine()
|
H A D | task_io.h | 25 ffrt_coroutine_ptr_t exec; member
|
/foundation/multimedia/image_effect/frameworks/native/utils/dfx/ |
H A D | effect_log.h | 82 #define CHECK_AND_RETURN(exec) \ 84 bool returnValue = (exec); \ 86 EFFECT_LOGE("CHECK_AND_RETURN " #exec); \
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/include/ |
H A D | effect_kit_napi_utils.h | 70 #define EFFECT_CREATE_CREATE_ASYNC_WORK_WITH_QOS(env, status, workName, exec, complete, aContext, work, qos) \ 75 (status) = napi_create_async_work(env, nullptr, _resource, (exec), \ 103 napi_async_execute_callback exec, napi_async_complete_callback complete, std::unique_ptr<T>& aContext, in CreateAsyncWork() 110 env, nullptr, resource, exec, complete, static_cast<void*>(aContext.get()), &work); in CreateAsyncWork() 102 CreateAsyncWork(napi_env& env, napi_status& status, const char* workName, napi_async_execute_callback exec, napi_async_complete_callback complete, std::unique_ptr<T>& aContext, napi_async_work& work) CreateAsyncWork() argument
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/ |
H A D | napi_preferences_helper.cpp | 84 auto exec = [context]() -> int { in GetPreferences() local 95 context->SetAction(env, info, input, exec, output); in GetPreferences() 108 auto exec = [context]() -> int { return PreferencesHelper::DeletePreferences(context->path); }; in DeletePreferences() local 114 context->SetAction(env, info, input, exec, output); in DeletePreferences() 127 auto exec = [context]() -> int { return PreferencesHelper::RemovePreferencesFromCache(context->path); }; in RemovePreferencesFromCache() local 133 context->SetAction(env, info, input, exec, output); in RemovePreferencesFromCache()
|
H A D | napi_preferences.cpp | 192 auto exec = [context]() -> int { in GetAll() local 201 context->SetAction(env, info, input, exec, output); in GetAll() 219 auto exec = [context]() -> int { in GetValue() local 238 context->SetAction(env, info, input, exec, output); in GetValue() 256 auto exec = [context]() -> int { in SetValue() local 269 context->SetAction(env, info, input, exec, output); in SetValue() 286 auto exec = [context]() -> int { in Delete() local 299 context->SetAction(env, info, input, exec, output); in Delete() 316 auto exec = [context]() -> int { in HasKey() local 330 context->SetAction(env, info, input, exec, outpu in HasKey() 346 auto exec = [context]() -> int { Flush() local 375 auto exec = [context]() -> int { Clear() local [all...] |
/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/src/ |
H A D | napi_preferences_helper.cpp | 83 auto exec = [context]() -> int { in GetPreferences() local 94 context->SetAction(env, info, input, exec, output); in GetPreferences() 107 auto exec = [context]() -> int { in DeletePreferences() local 115 context->SetAction(env, info, input, exec, output); in DeletePreferences() 128 auto exec = [context]() -> int { in RemovePreferencesFromCache() local 136 context->SetAction(env, info, input, exec, output); in RemovePreferencesFromCache()
|
H A D | napi_preferences.cpp | 197 auto exec = [context]() -> int { in GetAll() local 209 context->SetAction(env, info, input, exec, output); in GetAll() 227 auto exec = [context]() -> int { in GetValue() local 247 context->SetAction(env, info, input, exec, output); in GetValue() 265 auto exec = [context]() -> int { in SetValue() local 279 context->SetAction(env, info, input, exec, output); in SetValue() 296 auto exec = [context]() -> int { in Delete() local 310 context->SetAction(env, info, input, exec, output); in Delete() 327 auto exec = [context]() -> int { in HasKey() local 342 context->SetAction(env, info, input, exec, outpu in HasKey() 358 auto exec = [context]() -> int { Flush() local 388 auto exec = [context]() -> int { Clear() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | task_scheduler.h | 73 innerTask.exec = std::move(task); in At() 149 std::function<void()> exec; member 154 std::function<void()> exec; in Loop() local 167 exec = running_.exec; in Loop() 172 if (exec) { in Loop() 173 exec(); in Loop()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_store_helper.cpp | 75 auto exec = [context]() -> int { in GetRdbStore() local 86 context->SetAction(env, info, input, exec, output); in GetRdbStore() 115 auto exec = [context]() -> int { in DeleteRdbStore() local 122 context->SetAction(env, info, input, exec, output); in DeleteRdbStore()
|
H A D | napi_rdb_store.cpp | 629 auto exec = [context]() -> int { in Insert() local 639 context->SetAction(env, info, input, exec, output); in Insert() 669 auto exec = [context]() -> int { in BatchInsert() local 680 context->SetAction(env, info, input, exec, output); in BatchInsert() 699 auto exec = [context]() -> int { in Delete() local 708 context->SetAction(env, info, input, exec, output); in Delete() 736 auto exec = [context]() -> int { in Update() local 747 context->SetAction(env, info, input, exec, output); in Update() 773 auto exec = [context]() -> int { in Query() local 787 context->SetAction(env, info, input, exec, outpu in Query() 807 auto exec = [context]() -> int { RemoteQuery() local 838 auto exec = [context]() -> int { QuerySql() local 876 auto exec = [context]() -> int { ExecuteSql() local 916 auto exec = [context]() -> int { Execute() local 945 auto exec = [context]() -> int { Replace() local 968 auto exec = [context]() -> int { Backup() local 1027 auto exec = [context]() -> int { Attach() local 1068 auto exec = [context]() -> int { Detach() local 1130 auto exec = [context]() -> int { BeginTrans() local 1172 auto exec = [context]() -> int { RollBackByTxId() local 1208 auto exec = [context]() -> int { Commit() local 1244 auto exec = [context]() -> int { QueryByStep() local 1318 auto exec = [context]() -> int { Restore() local 1347 auto exec = [context]() -> int { SetDistributedTables() local 1375 auto exec = [context]() -> int { ObtainDistributedTableName() local 1421 auto exec = [queue, defer, callback, predicates, rdbStore = std::move(context->rdbStore), Sync() local 1488 auto exec = [context]() -> int { CloudSync() local 1537 auto exec = [context]() -> int { GetModifyTime() local 1567 auto exec = [context]() -> int { CleanDirtyData() local 1838 auto exec = [context]() -> int { QuerySharingResource() local 2042 auto exec = [context, isLock]() -> int { ModifyLockStatus() local 2080 auto exec = [context]() -> int { QueryLockedRow() local 2108 auto exec = [context]() -> int { LockCloudContainer() local 2136 auto exec = [context]() { UnlockCloudContainer() local 2161 auto exec = [context]() -> int { Close() local 2182 auto exec = [context]() -> int { CreateTransaction() local [all...] |
H A D | napi_transaction.cpp | 301 auto exec = [context]() -> int { in Commit() local 309 context->SetAction(env, info, input, exec, output); in Commit() 336 auto exec = [context]() -> int { in Rollback() local 344 context->SetAction(env, info, input, exec, output); in Rollback() 376 auto exec = [context]() -> int { in Delete() local 386 context->SetAction(env, info, input, exec, output); in Delete() 426 auto exec = [context]() -> int { in Update() local 437 context->SetAction(env, info, input, exec, output); in Update() 477 auto exec = [context]() -> int { in Insert() local 488 context->SetAction(env, info, input, exec, outpu in Insert() 523 auto exec = [context]() -> int { BatchInsert() local 570 auto exec = [context]() -> int { Query() local 617 auto exec = [context]() -> int { QuerySql() local 661 auto exec = [context]() -> int { Execute() local [all...] |
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/src/ |
H A D | napi_storage_helper.cpp | 78 auto exec = [context]() -> int { in GetStorage() local 92 context->SetAction(env, info, input, exec, output); in GetStorage() 151 auto exec = [context]() -> int { in DeleteStorage() local 164 context->SetAction(env, info, input, exec, output); in DeleteStorage() 197 auto exec = [context]() -> int { in RemoveStorageFromCache() local 208 context->SetAction(env, info, input, exec, output); in RemoveStorageFromCache()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/include/ |
H A D | image_napi_utils.h | 70 #define IMG_CREATE_CREATE_ASYNC_WORK(env, status, workName, exec, complete, aContext, work) \ 75 (status) = napi_create_async_work(env, nullptr, _resource, (exec), \ 85 #define IMG_CREATE_CREATE_ASYNC_WORK_WITH_QOS(env, status, workName, exec, complete, aContext, work, qos) \ 90 (status) = napi_create_async_work(env, nullptr, _resource, (exec), \
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/ |
H A D | async_call.cpp | 56 napi_value AsyncCall::Call(napi_env env, Context::ExecAction exec) in Call() argument 62 context_->ctx->exec_ = std::move(exec); in Call() 79 napi_value AsyncCall::SyncCall(napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() argument 85 context_->ctx->exec_ = std::move(exec); in SyncCall()
|
H A D | napi_datashare_helper.cpp | 129 auto exec = [ctxInfo](AsyncCall::Context *ctx) { in Napi_CreateDataShareHelper() local 139 return asyncCall.Call(env, exec); in Napi_CreateDataShareHelper() 230 auto exec = [context](AsyncCall::Context *ctx) { in Napi_Insert() local 244 return asyncCall.Call(env, exec); in Napi_Insert() 275 auto exec = [context](AsyncCall::Context *ctx) { in Napi_Delete() local 289 return asyncCall.Call(env, exec); in Napi_Delete() 330 auto exec = [context](AsyncCall::Context *ctx) { in Napi_Query() local 345 return asyncCall.Call(env, exec); in Napi_Query() 383 auto exec = [context](AsyncCall::Context *ctx) { in Napi_Update() local 397 return asyncCall.Call(env, exec); in Napi_Update() 423 auto exec = [context](AsyncCall::Context *ctx) { Napi_BatchUpdate() local 467 auto exec = [context](AsyncCall::Context *ctx) { Napi_BatchInsert() local 502 auto exec = [context](AsyncCall::Context *ctx) { Napi_NormalizeUri() local 538 auto exec = [context](AsyncCall::Context *ctx) { Napi_DenormalizeUri() local 600 auto exec = [context](AsyncCall::Context *ctx) { Napi_NotifyChange() local 726 auto exec = [context](AsyncCall::Context *ctx) { Napi_Publish() local 765 auto exec = [context](AsyncCall::Context *ctx) { Napi_GetPublishedData() local 937 auto exec = [context](AsyncCall::Context *ctx) { Napi_Close() local 1252 auto exec = [context](AsyncCall::Context *ctx) { SetSilentSwitch() local [all...] |
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | async_call.cpp | 54 napi_value AsyncCall::Call(napi_env env, Context::ExecAction exec) in Call() argument 65 context_->ctx->exec_ = std::move(exec); in Call() 79 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_JS_NAPI, "async call exec"); in Call() 83 napi_value AsyncCall::SyncCall(napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() argument 89 context_->ctx->exec_ = std::move(exec); in SyncCall()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_store.cpp | 541 auto exec = [context]() { in Insert() local 556 context->SetAction(env, info, input, exec, output); in Insert() 575 auto exec = [context]() { in BatchInsert() local 593 context->SetAction(env, info, input, exec, output); in BatchInsert() 618 auto exec = [context]() { in Delete() local 633 context->SetAction(env, info, input, exec, output); in Delete() 661 auto exec = [context]() { in Update() local 676 context->SetAction(env, info, input, exec, output); in Update() 707 auto exec = [context]() { in Query() local 723 context->SetAction(env, info, input, exec, outpu in Query() 747 auto exec = [context]() { QuerySql() local 816 auto exec = [context]() { ExecuteSql() local 846 auto exec = [context]() { Count() local 882 auto exec = [context]() { Replace() local 915 auto exec = [context]() { Attach() local 1032 auto exec = [context]() { QueryByStep() local 1117 auto exec = [context]() { SetDistributedTables() local 1150 auto exec = [context]() { ObtainDistributedTableName() local 1187 auto exec = [context]() { Sync() local [all...] |
/foundation/communication/netstack/frameworks/js/napi/socket/task_queue/src/ |
H A D | task_queue.cpp | 29 Task(TaskPriority priority, AsyncWorkExecutor exec, AsyncWorkCallback call, void *d) in Task() argument 30 : executor(exec), callback(call), data(d), priority_(priority) in Task()
|