• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ICU-511.35/icuSources/test/cintltst/

Lines Matching defs:pat

201     UChar                pat[200];
207 u_uastrncpy(pat, "abc*", sizeof(pat)/2);
208 re = uregex_open(pat, -1, 0, 0, &status);
217 re = uregex_open(pat, -1,
225 re = uregex_open(pat, -1, 0x40000000, 0, &status);
231 re = uregex_open(pat, -1, UREGEX_CANON_EQ, 0, &status);
259 u_uastrncpy(pat, "abc*", sizeof(pat)/2);
260 TEST_ASSERT(u_strcmp(pat, p) == 0);
299 u_uastrncpy(testString1, "abcccd", sizeof(pat)/2);
300 u_uastrncpy(testString2, "xxxabcccd", sizeof(pat)/2);
331 u_uastrncpy(pat, "hello", sizeof(pat)/2);
333 re = uregex_open(pat, -1, 0, NULL, &status);
340 TEST_ASSERT(u_strcmp(resultPat, pat) == 0);
346 re = uregex_open(pat, 3, 0, NULL, &status);
354 TEST_ASSERT(u_strncmp(resultPat, pat, 3) == 0);
368 re = uregex_open(pat, -1, 0, NULL, &status);
375 re = uregex_open(pat, -1, 0, NULL, &status);
382 re = uregex_open(pat, -1, UREGEX_CASE_INSENSITIVE | UREGEX_DOTALL, NULL, &status);
400 u_uastrncpy(pat, "abc*d", sizeof(pat)/2);
401 re = uregex_open(pat, -1, 0, NULL, &status);
455 u_uastrncpy(pat, "abc*d", sizeof(pat)/2);
456 re = uregex_open(pat, -1, 0, NULL, &status);
491 u_uastrncpy(pat, "abc*d", sizeof(pat)/2);
492 re = uregex_open(pat, -1, 0, NULL, &status);
1404 UChar pat[200];
1467 u_uastrncpy(testString1, "abcccd", sizeof(pat)/2);
1468 u_uastrncpy(testString2, "xxxabcccd", sizeof(pat)/2);
1502 u_uastrncpy(pat, "hello", sizeof(pat)/2); /* for comparison */
1506 re = uregex_open(pat, -1, 0, NULL, &status);
1513 TEST_ASSERT(u_strcmp(resultPat, pat) == 0);
1523 re = uregex_open(pat, 3, 0, NULL, &status);
1530 TEST_ASSERT(u_strncmp(resultPat, pat, 3) == 0);