/foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
H A D | histreamer_ability_parser.cpp | 49 if (!IsArray(jsonObject, SAMPLE_RATE)) { in FromJson() 110 if (!IsArray(jsonObject, INS)) { in FromJson() 122 if (!IsArray(jsonObject, OUTS)) { in FromJson() 147 if (!IsArray(jsonObject, AUDIO_CHANNEL_LAYOUT)) { in FromJson() 171 if (!IsArray(jsonObject, AUDIO_SAMPLE_FORMAT)) { in FromJson() 196 if (!IsArray(jsonObject, INS)) { in FromJson() 207 if (!IsArray(jsonObject, OUTS)) { in FromJson() 232 if (!IsArray(jsonObject, VIDEO_PIXEL_FMT)) { in FromJson() 270 if (!IsArray(jsonObject, INS)) { in FromJson() 282 if (!IsArray(jsonObjec in FromJson() [all...] |
/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/ |
H A D | stage_hap_module_info.cpp | 29 if (metaData && metaData->IsArray()) { in Parse() 38 if (abilities && abilities->IsArray()) { in Parse()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_relative_container_bridge.cpp | 80 if (!idsArg->IsArray(vm) || !directionsArg->IsArray(vm) || !positionsArg->IsArray(vm)) { in SetGuideLine() 141 if (!idsArg->IsArray(vm) || !directionsArg->IsArray(vm) || !referenceIdsArg->IsArray(vm)) { in SetBarrier() 163 if (referencedIdVal->IsArray(vm)) { in SetBarrier()
|
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()
|
H A D | arkts_native_polygon_bridge.cpp | 31 if (!xPoint->IsArray(vm) || !yPoint->IsArray(vm)) { in SetPolygonPoints()
|
H A D | arkts_native_polyline_bridge.cpp | 31 if (!xPoint->IsArray(vm) || !yPoint->IsArray(vm)) { in SetPoints()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_relative_container.cpp | 100 if (referencedIdVal->IsArray()) { in ParseBarrierInfo() 119 if (!tmpInfo->IsArray() && !tmpInfo->IsObject()) { in JsBarrier() 124 if (tmpInfo->IsArray()) { in JsBarrier() 179 if (!tmpInfo->IsArray() && !tmpInfo->IsObject()) { in JsGuideline() 184 if (tmpInfo->IsArray()) { in JsGuideline()
|
H A D | js_rect_shape.cpp | 82 if (info[0]->IsArray()) { in ObjectRadius() 108 if (!jsVal->IsArray() || !shapeRect) { in SetRadiusWithArrayValue() 122 if (!radiusItem->IsArray()) { in SetRadiusWithArrayValue() 211 if (radius->IsArray()) { in ConstructorCallback()
|
H A D | js_foreach.cpp | 106 if ((info.Length() != 2) || !info[1]->IsArray() || info[0]->IsString()) { in GetIdArray() 143 !info[PARAM_JS_ARRAY]->IsArray() || !info[PARAM_DIFF_ID]->IsArray() || in SetIdArray() 144 !info[PARAM_DUPLICATE_ID]->IsArray() || !info[PARAM_DELETE_ID]->IsArray()) { in SetIdArray()
|
H A D | js_rect.cpp | 56 if (!propertyNames->IsArray()) { in Create() 86 } else if (radius->IsArray()) { in Create() 144 if (info[0]->IsArray()) { in SetRadius() 177 if (!jsVal->IsArray()) { in SetRadiusWithArrayValue() 188 if (!radiusItem->IsArray()) { in SetRadiusWithArrayValue() 276 if (info[0]->IsArray()) { in ObjectRadius() 335 } else if (radius->IsArray()) { in ConstructorCallback()
|
H A D | js_polygon.cpp | 71 if (info.Length() < 1 || !info[0]->IsArray()) { in JsPoints() 81 if (!val->IsArray()) { in JsPoints()
|
H A D | js_polyline.cpp | 52 if (info.Length() < 1 || !info[0]->IsArray()) { in JSPoints() 63 if (!val->IsArray()) { in JSPoints()
|
H A D | js_line.cpp | 70 if (info.Length() < 1 || !info[0]->IsArray()) { in SetStart() 81 if (info.Length() < 1 || !info[0]->IsArray()) { in SetEnd()
|
H A D | js_particle.cpp | 70 if (sizeJsValue->IsArray()) { in ParsSize() 91 if (!jsValue->IsArray()) { in ParseParticleRange() 190 if (!configJsValue->IsArray()) { in ParseFloatRandomConfig() 211 if (!configJsValue->IsArray()) { in ParseFloatCurveConfig() 260 if (!floatRangeJsValue->IsArray()) { in ParseFloatInitRange() 441 if (positionJsValue->IsArray()) { in ParseEmitterOption() 536 if (!configJsValue->IsArray()) { in ParseColorCurveUpdater() 574 if (!colorRangeJsValue->IsArray()) { in ParseColorInitRange() 750 if (particlesJsArray->IsArray()) { in Create() 823 if (args.Length() != 1 || !args[0]->IsArray()) { in JsDisturbanceFields() [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_config.cpp | 34 if (!cfgJsonArray || !cfgJsonArray->IsArray()) { in Init() 48 if (shareNodeArray && shareNodeArray->IsArray()) { in Init() 53 if (exposureCfgArray && exposureCfgArray->IsArray()) { in Init()
|
/foundation/distributedhardware/distributed_screen/common/test/unittest/src/ |
H A D | screen_common_test.cpp | 130 * @tc.desc: Verify the IsArray function. 138 EXPECT_FALSE(IsArray(testJson, key)); in HWTEST_F() 141 EXPECT_FALSE(IsArray(testJson, key)); in HWTEST_F() 144 EXPECT_TRUE(IsArray(testJson, key)); in HWTEST_F()
|
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/ |
H A D | distributed_input_node_manager.cpp | 127 if (IsArray(inputDeviceJson, EVENT_TYPES)) { in ParseInputDeviceEvents() 130 if (IsArray(inputDeviceJson, EVENT_KEYS)) { in ParseInputDeviceEvents() 133 if (IsArray(inputDeviceJson, ABS_TYPES)) { in ParseInputDeviceEvents() 136 if (IsArray(inputDeviceJson, ABS_INFOS)) { in ParseInputDeviceEvents() 139 if (IsArray(inputDeviceJson, REL_TYPES)) { in ParseInputDeviceEvents() 142 if (IsArray(inputDeviceJson, PROPERTIES)) { in ParseInputDeviceEvents() 145 if (IsArray(inputDeviceJson, MISCELLANEOUS)) { in ParseInputDeviceEvents() 148 if (IsArray(inputDeviceJson, LEDS)) { in ParseInputDeviceEvents() 151 if (IsArray(inputDeviceJson, REPEATS)) { in ParseInputDeviceEvents() 154 if (IsArray(inputDeviceJso in ParseInputDeviceEvents() [all...] |
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | effect_json_helper.cpp | 72 bool EffectJson::IsArray() const in IsArray() function in OHOS::Media::Effect::EffectJson 222 if (!IsArray()) { in GetArray() 236 if (element == nullptr || element->IsNull() || !element->IsArray()) { in GetArray() 351 EFFECT_JSON_FALSE_RETURN(IsArray()); in Add() 359 EFFECT_JSON_FALSE_RETURN(IsArray()); in Add() 367 EFFECT_JSON_FALSE_RETURN(IsArray()); in Add() 375 EFFECT_JSON_FALSE_RETURN(IsArray()); in Add()
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | stage_card_parser.cpp | 34 if (formConfigs && formConfigs->IsArray()) { in Parse() 51 if (supportDimensions && supportDimensions->IsArray()) { in Parse()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_any.h | 80 bool IsArray() const in IsArray() function in AnyReturn::IAny 131 inline bool IsArray(const IAny& any) in IsArray() function in AnyReturn 136 inline bool IsArray(const IAny::ConstPtr& any) in IsArray() function in AnyReturn
|
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_widget.cpp | 37 if (widgetInfo->IsArray()) { in WidgetParse()
|
H A D | manifest_parser.cpp | 59 if (deviceTypes && deviceTypes->IsArray()) { in Parse()
|
/foundation/distributedhardware/distributed_screen/common/include/ |
H A D | dscreen_json_util.h | 30 bool IsArray(const nlohmann::json &jsonObj, const std::string &key);
|
/foundation/filemanagement/app_file_service/tests/mock/cJson/src/ |
H A D | cJsonMock.cpp | 148 static CJSON_PUBLIC(cJSON_bool) IsArray(const cJSON * const item) in IsArray() function 159 return (CJson::cJsonPtr == nullptr) ? IsArray(item) : CJson::cJsonPtr->cJSON_IsArray(item); in cJSON_IsArray()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/ |
H A D | js_with_theme.cpp | 46 if (!jsColors->IsArray()) {
in SendThemeToNative()
|