/third_party/nghttp2/tests/ |
H A D | nghttp2_session_test.c | 465 size_t namelen, const uint8_t *value, in on_header_callback() 474 ud->nv.value = (uint8_t *)value; in on_header_callback() 484 const uint8_t *value, size_t valuelen, in pause_on_header_callback() 486 on_header_callback(session, frame, name, namelen, value, valuelen, flags, in pause_on_header_callback() 493 size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, in temporal_failure_on_header_callback() 495 on_header_callback(session, frame, name, namelen, value, valuelen, flags, in temporal_failure_on_header_callback() 503 const uint8_t *value, size_t valuelen, in on_invalid_header_callback() 512 ud->nv.value = (uint8_t *)value; in on_invalid_header_callback() 463 on_header_callback(nghttp2_session *session, const nghttp2_frame *frame, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, void *user_data) on_header_callback() argument 481 pause_on_header_callback(nghttp2_session *session, const nghttp2_frame *frame, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, void *user_data) pause_on_header_callback() argument 491 temporal_failure_on_header_callback( nghttp2_session *session, const nghttp2_frame *frame, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, void *user_data) temporal_failure_on_header_callback() argument 500 on_invalid_header_callback(nghttp2_session *session, const nghttp2_frame *frame, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, void *user_data) on_invalid_header_callback() argument 519 pause_on_invalid_header_callback(nghttp2_session *session, const nghttp2_frame *frame, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, void *user_data) pause_on_invalid_header_callback() argument 530 reset_on_invalid_header_callback(nghttp2_session *session, const nghttp2_frame *frame, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, void *user_data) reset_on_invalid_header_callback() argument [all...] |
/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | js_file_access_ext_ability_other_test.cpp | 121 // 模拟获取value->code失败 in HWTEST_F() 132 // 模拟获取value->data为-1 in HWTEST_F() 796 int value = 0; in HWTEST_F() local 803 env = reinterpret_cast<napi_env>(&value); in HWTEST_F() 808 info = reinterpret_cast<napi_callback_info>(&value); in HWTEST_F() 850 JsFileAccessExtAbility::Value<vector<string>> value; in HWTEST_F() local 854 auto result = ability->ParserQueryFileJsResult(env, nativeValue, value); in HWTEST_F() 860 result = ability->ParserQueryFileJsResult(env, nativeValue, value); in HWTEST_F() 868 result = ability->ParserQueryFileJsResult(env, nativeValue, value); in HWTEST_F() 876 result = ability->ParserQueryFileJsResult(env, nativeValue, value); in HWTEST_F() 903 JsFileAccessExtAbility::Value<vector<string>> value; HWTEST_F() local 964 JsFileAccessExtAbility::Value<vector<RootInfo>> value; HWTEST_F() local 1017 JsFileAccessExtAbility::Value<vector<RootInfo>> value; HWTEST_F() local 1066 JsFileAccessExtAbility::Value<vector<RootInfo>> value; HWTEST_F() local [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | IntermNode.cpp | 1371 // Result is an intermediate value, so make sure it's identified as such. in promote() 1808 // Result is an intermediate value, so make sure it's identified as such. That's not true for in promote() 1969 // Comma takes the right node's value. in derivePrecision() 2155 // If the indexed value is already a constant union, we can't increase duplication of in fold() 2371 // Returns the constant value to keep using or nullptr. 2528 // minimum representable value is divided by -1, it is in FoldBinary() 2529 // allowed to return either the minimum representable value in FoldBinary() 2530 // or the maximum representable value." in FoldBinary() 2759 // code. Returns the constant value to keep using. Nullptr should not be returned. 3317 uint32_t value; [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | movenc.c | 112 { "mov_gamma", "gamma value for gama atom", offsetof(MOVMuxContext, gamma), AV_OPT_TYPE_FLOAT, {.dbl = 0.0 }, 0.0, 10, AV_OPT_FLAG_ENCODING_PARAM}, 2031 av_log(s, AV_LOG_DEBUG, "gamma value %g\n", gamma); in mov_write_gama_tag() 2035 av_log(s, AV_LOG_DEBUG, "writing gama value %"PRId32"\n", gama); in mov_write_gama_tag() 2043 av_log(s, AV_LOG_WARNING, "gamma value unknown, unable to write gama atom\n"); in mov_write_gama_tag() 2176 av_strlcpy(compressor_name, encoder->value, 32); in find_compressor() 2201 // max_ref_per_pic = 15 : reserved value to indicate that any number of in mov_write_ccst_tag() 2239 if (rot && rot->value && strcmp(rot->value, "hdr_vivid") == 0) { in mov_get_cuva_from_metadata() 2257 size_t key_len = strlen(key_val->value); in mov_write_metadata_setup_tag() 2258 avio_write(pb, key_val->value, key_le in mov_write_metadata_setup_tag() 3760 mov_write_track_kind(AVIOContext *pb, const char *scheme_uri, const char *value) global() argument 4093 mov_write_string_tag(AVIOContext *pb, const char *name, const char *value, int lang, int long_style) global() argument 4995 param_write_int(AVIOContext *pb, const char *name, int value) global() argument 5000 param_write_string(AVIOContext *pb, const char *name, const char *value) global() argument 5005 param_write_hex(AVIOContext *pb, const char *name, const uint8_t *value, int len) global() argument [all...] |
/base/account/os_account/services/accountmgr/test/unittest/app_account/ |
H A D | app_account_info_test.cpp | 425 std::string value; in HWTEST_F() local 426 ErrCode result = appAccountInfo.GetAssociatedData(STRING_ASSOCIATED_KEY, value); in HWTEST_F() 429 // check the associated value in HWTEST_F() 430 EXPECT_EQ(value, STRING_ASSOCIATED_VALUE); in HWTEST_F() 445 std::string value = STRING_ASSOCIATED_VALUE; in HWTEST_F() local 451 ErrCode result = appAccountInfo.SetAssociatedData(key, value); in HWTEST_F() 460 EXPECT_EQ(value, jsonObject[key]); in HWTEST_F()
|
/base/print/print_fwk/services/print_service/src/ |
H A D | vendor_helper.cpp | 99 nlohmann::json object = element.value(); in ConvertJsonToStringList() 347 if (propertyList->list[i].value == nullptr) { in LogProperties() 348 PRINT_HILOGW("propertyList value empty: %{public}u", i); in LogProperties() 351 PRINT_HILOGD("LogProperties value: %{public}s", propertyList->list[i].value); in LogProperties() 374 if (propertyList->list[i].value == nullptr) { in FindPropertyFromPropertyList() 375 PRINT_HILOGW("propertyList value empty, key: %{public}s", keyName.c_str()); in FindPropertyFromPropertyList() 378 PRINT_HILOGD("FindPropertyFromPropertyList value: %{public}s", propertyList->list[i].value); in FindPropertyFromPropertyList() 379 return std::string(propertyList->list[i].value); in FindPropertyFromPropertyList() [all...] |
/base/telephony/call_manager/services/telephony_interaction/src/ |
H A D | cellular_call_connection.cpp | 741 int32_t CellularCallConnection::SetImsConfig(ImsConfigItem item, const std::string &value, int32_t slotId) in SetImsConfig() argument 747 int errCode = cellularCallInterfacePtr_->SetImsConfig(slotId, item, value); in SetImsConfig() 749 TELEPHONY_LOGE("SetImsConfig for string value failed, errcode:%{public}d", errCode); in SetImsConfig() 755 int32_t CellularCallConnection::SetImsConfig(ImsConfigItem item, int32_t value, int32_t slotId) in SetImsConfig() argument 761 int errCode = cellularCallInterfacePtr_->SetImsConfig(slotId, item, value); in SetImsConfig() 763 TELEPHONY_LOGE("SetImsConfig for int value failed, errcode:%{public}d", errCode); in SetImsConfig() 783 int32_t CellularCallConnection::SetImsFeatureValue(FeatureType type, int32_t value, int32_t slotId) in SetImsFeatureValue() argument 789 int errCode = cellularCallInterfacePtr_->SetImsFeatureValue(slotId, type, value); in SetImsFeatureValue()
|
/base/update/updater/services/ |
H A D | updater_main.cpp | 255 return true; /* maybe no battery or err value return default true */ in IsBatteryCapacitySufficient() 261 return true; /* maybe no value return default true */ in IsBatteryCapacitySufficient() 466 float value = (UPDATER_UI_INSTANCE.GetCurrentPercent() > (updateStartPosition * FULL_PERCENT_PROGRESS)) ? in DoUpdatePackages() local 468 upParams.callbackProgress(value); in DoUpdatePackages() 552 upParams.callbackProgress = [] (float value) { UPDATER_UI_INSTANCE.ShowProgress(value); }; 826 upParams.callbackProgress = [] (float value) { UPDATER_UI_INSTANCE.ShowProgress(value); };
|
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/ |
H A D | enroll_intell_voice_engine_napi.cpp | 390 string value; in SetParameter() member in OHOS::IntellVoiceNapi::SetParameterContext 402 status = GetValue(env, argv[1], context->value); in SetParameter() 403 CHECK_CONDITION_RETURN_FALSE((status != napi_ok), "Failed to get value"); in SetParameter() 417 engine->SetParameter(asyncContext->key, asyncContext->value); in SetParameter() 434 std::string value; in GetParameter() member in OHOS::IntellVoiceNapi::GetParamContext 460 asyncContext->value = engine->GetParameter(asyncContext->key); in GetParameter() 465 result = SetValue(env, getParamAsynContext->value); in GetParameter()
|
H A D | wakeup_intell_voice_engine_napi.cpp | 249 string value; in SetParameter() member in OHOS::IntellVoiceNapi::SetParameterContext 260 CHECK_CONDITION_RETURN_FALSE((GetValue(env, argv[ARG_INDEX_1], context->value) != napi_ok), in SetParameter() 261 "Failed to get value"); in SetParameter() 275 engine->SetParameter(asyncContext->key, asyncContext->value); in SetParameter() 291 std::string value; in GetParameter() member in OHOS::IntellVoiceNapi::GetParamContext 317 asyncContext->value = engine->GetParameter(asyncContext->key); in GetParameter() 322 result = SetValue(env, getParamAsynContext->value); in GetParameter()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/ |
H A D | textfield_declaration.h | 34 std::string value; member 181 return attribute.value; in GetValue() 184 void SetValue(const std::string& value) in SetValue() argument 187 attribute.value = value; in SetValue() 633 imageStyle.imageFill = color.value(); in SetImageFill()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_base.cpp | 229 void RenderPickerBase::HandleTriangleClick(bool value) in HandleTriangleClick() argument 236 data_->OnTriangleCallback(value); in HandleTriangleClick() 246 triangle_->SetOnClick([weak = WeakClaim(this)](bool value) { in SetTriangleHandler() 251 refPtr->HandleTriangleClick(value); in SetTriangleHandler() 267 switch_->SetOnChange([weak = WeakClaim(this)](bool value) { in SetSwitchHandler() 272 refPtr->HandleSwitch(value); in SetSwitchHandler()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_chart_bridge.cpp | 44 LOGW("item value is null. Ignoring!"); in GetAttrOptionsAxis() 61 chartOptionsAxisMap[iter].value(valStr, axisOption); in GetAttrOptionsAxis() 87 LOGW("item value is null. Ignoring!"); in GetAttrOptionsSeriesPoint() 115 chartOptionsPointMap[iter].value(valStr, pointInfo); in GetAttrOptionsSeriesPoint() 140 LOGW("item value is null. Ignoring!"); in GetChartAttrOptionsSeriesLineStyle() 158 chartOptionsSeriesLineStyleMap[iter].value(valStr, chartOptions); in GetChartAttrOptionsSeriesLineStyle() 200 chartOptionsSeriesLoopMap[iter].value(valStr, chartOptions); in GetChartAttrOptionsSeriesLoop() 267 chartOptionsSeriesMap[iter].value(runtime, val, chartOptions); in GetChartAttrOptionsSeries() 334 LOGW("val value is null. Ignoring!"); in ParseAttrDataStyle() 344 if (keyStr == "value") { in ParseAttrDataStyle() [all...] |
H A D | jsi_animation_bridge.cpp | 56 inline NodeId GetCurrentNodeId(shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& value) in GetCurrentNodeId() argument 58 if (!value) { in GetCurrentNodeId() 59 LOGE("Get current node id failed. value is null."); in GetCurrentNodeId() 62 shared_ptr<JsValue> jsNodeId = value->GetProperty(runtime, "__nodeId"); in GetCurrentNodeId() 75 inline int32_t GetCurrentPageId(shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue>& value) in GetCurrentPageId() argument 77 if (!value) { in GetCurrentPageId() 78 LOGE("Get current page id failed. value is null."); in GetCurrentPageId() 81 shared_ptr<JsValue> jsPageId = value->GetProperty(runtime, "__pageId"); in GetCurrentPageId() 381 LOGE("Not valid type for value."); in JsAnimationPlayStateSet()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_scroll.cpp | 70 JSRef<JSVal> value = array->GetValueAt(i); in ParseJsDimensionArray() local 72 if (JSViewAbstract::ParseJsDimensionVp(value, dimension)) { in ParseJsDimensionArray() 124 void JSScroll::SetScrollable(int32_t value) in SetScrollable() argument 126 if (value < 0 || value >= static_cast<int32_t>(AXIS.size())) { in SetScrollable() 129 ScrollModel::GetInstance()->SetAxis(AXIS[value]); in SetScrollable()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_input.cpp | 369 styleOperators[styleOperatorIter].value(GetBoxComponent(), inputChild_, inputStyles_, boxBorder_, *this); in UpdateSpecializedComponentStyle() 443 eventOperators[eventOperatorIter].value(inputChild_, pageId_, GetNodeIdForEvent(), tempEvent_); in AddSpecializedComponentEvent() 508 auto changeCallback = [weak = WeakClaim(this)](const std::string& value) { in SetFormValueListener() 511 formValue->SetValue(value); in SetFormValueListener() 528 changeEvent.SetUiStrFunction([weak = WeakClaim(this)](const std::string& value) { in SetFormValueListener() 531 if (value == "true") { in SetFormValueListener() 608 // set the horizontal hot zone value is the minmum value in left and right, in HandlePadding() 609 // the vertical hot zone is the minmum value in top and bottom in HandlePadding()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_gauge_bridge.cpp | 268 float value = static_cast<float>(secondArg->ToNumber(vm)->Value()); in SetGaugeValue() local 269 GetArkUINodeModifiers()->getGaugeModifier()->setGaugeValue(nativeNode, value); in SetGaugeValue() 296 float value = static_cast<float>(secondArg->ToNumber(vm)->Value()); in SetGaugeStartAngle() local 297 GetArkUINodeModifiers()->getGaugeModifier()->setGaugeStartAngle(nativeNode, value); in SetGaugeStartAngle() 324 float value = static_cast<float>(secondArg->ToNumber(vm)->Value()); in SetGaugeEndAngle() local 325 GetArkUINodeModifiers()->getGaugeModifier()->setGaugeEndAngle(nativeNode, value); in SetGaugeEndAngle() 488 const char* keyOfGauge[] = { "value", "min", "max" }; in SetContentModifierBuilder()
|
/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | box_layout_algorithm_test_ng.cpp | 98 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 156 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 209 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 269 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 334 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 392 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 457 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 510 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 570 * @tc.desc: Set one index value into BoxLayoutAlgorithmTestNg and get it. 619 * @tc.desc: Set one index value int [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_overlength_indicator_modifier_test_ng.cpp | 686 auto value = paintMethod->CalculatePointCenterX(itemHalfSizes, margin, padding, space, index);
in HWTEST_F() local 687 EXPECT_NEAR(20.0f, value.first, 0.001f);
in HWTEST_F() 688 EXPECT_NEAR(60.0f, value.second, 0.001f);
in HWTEST_F() 693 value = paintMethod->CalculatePointCenterX(itemHalfSizes, margin, padding, space, index);
in HWTEST_F() 694 EXPECT_NEAR(52.0f, value.first, 0.001f);
in HWTEST_F() 695 EXPECT_NEAR(92.0f, value.second, 0.001f);
in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/ |
H A D | text_picker_model_test_ng.cpp | 197 auto onChangeFunc = [&callbackInfo](const std::vector<std::string>& value, const std::vector<double>& index) {
in HWTEST_F() 208 std::vector<std::string> value = { "hello world" };
in HWTEST_F() local 210 textPickerEventHub->FireChangeEvent(value, index);
in HWTEST_F() 608 auto onChangeFunc = [&callbackInfo](const std::vector<std::string>& value, const std::vector<double>& index) {
in HWTEST_F() 614 std::vector<std::string> value = { "hello world" };
in HWTEST_F() local 616 textPickerEventHub->FireChangeEvent(value, index);
in HWTEST_F()
|
/foundation/multimedia/audio_framework/services/audio_policy/test/example/ |
H A D | audio_policy_test.cpp | 346 std::string value = ""; in SetAudioParamter() local 349 value = argv[AudioPolicyTest::THIRD_ARG]; in SetAudioParamter() 351 audioSystemMgr->SetAudioParameter(key, value); in SetAudioParamter() 352 cout << "SetAudioParameter for key " << key << "; value: " << value << endl; in SetAudioParamter() 362 std::string value = audioSystemMgr->GetAudioParameter(key); in GetAudioParamter() local 363 cout << "GetAudioParameter for key " << key << "; result: " << value << endl; in GetAudioParamter() 403 cout << option << " needs a value" << endl << endl; in NoValueError() 511 cout << "Audio balance value is valid." << endl; in HandleAudioBalanceState() 515 cout << "Audio balance value in HandleAudioBalanceState() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | my_xcomponent.cpp | 450 napi_value value = nullptr; in NapiGetTime() local 451 (void)napi_create_int32(env, render->GetTime(), &value); in NapiGetTime() 452 return value; in NapiGetTime() 510 napi_value value = nullptr; in NapiGetTestNames() local 512 (void)napi_create_string_utf8(env, str.c_str(), str.length(), &value); in NapiGetTestNames() 513 return value; in NapiGetTestNames()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_device_impl.cpp | 159 .value = hdiInfo.props[i].value, in GetScreenCapability() 596 .value = metaData[i].value, in SetLayerMetaData() 626 const std::vector<int8_t>& value) in SetLayerPerFrameParameter() 629 return g_composer->SetLayerPerFrameParameter(devId, layerId, key, value); in SetLayerPerFrameParameter() 625 SetLayerPerFrameParameter(uint32_t devId, uint32_t layerId, const std::string& key, const std::vector<int8_t>& value) SetLayerPerFrameParameter() argument
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/ |
H A D | format_agent_plugin_test.cpp | 675 uint8_t value = 1; in HWTEST_F() local 678 bool ret = formatAgent->read_byte(stream, value, offset, dataSize); in HWTEST_F() 680 ret = formatAgent->read_byte(stream, value, offset, 20); in HWTEST_F() 697 uint64_t value = 1; in HWTEST_F() local 700 bool ret = formatAgent.read_mbf(stream, value, offset, dataSize); in HWTEST_F() 702 ret = formatAgent.read_mbf(stream, value, offset, 2); in HWTEST_F()
|
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | pixel_map.h | 68 // Build ARGB_8888 pixel value 298 NATIVEEXPORT uint32_t GetImagePropertyInt(const std::string &key, int32_t &value); 299 NATIVEEXPORT uint32_t GetImagePropertyString(const std::string &key, std::string &value); 300 NATIVEEXPORT uint32_t ModifyImageProperty(const std::string &key, const std::string &value); 305 // format support rgba8888, nv12, nv21. The default value is rgba8888 472 void WriteUint8(std::vector<uint8_t> &buff, uint8_t value) const; 474 uint8_t GetVarintLen(int32_t value) const; 475 void WriteVarint(std::vector<uint8_t> &buff, int32_t value) const;
|