• Home
  • Raw
  • Download

Lines Matching refs:start

43     UBool parseLevels(const char *start);
44 UBool parseOrdering(const char *start);
45 UBool parseInputStringFromBiDiClasses(const char *&start);
121 UBool BiDiConformanceTest::parseLevels(const char *start) { in parseLevels() argument
124 while(*start!=0 && *(start=u_skipWhitespace(start))!=0) { in parseLevels()
125 if(*start=='x') { in parseLevels()
127 ++start; in parseLevels()
130 uint32_t value=(uint32_t)strtoul(start, &end, 10); in parseLevels()
131 … if(end<=start || (!U_IS_INV_WHITESPACE(*end) && *end!=0) || value>(UBIDI_MAX_EXPLICIT_LEVEL+1)) { in parseLevels()
132 errln("@Levels: parse error at %s", start); in parseLevels()
137 start=end; in parseLevels()
143 UBool BiDiConformanceTest::parseOrdering(const char *start) { in parseOrdering() argument
145 while(*start!=0 && *(start=u_skipWhitespace(start))!=0) { in parseOrdering()
147 uint32_t value=(uint32_t)strtoul(start, &end, 10); in parseOrdering()
148 if(end<=start || (!U_IS_INV_WHITESPACE(*end) && *end!=0) || value>=1000) { in parseOrdering()
149 errln("@Reorder: parse error at %s", start); in parseOrdering()
153 start=end; in parseOrdering()
200 UBool BiDiConformanceTest::parseInputStringFromBiDiClasses(const char *&start) { in parseInputStringFromBiDiClasses() argument
208 while(*start!=0 && *(start=u_skipWhitespace(start))!=0 && *start!=';') { in parseInputStringFromBiDiClasses()
212 if(start[0]=='L') { in parseInputStringFromBiDiClasses()
213 if(start[1]=='R') { in parseInputStringFromBiDiClasses()
214 if(start[2]=='E') { in parseInputStringFromBiDiClasses()
216 } else if(start[2]=='O') { in parseInputStringFromBiDiClasses()
222 } else if(start[0]=='R') { in parseInputStringFromBiDiClasses()
223 if(start[1]=='L') { in parseInputStringFromBiDiClasses()
224 if(start[2]=='E') { in parseInputStringFromBiDiClasses()
226 } else if(start[2]=='O') { in parseInputStringFromBiDiClasses()
232 } else if(start[0]=='E') { in parseInputStringFromBiDiClasses()
233 if(start[1]=='N') { in parseInputStringFromBiDiClasses()
235 } else if(start[1]=='S') { in parseInputStringFromBiDiClasses()
237 } else if(start[1]=='T') { in parseInputStringFromBiDiClasses()
240 } else if(start[0]=='A') { in parseInputStringFromBiDiClasses()
241 if(start[1]=='L') { in parseInputStringFromBiDiClasses()
243 } else if(start[1]=='N') { in parseInputStringFromBiDiClasses()
246 } else if(start[0]=='C' && start[1]=='S') { in parseInputStringFromBiDiClasses()
248 } else if(start[0]=='B') { in parseInputStringFromBiDiClasses()
249 if(start[1]=='N') { in parseInputStringFromBiDiClasses()
254 } else if(start[0]=='S') { in parseInputStringFromBiDiClasses()
256 } else if(start[0]=='W' && start[1]=='S') { in parseInputStringFromBiDiClasses()
258 } else if(start[0]=='O' && start[1]=='N') { in parseInputStringFromBiDiClasses()
260 } else if(start[0]=='P' && start[1]=='D' && start[2]=='F') { in parseInputStringFromBiDiClasses()
262 } else if(start[0]=='N' && start[1]=='S' && start[2]=='M') { in parseInputStringFromBiDiClasses()
268 char c=start[biDiClassNameLength]; in parseInputStringFromBiDiClasses()
270 errln("BiDi class string not recognized at %s", start); in parseInputStringFromBiDiClasses()
274 start+=biDiClassNameLength; in parseInputStringFromBiDiClasses()
312 const char *start=u_skipWhitespace(line); in TestBidiTest() local
313 if(*start==0) { in TestBidiTest()
316 if(*start=='@') { in TestBidiTest()
317 ++start; in TestBidiTest()
318 if(0==strncmp(start, "Levels:", 7)) { in TestBidiTest()
319 if(!parseLevels(start+7)) { in TestBidiTest()
322 } else if(0==strncmp(start, "Reorder:", 8)) { in TestBidiTest()
323 if(!parseOrdering(start+8)) { in TestBidiTest()
329 if(!parseInputStringFromBiDiClasses(start)) { in TestBidiTest()
332 start=u_skipWhitespace(start); in TestBidiTest()
333 if(*start!=';') { in TestBidiTest()
337 start=u_skipWhitespace(start+1); in TestBidiTest()
339 uint32_t bitset=(uint32_t)strtoul(start, &end, 10); in TestBidiTest()
340 if(end<=start || (!U_IS_INV_WHITESPACE(*end) && *end!=';' && *end!=0)) { in TestBidiTest()
341 errln("input bitset parse error at %s", start); in TestBidiTest()