Lines Matching full:code
77 * <code>size</code> field.</p>
85 * <p>The implementation for the <code>udata_open[Choice]()</code>
86 * functions may reject data based on the value in <code>isBigEndian</code>.
87 * No other field is used by the <code>udata</code> API implementation.</p>
89 * <p>The <code>dataFormat</code> may be used to identify
92 * <p>The <code>formatVersion</code> field should be used to
97 * as the using code can still interpret the older contents.</p>
99 * <p>The <code>dataVersion</code> field is intended to be a
154 * @param context parameter passed into <code>udata_openChoice()</code>.
155 * @param type The type of the data as passed into <code>udata_openChoice()</code>.
156 * It may be <code>NULL</code>.
157 * @param name The name of the data as passed into <code>udata_openChoice()</code>.
158 * @param pInfo A pointer to the <code>UDataInfo</code> structure
160 * by <code>udata_openChoice()</code> if this function
161 * returns <code>TRUE</code>.
173 * This function works the same as <code>udata_openChoice</code>
178 * <code>NULL</code> for ICU data.
182 * This may be <code>NULL</code> or empty.
184 * @param pErrorCode An ICU UErrorCode parameter. It must not be <code>NULL</code>.
185 * @return A pointer (handle) to a data memory object, or <code>NULL</code>
186 * if an error occurs. Call <code>udata_getMemory()</code>
211 * a <code>UDataInfo</code> structure.
212 * The caller's <code>isAcceptable()</code> function is called to make
217 * <p>If <code>path==NULL</code>, then ICU data is loaded.
227 * <code>NULL</code> for ICU data.
231 * This may be <code>NULL</code> or empty.
234 * is useful for the client code. If it returns FALSE
235 * for all data items, then <code>udata_openChoice()</code>
238 * @param pErrorCode An ICU UErrorCode parameter. It must not be <code>NULL</code>.
239 * @return A pointer (handle) to a data memory object, or <code>NULL</code>
240 * if an error occurs. Call <code>udata_getMemory()</code>
273 * via the pointer that <code>udata_getMemory()</code> returns.
277 * its <code>size</code> field must be set correctly,
278 * typically to <code>sizeof(UDataInfo)</code>.
280 * <code>*pInfo</code> will be filled with the UDataInfo structure
282 * <code>pInfo->size</code>, then the <code>size</code> will be
299 * as shown in this code:
308 * when this call is made, or U_USING_DEFAULT_WARNING code will
319 * @param err outgoing error status <code>U_USING_DEFAULT_WARNING, U_UNSUPPORTED_ERROR</code>
338 * Warning: setAppData will set a U_USING_DEFAULT_WARNING code if
347 * @param err outgoing error status <code>U_USING_DEFAULT_WARNING, U_UNSUPPORTED_ERROR</code>
380 * @param status Error code.