Home
last modified time | relevance | path

Searched refs:FileUniquePtr (Results 1 – 1 of 1) sorted by relevance

/external/openscreen/cast/receiver/channel/
Dstatic_credentials.cc23 using FileUniquePtr = std::unique_ptr<FILE, decltype(&fclose)>; typedef
155 FileUniquePtr f(fopen(kGeneratedPrivateKey, "w"), &fclose); in GenerateDeveloperCredentialsToFile()
164 FileUniquePtr cert_file(fopen(kGeneratedRootCertificateName, "w"), &fclose); in GenerateDeveloperCredentialsToFile()
190 FileUniquePtr key_file(fopen(private_key_path.c_str(), "r"), &fclose); in GenerateCredentials()
199 FileUniquePtr cert_file(fopen(server_certificate_path.c_str(), "r"), &fclose); in GenerateCredentials()