Home | History | Annotate | Download | only in glue

Lines Matching refs:handle

118 void WebFileUtilitiesImpl::closeFile(base::PlatformFile& handle) {
119 if (handle == base::kInvalidPlatformFileValue)
121 if (base::ClosePlatformFile(handle))
122 handle = base::kInvalidPlatformFileValue;
125 long long WebFileUtilitiesImpl::seekFile(base::PlatformFile handle,
128 if (handle == base::kInvalidPlatformFileValue)
130 net::FileStream file_stream(handle, 0);
134 bool WebFileUtilitiesImpl::truncateFile(base::PlatformFile handle,
136 if (handle == base::kInvalidPlatformFileValue || offset < 0)
138 net::FileStream file_stream(handle, base::PLATFORM_FILE_WRITE);
142 int WebFileUtilitiesImpl::readFromFile(base::PlatformFile handle,
145 if (handle == base::kInvalidPlatformFileValue || !data || length <= 0)
149 net::FileStream file_stream(handle, base::PLATFORM_FILE_READ);
153 int WebFileUtilitiesImpl::writeToFile(base::PlatformFile handle,
156 if (handle == base::kInvalidPlatformFileValue || !data || length <= 0)
158 net::FileStream file_stream(handle, base::PLATFORM_FILE_WRITE);