Lines Matching refs:l_ec
374 std::error_code l_ec; in setJsonSymbolicLink() local
375 l_ec.clear(); in setJsonSymbolicLink()
380 std::filesystem::is_symlink(INVENTORY_JSON_SYM_LINK, l_ec)) in setJsonSymbolicLink()
385 std::filesystem::read_symlink(INVENTORY_JSON_SYM_LINK, l_ec); in setJsonSymbolicLink()
387 if (l_ec) in setJsonSymbolicLink()
390 "Can't read existing symlink. Error =" + l_ec.message() + in setJsonSymbolicLink()
402 if (!std::filesystem::remove(INVENTORY_JSON_SYM_LINK, l_ec)) in setJsonSymbolicLink()
407 "Removal of symlink failed with Error = " + l_ec.message() + in setJsonSymbolicLink()
412 if (!std::filesystem::exists(VPD_SYMLIMK_PATH, l_ec)) in setJsonSymbolicLink()
414 if (l_ec) in setJsonSymbolicLink()
418 l_ec.message()); in setJsonSymbolicLink()
423 if (!std::filesystem::create_directories(VPD_SYMLIMK_PATH, l_ec)) in setJsonSymbolicLink()
425 if (l_ec) in setJsonSymbolicLink()
429 l_ec.message()); in setJsonSymbolicLink()
436 l_ec); in setJsonSymbolicLink()
438 if (l_ec) in setJsonSymbolicLink()
441 "create_symlink system call failed with error: " + l_ec.message()); in setJsonSymbolicLink()