Lines Matching refs:scriptRun
2017 CheckScriptRuns(UScriptRun *scriptRun, int32_t *runStarts, const RunTestData *testData, int32_t nRuns,
2025 while (uscript_nextRun(scriptRun, &runStart, &runLimit, &runCode)) {
2093 UScriptRun *scriptRun = NULL;
2114 scriptRun = uscript_openRun(NULL, stringLimit, &err);
2120 if (scriptRun != NULL) {
2122 uscript_closeRun(scriptRun);
2130 scriptRun = uscript_openRun(testString, 0, &err);
2136 if (scriptRun != NULL) {
2138 uscript_closeRun(scriptRun);
2146 scriptRun = uscript_openRun(NULL, 0, &err);
2153 if (uscript_nextRun(scriptRun, NULL, NULL, NULL)) {
2162 uscript_setRunText(scriptRun, NULL, stringLimit, &err);
2165 log_err("uscript_setRunText(scriptRun, NULL, stringLimit, &err) returned %s instead of U_ILLEGAL_ARGUMENT_ERROR.\n", u_errorName(err));
2173 uscript_setRunText(scriptRun, testString, 0, &err);
2176 log_err("uscript_setRunText(scriptRun, testString, 0, &err) returned %s instead of U_ILLEGAL_ARGUMENT_ERROR.\n", u_errorName(err));
2184 uscript_setRunText(scriptRun, testString, stringLimit, &err);
2189 CheckScriptRuns(scriptRun, runStarts, testData, nTestRuns, "uscript_setRunText");
2192 uscript_closeRun(scriptRun);
2198 scriptRun = uscript_openRun(testString, stringLimit, &err);
2203 CheckScriptRuns(scriptRun, runStarts, testData, nTestRuns, "uscript_openRun");
2209 uscript_resetRun(scriptRun);
2211 CheckScriptRuns(scriptRun, runStarts, testData, nTestRuns, "uscript_resetRun");
2214 uscript_closeRun(scriptRun);