Home
last modified time | relevance | path

Searched refs:scriptRun (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/common/
Dusc_impl.cpp30 #define STACK_IS_EMPTY(scriptRun) ((scriptRun)->pushCount <= 0) argument
31 #define STACK_IS_NOT_EMPTY(scriptRun) (! STACK_IS_EMPTY(scriptRun)) argument
32 #define TOP(scriptRun) ((scriptRun)->parenStack[(scriptRun)->parenSP]) argument
33 #define SYNC_FIXUP(scriptRun) ((scriptRun)->fixupCount = 0) argument
78 static void push(UScriptRun *scriptRun, int32_t pairIndex, UScriptCode scriptCode) in push() argument
80 scriptRun->pushCount = LIMIT_INC(scriptRun->pushCount); in push()
81 scriptRun->fixupCount = LIMIT_INC(scriptRun->fixupCount); in push()
83 scriptRun->parenSP = INC1(scriptRun->parenSP); in push()
84 scriptRun->parenStack[scriptRun->parenSP].pairIndex = pairIndex; in push()
85 scriptRun->parenStack[scriptRun->parenSP].scriptCode = scriptCode; in push()
[all …]
Dusc_impl.h90 uscript_closeRun(UScriptRun *scriptRun);
99 uscript_resetRun(UScriptRun *scriptRun);
117 uscript_setRunText(UScriptRun *scriptRun, const UChar *src, int32_t length, UErrorCode *pErrorCode);
137 uscript_nextRun(UScriptRun *scriptRun, int32_t *pRunStart, int32_t *pRunLimit, UScriptCode *pRunScr…
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScriptRun.java60 private void CheckScriptRuns(UScriptRun scriptRun, int[] runStarts, RunTestData[] testData) in CheckScriptRuns() argument
67 while (scriptRun.next()) { in CheckScriptRuns()
68 runStart = scriptRun.getScriptStart(); in CheckScriptRuns()
69 runLimit = scriptRun.getScriptLimit(); in CheckScriptRuns()
70 runScript = scriptRun.getScriptCode(); in CheckScriptRuns()
101 UScriptRun scriptRun = null; in TestContstruction() local
106 scriptRun = new UScriptRun(nullString, 0, 100); in TestContstruction()
113 scriptRun = new UScriptRun(nullString, 100, 0); in TestContstruction()
120 scriptRun = new UScriptRun(nullString, 0, -100); in TestContstruction()
127 scriptRun = new UScriptRun(nullString, -100, 0); in TestContstruction()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScriptRun.java63 private void CheckScriptRuns(UScriptRun scriptRun, int[] runStarts, RunTestData[] testData) in CheckScriptRuns() argument
70 while (scriptRun.next()) { in CheckScriptRuns()
71 runStart = scriptRun.getScriptStart(); in CheckScriptRuns()
72 runLimit = scriptRun.getScriptLimit(); in CheckScriptRuns()
73 runScript = scriptRun.getScriptCode(); in CheckScriptRuns()
104 UScriptRun scriptRun = null; in TestContstruction() local
109 scriptRun = new UScriptRun(nullString, 0, 100); in TestContstruction()
116 scriptRun = new UScriptRun(nullString, 100, 0); in TestContstruction()
123 scriptRun = new UScriptRun(nullString, 0, -100); in TestContstruction()
130 scriptRun = new UScriptRun(nullString, -100, 0); in TestContstruction()
[all …]
/external/icu/icu4c/source/extra/scrptrun/
Dsrtest.cpp32 icu::ScriptRun scriptRun(testChars, 0, testLength); in main() local
34 while (scriptRun.next()) { in main()
35 int32_t start = scriptRun.getScriptStart(); in main()
36 int32_t end = scriptRun.getScriptEnd(); in main()
37 UScriptCode code = scriptRun.getScriptCode(); in main()
/external/icu/libicu/cts_headers/
Dusc_impl.h90 uscript_closeRun(UScriptRun *scriptRun);
99 uscript_resetRun(UScriptRun *scriptRun);
117 uscript_setRunText(UScriptRun *scriptRun, const UChar *src, int32_t length, UErrorCode *pErrorCode);
137 uscript_nextRun(UScriptRun *scriptRun, int32_t *pRunStart, int32_t *pRunLimit, UScriptCode *pRunScr…
/external/icu/icu4c/source/test/cintltst/
Dcucdtst.c2147 CheckScriptRuns(UScriptRun *scriptRun, int32_t *runStarts, const RunTestData *testData, int32_t nRu… in CheckScriptRuns() argument
2155 while (uscript_nextRun(scriptRun, &runStart, &runLimit, &runCode)) { in CheckScriptRuns()
2223 UScriptRun *scriptRun = NULL; in TestUScriptRunAPI() local
2244 scriptRun = uscript_openRun(NULL, stringLimit, &err); in TestUScriptRunAPI()
2250 if (scriptRun != NULL) { in TestUScriptRunAPI()
2252 uscript_closeRun(scriptRun); in TestUScriptRunAPI()
2260 scriptRun = uscript_openRun(testString, 0, &err); in TestUScriptRunAPI()
2266 if (scriptRun != NULL) { in TestUScriptRunAPI()
2268 uscript_closeRun(scriptRun); in TestUScriptRunAPI()
2276 scriptRun = uscript_openRun(NULL, 0, &err); in TestUScriptRunAPI()
[all …]