• Home
  • Raw
  • Download

Lines Matching refs:resultBuffer

648     UChar resultBuffer[512];  in TestSecondaryGrouping()  local
663 unum_format(f, (int32_t)123456789L, resultBuffer, 512 , &pos, &status); in TestSecondaryGrouping()
665 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping()
667 … \"#,##,###\" pattern with 123456789 got %s, expected %s\n", austrdup(resultBuffer), "12,34,56,789… in TestSecondaryGrouping()
672 memset(resultBuffer,0, sizeof(UChar)*512); in TestSecondaryGrouping()
673 unum_toPattern(f, FALSE, resultBuffer, 512, &status); in TestSecondaryGrouping()
675 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping()
677 log_err("Fail: toPattern() got %s, expected %s\n", austrdup(resultBuffer), "#,##,##0"); in TestSecondaryGrouping()
679 memset(resultBuffer,0, sizeof(UChar)*512); in TestSecondaryGrouping()
687 unum_format(f, (int32_t)123456789L, resultBuffer, 512 , &pos, &status); in TestSecondaryGrouping()
689 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping()
691 …ing \"#,###\" pattern with 123456789 got %s, expected %s\n", austrdup(resultBuffer), "12,3456,789"… in TestSecondaryGrouping()
693 memset(resultBuffer,0, sizeof(UChar)*512); in TestSecondaryGrouping()
694 unum_toPattern(f, FALSE, resultBuffer, 512, &status); in TestSecondaryGrouping()
696 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping()
698 log_err("Fail: toPattern() got %s, expected %s\n", austrdup(resultBuffer), "#,####,##0"); in TestSecondaryGrouping()
700 memset(resultBuffer,0, sizeof(UChar)*512); in TestSecondaryGrouping()
707 unum_format(g, l, resultBuffer, 512, &pos, &status); in TestSecondaryGrouping()
711 if (u_strlen(resultBuffer) != 14) { in TestSecondaryGrouping()
714 for (i=0; i<u_strlen(resultBuffer); ++i) { in TestSecondaryGrouping()
726 isGroup = (UBool)(resultBuffer[i] == 0x002C); in TestSecondaryGrouping()
734 …cted %s x hi_IN -> \"1,87,65,43,210\" (with Hindi digits), got %s\n", "1876543210L", resultBuffer); in TestSecondaryGrouping()