Home
last modified time | relevance | path

Searched refs:cbopt (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestConversion.java67 String cbopt; // callback field in TestConversion.ConversionCase
150 cc.cbopt = ((ICUResourceBundle) testcase.getObject("callback")).getString(); in TestFromUnicode()
208 ByteBuffer c = ByteBuffer.wrap(cc.cbopt.getBytes()); in TestFromUnicode()
209 logln("Callback: " + printbytes(c, c.limit()) + " (" + cc.cbopt + ")"); in TestFromUnicode()
223 if (cc.cbopt.length() > 0) { in TestFromUnicode()
225 switch ((cc.cbopt).charAt(0)) { in TestFromUnicode()
245 cc.option = cc.cbErrorAction == null ? cc.cbopt : cc.cbopt in TestFromUnicode()
310 if (cc.cbopt.length() > 1) { in FromUnicodeCase()
311 if (cc.cbopt.length() > 1 && cc.cbopt.charAt(1) == '=') { in FromUnicodeCase()
318 if (cc.cbopt.charAt(1) == 0x00) { in FromUnicodeCase()
[all …]
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp88 char charset[100], cbopt[4]; in TestToUnicode() local
162 s.extract(0, 0x7fffffff, cbopt, sizeof(cbopt), ""); in TestToUnicode()
163 cc.cbopt=cbopt; in TestToUnicode()
164 switch(cbopt[0]) { in TestToUnicode()
181 option=callback==NULL ? cbopt : cbopt+1; in TestToUnicode()
209 char charset[100], cbopt[4]; in TestFromUnicode() local
322 s.extract(0, 0x7fffffff, cbopt, sizeof(cbopt), ""); in TestFromUnicode()
323 cc.cbopt=cbopt; in TestFromUnicode()
324 switch(cbopt[0]) { in TestFromUnicode()
341 option=callback==NULL ? cbopt : cbopt+1; in TestFromUnicode()
[all …]
Dconvtest.h34 const char *charset, *cbopt, *name; member