/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/src/ |
H A D | int_wrapper.cpp | 20 IINTERFACE_IMPL_1(Integer, Object, IInteger); 22 ErrCode Integer::GetValue(int &value) /* [out] */ in GetValue() 30 bool Integer::Equals(IObject &other) /* [in] */ in Equals() 32 Integer *otherObj = static_cast<Integer *>(IInteger::Query(&other)); in Equals() 36 std::string Integer::ToString() in ToString() 41 sptr<IInteger> Integer::Box(int value) /* [in] */ in Box() 43 sptr<IInteger> object = new Integer(value); in Box() 47 int Integer::Unbox(IInteger *object) /* [in] */ in Unbox() 54 sptr<IInteger> Integer::Parse(const std::string &str) /* [in] */ in Parse() 60 object = new Integer(value); in Parse()
|
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
H A D | StringPool.java | 38 private HashMap<Integer, Integer> lengthMap = new HashMap<>(); 40 private HashMap<Integer, StringItem> offsetMap; 41 private HashMap<Integer, String> int2StrMap = new HashMap<>(); 49 public StringPool(HashMap<String, Integer> hashMap, int offset) { in StringPool() 51 for (Map.Entry<String, Integer> next : hashMap.entrySet()) { in StringPool() 114 dataOutputStream.write(this.int2StrMap.get(Integer.valueOf(i)).getBytes("UTF-8")); in write()
|
H A D | LocaleList.java | 43 public LocaleList(int startOffset, HashMap<String, Integer> locales, Map<Integer, in LocaleList() argument 48 for (Map.Entry<String, Integer> next : locales.entrySet()) { in LocaleList()
|
H A D | Fetcher.java | 52 private static HashMap<Integer, String> int2Str = new HashMap<>(); 53 private static HashMap<String, Integer> str2Int = new HashMap<>(); 70 public final Map<String, Integer> idMap; 86 private ArrayList<Integer> reserved = new ArrayList<>(); 95 public Fetcher(String tag, ReentrantLock lock, Map<String, Integer> idMap) { in Fetcher() 135 public static HashMap<Integer, String> getInt2Str() { in getInt2Str() 144 public static HashMap<String, Integer> getStr2Int() { in getStr2Int()
|
/ohos5.0/base/update/updater/test/unittest/test_data/diffpatch/ |
H A D | PatchGztest_new.gz | 1[==========] Running 25 tests from 7 test ... |
H A D | PatchGztest_old.gz | 1[==========] Running 25 tests from 7 test ... |
/ohos5.0/foundation/ability/ability_runtime/test/unittest/insight_intent/insight_intent_execute_param_test/ |
H A D | insight_intent_execute_param_test.cpp | 72 wantParams.SetParam(Want::PARAM_RESV_CALLER_TOKEN, Integer::Box(1000)); 73 wantParams.SetParam(Want::PARAM_RESV_CALLER_UID, Integer::Box(1001)); 74 wantParams.SetParam(Want::PARAM_RESV_CALLER_PID, Integer::Box(1002)); 78 insightIntentParam.SetParam("dummy", Integer::Box(-1)); 117 wantParams.SetParam(Want::PARAM_RESV_CALLER_TOKEN, Integer::Box(1000)); 118 wantParams.SetParam(Want::PARAM_RESV_CALLER_UID, Integer::Box(1001)); 119 wantParams.SetParam(Want::PARAM_RESV_CALLER_PID, Integer::Box(1002));
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/ |
H A D | encoder.rs | 343 capacity: Integer, 365 index: Integer, 369 fn from(index: Integer) -> Self { in from() 387 index: Integer, 391 fn from(index: Integer) -> Self { in from() 417 index: Integer, 623 index: Option<Integer>, 624 value_length: Option<Integer>, 670 index: Option<Integer>, 671 name_length: Option<Integer>, [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/volume/src/ |
H A D | notification.cpp | 44 wantParams.SetParam("flags", AAFwk::Integer::Box(volume->GetFlags())); in NotifyVolumeChange() 52 wantParams.SetParam("volumeState", AAFwk::Integer::Box(UNMOUNTED)); in NotifyVolumeChange() 57 wantParams.SetParam("volumeState", AAFwk::Integer::Box(MOUNTED)); in NotifyVolumeChange() 59 wantParams.SetParam("fsType", AAFwk::Integer::Box(volume->GetFsType())); in NotifyVolumeChange() 68 wantParams.SetParam("volumeState", AAFwk::Integer::Box(EJECTING)); in NotifyVolumeChange()
|
/ohos5.0/foundation/ability/ability_base/test/unittest/base/ |
H A D | int_wrapper_test.cpp | 46 Integer intValue(value); 59 Integer intValue(value); 71 Integer intValue(value); 84 Integer intValue(value);
|
H A D | base_test.cpp | 649 sptr<Integer> intObj = new Integer(2147483647); 665 sptr<IInteger> intObj = Integer::Box(2147483647); 666 EXPECT_EQ(Integer::Unbox(intObj), 2147483647); 679 sptr<IInteger> intObj = Integer::Parse("-1"); 680 EXPECT_EQ(Integer::Unbox(intObj), -1); 693 sptr<Integer> intObj1 = new Integer(2147483647); 694 sptr<Integer> intObj2 = new Integer(-2147483648); 695 sptr<Integer> intObj3 = new Integer(2147483647); 710 EXPECT_EQ(Object::ToString(Integer::Box(-2147483648)), "-2147483648");
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/ |
H A D | encoder.rs | 241 index: Integer, 244 fn from(index: Integer) -> Self { in from() 414 index: Option<Integer>, 415 value_length: Option<Integer>, 429 self.index = Some(Integer::index(index, mask, pre)); in set_index() 450 index: Option<Integer>, 451 name_length: Option<Integer>, 453 value_length: Option<Integer>, 469 self.index = Some(Integer::index(0, mask, pre)); in set_index() 494 pub(crate) struct Integer { struct [all …]
|
/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/include/ |
H A D | int_wrapper.h | 23 class Integer final : public Object, public IInteger { 25 inline Integer(int value) : value_(value) in Integer() function 28 inline ~Integer() in ~Integer()
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
H A D | dlp_file_kits_test.cpp | 40 using Integer = OHOS::AAFwk::Integer; typedef 179 fileFdParam.SetParam(TAG_KEY_FD_VALUE, Integer::Box(g_dlpFileFd)); 202 fileFdParam.SetParam(TAG_KEY_FD_VALUE, Integer::Box(g_dlpFileFd)); 245 fileFdParam.SetParam(TAG_KEY_FD_VALUE, Integer::Box(g_dlpFileFd)); 272 fileFdParam.SetParam(TAG_KEY_FD_VALUE, Integer::Box(g_dlpFileFd)); 321 fileFdParam.SetParam(TAG_KEY_FD_VALUE, Integer::Box(g_dlpFileFd)); 374 fileFdParam.SetParam(TAG_KEY_FD_VALUE, Integer::Box(-1)); 404 fileFdParam.SetParam(TAG_KEY_FD_VALUE, Integer::Box(plainFileFd));
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/services/ability_util_test/ |
H A D | ability_util_test.cpp | 149 …int32_t getWindowMode = Integer::Unbox(IInteger::Query(want.GetParams().GetParam(Want::PARAM_RESV_… 167 …int32_t getWindowMode = Integer::Unbox(IInteger::Query(want.GetParams().GetParam(Want::PARAM_RESV_… 185 …int32_t getWindowMode = Integer::Unbox(IInteger::Query(want.GetParams().GetParam(Want::PARAM_RESV_…
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | insight_intent_execute_param.cpp | 127 AAFwk::Integer::Box(wantParams.GetIntParam(AAFwk::Want::PARAM_RESV_CALLER_TOKEN, 0))); in UpdateInsightIntentCallerInfo() 131 AAFwk::Integer::Box(wantParams.GetIntParam(AAFwk::Want::PARAM_RESV_CALLER_UID, 0))); in UpdateInsightIntentCallerInfo() 135 AAFwk::Integer::Box(wantParams.GetIntParam(AAFwk::Want::PARAM_RESV_CALLER_PID, 0))); in UpdateInsightIntentCallerInfo()
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/json/nlohmann/ |
H A D | softbus_adapter_json.cpp | 154 template <typename Integer> 155 static bool JSON_AddIntegerToObject(JsonObj *obj, const char *key, Integer num) in JSON_AddIntegerToObject() 170 template <typename Integer> 171 static bool JSON_GetIntegerFromObject(const JsonObj *obj, const char *key, Integer &value) in JSON_GetIntegerFromObject() 187 value = item.get<Integer>(); in JSON_GetIntegerFromObject()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | ai_write_adapter.cpp | 171 wantParams.SetParam(LONG_SELECT_START, AAFwk::Integer::Box(aiWriteInfo_.start)); in SendData() 172 wantParams.SetParam(LONG_SELECT_END, AAFwk::Integer::Box(aiWriteInfo_.end)); in SendData() 188 ao->Set(i, AAFwk::Integer::Box(value[i])); in SetArrayParam() 203 array.emplace_back(AAFwk::Integer::Unbox(value)); in GetBufferParam()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/auto_fill_extension_ability/ |
H A D | js_fill_request_callback.cpp | 169 wantParams.SetParam(WANT_PARAMS_AUTO_FILL_CMD, AAFwk::Integer::Box(AutoFillCommand::RESIZE)); in OnFillRequestAutoFillPopupConfig() 190 wantParams.SetParam(WANT_PARAMS_UPDATE_POPUP_WIDTH, AAFwk::Integer::Box(popupSize.width)); in SetPopupConfigToWantParams() 191 wantParams.SetParam(WANT_PARAMS_UPDATE_POPUP_HEIGHT, AAFwk::Integer::Box(popupSize.height)); in SetPopupConfigToWantParams() 200 … wantParams.SetParam(WANT_PARAMS_UPDATE_POPUP_PLACEMENT, AAFwk::Integer::Box(popupPlacement)); in SetPopupConfigToWantParams()
|
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/ |
H A D | union_image_effect___data_value.md | 22 | int32_t [int32Value](#int32value) | Integer value, corresponding to [EFFECT_DATA_TYPE_INT32](_ima… 81 Integer value, corresponding to [EFFECT_DATA_TYPE_INT32](_image_effect.md).
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | want_params.cpp | 193 dest.params_[it->first] = Integer::Box(Integer::Unbox(IInteger::Query(o))); in NewParams() 345 return Integer::Parse(value); in GetInterfaceByType() 384 …static_cast<Integer *>(IInteger::Query(iIt1))->Equals(*(static_cast<Integer *>(IInteger::Query(iIt… in CompareInterface() 460 return Integer::Unbox(ao); in GetIntParam() 579 int fd = AAFwk::Integer::Unbox(fdIWrap); in WriteToParcelFD() 643 int value = Integer::Unbox(IInteger::Query(o)); in WriteToParcelInt() 914 FillArray<int, Integer, IInteger>(ao, array); in WriteArrayToParcelInt() 1094 return SetArray<int, Integer>(g_IID_IInteger, value, ao); in ReadFromParcelArrayInt() 1281 sptr<IInterface> intf = Integer::Box(value); in ReadFromParcelInt() 1330 wp.SetParam(VALUE_PROPERTY, Integer::Box(fd)); in ReadFromParcelFD() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/ |
H A D | integer.rs | 19 pub(crate) struct Integer { struct 23 impl Integer { impl
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/ |
H A D | distributed_want_params_test.cpp | 126 wantParamsIn_->SetParam(keyStr, Integer::Box(valueInteger)); 127 Integer::Unbox(IInteger::Query(wantParamsIn_->GetParam(keyStr))); 133 int right = Integer::Unbox(IInteger::Query(wantParamsOut_->GetParam(keyStr))); 563 EXPECT_EQ(Integer::Unbox(IInteger::Query(intObj)), -1); 631 EXPECT_EQ(Integer::Unbox(IInteger::Query(valueObj)), 2); 633 EXPECT_EQ(Integer::Unbox(IInteger::Query(valueObj)), 3); 635 EXPECT_EQ(Integer::Unbox(IInteger::Query(valueObj)), 5); 637 EXPECT_EQ(Integer::Unbox(IInteger::Query(valueObj)), 7); 639 EXPECT_EQ(Integer::Unbox(IInteger::Query(valueObj)), 11);
|
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | common_want.cpp | 94 wantParams.SetParam(strProName, AAFwk::Integer::Box(natValue32)); in InnerUnwrapJS() 97 wantParams.SetParam(strProName, AAFwk::Integer::Box(natValue32)); in InnerUnwrapJS() 198 int natValue = AAFwk::Integer::Unbox(ao); in InnerWrapWantParamsInt()
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/cj/src/ |
H A D | parameter_parse.cpp | 60 wp.SetParam(VALUE_PROPERTY, OHOS::AAFwk::Integer::Box(*value)); in SetFdData() 88 ao->Set(i, AAFwk::Integer::Box(value[i])); in InnerSetWantParamsArrayInt() 166 … wantP.SetParam(key, OHOS::AAFwk::Integer::Box(*static_cast<int32_t *>(head->value))); in SetDataParameters() 358 *ptr = OHOS::AAFwk::Integer::Unbox(ao); in GetFDValue() 427 return InnerWrapWantParamsArrayT<AAFwk::IInteger, AAFwk::Integer, int>(ao, p); in InnerWrapWantParamsArray() 474 code = InnerWrapWantParamsT<AAFwk::IInteger, AAFwk::Integer, int>(wantP, ptr); in ParseParameters()
|