Lines Matching defs:file_name
101 // Parse message into: instruction file_name_length file_name [file_text]
104 std::string file_name;
109 file_name.resize(file_name_length);
111 reader.read(&file_name[0], file_name_length);
113 if (file_name.length() == 0 || file_name[0] != '/') {
121 callback_factory_.NewCallback(&FileIoInstance::Load, file_name));
127 &FileIoInstance::Save, file_name, file_text));
130 callback_factory_.NewCallback(&FileIoInstance::Delete, file_name));
132 const std::string& dir_name = file_name;
136 const std::string& dir_name = file_name;
154 const std::string& file_name,
160 pp::FileRef ref(file_system_, file_name.c_str());
204 void Load(int32_t /* result */, const std::string& file_name) {
209 pp::FileRef ref(file_system_, file_name.c_str());
257 void Delete(int32_t /* result */, const std::string& file_name) {
262 pp::FileRef ref(file_system_, file_name.c_str());