Searched refs:pOpt (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/samples/coll/ |
D | coll.cpp | 89 OptSpec *pOpt; in processOptions() local 90 for (pOpt = opts; pOpt->name != 0; pOpt ++) { in processOptions() 91 if (strcmp(pOpt->name, pArgName) == 0) { in processOptions() 92 switch (pOpt->type) { in processOptions() 94 *(UBool *)(pOpt->pVar) = TRUE; in processOptions() 100 pOpt->name); in processOptions() 103 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions() 109 pOpt->name); in processOptions() 117 pOpt->name); in processOptions() 120 *(int *)(pOpt->pVar) = i; in processOptions() [all …]
|
/external/icu/icu4c/source/samples/strsrch/ |
D | strsrch.cpp | 100 OptSpec *pOpt; in processOptions() local 101 for (pOpt = opts; pOpt->name != 0; pOpt ++) { in processOptions() 102 if (strcmp(pOpt->name, pArgName) == 0) { in processOptions() 103 switch (pOpt->type) { in processOptions() 105 *(UBool *)(pOpt->pVar) = TRUE; in processOptions() 111 pOpt->name); in processOptions() 114 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions() 120 pOpt->name); in processOptions() 128 pOpt->name); in processOptions() 131 *(int *)(pOpt->pVar) = i; in processOptions() [all …]
|
/external/icu/icu4c/source/test/perf/ubrkperf/ |
D | ubrkperfold.cpp | 234 OptSpec *pOpt; in ProcessOptions() local 238 for (pOpt = opts; pOpt->name != 0; pOpt++) { in ProcessOptions() 239 if (strcmp(pOpt->name, pArgName) == 0) { in ProcessOptions() 240 switch (pOpt->type) { in ProcessOptions() 242 *(UBool *)(pOpt->pVar) = TRUE; in ProcessOptions() 247 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 250 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions() 255 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 261 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 264 *(int *)(pOpt->pVar) = i; in ProcessOptions() [all …]
|
/external/icu/icu4c/source/test/perf/collationperf/ |
D | collperf.cpp | 224 OptSpec *pOpt; in ProcessOptions() local 228 for (pOpt = opts; pOpt->name != 0; pOpt++) { in ProcessOptions() 229 if (strcmp(pOpt->name, pArgName) == 0) { in ProcessOptions() 230 switch (pOpt->type) { in ProcessOptions() 232 *(UBool *)(pOpt->pVar) = TRUE; in ProcessOptions() 237 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 240 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions() 245 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 251 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name); in ProcessOptions() 254 *(int *)(pOpt->pVar) = i; in ProcessOptions() [all …]
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_formfield.cpp | 749 CPDF_Array* pOpt = ToArray(pValue); in InsertOption() local 750 if (!pOpt) { in InsertOption() 751 pOpt = new CPDF_Array; in InsertOption() 752 m_pDict->SetAt("Opt", pOpt); in InsertOption() 755 int iCount = (int)pOpt->GetCount(); in InsertOption() 757 pOpt->AddString(csStr); in InsertOption() 761 pOpt->InsertAt(index, pString); in InsertOption() 845 CPDF_Object* pOpt = FPDF_GetFieldAttr(m_pDict, "Opt"); in CheckControl() local 846 if (!ToArray(pOpt)) { in CheckControl()
|
D | doc_ap.cpp | 606 if (CPDF_Object* pOpt = pOpts->GetElementValue(i)) { in GenerateWidgetAP() local 608 if (pOpt->IsString()) in GenerateWidgetAP() 609 swItem = pOpt->GetUnicodeText(); in GenerateWidgetAP() 610 else if (CPDF_Array* pArray = pOpt->AsArray()) in GenerateWidgetAP()
|
D | doc_form.cpp | 1087 CPDF_Object* pOpt = FPDF_GetFieldAttr(pField->m_pDict, "Opt"); in ExportToFDF() local 1088 if (pOpt) in ExportToFDF()
|