/ohos5.0/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_alphabet_indexer_bridge.cpp | 47 if (!fontSizeArg->IsNull()) { in SetPopupItemFont() 55 if (!weightArg->IsNull() && !weightArg->IsUndefined()) { in SetPopupItemFont() 90 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetSelectedFont() 92 (styleValArg->IsNull() || styleValArg->IsUndefined())) { in SetSelectedFont() 97 if (!fontSizeArg->IsNull() && !fontSizeArg->IsUndefined() && in SetSelectedFont() 140 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetPopupFont() 142 (styleValArg->IsNull() || styleValArg->IsUndefined())) { in SetPopupFont() 147 if (!fontSizeArg->IsNull() && !fontSizeArg->IsUndefined() && in SetPopupFont() 190 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetFont() 431 if (!thirdArg->IsNull() && !thirdArg->IsUndefined() && in SetAlignStyle() [all …]
|
H A D | arkts_native_timepicker_bridge.cpp | 65 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … 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, … 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() 167 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetDisappearTextStyle() 175 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetDisappearTextStyle() [all …]
|
H A D | arkts_native_textpicker_bridge.cpp | 149 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetTextStyle() 153 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetTextStyle() 161 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetTextStyle() 175 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) { in SetTextStyle() 198 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSelectedTextStyle() 202 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetSelectedTextStyle() 210 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetSelectedTextStyle() 224 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) { in SetSelectedTextStyle() 251 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetDisappearTextStyle() 259 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetDisappearTextStyle() [all …]
|
H A D | arkts_native_frame_node_bridge.cpp | 48 CHECK_NULL_RETURN(!isExpandedArg.IsNull(), true); in GetIsExpanded() 62 CHECK_NULL_RETURN(!firstArg.IsNull(), nullptr); in GetFrameNode() 71 CHECK_NULL_RETURN(!thirdArg.IsNull(), -1); in GetInstanceId() 378 if (thirdArg.IsNull()) { in InsertChildAfter() 411 CHECK_NULL_RETURN(!firstArg.IsNull(), panda::NumberRef::New(vm, 0)); in GetChildrenCount() 1296 CHECK_NULL_RETURN(!secondArg.IsNull(), defaultReturnValue); in GetCustomPropertyCapiByKey() 1322 if (global.IsNull()) { in ParseGetFunc() 1422 CHECK_NULL_RETURN(!firstArg.IsNull(), defaultReturnValue); in SetMeasuredSize() 1438 CHECK_NULL_RETURN(!firstArg.IsNull(), defaultReturnValue); in SetLayoutPosition() 1459 CHECK_NULL_RETURN(!firstArg.IsNull(), defaultReturnValue); in MeasureNode() [all …]
|
H A D | arkts_native_tabs_bridge.cpp | 53 if (barModeArg->IsNull() || barModeArg->IsUndefined()) { in SetTabBarMode() 63 … if (marginArg->IsNull() || marginArg->IsUndefined() || nonScrollableLayoutStyleArg->IsNull() || in SetTabBarMode() 202 …auto isDividerEndMarginArgsInvalid = dividerEndMarginArgs->IsNull() || dividerEndMarginArgs->IsUnd… in SetDivider() 203 auto isColorArgInvalid = colorArg->IsNull() || colorArg->IsUndefined(); in SetDivider() 273 if (secondArg->IsUndefined() || secondArg->IsNull()) { in SetFadingEdge() 380 if (isVerticalArg->IsNull() || isVerticalArg->IsUndefined()) { in SetIsVertical() 406 if (barValArg->IsNull() || barValArg->IsUndefined()) { in SetTabBarPosition() 434 if (scrollableArg->IsNull() || scrollableArg->IsUndefined()) { in SetScrollable() 465 …if (jsValue->IsNull() || jsValue->IsUndefined() || !ArkTSUtils::ParseJsDimensionVpNG(vm, jsValue, … in SetTabBarWidth() 544 if (durationArg->IsNull() || durationArg->IsUndefined()) { in SetAnimationDuration() [all …]
|
H A D | arkts_native_navigation_bridge.cpp | 40 if (!hideArg->IsNull() && !hideArg->IsUndefined() && hideArg->IsBoolean()) { in SetHideToolBar() 43 if (!animatedArg->IsNull() && !animatedArg->IsUndefined() && animatedArg->IsBoolean()) { in SetHideToolBar() 68 …if (valueArg->IsNull() || valueArg->IsUndefined() || !ArkTSUtils::ParseJsInteger(vm, valueArg, val… in SetTitleMode() 201 if (!hideArg->IsNull() && !hideArg->IsUndefined() && hideArg->IsBoolean()) { in SetHideTitleBar() 204 if (!animatedArg->IsNull() && !animatedArg->IsUndefined() && animatedArg->IsBoolean()) { in SetHideTitleBar() 256 …if (jsValue->IsNull() || jsValue->IsUndefined() || !ArkTSUtils::ParseJsDimensionVpNG(vm, jsValue, … in SetNavBarWidth() 282 if (jsValue->IsNull() || jsValue->IsUndefined() || !jsValue->IsArray(vm)) { in SetNavBarWidthRange() 290 if (minNavBarWidth->IsNull() || minNavBarWidth->IsUndefined() || in SetNavBarWidthRange() 299 if (maxNavBarWidth->IsNull() || maxNavBarWidth->IsUndefined() || in SetNavBarWidthRange() 409 …if (enableDragBarArg->IsNull() || enableDragBarArg->IsUndefined() || !enableDragBarArg->IsBoolean(… in SetEnableDragBar() [all …]
|
/ohos5.0/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()
|
/ohos5.0/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() 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() 211 while (!node.IsNull()) { in ParseNode() 300 while (!child.IsNull()) { in JsonObjectIterator() 314 while (!child.IsNull()) { in JsonObjectIterator() [all …]
|
/ohos5.0/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() 336 } else if (info[0]->IsNull()) { in JsDivider() 375 if (info[0]->IsNull()) { in JsMinContentWidth() 399 if (!width->IsNull() && width->IsNumber()) { in ParseControlButtonOG() 407 if (!height->IsNull() && height->IsNumber()) { in ParseControlButtonOG() 415 if (!left->IsNull() && left->IsNumber()) { in ParseControlButtonOG() [all …]
|
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() 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() || param->IsUndefined() || !param->IsObject()) { in ConvertGradientColor() 508 if (strokeWidth->IsUndefined() || strokeWidth->IsNull() || in JsSetLinearStyleOptions() [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() 268 if (param->IsNull() || param->IsUndefined() || !param->IsObject()) { in ConvertGradientColor() 393 if (!info[0]->IsNull() && info[0]->IsNumber()) { in SetSliderInteractionMode() [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_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_search.cpp | 317 if (info[0]->IsUndefined() || info[0]->IsNull()) { in SetSearchIcon() 482 if (iconProp->IsUndefined() || iconProp->IsNull()) { in SetCancelButton() 621 if (fontSize->IsNull() || fontSize->IsUndefined()) { in SetPlaceholderFont() 636 if (!weight->IsNull()) { in SetPlaceholderFont() 647 if (!family->IsNull() && family->IsString()) { in SetPlaceholderFont() 653 if (!style->IsNull() && style->IsNumber()) { in SetPlaceholderFont() 685 if (!weight->IsNull()) { in SetTextFont() 696 if (!family->IsNull() && family->IsString()) { in SetTextFont() 702 if (!style->IsNull() && style->IsNumber()) { in SetTextFont() 1007 if (info.Length() > 0 && (info[0]->IsUndefined() || info[0]->IsNull())) { in SetCustomKeyboard() [all …]
|
H A D | js_camera.cpp | 30 if (!idValue->IsNull() && !idValue->IsEmpty()) { in Create() 36 if (!resolutionWidthValue->IsNull() && !resolutionWidthValue->IsEmpty() in Create() 43 if (!resolutionHeightValue->IsNull() && !resolutionHeightValue->IsEmpty() && in Create()
|
H A D | js_scrollable.cpp | 30 …if (jsValue->IsNull() || jsValue->IsUndefined() || !JSViewAbstract::ParseJsInt32(jsValue, edgeEffe… in ParseEdgeEffect() 40 if ((!(jsValue->IsNull() || jsValue->IsUndefined())) && jsValue->IsObject()) { in ParseAlwaysEnable() 81 …if (!JSViewAbstract::ParseJsDimensionVp(info[0], scrollBarWidth) || info[0]->IsNull() || info[0]->… in ParseBarWidth()
|
H A D | js_richeditor.cpp | 96 if (!valueObj->IsNull() && valueObj->IsNumber()) { in ParseLengthMetrics() 101 if (!unitObj->IsNull() && unitObj->IsNumber()) { in ParseLengthMetrics() 1138 if (!fontWeight->IsNull()) { in ParseJsFont() 1149 if (!fontFamily->IsNull()) { in ParseJsFont() 1373 if (!verticalAlign->IsNull()) { in ParseJsImageSpanAttribute() 1670 return (!func->IsNull() && func->IsFunction()); in IsDrawable() 1683 return (!func->IsNull() && func->IsFunction()); in IsPixelMap() 1823 if (!endVal->IsNull() && endVal->IsNumber()) { in GetSpansInfo() 2095 } else if (!lm->IsNull()) { in ParseParagraphStyle() 2400 if (!type->IsNull() && !type->IsUndefined()) { in ParseTextDecoration() [all …]
|
H A D | js_select.cpp | 249 if (info[0]->IsNull() || info[0]->IsUndefined()) { in Font() 401 if (info[0]->IsNull() || info[0]->IsUndefined()) { in FontColor() 422 if (info[0]->IsUndefined() || info[0]->IsNull()) { in SelectedOptionBgColor() 437 if (info[0]->IsNull() || info[0]->IsUndefined()) { in SelectedOptionFont() 458 if (info[0]->IsNull() || info[0]->IsUndefined()) { in SelectedOptionFontColor() 478 if (info[0]->IsUndefined() || info[0]->IsNull()) { in OptionBgColor() 494 if (info[0]->IsNull() || info[0]->IsUndefined()) { in OptionFont() 515 if (info[0]->IsUndefined() || info[0]->IsNull()) { in OptionFontColor() 746 if (info[0]->IsUndefined() || info[0]->IsNull()) { in SetOptionWidth() 779 if (info[0]->IsUndefined() || info[0]->IsNull()) { in SetOptionHeight() [all …]
|
H A D | js_form.cpp | 97 if (!dimension->IsNull() && !dimension->IsEmpty()) { in Create() 101 if (!wantValue->IsNull() && wantValue->IsObject()) { in Create() 104 if (!renderingMode->IsNull() && !renderingMode->IsEmpty()) { in Create() 107 if (!shape->IsNull() && !shape->IsEmpty()) { in Create() 125 if (!widthValue->IsNull() && !widthValue->IsEmpty()) { in SetSize() 134 if (!heightValue->IsNull() && !heightValue->IsEmpty()) { in SetSize()
|
H A D | js_menu.cpp | 84 if (!size->IsNull()) { in Font() 92 if (!jsWeight->IsNull()) { in Font() 100 if (!jsStyle->IsNull()) { in Font() 110 if (!jsFamily->IsNull() && jsFamily->IsString()) { in Font() 199 if (info.Length() < 1 || info[0]->IsNull() || !info[0]->IsNumber()) { in SetExpandingMode()
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | 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() 237 if (element == nullptr || element->IsNull() || !element->IsArray()) { in GetArray()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | json_util_test.cpp | 55 EXPECT_FALSE(boolValue->IsNull()); 79 EXPECT_FALSE(boolValue->IsNull()); 106 EXPECT_FALSE(uintValue->IsNull()); 135 EXPECT_FALSE(doubleValue->IsNull()); 161 EXPECT_FALSE(stringValue->IsNull()); 209 EXPECT_FALSE(objectValue->IsNull()); 264 EXPECT_FALSE(arrayValue->IsNull()); 289 EXPECT_FALSE(arrayValue->IsNull()); 313 EXPECT_TRUE(emptyValue->IsNull()); 804 EXPECT_TRUE(ret->IsNull()); [all …]
|
/ohos5.0/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()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/ |
H A D | rd_json_object.cpp | 96 bool JsonObject::IsNull() const in IsNull() function in DocumentDB::JsonObject 335 if (item.IsNull()) { in AddItemToObject() 413 if (!newItem.IsNull() || !this->IsNull()) { in ReplaceItemInObject() 415 if (!(this->GetObjectItem(fieldName.c_str(), errCode).IsNull())) { in ReplaceItemInObject() 428 if (!newItem.IsNull() || !this->IsNull()) { in ReplaceItemInArray() 441 if (newItem.IsNull()) { in InsertItemObject() 738 bool JsonObject::IsNull() const
|