Home
last modified time | relevance | path

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

/external/icu4c/test/cintltst/
Dcmsgtst.c369 UDateFormat *def1; in TestNewFormatAndParseAPI() local
440 def1 = udat_open(UDAT_DEFAULT,UDAT_DEFAULT ,NULL, NULL, 0, NULL,0,&status); in TestNewFormatAndParseAPI()
446 if(u_strcmp(myDateFormat(def1, d), myDateFormat(def1, d1))==0) in TestNewFormatAndParseAPI()
450 austrdup(myDateFormat(def1,d)), austrdup(myDateFormat(def1,d1)) ); in TestNewFormatAndParseAPI()
454 udat_close(def1); in TestNewFormatAndParseAPI()
475 UDateFormat *def1; in TestSampleFormatAndParseWithError() local
536 def1 = udat_open(UDAT_DEFAULT,UDAT_DEFAULT ,NULL, NULL, 0, NULL,0,&status); in TestSampleFormatAndParseWithError()
542 if(u_strcmp(myDateFormat(def1, d), myDateFormat(def1, d1))==0) in TestSampleFormatAndParseWithError()
546 austrdup(myDateFormat(def1,d)), austrdup(myDateFormat(def1,d1)) ); in TestSampleFormatAndParseWithError()
549 udat_close(def1); in TestSampleFormatAndParseWithError()
[all …]
Dcdattst.c54 UDateFormat *def, *fr, *it, *de, *def1, *fr_pat; in TestDateFormat() local
109 def1 = udat_open(UDAT_SHORT, UDAT_SHORT, NULL, NULL, 0,NULL, 0, &status); in TestDateFormat()
254 udat_applyPattern(def1, FALSE, temp, u_strlen(temp)); in TestDateFormat()
258 resultlengthneeded=udat_toPattern(def1, FALSE, NULL, resultlength, &status); in TestDateFormat()
264 udat_toPattern(def1, FALSE, result, resultlength, &status); in TestDateFormat()
299 udat_set2DigitYearStart(def1 ,d1, &status); in TestDateFormat()
303 if(udat_get2DigitYearStart(fr_pat, &status) != udat_get2DigitYearStart(def1, &status)) in TestDateFormat()
322 udat_setNumberFormat(def1, numformat1); in TestDateFormat()
323 numformat2=udat_getNumberFormat(def1); in TestDateFormat()
331 udat_setNumberFormat(def1, numformat1); in TestDateFormat()
[all …]
/external/libxml2/
Drelaxng.c3745 xmlRelaxNGCompareNameClasses(xmlRelaxNGDefinePtr def1, in xmlRelaxNGCompareNameClasses() argument
3757 if ((def1->type == XML_RELAXNG_ELEMENT) || in xmlRelaxNGCompareNameClasses()
3758 (def1->type == XML_RELAXNG_ATTRIBUTE)) { in xmlRelaxNGCompareNameClasses()
3761 if (def1->name != NULL) { in xmlRelaxNGCompareNameClasses()
3762 node.name = def1->name; in xmlRelaxNGCompareNameClasses()
3766 if (def1->ns != NULL) { in xmlRelaxNGCompareNameClasses()
3767 if (def1->ns[0] == 0) { in xmlRelaxNGCompareNameClasses()
3771 ns.href = def1->ns; in xmlRelaxNGCompareNameClasses()
3777 if (def1->nameClass != NULL) { in xmlRelaxNGCompareNameClasses()
3778 ret = xmlRelaxNGCompareNameClasses(def1->nameClass, def2); in xmlRelaxNGCompareNameClasses()
[all …]