Lines Matching full:c_str
41 struct fstab* fstab = fs_mgr_read_fstab(fstab_path.c_str());
70 ret = stat(blk_device.c_str(), &buf);
73 blk_device.c_str(), tries, strerror(errno));
79 *err += android::base::StringPrintf("failed to stat %s\n", blk_device.c_str());
92 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_RDONLY));
94 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(),
99 *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(),
104 *err = android::base::StringPrintf("failed to read %s: %s", misc_blk_device.c_str(),
116 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY | O_SYNC));
118 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(),
123 *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(),
128 *err = android::base::StringPrintf("failed to write %s: %s", misc_blk_device.c_str(),
135 *err = android::base::StringPrintf("failed to fsync %s: %s", misc_blk_device.c_str(),
160 strlcat(boot.recovery, s.c_str(), sizeof(boot.recovery));