Lines Matching defs:scriptRun
1999 CheckScriptRuns(UScriptRun *scriptRun, int32_t *runStarts, const RunTestData *testData, int32_t nRuns,
2007 while (uscript_nextRun(scriptRun, &runStart, &runLimit, &runCode)) {
2075 UScriptRun *scriptRun = NULL;
2096 scriptRun = uscript_openRun(NULL, stringLimit, &err);
2102 if (scriptRun != NULL) {
2104 uscript_closeRun(scriptRun);
2112 scriptRun = uscript_openRun(testString, 0, &err);
2118 if (scriptRun != NULL) {
2120 uscript_closeRun(scriptRun);
2128 scriptRun = uscript_openRun(NULL, 0, &err);
2135 if (uscript_nextRun(scriptRun, NULL, NULL, NULL)) {
2144 uscript_setRunText(scriptRun, NULL, stringLimit, &err);
2147 log_err("uscript_setRunText(scriptRun, NULL, stringLimit, &err) returned %s instead of U_ILLEGAL_ARGUMENT_ERROR.\n", u_errorName(err));
2155 uscript_setRunText(scriptRun, testString, 0, &err);
2158 log_err("uscript_setRunText(scriptRun, testString, 0, &err) returned %s instead of U_ILLEGAL_ARGUMENT_ERROR.\n", u_errorName(err));
2166 uscript_setRunText(scriptRun, testString, stringLimit, &err);
2171 CheckScriptRuns(scriptRun, runStarts, testData, nTestRuns, "uscript_setRunText");
2174 uscript_closeRun(scriptRun);
2180 scriptRun = uscript_openRun(testString, stringLimit, &err);
2185 CheckScriptRuns(scriptRun, runStarts, testData, nTestRuns, "uscript_openRun");
2191 uscript_resetRun(scriptRun);
2193 CheckScriptRuns(scriptRun, runStarts, testData, nTestRuns, "uscript_resetRun");
2196 uscript_closeRun(scriptRun);