Searched defs:maybe (Results 1 – 2 of 2) sorted by relevance
| /arkcompiler/jsvm/src/ |
| D | js_native_api_v8.h | 84 #define CHECK_MAYBE_EMPTY(env, maybe, status) RETURN_STATUS_IF_FALSE((env), !((maybe).IsEmpty()), (… argument 86 #define CHECK_MAYBE_EMPTY_WITH_PREAMBLE(env, maybe, status) \ argument 89 #define CHECK_MAYBE_NOTHING(env, maybe, status) RETURN_STATUS_IF_FALSE((env), !((maybe).IsNothing()… argument 91 #define CHECK_MAYBE_NOTHING_WITH_PREAMBLE(env, maybe, status) \ argument
|
| D | js_native_api_v8.cpp | 1173 auto maybe = v8::Context::FromSnapshot(isolate, index); in OH_JSVM_CreateEnvFromSnapshot() local 1504 auto maybe = v8::JSON::Parse(env->context(), val.As<v8::String>()); in OH_JSVM_JsonParse() local 1518 auto maybe = v8::JSON::Stringify(env->context(), val); in OH_JSVM_JsonStringify() local 2798 auto maybe = in OH_JSVM_CallFunction() local 3528 auto maybe = in OH_JSVM_NewInstance() local 3921 auto maybe = v8::Promise::Resolver::New(env->context()); in OH_JSVM_CreatePromise() local 5657 v8::MaybeLocal<v8::Promise> maybe; in OH_JSVM_PromiseRegisterHandler() local
|