/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_view.cpp | 146 if ((titleBuilder) && (sheetStyle.isTitleBuilder.value())) { in CreateDragBarNode() 289 titleProp->UpdateContent(sheetStyle.sheetTitle.value()); in BuildMainTitle() 329 titleProp->UpdateContent(sheetStyle.sheetSubtitle.value()); in BuildSubTitle() 373 bool isTitleCustombuilder = sheetStyle.isTitleBuilder.has_value() && sheetStyle.isTitleBuilder.value(); in BuildTitleColumn() 404 auto isCustomBuilder = sheetStyle.isTitleBuilder.value(); in BuildTitleColumn()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_info.cpp | 355 [](float value, const std::pair<float, int32_t>& info) { return LessNotEqual(value, info.first); }); in FastSolveStartIndex() 370 [](const ItemInfo& info, float value) { return LessNotEqual(info.mainOffset, value); }); in FastSolveEndIndex() 551 currentOffset_ += extraOffset_.value(); in JumpTo()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | audio_ffmpeg_encoder_plugin.cpp | 163 Status AudioFfmpegEncoderPlugin::SetParameter(Tag tag, const ValueType& value) in SetParameter() argument 166 audioParameter_.insert(std::make_pair(tag, value)); in SetParameter() 170 Status AudioFfmpegEncoderPlugin::GetParameter(Tag tag, ValueType& value) in GetParameter() argument 173 value = static_cast<uint32_t>(BUFFER_QUEUE_SIZE); in GetParameter() 180 return GetAudioEncoderParameters(*avCodecContext_, tag, value); in GetParameter()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/ |
H A D | video_ffmpeg_encoder_plugin.cpp | 167 Status VideoFfmpegEncoderPlugin::SetParameter(Tag tag, const ValueType& value) in SetParameter() argument 170 vencParams_.insert(std::make_pair(tag, value)); in SetParameter() 174 Status VideoFfmpegEncoderPlugin::GetParameter(Tag tag, ValueType& value) in GetParameter() argument 180 value = res->second; in GetParameter() 186 return GetVideoEncoderParameters(*avCodecContext_, tag, value); in GetParameter()
|
/foundation/multimedia/av_session/services/session/server/migrate/ |
H A D | migrate_avsession_server.cpp | 622 Json::Value value;
in OnPlaybackStateChanged() local 623 value[PLAYER_ID] = playerId;
in OnPlaybackStateChanged() 624 value[MEDIA_INFO] = SYNC_CONTROLLER_CALLBACK_ON_PLAYBACKSTATE_CHANGED;
in OnPlaybackStateChanged() 625 value[CALLBACK_INFO] = RebuildPlayState(state);
in OnPlaybackStateChanged() 628 std::string msg = writer.write(value);
in OnPlaybackStateChanged()
|
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler_util.cpp | 140 void GetKeyVal(const cJSON* json, const std::string &key, std::string &value) in GetKeyVal() argument 148 value = valueJson->valuestring; in GetKeyVal() 204 cJSON* value = cJSON_GetObjectItemCaseSensitive(param, "value"); in GetParams() local 205 if (!cJSON_IsString(value)) { in GetParams() 206 MMI_HILOGE("value is not string"); in GetParams() 209 auto ret = ability.params.emplace(key->valuestring, value->valuestring); in GetParams()
|
/foundation/multimodalinput/input/libudev/src/ |
H A D | udev_device.cpp | 101 MMI_HILOGE("Failed to get link value"); in GetLinkValue() 242 if (parentSubsystem.has_value() && parentSubsystem.value() == subsystem) { in GetParentWithSubsystem() 275 if (parentDevice_.has_value() && parentDevice_.value() != nullptr) { in ~udev_device() 276 parentDevice_.value()->Unref(); in ~udev_device() 574 void AddProperty(std::string key, std::string value) in AddProperty() 576 property_[std::move(key)] = std::move(value); in AddProperty()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
H A D | common_event_collect.cpp | 110 for (auto [key, value] : condition.extraMessages) { in InitCommonEventState() 263 if (commonEventConditionValue_[condition.name] != condition.value && condition.value != "") { in CheckCondition() 316 HILOGD("key:%{public}s || value:%{public}s", key.c_str(), valueString.c_str()); in GetParamFromWant() 357 for (auto& [key, value] : commonEventConditionExtraData_[want.GetAction()]) { in SaveOnDemandConditionExtraData() 358 value = GetParamFromWant(key, want); in SaveOnDemandConditionExtraData()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/ |
H A D | client_trans_proxy_file_helper.c | 100 int32_t SendFileAckReqAndResData(int32_t channelId, uint32_t startSeq, uint32_t value, int32_t type) in SendFileAckReqAndResData() argument 111 *(uint32_t *)(data + FRAME_HEAD_LEN + FRAME_DATA_SEQ_OFFSET) = SoftBusHtoLl(value); in SendFileAckReqAndResData() 120 int32_t UnpackAckReqAndResData(FileFrame *frame, uint32_t *startSeq, uint32_t *value) in UnpackAckReqAndResData() argument 122 if (frame == NULL || startSeq == NULL || value == NULL || frame->data == NULL) { in UnpackAckReqAndResData() 138 (*value) = SoftBusLtoHl((*(uint32_t *)(frame->fileData + FRAME_DATA_SEQ_OFFSET))); in UnpackAckReqAndResData()
|
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
H A D | unified_data_channel_napi.cpp | 57 const std::string &value) in SetNamedProperty() 60 napi_status status = NapiDataUtils::SetValue(env, value, property); in SetNamedProperty() 248 std::string &value) in GetNamedProperty() 267 LOG_ERROR(UDMF_KITS_NAPI, "The property value is null, name = %{public}s", key.c_str()); in GetNamedProperty() 270 status = NapiDataUtils::GetValue(env, napiValue, value); in GetNamedProperty() 275 LOG_DEBUG(UDMF_KITS_NAPI, "Param parse successful, Options.%{public}s = %{public}s", key.c_str(), value.c_str()); in GetNamedProperty() 56 SetNamedProperty(napi_env env, napi_value &obj, const std::string &name, const std::string &value) SetNamedProperty() argument 247 GetNamedProperty(napi_env env, napi_value &obj, const std::string &key, std::string &value) GetNamedProperty() argument
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_sql_builder.cpp | 313 auto [errorCode, value] = buckets.Get(row, std::ref(field)); in GenerateSqls() 318 SqliteSqlBuilder::UpdateAssetStatus(value.get(), AssetValue::STATUS_INSERT); in GenerateSqls() 319 args[columnIndex + row * columnSize] = value; in GenerateSqls() 389 auto *asset = Traits::get_if<ValueObject::Asset>(&val.value); in UpdateAssetStatus() 395 auto *assets = Traits::get_if<ValueObject::Assets>(&val.value); in UpdateAssetStatus()
|
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | file_operations_cloud_mock.cpp | 426 const char *value) in HandleCloudLocation() 432 const char *value) in HandleCloudRecycle() 438 const char *value) in HandleFavorite() 443 void HandleExtAttribute(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value) in HandleExtAttribute() argument 449 const char *value, size_t size, int flags) in SetXattr() 425 HandleCloudLocation(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value) HandleCloudLocation() argument 431 HandleCloudRecycle(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value) HandleCloudRecycle() argument 437 HandleFavorite(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value) HandleFavorite() argument 448 SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) SetXattr() argument
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_entity_ext_manage_test.cpp | 26 #include <json/value.h> 684 Json::Value value; in HWTEST_F() local 685 value["isUserTar"] = true; in HWTEST_F() 686 value["information"]["test"] = "test"; in HWTEST_F() 689 cache.obj_.append(value); in HWTEST_F()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/ |
H A D | cpp_parser_lite.py | 191 test_result.code = test_status.value 213 test_result.code = ResultCode.FAILED.value 301 test_result.code = ResultCode.FAILED.value 411 test_result.code = ResultCode.SKIPPED.value 468 test_result.code = ResultCode.FAILED.value
|
/third_party/elfutils/src/ |
H A D | addr2line.c | 490 GElf_Addr *value = ((void **) arg)[2]; in find_symbol() local 496 value, NULL, NULL, in find_symbol() 654 GElf_Addr value = 0; in handle_address() local 655 void *arg[3] = { name, &sym, &value }; in handle_address() 666 addr += value; in handle_address()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_psnr.c | 151 char value[128]; in set_meta() local 152 snprintf(value, sizeof(value), "%f", d); in set_meta() 156 av_dict_set(metadata, key2, value, 0); in set_meta() 158 av_dict_set(metadata, key, value, 0); in set_meta()
|
/third_party/gn/src/base/ |
H A D | logging.h | 285 // - The trap instructions, and hence the PC value at crash time, have to be 460 // This formats a value for a failing CHECK_XX statement. Ordinarily, 464 base::internal::SupportsOstreamOperator<const T&>::value && 465 !std::is_function<typename std::remove_pointer<T>::type>::value, 478 std::is_function<typename std::remove_pointer<T>::type>::value, 488 !base::internal::SupportsOstreamOperator<const T&>::value && 489 std::is_enum<T>::value, 780 // Stores the current value of GetLastError in the constructor and restores 783 // that will lose the value of GLE and the code that called the log function 784 // will have lost the thread error value whe [all...] |
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-function-mocker.h | 56 std::is_const<typename std::remove_reference<Pattern>::type>::value, 57 typename std::conditional<std::is_lvalue_reference<Pattern>::value, 59 typename std::conditional<std::is_lvalue_reference<Pattern>::value, T&, 164 std::is_function<__VA_ARGS__>::value, \ 169 __VA_ARGS__>::ArgumentTuple>::value == _N, \
|
/third_party/googletest/googletest/src/ |
H A D | gtest-internal-inl.h | 78 // The value of GetTestTypeId() as seen from within the Google Test 104 // Parses a string for an Int32 flag, in the form of "--flag=value". 106 // On success, stores the value of the flag in *value, and returns 107 // true. On failure, returns false without changing *value. 108 GTEST_API_ bool ParseFlag(const char* str, const char* flag, int32_t* value); 111 // given --gtest_random_seed flag value. 695 // value-parameterized tests and instantiate and register them. 727 // value-parameterized tests are disabled, RegisterParameterizedTests is 747 // result already contains a property with the same key, the value wil 841 set_catch_exceptions(bool value) set_catch_exceptions() argument 1202 FormatBool(bool value) FormatBool() argument [all...] |
/third_party/alsa-lib/include/ |
H A D | control.h | 158 /** CTL element value container. 160 * Contains the value(s) (i.e. members) of a single element. All 165 * To access a value, a snd_ctl_elem_value_t must be allocated using 170 * A value object can be zeroed out using snd_ctl_elem_value_clear(). 172 * A value object can be copied to another one using 200 * After the value container was created and filled with the ID of the 201 * desired element, the value(s) can be fetched from the driver (and 204 * To fetch a value, use snd_ctl_elem_read(). Thereafter, use the 205 * snd_ctl_elem_value_get_*() functions to obtain the actual value. 207 * To write a new value, firs [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | ucol_res.cpp | 625 virtual void put(const char *key, ResourceValue &value, UBool /*noFallback*/, 628 ResourceTable collations = value.getTable(errorCode); 629 for (int32_t i = 0; collations.getKeyAndValue(i, key, value); ++i) { 630 UResType type = value.getType(); 634 defcoll.appendInvariantChars(value.getUnicodeString(errorCode), errorCode);
|
/third_party/mesa3d/include/drm-uapi/ |
H A D | amdgpu_drm.h | 381 #define AMDGPU_TILING_SET(field, value) \ 382 (((__u64)(value) & AMDGPU_TILING_##field##_MASK) << AMDGPU_TILING_##field##_SHIFT) 383 #define AMDGPU_TILING_GET(value, field) \ 384 (((__u64)(value) >> AMDGPU_TILING_##field##_SHIFT) & AMDGPU_TILING_##field##_MASK) 495 /* Sets or returns a value associated with a buffer. */ 501 /** Input or return value */ 502 __u64 value; member 870 /* Where the return value will be stored */ 872 /* The size of the return value. Just like "size" in "snprintf",
|
/third_party/libdrm/include/drm/ |
H A D | amdgpu_drm.h | 377 #define AMDGPU_TILING_SET(field, value) \ 378 (((__u64)(value) & AMDGPU_TILING_##field##_MASK) << AMDGPU_TILING_##field##_SHIFT) 379 #define AMDGPU_TILING_GET(value, field) \ 380 (((__u64)(value) >> AMDGPU_TILING_##field##_SHIFT) & AMDGPU_TILING_##field##_MASK) 491 /* Sets or returns a value associated with a buffer. */ 497 /** Input or return value */ 498 __u64 value; member 862 /* Where the return value will be stored */ 864 /* The size of the return value. Just like "size" in "snprintf",
|
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | headergen2.c | 124 printdef (val->fullname, 0, 0, val->value << shift, val->file); in printvalue() 284 if (elem->index->vals[j]->value == i) { in printdelem() 476 if (0xffff0000 & db->enums[i]->vals[j]->value) in main() 478 db->enums[i]->vals[j]->value); in main() 481 db->enums[i]->vals[j]->value); in main()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_ir.cpp | 63 value *replicated_value = NULL; in init_args() 66 value *v = *I; in init_args() 263 value *s = src[k]; in hash_src() 331 value *swp[4] = {}; in update_packed_items() 337 value *v = *I2; in update_packed_items()
|