Home
last modified time | relevance | path

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

/third_party/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()
182 ByteBuffer c = ByteBuffer.wrap(cc.cbopt.getBytes()); in TestFromUnicode()
183 logln("Callback: " + printbytes(c, c.limit()) + " (" + cc.cbopt + ")"); in TestFromUnicode()
197 if (cc.cbopt.length() > 0) { in TestFromUnicode()
199 switch ((cc.cbopt).charAt(0)) { in TestFromUnicode()
219 cc.option = cc.cbErrorAction == null ? cc.cbopt : cc.cbopt in TestFromUnicode()
284 if (cc.cbopt.length() > 1) { in FromUnicodeCase()
285 if (cc.cbopt.length() > 1 && cc.cbopt.charAt(1) == '=') { in FromUnicodeCase()
292 if (cc.cbopt.charAt(1) == 0x00) { in FromUnicodeCase()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dconvtest.cpp89 char charset[100], cbopt[4]; in TestToUnicode() local
154 s.extract(0, 0x7fffffff, cbopt, sizeof(cbopt), ""); in TestToUnicode()
155 cc.cbopt=cbopt; in TestToUnicode()
156 switch(cbopt[0]) { in TestToUnicode()
173 option=callback==NULL ? cbopt : cbopt+1; in TestToUnicode()
201 char charset[100], cbopt[4]; in TestFromUnicode() local
305 s.extract(0, 0x7fffffff, cbopt, sizeof(cbopt), ""); in TestFromUnicode()
306 cc.cbopt=cbopt; in TestFromUnicode()
307 switch(cbopt[0]) { in TestFromUnicode()
324 option=callback==NULL ? cbopt : cbopt+1; in TestFromUnicode()
[all …]
Dconvtest.h34 const char *charset, *cbopt, *name; member
/third_party/popt/src/
Dpopt.c117 const struct poptOption * cbopt = NULL; in invokeCallbacksOPTION() local
132 cbopt = opt; in invokeCallbacksOPTION()
136 if (cbopt == NULL || cbarg.cb == NULL) in invokeCallbacksOPTION()
142 { const void *cbData = (cbopt->descrip ? cbopt->descrip : myData); in invokeCallbacksOPTION()
146 if (!CBF_ISSET(cbopt, CONTINUE)) in invokeCallbacksOPTION()