Home
last modified time | relevance | path

Searched refs:pOpt (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/samples/coll/
Dcoll.cpp95 OptSpec *pOpt; in processOptions() local
96 for (pOpt = opts; pOpt->name != 0; pOpt ++) { in processOptions()
97 if (strcmp(pOpt->name, pArgName) == 0) { in processOptions()
98 switch (pOpt->type) { in processOptions()
100 *(UBool *)(pOpt->pVar) = true; in processOptions()
106 pOpt->name); in processOptions()
109 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
115 pOpt->name); in processOptions()
123 pOpt->name); in processOptions()
126 *(int *)(pOpt->pVar) = i; in processOptions()
[all …]
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp105 OptSpec *pOpt; in processOptions() local
106 for (pOpt = opts; pOpt->name != 0; pOpt ++) { in processOptions()
107 if (strcmp(pOpt->name, pArgName) == 0) { in processOptions()
108 switch (pOpt->type) { in processOptions()
110 *(UBool *)(pOpt->pVar) = true; in processOptions()
116 pOpt->name); in processOptions()
119 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
125 pOpt->name); in processOptions()
133 pOpt->name); in processOptions()
136 *(int *)(pOpt->pVar) = i; in processOptions()
[all …]
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp239 OptSpec *pOpt; in ProcessOptions() local
243 for (pOpt = opts; pOpt->name != 0; pOpt++) { in ProcessOptions()
244 if (strcmp(pOpt->name, pArgName) == 0) { in ProcessOptions()
245 switch (pOpt->type) { in ProcessOptions()
247 *(UBool *)(pOpt->pVar) = TRUE; in ProcessOptions()
252 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
255 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions()
260 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
266 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
269 *(int *)(pOpt->pVar) = i; in ProcessOptions()
[all …]
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp228 OptSpec *pOpt; in ProcessOptions() local
232 for (pOpt = opts; pOpt->name != 0; pOpt++) { in ProcessOptions()
233 if (strcmp(pOpt->name, pArgName) == 0) { in ProcessOptions()
234 switch (pOpt->type) { in ProcessOptions()
236 *(UBool *)(pOpt->pVar) = true; in ProcessOptions()
241 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
244 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions()
249 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
255 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions()
258 *(int *)(pOpt->pVar) = i; in ProcessOptions()
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.cpp292 void CPDF_FormField::SetOpt(RetainPtr<CPDF_Object> pOpt) { in SetOpt() argument
293 m_pDict->SetFor("Opt", std::move(pOpt)); in SetOpt()
679 const CPDF_Object* pOpt = GetFieldAttr(m_pDict.Get(), "Opt"); in CheckControl() local
680 if (!ToArray(pOpt)) { in CheckControl()
Dcpdf_formfield.h144 void SetOpt(RetainPtr<CPDF_Object> pOpt);
Dcpvt_generateap.cpp1251 if (CPDF_Object* pOpt = pOpts->GetDirectObjectAt(i)) { in GenerateFormAP() local
1253 if (pOpt->IsString()) { in GenerateFormAP()
1254 swItem = pOpt->GetUnicodeText(); in GenerateFormAP()
1255 } else if (CPDF_Array* pArray = pOpt->AsArray()) { in GenerateFormAP()
Dcpdf_interactiveform.cpp1074 CPDF_Object* pOpt = in ExportToFDF() local
1076 if (pOpt) { in ExportToFDF()
/external/sqlite/dist/
Dshell.c14482 struct ArSwitch *pOpt; in arParseCommand() local
14483 for(pOpt=&aSwitch[0]; pOpt<pEnd; pOpt++){ in arParseCommand()
14484 if( z[i]==pOpt->cShort ) break; in arParseCommand()
14486 if( pOpt==pEnd ){ in arParseCommand()
14489 if( pOpt->bArg ){ in arParseCommand()
14495 if( arProcessSwitch(pAr, pOpt->eSwitch, zArg) ) return SQLITE_ERROR; in arParseCommand()
14520 struct ArSwitch *pOpt; in arParseCommand() local
14521 for(pOpt=&aSwitch[0]; pOpt<pEnd; pOpt++){ in arParseCommand()
14522 if( z[i]==pOpt->cShort ) break; in arParseCommand()
14524 if( pOpt==pEnd ){ in arParseCommand()
[all …]
/external/sqlite/dist/orig/
Dshell.c14461 struct ArSwitch *pOpt; in arParseCommand() local
14462 for(pOpt=&aSwitch[0]; pOpt<pEnd; pOpt++){ in arParseCommand()
14463 if( z[i]==pOpt->cShort ) break; in arParseCommand()
14465 if( pOpt==pEnd ){ in arParseCommand()
14468 if( pOpt->bArg ){ in arParseCommand()
14474 if( arProcessSwitch(pAr, pOpt->eSwitch, zArg) ) return SQLITE_ERROR; in arParseCommand()
14499 struct ArSwitch *pOpt; in arParseCommand() local
14500 for(pOpt=&aSwitch[0]; pOpt<pEnd; pOpt++){ in arParseCommand()
14501 if( z[i]==pOpt->cShort ) break; in arParseCommand()
14503 if( pOpt==pEnd ){ in arParseCommand()
[all …]