/foundation/ability/idl_tool/util/ |
H A D | options.h | 87 if (!domainId_.IsNull() && !logTag_.IsNull()) { in DoLogOn() 105 if (!domainId_.IsNull() && !logTag_.IsNull()) { in DoLegalLog() 107 } else if (domainId_.IsNull() && logTag_.IsNull()) { in DoLegalLog()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_flex_bridge.cpp | 37 if (!directionArg->IsNull() && directionArg->IsNumber()) { in SetFlexInitialize() 40 if (!wrapArg->IsNull() && wrapArg->IsNumber()) { in SetFlexInitialize() 43 if (!justifyContentArg->IsNull() && justifyContentArg->IsNumber()) { in SetFlexInitialize() 46 if (!alignItemsArg->IsNull() && alignItemsArg->IsNumber()) { in SetFlexInitialize() 49 if (!alignContentArg->IsNull() && alignContentArg->IsNumber()) { in SetFlexInitialize() 54 if (!crossArg->IsNull() && !crossArg->IsUndefined()) { in SetFlexInitialize() 62 if (!mainArg->IsNull() && !mainArg->IsUndefined()) { in SetFlexInitialize()
|
H A D | arkts_native_timepicker_bridge.cpp | 65 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) {
in SetTextStyle() 69 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) {
in SetTextStyle() 77 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) {
in SetTextStyle() 91 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) {
in SetTextStyle() 114 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) {
in SetSelectedTextStyle() 118 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) {
in SetSelectedTextStyle() 126 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) {
in SetSelectedTextStyle() 140 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) {
in SetSelectedTextStyle() 163 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) {
in SetDisappearTextStyle() 167 if (fontSizeArg->IsNull() || fontSizeAr in SetDisappearTextStyle() [all...] |
H A D | arkts_native_alphabet_indexer_bridge.cpp | 47 if (!fontSizeArg->IsNull()) { in SetPopupItemFont() 55 if (!weightArg->IsNull() && !weightArg->IsUndefined()) { in SetPopupItemFont() 90 bool isUndefinedValue = (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && in SetSelectedFont() 91 (weightArg->IsNull() || weightArg->IsUndefined()) && in SetSelectedFont() 92 (fontFamilyArg->IsNull() || fontFamilyArg->IsUndefined()) && in SetSelectedFont() 93 (styleValArg->IsNull() || styleValArg->IsUndefined()); in SetSelectedFont() 99 if (!fontSizeArg->IsNull() && !fontSizeArg->IsUndefined() && in SetSelectedFont() 105 if (!weightArg->IsNull() && !weightArg->IsUndefined() && (weightArg->IsString(vm) || weightArg->IsNumber())) { in SetSelectedFont() 113 if (!styleValArg->IsNull() && !styleValArg->IsUndefined() && styleValArg->IsNumber()) { in SetSelectedFont() 142 bool isUndefinedValue = (fontSizeArg->IsNull() || fontSizeAr in SetPopupFont() [all...] |
H A D | arkts_native_textpicker_bridge.cpp | 150 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, textColor)) {
in SetTextStyle() 154 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) {
in SetTextStyle() 162 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) {
in SetTextStyle() 176 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) {
in SetTextStyle() 199 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, textColor)) {
in SetSelectedTextStyle() 203 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) {
in SetSelectedTextStyle() 211 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) {
in SetSelectedTextStyle() 225 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) {
in SetSelectedTextStyle() 248 if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, textColor)) {
in SetDisappearTextStyle() 252 if (fontSizeArg->IsNull() || fontSizeAr in SetDisappearTextStyle() [all...] |
H A D | arkts_native_frame_node_bridge.cpp | 50 CHECK_NULL_RETURN(!isExpandedArg.IsNull(), true); in GetIsExpanded() 64 CHECK_NULL_RETURN(!firstArg.IsNull(), nullptr); in GetFrameNode() 73 CHECK_NULL_RETURN(!thirdArg.IsNull(), -1); in GetInstanceId() 129 CHECK_NULL_RETURN(!firstArg.IsNull(), panda::BooleanRef::New(vm, false)); in IsModifiable() 379 CHECK_NULL_RETURN(!firstArg.IsNull(), panda::BooleanRef::New(vm, true)); 390 CHECK_NULL_RETURN(!firstArg.IsNull(), panda::BooleanRef::New(vm, true)); 395 if (thirdArg.IsNull()) { 407 CHECK_NULL_RETURN(!firstArg.IsNull(), panda::JSValueRef::Undefined(vm)); 418 CHECK_NULL_RETURN(!firstArg.IsNull(), panda::JSValueRef::Undefined(vm)); 428 CHECK_NULL_RETURN(!firstArg.IsNull(), pand [all...] |
H A D | arkts_native_image_animator_bridge.cpp | 204 if (secondArg->IsNull() || !secondArg->IsArray(vm) || thirdArg->IsNull() || !thirdArg->IsArray(vm) || in SetImages() 205 fourthArg->IsNull() || !fourthArg->IsArray(vm) || fifthArg->IsNull() || !fifthArg->IsArray(vm) || in SetImages() 206 sixthArg->IsNull() || !sixthArg->IsArray(vm) || seventhArg->IsNull() || !seventhArg->IsArray(vm)) { in SetImages()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/ |
H A D | json_common.cpp | 26 while (!node.IsNull()) { in GetValueInSameLevel() 31 if (node.GetNext().IsNull()) { in GetValueInSameLevel() 42 while (!node.IsNull()) { in GetValueInSameLevel() 48 if (node.GetNext().IsNull()) { in GetValueInSameLevel() 61 if (node.GetChild().IsNull()) { in CheckLeafNode() 65 if (!node.GetChild().IsNull()) { in CheckLeafNode() 69 if (!node.GetNext().IsNull()) { in CheckLeafNode() 78 if (node.IsNull()) { in GetLeafValue() 117 if (!item.GetChild().IsNull()) { in CheckNode() 120 if (!item.GetNext().IsNull()) { in CheckNode() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_side_bar.cpp | 105 if (!info[0]->IsNull()) { in Create() 122 if (info[0]->IsNull() || info[0]->IsUndefined()) { in SetShowControlButton() 139 if (info[0]->IsNull() || info[0]->IsUndefined()) { in JsSideBarPosition() 255 if (icon->IsUndefined() || icon->IsNull()) { in SetControlButtonIcon() 288 if (info[0]->IsNull() || info[0]->IsUndefined()) { in JsControlButton() 304 if (icons->IsNull() || icons->IsUndefined()) { in JsControlButton() 328 if (info[0]->IsNull() || info[0]->IsUndefined()) { in JsDivider() 332 } else if (info[0]->IsNull()) { in JsDivider() 371 if (info[0]->IsNull()) { in JsMinContentWidth() 395 if (!width->IsNull() in ParseControlButtonOG() [all...] |
H A D | js_badge.cpp | 75 if (!value->IsNull() && value->IsString()) { in CreateBadgeParameters() 81 if (!position->IsNull() && position->IsNumber()) { in CreateBadgeParameters() 84 } else if (!position->IsNull() && position->IsObject()) { in CreateBadgeParameters() 103 if (!style->IsNull() && style->IsObject()) { in CreateBadgeParameters() 191 if (!count->IsNull() && count->IsNumber()) { in CreateBadgeParameters() 195 if (!maxCount->IsNull() && maxCount->IsNumber()) { in CreateBadgeParameters()
|
H A D | js_progress.cpp | 82 if (jsStyle->IsNull() || jsStyle->IsUndefined()) { in Create() 148 if (info[0]->IsNull() || info[0]->IsUndefined() || !ParseJsColor(info[0], colorVal)) { in SetColor() 263 if (strokeWidth->IsUndefined() || strokeWidth->IsNull() || in JsSetRingStyleOptions() 278 if (shadow->IsUndefined() || shadow->IsNull() || !ParseJsBool(shadow, paintShadow)) { in JsSetRingStyleOptions() 288 if (status->IsUndefined() || status->IsNull() || !ParseJsString(status, statusStr)) { in JsSetRingStyleOptions() 368 if (jsContext->IsUndefined() || jsContext->IsNull() || (!ParseJsString(jsContext, text))) { in JsSetCapsuleStyle() 439 if (!fontWeight->IsNull()) { in JsSetFont() 452 if (!family->IsNull() && family->IsString()) { in JsSetFont() 460 if (!style->IsNull() && style->IsNumber()) { in JsSetFont() 470 if (param->IsNull() || para in ConvertGradientColor() [all...] |
H A D | js_slider.cpp | 147 if (!getValue->IsNull() && getValue->IsNumber()) { in Create() 149 } else if (!getValue->IsNull() && getValue->IsObject()) { in Create() 156 if (!getMin->IsNull() && getMin->IsNumber()) { in Create() 160 if (!getMax->IsNull() && getMax->IsNumber()) { in Create() 164 if (!getStep->IsNull() && getStep->IsNumber()) { in Create() 168 if (!isReverse->IsNull() && isReverse->IsBoolean()) { in Create() 185 if (!getStyle->IsNull() && getStyle->IsNumber()) { in Create() 199 if (!direction->IsNull() && direction->IsNumber()) { in Create() 252 if (info[0]->IsNull() || info[0]->IsUndefined() || !ParseJsColor(info[0], colorVal)) { in SetTrackColor() 268 if (param->IsNull() || para in ConvertGradientColor() [all...] |
H A D | js_camera.cpp | 29 if (!idValue->IsNull() && !idValue->IsEmpty()) { in Create() 35 if (!resolutionWidthValue->IsNull() && !resolutionWidthValue->IsEmpty() in Create() 42 if (!resolutionHeightValue->IsNull() && !resolutionHeightValue->IsEmpty() && in Create()
|
H A D | js_scrollable.cpp | 30 if (jsValue->IsNull() || jsValue->IsUndefined() || !JSViewAbstract::ParseJsInt32(jsValue, edgeEffect) || in ParseEdgeEffect() 40 if ((!(jsValue->IsNull() || jsValue->IsUndefined())) && jsValue->IsObject()) { in ParseAlwaysEnable() 81 if (!JSViewAbstract::ParseJsDimensionVp(info[0], scrollBarWidth) || info[0]->IsNull() || info[0]->IsUndefined() || in ParseBarWidth()
|
H A D | js_menu_item.cpp | 238 if (!size->IsNull()) { in ContentFont() 247 if (!jsWeight->IsNull()) { in ContentFont() 256 if (!jsStyle->IsNull()) { in ContentFont() 267 if (!jsFamily->IsNull() && jsFamily->IsString()) { in ContentFont() 300 if (!size->IsNull()) { in LabelFont() 309 if (!jsWeight->IsNull()) { in LabelFont() 318 if (!jsStyle->IsNull()) { in LabelFont() 329 if (!jsFamily->IsNull() && jsFamily->IsString()) { in LabelFont()
|
H A D | js_form.cpp | 91 if (!dimension->IsNull() && !dimension->IsEmpty()) { in Create() 95 if (!wantValue->IsNull() && wantValue->IsObject()) { in Create() 98 if (!renderingMode->IsNull() && !renderingMode->IsEmpty()) { in Create() 101 if (!shape->IsNull() && !shape->IsEmpty()) { in Create() 119 if (!widthValue->IsNull() && !widthValue->IsEmpty()) { in SetSize() 128 if (!heightValue->IsNull() && !heightValue->IsEmpty()) { in SetSize()
|
H A D | js_layout_manager.cpp | 42 if (args.Length() < 1 || args[0]->IsUndefined() || args[0]->IsNull() || !args[0]->IsNumber()) { in GetLineMetrics() 98 if (!textRangeVal->IsObject() || textRangeVal->IsNull() || textRangeVal->IsUndefined()) { in GetRectsForRange() 108 if (!startVal->IsNull() && startVal->IsNumber()) { in GetRectsForRange() 111 if (!endVal->IsNull() && endVal->IsNumber()) { in GetRectsForRange() 116 if (widthStyleVal->IsNull() || widthStyleVal->IsUndefined()) { in GetRectsForRange() 121 if (heightStyleVal->IsNull() || heightStyleVal->IsUndefined()) { in GetRectsForRange()
|
H A D | js_select.cpp | 229 if (info[0]->IsNull() || info[0]->IsUndefined()) { in Font() 386 if (info[0]->IsNull() || info[0]->IsUndefined()) { in FontColor() 407 if (info[0]->IsUndefined() || info[0]->IsNull()) { in SelectedOptionBgColor() 422 if (info[0]->IsNull() || info[0]->IsUndefined()) { in SelectedOptionFont() 443 if (info[0]->IsNull() || info[0]->IsUndefined()) { in SelectedOptionFontColor() 463 if (info[0]->IsUndefined() || info[0]->IsNull()) { in OptionBgColor() 479 if (info[0]->IsNull() || info[0]->IsUndefined()) { in OptionFont() 500 if (info[0]->IsUndefined() || info[0]->IsNull()) { in OptionFontColor() 671 if (!(info[0]->IsUndefined() || info[0]->IsNull())) { in SetMenuAlign() 680 if (info[1]->IsUndefined() || info[1]->IsNull()) { in SetMenuAlign() [all...] |
H A D | js_stepper_item.cpp | 85 (info[0]->IsUndefined() || info[0]->IsNull())) { in SetPrevLabel() 104 (info[0]->IsUndefined() || info[0]->IsNull())) { in SetNextLabel()
|
H A D | js_linear_indicator_controller.cpp | 56 if (arg0->IsUndefined() || arg1->IsUndefined() || arg0->IsNull() || arg1->IsNull()) { in SetProgress()
|
/foundation/arkui/ace_engine/interfaces/inner_api/xcomponent_controller/ |
H A D | xcomponent_controller.cpp | 35 if (localRef->IsNull()) { in GetXComponentControllerFromNapiValue() 59 if (nodePtr.IsEmpty() || nodePtr->IsNull() || nodePtr->IsUndefined()) { in SetSurfaceCallbackMode()
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | json_util_test.cpp | 49 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsBool and GetBool. in HWTEST_F() 55 EXPECT_FALSE(boolValue->IsNull()); in HWTEST_F() 73 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsBool and GetBool. in HWTEST_F() 79 EXPECT_FALSE(boolValue->IsNull()); in HWTEST_F() 99 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F() 105 EXPECT_FALSE(intValue->IsNull()); in HWTEST_F() 128 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F() 134 EXPECT_FALSE(uintValue->IsNull()); in HWTEST_F() 157 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F() 163 EXPECT_FALSE(doubleValue->IsNull()); in HWTEST_F() [all...] |
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | effect_json_helper.cpp | 90 bool EffectJson::IsNull() const in IsNull() function in OHOS::Media::Effect::EffectJson 122 if (element == nullptr || element->IsNull() || !element->IsNumber()) { in GetInt() 140 if (element == nullptr || element->IsNull() || !element->IsNumber()) { in GetUInt() 158 if (element == nullptr || element->IsNull() || !element->IsNumber()) { in GetFloat() 176 if (element == nullptr || element->IsNull() || !element->IsNumber()) { in GetDouble() 194 if (element == nullptr || element->IsNull() || !element->IsBool()) { in GetBool() 212 if (element == nullptr || element->IsNull() || !element->IsString()) { in GetString() 236 if (element == nullptr || element->IsNull() || !element->IsArray()) { in GetArray()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/ |
H A D | n_val.cpp | 51 bool NVal::IsNull() const in IsNull() function in OHOS::Rosen::NVal 179 if (IsNull()) { in ToBool() 200 if (IsNull()) { in ToFloat() 211 if (IsNull()) { in ToInt32() 221 if (IsNull()) { in ToUint32() 231 if (IsNull()) { in ToInt64() 241 if (IsNull()) { in ToGLsizei()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/include/ |
H A D | js_uv_queue.h | 40 bool IsNull() in IsNull() function 49 bool IsNull() in IsNull() function
|