Searched refs:TEXT_ERROR_CHECK (Results 1 - 5 of 5) sorted by relevance
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontdescriptor_napi/src/ |
H A D | js_fontdescriptor.cpp | 57 TEXT_ERROR_CHECK(napi_has_named_property(env, obj, fieldName.c_str(), &hasValue) == napi_ok, return false, in CheckAndConvertProperty() 61 TEXT_ERROR_CHECK(napi_get_named_property(env, obj, fieldName.c_str(), &napiVal) == napi_ok, return false, in CheckAndConvertProperty() 71 TEXT_ERROR_CHECK(napi_has_named_property(env, obj, "weight", &hasValue) == napi_ok, return false, in ParseFontDescWeight() 75 TEXT_ERROR_CHECK(napi_get_named_property(env, obj, "weight", &napiVal) == napi_ok, return false, in ParseFontDescWeight() 103 TEXT_ERROR_CHECK(argc == ARGC_ONE, return, "The number of parameters is not equal to 1"); in MatchFontDescriptorsAsync() 105 TEXT_ERROR_CHECK(napi_typeof(env, argv[0], &valueType) == napi_ok, return, "Failed to get type"); in MatchFontDescriptorsAsync() 106 TEXT_ERROR_CHECK(valueType == napi_object, return, "Parameter type is not object"); in MatchFontDescriptorsAsync() 125 TEXT_ERROR_CHECK(CheckAndConvertProperty(env, argv[0], item.first, p.get()), return false, in MatchFontDescriptorsAsync() 130 TEXT_ERROR_CHECK(ParseFontDescWeight(env, argv[0], cb->matchDesc->weight), return, "Failed to parse weight"); in MatchFontDescriptorsAsync() 148 TEXT_ERROR_CHECK(napi_set_named_propert in SetProperty() [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_async_work.cpp | 26 TEXT_ERROR_CHECK(status == napi_ok, return, "Failed to delete async work, status:%{public}d", in ~ContextBase() 29 TEXT_ERROR_CHECK(status == napi_ok, return, "Failed to delete callback reference, status:%{public}d", in ~ContextBase() 32 TEXT_ERROR_CHECK(status == napi_ok, return, "Failed to delete self reference, status:%{public}d", in ~ContextBase() 88 TEXT_ERROR_CHECK(contextBase, return nullptr, "Context is null"); in Enqueue() 111 TEXT_ERROR_CHECK(data, return, "Data is null"); in Enqueue() 118 TEXT_ERROR_CHECK(data, return, "Data is null"); in Enqueue() 120 TEXT_ERROR_CHECK(contextBase, return, "Context is null"); in Enqueue() 141 TEXT_ERROR_CHECK(contextBase, return, "Context is null"); in GenerateOutput()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontcollection_napi/ |
H A D | js_fontcollection.cpp | 273 TEXT_ERROR_CHECK(context != nullptr, return nullptr, "Failed to get application context");
in GetResourceManager() 275 TEXT_ERROR_CHECK(resourceManager != nullptr, return nullptr, "Failed to get resource manager");
in GetResourceManager() 283 TEXT_ERROR_CHECK(resourceManager != nullptr, return false,
in ParseResourcePath() 444 TEXT_ERROR_CHECK(argv != nullptr, return, "Argv is null");
in OnLoadFontAsync() 464 TEXT_ERROR_CHECK(context != nullptr, return, "Context is null");
in OnLoadFontAsync()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | text_log.h | 150 #define TEXT_ERROR_CHECK(ret, statement, format, ...) \ macro
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_napi/ |
H A D | js_paragraph.cpp | 810 TEXT_ERROR_CHECK(argv, return, "Argv is null"); in OnLayoutAsync() 823 TEXT_ERROR_CHECK(context != nullptr, return, "Context is null"); in OnLayoutAsync()
|
Completed in 5 milliseconds