Lines Matching defs:val
952 int32_t min, max, gr_min, le_max, ac_min, ac_max, val;
970 val = ucal_get(cal, UCAL_DAY_OF_WEEK, &status);
973 if ( (min != UCAL_SUNDAY || max != UCAL_SATURDAY ) && (min > val && val > max) && (val != UCAL_FRIDAY)){
975 log_err("FAIL: Day of week %d out of range\n", val);
976 log_err("FAIL: FAIL: Day of week should be SUNDAY Got %d\n", val);
981 val = ucal_get(cal, UCAL_DAY_OF_WEEK_IN_MONTH, &status);
984 if ( (min != 0 || max != 5 ) && (min > val && val > max) && (val != 1)){
986 log_err("FAIL: Day of week in month %d out of range\n", val);
987 log_err("FAIL: FAIL: Day of week in month should be SUNDAY Got %d\n", val);
1008 val=ucal_get(cal, UCAL_HOUR_OF_DAY, &status);
1016 (min>val && val>max) && val!=4){
1019 log_err("FAIL: Hour of Day %d out of range\n", val);
1020 log_err("FAIL: HOUR_OF_DAY should be 4 Got %d\n", val);
1027 val=ucal_getLimit(cal, UCAL_SECOND, (UCalendarLimitType)99, &status);
1028 if(val != -1){