Home
last modified time | relevance | path

Searched refs:sprintf (Results 1 - 18 of 18) sorted by relevance

/test/xts/acts/kernel_lite/io_posix/src/
H A DIoTestSprintf.cpp25 * @tc.name sprintf basic function test of int with boundary value
31 int ret = sprintf(str, "%d", -2147483648); in HWTEST_F()
32 EXPECT_EQ(ret, 11) << "> sprintf fail, errno = " << errno; in HWTEST_F()
35 ret = sprintf(str, "%d", 2147483647); in HWTEST_F()
36 EXPECT_EQ(ret, 10) << "> sprintf fail, errno = " << errno; in HWTEST_F()
39 ret = sprintf(str, "%i", -2147483648); in HWTEST_F()
40 EXPECT_EQ(ret, 11) << "> sprintf fail, errno = " << errno; in HWTEST_F()
43 ret = sprintf(str, "%i", 2147483647); in HWTEST_F()
44 EXPECT_EQ(ret, 10) << "> sprintf fail, errno = " << errno; in HWTEST_F()
47 ret = sprintf(st in HWTEST_F()
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dcomplexndk.cpp91 sprintf(buffer, "%.2f", getRealAndImage); in Conj()
95 sprintf(buffer, "%.2f", getRealAndImage); in Conj()
119 sprintf(buffer, "%.2f", getRealAndImage); in ConjF()
123 sprintf(buffer, "%.2f", getRealAndImage); in ConjF()
144 sprintf(buffer, "%.2f", getRealAndImage); in ConjL()
148 sprintf(buffer, "%.2f", getRealAndImage); in ConjL()
171 sprintf(buffer, "%.2f", getRealAndImage); in CPow()
175 sprintf(buffer, "%.2f", getRealAndImage); in CPow()
200 sprintf(buffer, "%.2f", getRealAndImage); in CPowF()
204 sprintf(buffe in CPowF()
[all...]
H A Dsearchndk.cpp330 sprintf(stuSturct.name, "shanghai_%d", stuSturct.stu_no); in Tsearch()
H A Dstdlibndk.cpp1078 sprintf(strBuufer, "%d", divResult.quot); in Div()
1081 sprintf(strBuufer, "%d", divResult.rem); in Div()
H A Dstdiondk1.cpp1342 ret = sprintf(dest, "%d plus %d is %d", PARAM_5, PARAM_3, PARAM_5 + PARAM_3); in Sprintf_One()
/test/xts/acts/kernel_lite/ipc_posix/message_queue/
H A DIpcMqExceptionTest.cpp155 sprintf(qName, "testMqOpenENOENT_%d", GetRandom(10000)); in HWTEST_F()
178 sprintf(qName[i], "testMqOpenENFILE_%d", i); in HWTEST_F()
220 sprintf(qName, "testMqOpenENOSPC_%d", GetRandom(10000)); in HWTEST_F()
255 sprintf(qName, "testMqSendEAGAIN_%d", GetRandom(10000)); in HWTEST_F()
280 sprintf(qName, "testMqSendEAGAIN_%d", GetRandom(10000)); in HWTEST_F()
323 sprintf(qName, "testMqSendEINVAL_%d", GetRandom(10000)); in HWTEST_F()
349 sprintf(qName, "testMqReceiveEAGAIN_%d", GetRandom(10000)); in HWTEST_F()
381 sprintf(qName, "testMqReceiveEAGAIN_%d", GetRandom(10000)); in HWTEST_F()
432 sprintf(qName, "testMqReceiveEINVAL_%d", GetRandom(10000)); in HWTEST_F()
457 sprintf(qNam in HWTEST_F()
[all...]
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/cpp/napi/
H A Drdb_store_backup_test.cpp68 sprintf(RDB_TEST_PATH, "%s/", buffer); in RdbFilePath()
131 sprintf(backupPath, "%s%s", RDB_TEST_PATH, dbpath); in SUB_DDM_RDB_BackupRestoreTest_0100()
165 sprintf(backupPath, "%s%s", RDB_TEST_PATH, dbpath); in SUB_DDM_RDB_BackupRestoreTest_0300()
243 sprintf(backupPath1, "%s%s", RDB_TEST_PATH, dbpath1); in SUB_DDM_RDB_BackupRestoreTest_0400()
249 sprintf(backupPath2, "%s%s", RDB_TEST_PATH, dbpath2); in SUB_DDM_RDB_BackupRestoreTest_0400()
303 sprintf(backupPath, "%s%s", RDB_TEST_PATH, dbpath); in SUB_DDM_RDB_BackupRestoreTest_0500()
380 sprintf(backupPath, "%s%s", RDB_TEST_PATH, dbpath); in SUB_DDM_RDB_BackupRestoreTest_0600()
486 sprintf(backupPath, "%s%s", RDB_TEST_PATH, dbpath); in SUB_DDM_RDB_BackupRestoreTest_0800()
570 sprintf(backupPath, "%s%s", RDB_TEST_PATH, dbpath); in SUB_DDM_RDB_BackupRestoreTest_0900()
581 sprintf(reStorePat in SUB_DDM_RDB_BackupRestoreTest_0900()
[all...]
H A Drdb_store_encrypt_test.cpp106 sprintf(RDB_TEST_PATH, "%s", buffer); in RdbFilePath()
H A Drdb_store_level_test.cpp155 sprintf(RDB_TEST_PATH, "%s", buffer); in RdbFilePath()
H A Drdb_store_cursor_test.cpp69 sprintf(RDB_TEST_PATH, "%s", buffer); in RdbFilePath()
H A Drdb_store_predicates_test.cpp68 sprintf(RDB_TEST_PATH, "%s", buffer); in RdbFilePath()
H A Drdb_store_test.cpp72 sprintf(RDB_TEST_PATH, "%s", buffer); in RdbFilePath()
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dspirv_cross_helpers_gles.cpp110 sprintf(ids, "%d", id); in ReflectPushConstants()
181 sprintf(buf, "#define SPIRV_CROSS_CONSTANT_ID_%u %du", constantId, value); in SetSpecMacro()
296 const int len = sprintf(buf, "%u %uu\n", c.constantId, value); in DefineForSpec()
300 const int len = sprintf(buf, "%u %d\n", c.constantId, value); in DefineForSpec()
305 const int len = sprintf(buf, "%u %f\n", c.constantId, value); in DefineForSpec()
H A Dmain.cpp1405 const auto nameLen = sprintf(name.data(), "s%u_b%u", binding.set, binding.bind);
1453 const auto nameLen = sprintf(imageName.data(), "s%u_b%u", imageBinding.set, imageBinding.bind);
1459 const auto nameLen = sprintf(samplerName.data(), "s%u_b%u", samplerBinding.set, samplerBinding.bind);
/test/xts/acts/kernel_lite/utils/
H A Dlibfs.cpp61 // MAX_PATH_SIZE is the max length of allowed path string, so it safe to use sprintf here. in RemoveDir()
62 sprintf(subDir, "%s/%s", dirname, fname); in RemoveDir()
/foundation/resourceschedule/ffrt/test/testfunc/
H A Dutil.cpp39 sprintf(node_name, "/proc/%d/status", pid); in get_proc_memory()
/test/xts/acts/kernel_lite/ipc_posix/pipe_fifo/
H A DFifoTest.cpp89 sprintf(fifoPath, "/dev/xtsTestFifo_%d", i); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dasset_loader.cpp489 sprintf(buf, "Unnamed Node %d", i); in ImportSceneFromGltf()

Completed in 28 milliseconds