Searched refs:g_path (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/ |
H A D | documentdb_collection_test.cpp | 31 std::string g_path = "./document.db"; variable 48 EXPECT_EQ(GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db), GRD_OK); in SetUp() 58 DocumentDBTestUtils::RemoveTestDbFiles(g_path); in TearDown()
|
H A D | documentdb_delete_test.cpp | 33 std::string g_path = "./document.db"; variable 46 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase() 53 DocumentDBTestUtils::RemoveTestDbFiles(g_path); in TearDownTestCase()
|
H A D | documentdb_data_test.cpp | 32 std::string g_path = "./document.db"; variable 50 EXPECT_EQ(GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db), GRD_OK); in SetUp() 62 DocumentDBTestUtils::RemoveTestDbFiles(g_path); in TearDown()
|
H A D | documentdb_insert_test.cpp | 28 std::string g_path = "./document.db"; variable 64 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase() 73 DocumentDBTestUtils::RemoveTestDbFiles(g_path); in TearDownTestCase()
|
H A D | documentdb_find_test.cpp | 35 std::string g_path = "./document.db"; variable 113 int status = GRD_DBOpen(g_path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &g_db); in SetUpTestCase() 122 DocumentDBTestUtils::RemoveTestDbFiles(g_path); in TearDownTestCase()
|
/ohos5.0/drivers/peripheral/audio/test/sample/ |
H A D | idl_capture.c | 75 char g_path[PATH_MAX] = {'\0'}; variable 293 mmapDesc.filePath = strdup(g_path); in FrameStartCaptureMmap() 480 g_file = fopen(g_path, "wb+"); in RecordingAudioInitFile() 482 printf("capture failed to open '%s'\n", g_path); in RecordingAudioInitFile() 493 if (realpath(g_path, pathBuf) == NULL) { in RecordingAudioInitFile() 498 (void)memcpy_s(g_path, PATH_MAX, pathBuf, PATH_MAX); in RecordingAudioInitFile() 500 (void)chmod(g_path, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); in RecordingAudioInitFile() 1322 int32_t ret = strncpy_s(g_path, PATH_LEN - 1, argv[1], strlen(argv[1]) + 1); in CheckAndOpenFile() 1356 printf("Record file path:%s\n", g_path); in main()
|
H A D | idl_render.c | 67 char g_path[256]; variable 266 if (realpath(g_path, pathBuf) == NULL) { in FrameStartMmap() 475 if (realpath(g_path, pathBuf) == NULL) { in PlayingAudioInitFile() 481 printf("failed to open '%s'\n", g_path); in PlayingAudioInitFile() 490 (void)chmod(g_path, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); in PlayingAudioInitFile() 1279 int32_t ret = strncpy_s(g_path, PATH_LEN - 1, argv[1], strlen(argv[1]) + 1); in main() 1286 if (realpath(g_path, pathBuf) == NULL) { in main()
|