Home
last modified time | relevance | path

Searched refs:ver (Results 1 – 25 of 96) sorted by relevance

1234

/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Diunknown.c31 int IUNKNOWN_QueryInterface(IUnknown *iUnknown, int ver, void **target) in IUNKNOWN_QueryInterface() argument
38 if ((entry->ver & (uint16)ver) != ver) { in IUNKNOWN_QueryInterface()
42 if (ver == OLD_VERSION && in IUNKNOWN_QueryInterface()
43 entry->ver != OLD_VERSION && in IUNKNOWN_QueryInterface()
44 (entry->ver & (uint16)DEFAULT_VERSION) != DEFAULT_VERSION) { in IUNKNOWN_QueryInterface()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/test/unittest/common/base/
H A Ddcamera_sink_frame_info_test.cpp41 "ver": "v1"
51 "ver": "v1"
61 "ver": "v1"
71 "ver": "v1"
81 "ver": "v1"
91 "ver": "v1"
101 "ver": 1,
111 "ver": "test",
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_data_loader.cpp88 string ver; in LoadFunc() local
94 SafeGetJsonValue(*iter, "version", result.error, ver); in LoadFunc()
95 if (ver.size() == VERSION_SIZE) { in LoadFunc()
96 if (const auto delim = ver.find('.'); delim != string::npos) { in LoadFunc()
97 std::from_chars(ver.data(), ver.data() + delim, verMajor); in LoadFunc()
98 std::from_chars(ver.data() + delim + 1, ver.data() + ver.size(), verMinor); in LoadFunc()
103 result.error += "invalid shader type (" + type + ") and/or version (" + ver + ")."; in LoadFunc()
H A Drender_node_graph_loader.cpp120 string ver; in CompatibilityCheck() local
125 SafeGetJsonValue(*iter, "version", result.error, ver); in CompatibilityCheck()
127 if (ver.size() == VERSION_SIZE) { in CompatibilityCheck()
128 if (const auto delim = ver.find('.'); delim != string::npos) { in CompatibilityCheck()
129 std::from_chars(ver.data(), ver.data() + delim, verMajor); in CompatibilityCheck()
130 std::from_chars(ver.data() + delim + 1, ver.data() + ver.size(), verMinor); in CompatibilityCheck()
135 … result.error += "invalid render node graph type (" + type + ") and/or version (" + ver + ")."; in CompatibilityCheck()
/ohos5.0/base/security/access_token/services/accesstokenmanager/test/unittest/
H A Dnative_token_receptor_test.cpp287 .ver = 1,
302 ASSERT_EQ(findInfo.ver, info.ver);
353 .ver = 1,
367 ASSERT_EQ(findInfo.ver, info.ver);
419 ASSERT_EQ(findInfo.ver, info.ver); in CompareGoalTokenInfo()
526 .ver = 1,
535 .ver = 1,
554 ASSERT_EQ(findInfo.ver, info3.ver);
577 .ver = 1,
608 ASSERT_EQ(findInfo.ver, info6.ver);
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/
H A Dvcard_util.h32 …VCardProperty(VCardVersion ver, std::string group, std::string name, std::string value, std::strin… in VCardProperty() argument
55 void BuildParamString(VCardVersion ver, std::vector<uint8_t> &outList) const in BuildParamString() argument
76 void SetVersion(const VCardVersion ver) in SetVersion() argument
78 static std::string Version2Str(VCardVersion ver) in Version2Str() argument
102 static std::vector<uint8_t> Build(const VCard &vCard, VCardVersion ver) in Build() argument
107 static std::vector<uint8_t> Build(const std::vector<VCard> &vCards, VCardVersion ver) in Build() argument
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/vertices_fuzzer/
H A Dvertices_fuzzer.cpp47 Vertices ver; in VerticesFuzzTest000() local
59ver.MakeCopy(static_cast<VertexMode>(mode % MATH_THREE), MATH_TWO, positions, texs, colors, arr_si… in VerticesFuzzTest000()
61 ver.MakeCopy(static_cast<VertexMode>(mode % MATH_THREE), MATH_TWO, positions, texs, colors); in VerticesFuzzTest000()
63 ver.GetImpl<SkiaMatrix>(); in VerticesFuzzTest000()
64 std::shared_ptr<Data> data1 = ver.Serialize(); in VerticesFuzzTest000()
65 ver.Deserialize(data1); in VerticesFuzzTest000()
/ohos5.0/base/security/access_token/frameworks/accesstoken/src/
H A Dhap_token_info_parcel.cpp25 RETURN_IF_FALSE(out.WriteUint8(this->hapTokenInfoParams.ver)); in Marshalling()
46 uint8_t ver; in Unmarshalling() local
49 RELEASE_IF_FALSE(in.ReadUint8(ver), hapTokenInfoParcel); in Unmarshalling()
50 hapTokenInfoParcel->hapTokenInfoParams.ver = ver; in Unmarshalling()
H A Dnative_token_info_parcel.cpp30 RETURN_IF_FALSE(out.WriteUint8(this->nativeTokenInfoParams.ver)); in Marshalling()
66 uint8_t ver; in Unmarshalling() local
68 RELEASE_IF_FALSE(in.ReadUint8(ver), nativeTokenInfoParcel); in Unmarshalling()
70 nativeTokenInfoParcel->nativeTokenInfoParams.ver = ver; in Unmarshalling()
/ohos5.0/foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr/
H A Diunknown.h86 uint16 ver; \
113 .ver = (version), \
174 uint16 ver; member
222 int IUNKNOWN_QueryInterface(IUnknown *iUnknown, int ver, void **target);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
H A D_hi_trace_id.md25 | uint64_t [ver](_hitrace.md#ver) | 3 | HiTraceId的版本号 |
36 | uint64_t [ver](_hitrace.md#ver) | 3 | HiTraceId的版本号 |
/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
H A Dnative_token_info_inner.cpp35 tokenInfoBasic_.ver = DEFAULT_TOKEN_VERSION; in NativeTokenInfoInner()
109 outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_VERSION, tokenInfoBasic_.ver); in TranslationIntoGenericValues()
141 tokenInfoBasic_.ver = (char)inGenericValues.GetInt(TokenFiledConst::FIELD_TOKEN_VERSION); in RestoreNativeTokenInfo()
142 if (tokenInfoBasic_.ver != DEFAULT_TOKEN_VERSION) { in RestoreNativeTokenInfo()
145 tokenInfoBasic_.tokenID, tokenInfoBasic_.ver); in RestoreNativeTokenInfo()
163 infoParcel.ver = tokenInfoBasic_.ver; in TranslateToNativeTokenInfo()
272 info.append(R"( "ver": )" + std::to_string(tokenInfoBasic_.ver) + ",\n"); in ToString()
H A Dhap_token_info_inner.cpp37 tokenInfoBasic_.ver = DEFAULT_TOKEN_VERSION; in HapTokenInfoInner()
52 tokenInfoBasic_.ver = DEFAULT_TOKEN_VERSION; in HapTokenInfoInner()
126 outGenericValues.Put(TokenFiledConst::FIELD_TOKEN_VERSION, tokenInfoBasic_.ver); in TranslationIntoGenericValues()
171 tokenInfoBasic_.ver = (char)inGenericValues.GetInt(TokenFiledConst::FIELD_TOKEN_VERSION); in RestoreHapTokenBasicInfo()
172 if (tokenInfoBasic_.ver != DEFAULT_TOKEN_VERSION) { in RestoreHapTokenBasicInfo()
174 tokenInfoBasic_.tokenID, tokenInfoBasic_.ver); in RestoreHapTokenBasicInfo()
313 info.append(R"( "ver": )" + std::to_string(tokenInfoBasic_.ver) + ",\n"); in ToString()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dkey_control.c232 int ver = atoi(buf); in KeyCtrlLoadVersion() local
233 if (ver == FSCRYPT_V1 || ver == FSCRYPT_V2) { in KeyCtrlLoadVersion()
235 FSCRYPT_LOGI("version %d loaded", ver); in KeyCtrlLoadVersion()
236 return ver; in KeyCtrlLoadVersion()
238 FSCRYPT_LOGE("version loaded failed. ver = %d", ver); in KeyCtrlLoadVersion()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/loader/
H A Dsystem_graph_loader.cpp368 string ver; in LoadString() local
374 SafeGetJsonValue(*iter, "version", finalResult.error, ver); in LoadString()
375 if (ver.size() == VERSION_SIZE) { in LoadString()
376 if (const auto delim = ver.find('.'); delim != string::npos) { in LoadString()
377 std::from_chars(ver.data(), ver.data() + delim, verMajor); in LoadString()
378 std::from_chars(ver.data() + delim + 1, ver.data() + ver.size(), verMinor); in LoadString()
385 type.c_str(), ver.c_str()); in LoadString()
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A D_hi_trace_id.md25 | uint64_t [ver](_hitrace.md#ver) | 3 | Version number of **HiTraceId**. |
36 | uint64_t [ver](_hitrace.md#ver) | 3 | Version number of **HiTraceId**. |
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/
H A Ddcamera_sink_frame_info.cpp89 cJSON *ver = cJSON_GetObjectItemCaseSensitive(rootValue, FRAME_INFO_VERSION.c_str()); in Unmarshal() local
90 if (ver == nullptr || !cJSON_IsString(ver)) { in Unmarshal()
94 ver_ = std::string(ver->valuestring); in Unmarshal()
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/
H A Dhitracechainc.h85 uint64_t ver : 3; member
93 uint64_t ver : 3;
126 pId->ver = 0; in HiTraceChainInitId()
183 pId->ver = HITRACE_VER_1; in HiTraceChainSetChainId()
/ohos5.0/build/ohos/
H A Dversion.py26 for ver in versions:
27 print(ver)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Dqrcode_patch2.patch257 - version(ver),
259 - if (ver < MIN_VERSION || ver > MAX_VERSION)
263 + version(ver), errorCorrectionLevel(ecl), flag(true) {
264 + if (ver < MIN_VERSION || ver > MAX_VERSION) {
274 size = ver * 4 + 17;
545 int QrCode::getNumRawDataModules(int ver) {
546 - if (ver < MIN_VERSION || ver > MAX_VERSION)
548 int result = (16 * ver + 128) * ver + 64;
549 if (ver >= 2) {
550 int numAlign = ver / 7 + 2;
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/backend/
H A Djson_input.cpp152 auto ver = Version(CORE_NS::json::unescape(v->string_)); in ReadMetadata() local
153 if (ver == Version()) { in ReadMetadata()
155 …"Invalid file version: %s != %s", ver.ToString().c_str(), CURRENT_JSON_VERSION.ToString().c_str()); in ReadMetadata()
158 jsonVersion_ = ver; in ReadMetadata()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_dump_request.h69 uint64_t ver : 3; member
77 uint64_t ver : 3;
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp163 int ver; in GetCandidateVersion() local
164 if (IsNumericStr(str) && StrToInt(str, ver) && ver >= candidate) { in GetCandidateVersion()
165 candidate = ver; in GetCandidateVersion()
575 auto ver = KeyCtrlLoadVersion(dir_.c_str()); in StoreKey() local
576 if (ver == FSCRYPT_INVALID || ver != keyInfo_.version) { in StoreKey()
577 …LOGE("RestoreKey fail. bad version loaded %{public}u not expected %{public}u", ver, keyInfo_.versi… in StoreKey()
674 auto ver = KeyCtrlLoadVersion(dir_.c_str()); in StoreKey() local
675 if (ver == FSCRYPT_INVALID || ver != keyInfo_.version) { in StoreKey()
676 …LOGE("RestoreKey fail. bad version loaded %{public}u not expected %{public}u", ver, keyInfo_.versi… in StoreKey()
/ohos5.0/base/security/access_token/frameworks/test/unittest/
H A Daccesstoken_parcel_test.cpp255 hapTokenInfo.ver = 0;
314 hapTokenInfo.ver = 0;
351 baseInfo.ver = 1,
384 baseInfo.ver = 1,
521 nativeTokenInfoParcel.nativeTokenInfoParams.ver = 0;
545 nativeTokenInfoParcel.nativeTokenInfoParams.ver = 0;
567 nativeTokenInfoParcel.nativeTokenInfoParams.ver = 0;
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/kits/include/hitrace/
H A Dtrace.h304 uint64_t ver : 3; member
317 uint64_t ver : 3;

1234