Lines Matching refs:c_str
22 return string(String8(path.c_str()).getPathDir().string());
53 const char* str = file.c_str();
103 log_printf("get_values_file filename=%s\n", filename.c_str());
112 fprintf(stderr, "unable to parse file: %s\n", filename.c_str());
128 fd = open(filename.c_str(), O_RDONLY);
130 fprintf(stderr, "unable to open file: %s\n", filename.c_str());
147 fprintf(stderr, "unable to parse file: %s\n", filename.c_str());
156 printf("\r%s file %zd of %zd...", message.c_str(), j, J);
163 mkdirs(parent_dir(filename).c_str());
164 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, 0666);
167 filename.c_str());
171 ssize_t amt = write(fd, text.c_str(), text.length());