Home | History | Annotate | Download | only in common

Lines Matching full:code

22  * <code>UScriptRun</code> is used to find runs of characters in
32 * Scripts are chosen based on the <code>UScriptCode</code> enumeration.
39 * \code
45 * UScriptCode code = USCRIPT_INVALID_CODE;
47 * while (uscript_nextRun(&start, &limit, &code)) {
48 * printf("Script '%s' from %d to %d.\n", uscript_getName(code), start, limit);
60 * Create a <code>UScriptRun</code> object for iterating over the given text. This object must
61 * be freed using <code>uscript_closeRun()</code>. Note that this object does not copy the source text,
63 * <code>uscript_closeRun()</code> or <code>uscript_setRunText()</code>.
66 * if <code>src == NULL</code> and <code>length == 0</code>,
67 * an empty <code>UScriptRun</code> object will be returned.
71 * @param pErrorCode is a pointer to a valid <code>UErrorCode</code> value. If this value
75 * @return the address of <code>UScriptRun</code> object which will iterate over the text,
76 * or <code>NULL</code> if the operation failed.
82 * Frees the given <code>UScriptRun</code> object and any storage associated with it.
83 * On return, scriptRun no longer points to a valid <code>UScriptRun</code> object.
85 * @param scriptRun is the <code>UScriptRun</code> object which will be freed.
91 * Reset the <code>UScriptRun</code> object so that it will start iterating from
94 * @param scriptRun is the address of the <code>UScriptRun</code> object to be reset.
100 * Change the text over which the given <code>UScriptRun</code> object iterates.
102 * @param scriptRun is the <code>UScriptRun</code> object which will be changed.
105 * If <code>src == NULL</code> and <code>length == 0</code>,
106 * the <code>UScriptRun</code> object will become empty.
110 * @param pErrorCode is a pointer to a valid <code>UErrorCode</code> value. If this value
118 * Advance the <code>UScriptRun</code> object to the next script run, return the start and limit
121 * @param scriptRun is the address of the <code>UScriptRun</code> object.
124 * This pointer can be <code>NULL</code> if the value is not needed.
127 * This pointer can be <code>NULL</code> if the value is not needed.
130 * script of the current run. This pointer can be <code>NULL</code> if the value is not needed.