Home
last modified time | relevance | path

Searched refs:pos (Results 1 - 25 of 1191) sorted by relevance

12345678910>>...48

/test/xts/acts/graphic/acts_drawing_native/
H A DDrawingNativeShaderEffectTest.cpp127 float pos[3] = {0.0f, 0.5f, 1.0f}; in HWTEST_F() local
140 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, colors, pos, 3, mode, matrix); in HWTEST_F()
144 // 2. Test OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix with pos set to NULL in HWTEST_F()
149 &start, &end, colors, pos, 3, OH_Drawing_TileMode::CLAMP, nullptr); in HWTEST_F()
168 float pos[3] = {0.0f, 0.5f, 1.0f}; in HWTEST_F() local
180 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(nullptr, &end, colors, pos, 3, modes[0], matrix); in HWTEST_F()
185 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, nullptr, colors, pos, 3, modes[0], matrix); in HWTEST_F()
190 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, nullptr, pos, 3, modes[0], matrix); in HWTEST_F()
210 float pos[3] = {0.0f, 0.5f, 1.0f}; in HWTEST_F() local
222 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, colors, pos, in HWTEST_F()
256 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
303 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
327 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
360 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
396 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
437 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
478 float pos[3] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
501 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
533 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
563 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
596 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
629 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
648 float pos[] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local
688 float pos[] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local
724 float pos[] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
763 float pos[] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
802 float pos[] = {0.0f, 0.5f, 1.0f}; HWTEST_F() local
825 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
856 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
882 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
915 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
948 float pos[] = {0, 0.5, 1.0}; HWTEST_F() local
1059 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local
1110 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local
1159 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local
1207 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local
1255 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local
1279 float pos[3] = {0.0f, 0.5f, 1.0f}; // 0.5f: gradient color points, 1.0f: gradient color points HWTEST_F() local
[all...]
H A DDrawingNativeRoundRectTest.cpp153 for (OH_Drawing_CornerPos pos : posArray) { in HWTEST_F()
154 OH_Drawing_RoundRectSetCorner(roundRect, pos, {10.0f, 10.0f}); in HWTEST_F()
155 OH_Drawing_Corner_Radii radii = OH_Drawing_RoundRectGetCorner(roundRect, pos); in HWTEST_F()
282 OH_Drawing_CornerPos pos = static_cast<OH_Drawing_CornerPos>(dis2(gen)); in HWTEST_F() local
283 OH_Drawing_RoundRectSetCorner(roundRect, pos, {x, y}); in HWTEST_F()
284 OH_Drawing_Corner_Radii radii = OH_Drawing_RoundRectGetCorner(roundRect, pos); in HWTEST_F()
H A DDrawingNativeBrushTest.cpp514 float pos[] = {0., 1.0}; in HWTEST_F() local
516 OH_Drawing_ShaderEffectCreateLinearGradient(startPt, endPt, color, pos, 2, OH_Drawing_TileMode::CLAMP); in HWTEST_F()
540 float pos[] = {0., 1.0}; in HWTEST_F() local
542 OH_Drawing_ShaderEffectCreateLinearGradient(startPt, endPt, color, pos, 2, OH_Drawing_TileMode::CLAMP); in HWTEST_F()
/test/xts/hats/kernel/syscalls/fileio/lseek/
H A DLseekApiTest.cpp75 off_t pos = lseek(fd, offset, SEEK_SET); in HWTEST_F() local
76 EXPECT_EQ(pos, offset); in HWTEST_F()
80 pos = lseek(fd, offset, SEEK_SET); in HWTEST_F()
81 EXPECT_EQ(pos, offset); in HWTEST_F()
85 pos = lseek(fd, offset, SEEK_SET); in HWTEST_F()
86 EXPECT_EQ(pos, offset); in HWTEST_F()
91 pos = lseek(fd, offset, SEEK_SET); in HWTEST_F()
92 EXPECT_EQ(pos, offset); in HWTEST_F()
113 off_t pos = lseek(fd, offset, SEEK_SET); in HWTEST_F() local
114 EXPECT_EQ(pos, in HWTEST_F()
139 off_t pos = lseek(fd, offset, SEEK_CUR); HWTEST_F() local
173 off_t pos = lseek(fd, offset, SEEK_CUR); HWTEST_F() local
193 off_t pos = lseek(fd, 0, SEEK_END); HWTEST_F() local
210 off_t pos = lseek(-1, 0, SEEK_SET); HWTEST_F() local
[all...]
/test/xts/acts/kernel_lite/mem_posix/src/
H A DActsMemApiTest.cpp243 char *pos = nullptr; in HWTEST_F() local
246 pos = (char *)memchr(srcStr, 'a', 14); in HWTEST_F()
247 LogPrint(" --> return pos:='%x'\n", pos); in HWTEST_F()
249 ASSERT_TRUE(pos) in HWTEST_F()
251 << " --> return pos:='" << pos << "'"; in HWTEST_F() local
261 char *pos = nullptr; in HWTEST_F() local
264 pos = (char *)memchr(srcStr, 'a', 4); in HWTEST_F()
265 LogPrint(" --> return pos in HWTEST_F()
268 << " --> return pos:='" << pos << "'"; HWTEST_F() local
278 char *pos = nullptr; HWTEST_F() local
285 << " --> return pos:='" << pos << "'"; HWTEST_F() local
296 char *pos = nullptr; HWTEST_F() local
319 char *pos = nullptr; HWTEST_F() local
[all...]
/test/testfwk/developer_test/src/core/config/
H A Dresource_manager.py171 pos = push_value.find(find_key)
172 src = os.path.join(resource_dir, push_value[0:pos].strip())
173 dst = push_value[pos + len(find_key):len(push_value)].strip()
183 pos = push_value.find(find_key)
184 src = os.path.join(resource_dir, push_value[0:pos].strip())
185 dst = push_value[pos + len(find_key):len(push_value)].strip()
203 pos = copy_value.find(find_key)
204 src = os.path.join(resource_dir, copy_value[0:pos].strip())
205 dst = copy_value[pos + len(find_key):len(copy_value)].strip()
211 pos
[all...]
/test/testfwk/developer_test/libs/benchmark/report/
H A Dgenerate_report.py63 pos = file_path.rfind(os.sep)
64 file_name = file_path[pos + 1:]
149 pos = json_file.find(src_path)
150 subsystem_root = json_file[pos + len(src_path):]
263 pos = content_new.find(BenchmarkReport.SUBSYSTEM_SUMMARY)
264 if pos >= 0:
266 content_new[0:pos] + \
268 content_new[pos +
295 pos = self.default_item.index(item_key)
296 if pos !
[all...]
/test/testfwk/developer_test/aw/python/distributed/common/
H A Dcommon.py35 pos = filedir.find(findkey)
36 if -1 != pos:
37 subpath = filedir[pos + len(findkey):]
65 pos = phone_res_dir.find(os.sep + "tests" + os.sep)
66 if pos != -1:
67 prefix_path = phone_res_dir[:pos]
68 suffix_path = phone_res_dir[pos + 1:]
/test/ostest/wukong/component_event/src/
H A Dwukong_tree.cpp63 size_t pos = name.find(target); in GetClearnAbility() local
64 while (pos != std::string::npos) { in GetClearnAbility()
65 name.replace(pos, target.length(), replacement); in GetClearnAbility()
66 pos = name.find(target, pos + replacement.length()); in GetClearnAbility()
/test/xts/acts/graphic/graphicnapidrawingtest/
H A DNativeDrawingCanvasTest.cpp488 float pos[] = {0., 1.0}; in HWTEST_F() local
490 color, pos, 2, OH_Drawing_TileMode::CLAMP); in HWTEST_F()
514 float pos[] = {0., 1.0}; in HWTEST_F() local
519 pos, 2, OH_Drawing_TileMode::MIRROR); in HWTEST_F()
569 float pos[] = {0., 1.0}; in HWTEST_F() local
574 pos, 2, OH_Drawing_TileMode::MIRROR); in HWTEST_F()
964 runBuffer->pos[0] = 0; in HWTEST_F()
965 runBuffer->pos[1] = 0; in HWTEST_F()
967 runBuffer->pos[2] = 14.9; in HWTEST_F()
968 runBuffer->pos[ in HWTEST_F()
1201 float pos[] = {0., 1.0}; HWTEST_F() local
[all...]
/test/xts/hats/powermgr/power/hdi_power_additional/common/
H A Dhdi_power_test.cpp1257 auto pos = unLockValue.find(testName); in HWTEST_F() local
1258 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock001 failed unLock: " << unLockValue; in HWTEST_F()
1284 auto pos = unLockValue.find(testName); in HWTEST_F() local
1285 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock002 failed unLock: " << unLockValue; in HWTEST_F()
1311 auto pos = unLockValue.find(testName); in HWTEST_F() local
1312 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock003 failed unLock: " << unLockValue; in HWTEST_F()
1338 auto pos = unLockValue.find(testName); in HWTEST_F() local
1339 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock004 failed unLock: " << unLockValue; in HWTEST_F()
1365 auto pos = unLockValue.find(testName); in HWTEST_F() local
1366 EXPECT_TRUE(pos ! in HWTEST_F()
1392 auto pos = unLockValue.find(testName); HWTEST_F() local
1422 auto pos = unLockValue.find(testName); HWTEST_F() local
1452 auto pos = unLockValue.find(testName); HWTEST_F() local
1482 auto pos = unLockValue.find(testName); HWTEST_F() local
1512 auto pos = unLockValue.find(testName); HWTEST_F() local
1541 auto pos = unLockValue.find(testName); HWTEST_F() local
1571 auto pos = unLockValue.find(testName); HWTEST_F() local
1598 auto pos = lockValue.find(testName); HWTEST_F() local
1625 auto pos = lockValue.find(testName); HWTEST_F() local
1652 auto pos = lockValue.find(testName); HWTEST_F() local
1679 auto pos = lockValue.find(testName); HWTEST_F() local
1706 auto pos = lockValue.find(testName); HWTEST_F() local
1733 auto pos = lockValue.find(testName); HWTEST_F() local
1763 auto pos = lockValue.find(testName); HWTEST_F() local
1793 auto pos = lockValue.find(testName); HWTEST_F() local
1823 auto pos = lockValue.find(testName); HWTEST_F() local
1853 auto pos = lockValue.find(testName); HWTEST_F() local
1883 auto pos = lockValue.find(testName); HWTEST_F() local
1913 auto pos = lockValue.find(testName); HWTEST_F() local
[all...]
/test/testfwk/developer_test/aw/cxx/distributed/
H A Ddistributed_cfg.cpp79 size_t pos = 0; in GetValueInString() local
82 posend = str.find(",", pos); in GetValueInString()
86 pos = posend + 1; in GetValueInString()
89 posend = str.find(",", pos); in GetValueInString()
91 ipaddr = str.substr(pos, posend - pos); in GetValueInString()
H A Ddistributed_major.cpp62 std::string::size_type pos = 0; in Init() local
65 posend = iplist.find(",", pos); in Init()
67 ipaddr = iplist.substr(pos, posend - pos); in Init()
69 ipaddr = iplist.substr(pos); in Init()
75 pos = posend + 1; in Init()
/test/testfwk/xdevice/src/xdevice/_core/config/
H A Dresource_manager.py109 pos = push_value.find(find_key)
110 src = os.path.join(resource_dir, push_value[0:pos].strip())
111 dst = push_value[pos + len(find_key):len(push_value)].strip()
119 pos = push_value.find(find_key)
120 src = os.path.join(resource_dir, push_value[0:pos].strip())
121 dst = push_value[pos + len(find_key):len(push_value)].strip()
/test/xts/hats/hdf/wlan/hdi_service/
H A Dwlan_callback_impl.c40 uint8_t *pos = NULL; in PrintSsid() local
47 pos = (uint8_t *)hdr + sizeof(*hdr); in PrintSsid()
49 if (hdr->datalen < MAX_SSID_LEN && memcpy_s(ssid, MAX_SSID_LEN, pos, hdr->datalen) == EOK) { in PrintSsid()
54 hdr = (struct ElementHeader *)(pos + hdr->datalen); in PrintSsid()
/test/xts/tools/lite/checksum/src/
H A Dchecksum_sha256.c151 int pos[] = {15, 2, 7, 16}; in CalcSha256() local
162 unsigned int s0 = CalcSigma0(word[i - pos[ZERO]]); in CalcSha256()
163 unsigned int s1 = CalcSigma1(word[i - pos[ONE]]); in CalcSha256()
164 word[i] = s1 + word[i - pos[TWO]] + s0 + word[i - pos[THREE]]; in CalcSha256()
/test/testfwk/xdevice/src/xdevice/_core/command/
H A Dconsole.py720 pos = failed.rfind("#")
721 class_name = failed[:pos]
722 test = failed[pos + 1:]
863 pos = split_list.index("--repeat")
864 split_list = split_list[:pos] + split_list[pos + 2:]
866 pos = split_list.index("-sn")
867 split_list = split_list[:pos] + split_list[pos + 2:]
869 pos
[all...]
/test/testfwk/arkxtest/uitest/core/
H A Dcommon_utilities_hpp.h73 size_t pos = fp.find_last_of('/'); in GenLogTag() local
74 if (pos == std::string_view::npos) { in GenLogTag()
75 pos = 0; in GenLogTag()
79 for (size_t offSet = pos + 1; offSet < fp.length() && writeCursor < MAX_CONTENT_LEN; offSet++) { in GenLogTag()
/test/testfwk/arkxtest/uitest/test/
H A Dmock_element_node_iterator.h51 size_t pos = strs.find(split); in StringSplit() local
53 while (pos != strs.npos) { in StringSplit()
54 std::string temp = strs.substr(0, pos); in StringSplit()
56 strs = strs.substr(pos + 1, strs.size()); in StringSplit()
57 pos = strs.find(split); in StringSplit()
/test/xts/hats/powermgr/power/hdi_power/common/
H A Dhdi_power_test.cpp269 auto pos = state.find(SUSPEND_STATE); in HWTEST_F()
270 EXPECT_TRUE(pos != std::string::npos) << "HdfPowerHdiTest003 failed state: " << state; in HWTEST_F()
319 auto pos = lock.find(testName);
320 EXPECT_TRUE(pos != std::string::npos) << "HdfPowerHdiTest006 failed lock: " << lock;
347 auto pos = unLock.find(testName);
348 EXPECT_TRUE(pos != std::string::npos) << "HdfPowerHdiTest007 failed unLock: " << unLock;
/test/xts/acts/multimedia/av_codec/demuxer/src/
H A Dfunc_test.cpp1142 int pos = rand() % 250; in HWTEST_F() local
1163 if (count == pos) { in HWTEST_F()
1165 cout << pos << " =====curr_pts = attr.pts" << endl; in HWTEST_F()
1204 int pos = rand() % 250; in HWTEST_F() local
1223 if (count == pos) { in HWTEST_F()
1265 int pos = rand() % 250; in HWTEST_F() local
1284 if (count == pos) { in HWTEST_F()
1478 int pos = rand() % 250; in HWTEST_F() local
1487 cout << file << "pos: " << pos << "toM in HWTEST_F()
[all...]
/test/testfwk/developer_test/local_coverage/interface_coverage/
H A Dinterface_coverage_gcov_lcov.py106 pos = file_path.rfind(os.sep)
107 file_name = file_path[pos + 1:]
286 pos = content.find("<")
287 if -1 != pos:
288 substring = get_para_sub_string(content[pos:])
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstdioextndk.cpp363 fpos_t pos; in FlockFile() local
369 backParam = fgetpos(stream, &pos); in FlockFile()
432 fpos_t pos; in FGetPos64() local
433 backParam = fgetpos64(stream, &pos); in FGetPos64()
447 fpos_t pos; in FGetPos() local
448 backParam = fgetpos(stream, &pos); in FGetPos()
/test/xts/acts/bundlemanager/zlib/actszlibtest/
H A DActsZlibTest.cpp163 z_off_t pos; in HWTEST_F()
190 pos = gzseek(file, -8L, SEEK_CUR); in HWTEST_F()
191 ASSERT_FALSE(pos != SIX || gztell(file) != pos); in HWTEST_F()
797 z_off_t pos; in HWTEST_F()
831 pos = gzseek(file, -8L, SEEK_CUR); in HWTEST_F()
832 ASSERT_FALSE(pos != SIX || gztell(file) != pos); in HWTEST_F()
1263 z_off64_t pos; in HWTEST_F() local
1264 pos in HWTEST_F()
1275 z_off_t pos; HWTEST_F() local
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
H A Dconstants.py111 pos = filedir.find(findkey)
112 if -1 != pos:
113 subpath = filedir[pos + len(findkey):]

Completed in 21 milliseconds

12345678910>>...48