/ohos5.0/base/update/updater/test/unittest/test_data/src/ |
H A D | test_logic.us | 53 s1 = "111111"; 55 s1 = Concat(s1, s2); 56 Stdout(s1); 57 s1 = Concat(s1, 10); 58 Stdout(s1); 59 s1 = Concat(s1, 77.7); 60 Stdout(s1); 61 s1 = Concat(s1, "%%%%%%%%%%%%%"); 62 Stdout(s1); 64 IsSubString(s1, s2); [all …]
|
/ohos5.0/base/update/updater/test/fuzztest/fuzz_src_data/ |
H A D | test_logic.us | 53 s1 = "111111"; 55 s1 = Concat(s1, s2); 56 Stdout(s1); 57 s1 = Concat(s1, 10); 58 Stdout(s1); 59 s1 = Concat(s1, 77.7); 60 Stdout(s1); 61 s1 = Concat(s1, "%%%%%%%%%%%%%"); 62 Stdout(s1); 64 IsSubString(s1, s2); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | size.h | 44 friend inline bool operator==(const SizeF& s1, const SizeF& s2); 45 friend inline bool operator!=(const SizeF& s1, const SizeF& s2); 90 inline bool operator==(const SizeF& s1, const SizeF& s2) 92 return s1.width_ == s2.width_ && s1.height_ == s2.height_; 95 inline bool operator!=(const SizeF& s1, const SizeF& s2) 97 return s1.width_ != s2.width_ || s1.height_ != s2.height_; 116 friend inline bool operator==(const SizeI& s1, const SizeI& s2); 162 inline bool operator==(const SizeI& s1, const SizeI& s2) 164 return s1.width_ == s2.width_ && s1.height_ == s2.height_; 167 inline bool operator!=(const SizeI& s1, const SizeI& s2) [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/size_fuzzer/ |
H A D | size_fuzzer.cpp | 62 SizeI s1 = SizeI(w, h); in SizeFuzzTest001() local 63 SizeI s2 = SizeI(s1); in SizeFuzzTest001() 71 if (s1 == s2) {} in SizeFuzzTest001() 72 if (s1 != s2) {} in SizeFuzzTest001()
|
/ohos5.0/base/startup/hvb/libhvb/src/deps/ |
H A D | hvb_sysdeps.c | 49 int hvb_strcmp(const char *s1, const char *s2) in hvb_strcmp() argument 51 return strcmp(s1, s2); in hvb_strcmp() 54 int hvb_strncmp(const char *s1, const char *s2, size_t n) in hvb_strncmp() argument 56 return strncmp(s1, s2, n); in hvb_strncmp()
|
/ohos5.0/base/msdp/device_status/utils/common/include/ |
H A D | utility.h | 46 static bool IsEqual(const char *s1, const char *s2) noexcept; 79 inline bool Utility::IsEqual(const char *s1, const char *s2) noexcept 81 if (IsEmpty(s1)) { 86 return (std::strcmp(s1, s2) == 0);
|
/ohos5.0/base/security/permission_lite/services/ipc_auth/src/ |
H A D | ipc_auth_impl.c | 59 static int StrcmpWithNull(const char *s1, const char *s2) in StrcmpWithNull() argument 61 if ((s1 == NULL) && (s2 == NULL)) { in StrcmpWithNull() 64 if ((s1 == NULL) || (s2 == NULL)) { in StrcmpWithNull() 67 return strcmp(s1, s2); in StrcmpWithNull() 258 char *s1 = featurePolicy->feature; in CheckSvcPolicies() local 260 if (StrcmpWithNull(s1, s2) != 0) { in CheckSvcPolicies()
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/downloadfilebutton/interfaces/ |
H A D | downloadfilebutton.js | 129 setInitiallyProvidedValue(s1) { argument 130 if (s1.contentOptions !== undefined) { 131 this.contentOptions = s1.contentOptions; 133 if (s1.styleOptions !== undefined) { 134 this.styleOptions = s1.styleOptions;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | luma_filter.cpp | 113 …l(OH_Drawing_Canvas* canvas, OH_Drawing_Brush* brush, DrawRect bounds, OH_Drawing_ShaderEffect* s1) in draw_scene_oval() argument 127 OH_Drawing_BrushSetShaderEffect(brush, s1); in draw_scene_oval() 128 OH_Drawing_BrushSetColor(brush, s1 ? 0xFF000000 : ColorSetA(kColor1, 0x80)); in draw_scene_oval() 137 OH_Drawing_ShaderEffect* s1, OH_Drawing_ShaderEffect* s2) in draw_scene() argument 145 draw_scene_oval(canvas, brush, bounds, s1); in draw_scene() 146 if (!s1) { in draw_scene()
|
/ohos5.0/base/tee/tee_client/services/tlogcat/src/ |
H A D | tarzip.c | 225 char *s1 = NULL; in WriteSingleFile() local 233 s1 = strrchr(fileName, '/'); in WriteSingleFile() 234 if (s1 == NULL || strlen(s1) < FILE_NAME_INVALID_LEN) { in WriteSingleFile() 239 WriteHeader(&header, (const char *)(s1 + 1), fileAttr.st_size); in WriteSingleFile()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gatt_utils.cpp | 41 bool operator()(const string& s1, const string& s2) const in operator ()() 43 return lexicographical_compare(s1.begin(), s1.end(), s2.begin(), s2.end(), in operator ()()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | string_view.h | 657 CharT const* s1 = data() + pos; in rfind() local 679 CharT const* s1 = data() + pos; in find_first_of() local 684 if (*s == *s1) { in find_first_of() 703 CharT const* s1 = data() + pos; in find_first_of() local 705 if (*s1 == ch) { in find_first_of() 723 CharT const* s1 = data() + pos; in find_last_of() local 728 if (*s == *s1) { in find_last_of() 736 s1--; in find_last_of() 751 CharT const* s1 = data() + pos; in find_last_of() local 753 if (*s1 == ch) { in find_last_of() [all …]
|
/ohos5.0/base/security/asset/frameworks/utils/src/ |
H A D | hasher.rs | 52 let s1 = expanded_chunk[i - 2].rotate_right(17) localVariable 56 … expanded_chunk[i - 16].wrapping_add(s0).wrapping_add(expanded_chunk[i - 7]).wrapping_add(s1); 64 let s1 = compressed_chunk[4].rotate_right(6) localVariable 69 .wrapping_add(s1)
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | SingleKvStoreEnumJsTest.js | 145 var s1 = factory.SecurityLevel.S1; 146 console.info('s1 = ' + s1); 147 expect(s1 == 2).assertTrue();
|
/ohos5.0/base/startup/hvb/libhvb/include/ |
H A D | hvb_sysdeps.h | 30 int hvb_strcmp(const char *s1, const char *s2); 31 int hvb_strncmp(const char *s1, const char *s2, size_t n);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/ |
H A D | cloud_extension_stub.js | 163 r1.forEach(s1 => { 164 u.writeString(s1); 165 let t1 = q1[s1]; 200 r1.forEach(s1 => { 201 u.writeString(s1); 202 let y1 = x1.subscribe[s1]; 439 r1.forEach(s1 => { 440 u.writeString(s1); 441 let t1 = k3[s1]; 544 let s1 = t.readString(); [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | SingleKvStoreEnumJsTest.js | 331 var s1 = factory.SecurityLevel.S1; 332 console.info('s1 = ' + s1); 333 expect(s1 == 2).assertTrue()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_runtime_effect_test.cpp | 133 std::string s1 = "safd"; variable 135 skiaRuntimeEffect.InitForES3Shader(s1);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-securityLabel.md | 36 type DataLevel = 's0' | 's1' | 's2' | 's3' | 's4' | 55 | type | [DataLevel](#datalevel) | 是 | 文件等级属性,只支持"s0","s1","s2","s3","s4" | 103 | type | DataLevel | 是 | 文件等级属性,只支持"s0","s1","s2","s3","s4" | 148 | type | DataLevel | 是 | 文件等级属性,只支持"s0","s1","s2","s3","s4" |
|
/ohos5.0/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/ |
H A D | rs_graphic_test_ext.cpp | 78 …std::string s1 = info1->filePath.substr(0, info1->filePath.rfind("/") + 1) + info1->testCaseName +… in Cmp() local 80 return s1 < s2; in Cmp()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | safe_area_manager_test_ng.cpp | 76 void CommonExpectEQ(const Rect& s1, const Rect& s2); 122 void SafeAreaManagerTest::CommonExpectEQ(const Rect& s1, const Rect& s2) in CommonExpectEQ() argument 124 EXPECT_EQ(s1.left, s2.left); in CommonExpectEQ() 125 EXPECT_EQ(s1.right, s2.right); in CommonExpectEQ() 126 EXPECT_EQ(s1.top, s2.top); in CommonExpectEQ() 127 EXPECT_EQ(s1.bottom, s2.bottom); in CommonExpectEQ()
|
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/ |
H A D | usb_accessory.h | 182 static bool compare(const std::string &s1, const std::string &s2) in compare() argument 184 return s1 == s2; in compare()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/ |
H A D | js-apidiff-file-management.md | 62 |新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\… 63 |新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLab… 64 |新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\… 65 |新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLab… 66 |新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\… 67 |新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLab… 68 |新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\… 69 |新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLab… 70 |新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\… 71 |新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLab… [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsbasecommon_fuzzer/ |
H A D | rsbasecommon_fuzzer.cpp | 162 float s1 = GetData<float>(); in RSObjOcclusionFuzzTest() local 164 std::shared_ptr<Occlusion::Node> node = std::make_shared<Occlusion::Node>(s1, e1); in RSObjOcclusionFuzzTest()
|
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_object_stub_unittest.cpp | 241 ParamStruct s1; variable 243 memset_s(&s1, sizeof(ParamStruct), 0, sizeof(ParamStruct)); 245 s1.obj = testStub; 246 s1.ret = 0; 250 int ret1 = pthread_create(&thread1, NULL, GetLastRequestTimeTestThreadFunc, &s1); 259 EXPECT_NE(s1.ret, 0); 261 EXPECT_EQ(s1.ret, s2.ret); 262 EXPECT_EQ(s1.ret, ret);
|