Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/mkenvimage_slim/
Dmkenvimage_slim.cc58 std::string env_readout = ReadFile(FLAGS_input_path); in MkenvimageSlimMain() local
59 CF_EXPECT(env_readout.length(), "Input env is empty"); in MkenvimageSlimMain()
61 env_readout.length() <= (FLAGS_env_size - CRC_SIZE - NULL_PAD_LENGTH), in MkenvimageSlimMain()
66 memcpy(env_ptr, env_readout.c_str(), FileSize(FLAGS_input_path)); in MkenvimageSlimMain()
67 env_ptr[env_readout.length()] = 0; // final byte after the env must be NULL in MkenvimageSlimMain()