Home | History | Annotate | Download | only in cpp

Lines Matching full:code

2 // Use of this source code is governed by a BSD-style license that can be
22 /// The <code>FileIO</code> class represents a regular file.
25 /// Default constructor for creating an is_null() <code>FileIO</code>
29 /// A constructor used to create a <code>FileIO</code> and associate it with
30 /// the provided <code>Instance</code>.
36 /// The copy constructor for <code>FileIO</code>.
38 /// @param[in] other A reference to a <code>FileIO</code>.
46 /// @param[in] file_ref A <code>PP_Resource</code> corresponding to a file
49 /// @param[in] open_flags A bit-mask of the <code>PP_FileOpenFlags</code>
56 /// See <code>PP_FileOpenFlags</code> in <code>ppb_file_io.h</code> for more
59 /// @param[in] cc A <code>CompletionCallback</code> to be called upon
62 /// @return An int32_t containing an error code from
63 /// <code>pp_errors.h</code>.
71 /// @param[in] result_buf The <code>PP_FileInfo</code> structure representing
73 /// @param[in] cc A <code>CompletionCallback</code> to be called upon
74 /// completion of Query(). <code>result_buf</code> must remain valid until
76 /// <code>result_buf</code> must remain valid until after Query() returns.
78 /// @return An int32_t containing an error code from
79 /// <code>pp_errors.h</code>.
88 /// @param[in] cc A <code>CompletionCallback</code> to be called upon
91 /// @return An int32_t containing an error code from
92 /// <code>pp_errors.h</code>.
141 /// <code>offset</code>.
142 /// @param[in] cc A <code>CompletionCallback</code> to be called upon
143 /// completion of Read(). <code>buffer</code> must remain valid until after
144 /// the callback runs. If you pass a blocking callback, <code>buffer</code>
147 /// @return An The number of bytes read an error code from
148 /// <code>pp_errors.h</code>. If the return value is 0, then end-of-file was
160 /// @param[in] file_io A <code>PP_Resource</code> corresponding to a file
164 /// <code>offset</code>.
165 /// @param[in] output A <code>PP_ArrayOutput</code> to hold the output data.
166 /// @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
169 /// @return The number of bytes read or an error code from
170 /// <code>pp_errors.h</code>. If the return value is 0, then end-of-file was
184 /// <code>offset</code>.
185 /// @param[in] cc A <code>CompletionCallback</code> to be called upon
188 /// @return An The number of bytes written or an error code from
189 /// <code>pp_errors.h</code>. If the return value is 0, then end-of-file was
202 /// @param[in] cc A <code>CompletionCallback</code> to be called upon
205 /// @return An int32_t containing an error code from
206 /// <code>pp_errors.h</code>.
212 /// @param[in] cc A <code>CompletionCallback</code> to be called upon
215 /// @return An int32_t containing an error code from
216 /// <code>pp_errors.h</code>.
221 /// <code>PP_ERROR_ABORTED</code> if pending IO was interrupted. It is not