Lines Matching defs:to
9 * Unless required by applicable law or agreed to in writing, software
34 std::string StringReplace(std::string source, const std::string &from, const std::string &to)
41 result.append(source.substr(0, pos) + to);
326 HLOGE("Fail to open data file %s", dataFile.c_str());
327 perror("Fail to fopen(rb)");
333 HLOGE("Fail to call gzopen(%s)", destFile.c_str());
342 HLOGE("Fail to call gzwrite for %zu bytes", len);
366 HLOGE("Fail to open data file %s", dataFile.c_str());
367 perror("Fail to fopen(rb)");
372 HLOGE("Fail to call gzopen(%s)", gzipFile.c_str());
381 HLOGE("Fail to call fwrite for %zu bytes", len);
576 errno is set to indicate the error (probably to EINVAL).