/external/icu/icu4c/source/samples/coll/ |
D | coll.cpp | 95 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/ |
D | strsrch.cpp | 105 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/ |
D | ubrkperfold.cpp | 239 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/ |
D | collperf.cpp | 228 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/ |
D | cpdf_formfield.cpp | 667 CPDF_Array* pOpt = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "Opt")); in InsertOption() local 668 if (!pOpt) in InsertOption() 669 pOpt = m_pDict->SetNewFor<CPDF_Array>("Opt"); in InsertOption() 671 int iCount = pdfium::base::checked_cast<int>(pOpt->GetCount()); in InsertOption() 673 pOpt->AddNew<CPDF_String>(csStr, false); in InsertOption() 676 pOpt->InsertNewAt<CPDF_String>(index, csStr, false); in InsertOption() 741 CPDF_Object* pOpt = FPDF_GetFieldAttr(m_pDict.Get(), "Opt"); in CheckControl() local 742 if (!ToArray(pOpt)) { in CheckControl()
|
D | cpdf_formfield.h | 187 void SetOpt(std::unique_ptr<CPDF_Object> pOpt) { in SetOpt() argument 188 m_pDict->SetFor("Opt", std::move(pOpt)); in SetOpt()
|
D | cpvt_generateap.cpp | 1220 if (CPDF_Object* pOpt = pOpts->GetDirectObjectAt(i)) { in GenerateFormAP() local 1222 if (pOpt->IsString()) in GenerateFormAP() 1223 swItem = pOpt->GetUnicodeText(); in GenerateFormAP() 1224 else if (CPDF_Array* pArray = pOpt->AsArray()) in GenerateFormAP()
|
D | cpdf_interform.cpp | 1165 CPDF_Object* pOpt = FPDF_GetFieldAttr(pField->GetDict(), "Opt"); in ExportToFDF() local 1166 if (pOpt) in ExportToFDF()
|
/external/sqlite/dist/orig/ |
D | shell.c | 11801 struct ArSwitch *pOpt; in arParseCommand() local 11802 for(pOpt=&aSwitch[0]; pOpt<pEnd; pOpt++){ in arParseCommand() 11803 if( z[i]==pOpt->cShort ) break; in arParseCommand() 11805 if( pOpt==pEnd ){ in arParseCommand() 11808 if( pOpt->bArg ){ in arParseCommand() 11814 if( arProcessSwitch(pAr, pOpt->eSwitch, zArg) ) return SQLITE_ERROR; in arParseCommand() 11839 struct ArSwitch *pOpt; in arParseCommand() local 11840 for(pOpt=&aSwitch[0]; pOpt<pEnd; pOpt++){ in arParseCommand() 11841 if( z[i]==pOpt->cShort ) break; in arParseCommand() 11843 if( pOpt==pEnd ){ in arParseCommand() [all …]
|
/external/sqlite/dist/ |
D | shell.c | 11824 struct ArSwitch *pOpt; in arParseCommand() local 11825 for(pOpt=&aSwitch[0]; pOpt<pEnd; pOpt++){ in arParseCommand() 11826 if( z[i]==pOpt->cShort ) break; in arParseCommand() 11828 if( pOpt==pEnd ){ in arParseCommand() 11831 if( pOpt->bArg ){ in arParseCommand() 11837 if( arProcessSwitch(pAr, pOpt->eSwitch, zArg) ) return SQLITE_ERROR; in arParseCommand() 11862 struct ArSwitch *pOpt; in arParseCommand() local 11863 for(pOpt=&aSwitch[0]; pOpt<pEnd; pOpt++){ in arParseCommand() 11864 if( z[i]==pOpt->cShort ) break; in arParseCommand() 11866 if( pOpt==pEnd ){ in arParseCommand() [all …]
|