• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/

Lines Matching +defs:def +defs:pos

168     UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr,
174 def=unum_open(style, NULL,0,NULL, NULL,&status);
222 myclone = unum_clone(def,&status);
224 log_err("Error: could not clone unum_clone(def, &status): %s\n", myErrorName(status));
667 unum_setTextAttribute(def, UNUM_POSITIVE_PREFIX, prefix, u_strlen(prefix) , &status);
672 unum_getTextAttribute(def, UNUM_POSITIVE_PREFIX, temp, resultlength, &status);
684 unum_setTextAttribute(def, UNUM_NEGATIVE_PREFIX, prefix, u_strlen(prefix), &status);
689 unum_getTextAttribute(def, UNUM_NEGATIVE_PREFIX, temp, resultlength, &status);
700 unum_setTextAttribute(def, UNUM_NEGATIVE_SUFFIX, suffix, u_strlen(suffix) , &status);
706 unum_getTextAttribute(def, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status);
717 unum_setTextAttribute(def, UNUM_POSITIVE_SUFFIX, suffix, u_strlen(suffix) , &status);
723 unum_getTextAttribute(def, UNUM_POSITIVE_SUFFIX, temp, resultlength, &status);
736 newvalue=unum_getAttribute(def, attr);
738 unum_setAttribute(def, attr, newvalue);
739 if(unum_getAttribute(def,attr)!=2)
745 newvalue=unum_getAttribute(def, attr);
747 unum_setAttribute(def, attr, newvalue);
748 if(unum_getAttribute(def,attr) != 8)
754 newvalue=unum_getAttribute(def, attr);
756 unum_setAttribute(def, attr, newvalue);
757 if(unum_getAttribute(def,attr) != 2)
767 unum_setAttribute(def, attr, newvalue);
768 if(unum_getAttribute(def,attr)!=unum_getAttribute(fr, attr))
954 unum_close(def);
1061 log_err("UNUM_CURRENCY parseDouble %s/%s, expect %s pos %d val %.1f, get %s pos %d val %.1f\n",
1073 log_err("UNUM_CURRENCY parseDoubleCurrency %s/%s, expect %s pos %d val %.1f cur %s, get %s pos %d val %.1f cur %s\n",
1852 returns with a status of zero error & a parse pos of 22 (I would
1870 int32_t pos;
1884 pos = 0;
1889 &pos, /* 0 = start */
1895 if(U_FAILURE(status) || (pos != expected)) {
1896 log_err("unum_parseDoubleCurrency should have failed with pos %d, but gave: value %.9f, err %s, pos=%d, currency [%s]\n",
1897 expected, d, u_errorName(status), pos, acurrency);
1899 log_verbose("unum_parseDoubleCurrency failed, value %.9f err %s, pos %d, currency [%s]\n", d, u_errorName(status), pos, acurrency);
2093 int32_t pos;
2107 pos = 0;
2108 num = unum_parse(fmt, str, -1, &pos, &status);
2109 ASSERT_TRUE(pos==4);
2125 pos = 0;
2127 num = unum_parse(fmt, str, -1, &pos, &status);
2133 ASSERT_TRUE(pos==2);
2148 pos = 0;
2149 num = unum_parse(fmt, str, -1, &pos, &status);
2150 ASSERT_TRUE(pos==4);
2168 pos = 0;
2169 num = unum_parse(fmt, str, -1, &pos, &status);
2170 ASSERT_TRUE(pos==4);