Lines Matching refs:delimBuf
347 UChar delimBuf[sizeof(test)]; in TestStringFunctions() local
354 u_uastrcpy(delimBuf, " "); in TestStringFunctions()
356 ptr = u_strtok_r(temp, delimBuf, &state); in TestStringFunctions()
357 u_uastrcpy(delimBuf, " ,"); in TestStringFunctions()
363 ptr = u_strtok_r(NULL, delimBuf, &state); in TestStringFunctions()
370 state = delimBuf; /* Give it an "invalid" saveState */ in TestStringFunctions()
372 if (u_strtok_r(currTokenBuf, delimBuf, &state) != NULL) { in TestStringFunctions()
378 state = delimBuf; /* Give it an "invalid" saveState */ in TestStringFunctions()
380 if (u_strtok_r(currTokenBuf, delimBuf, &state) != NULL) { in TestStringFunctions()
387 state = delimBuf; /* Give it an "invalid" saveState */ in TestStringFunctions()
389 if (u_strtok_r(currTokenBuf, delimBuf, &state) == NULL) { in TestStringFunctions()
392 if (u_strtok_r(NULL, delimBuf, &state) != NULL) { in TestStringFunctions()
399 state = delimBuf; /* Give it an "invalid" saveState */ in TestStringFunctions()
402 u_uastrcpy(delimBuf, "q"); /* Give it a delimiter that it can't find. */ in TestStringFunctions()
403 ptr = u_strtok_r(currTokenBuf, delimBuf, &state); in TestStringFunctions()
407 if (u_strtok_r(NULL, delimBuf, &state) != NULL) { in TestStringFunctions()