Lines Matching defs:rd
362 const KnownRegion * rd;
363 for (rd = knownRegions; rd->code != NULL ; rd++ ) {
365 const URegion *r = uregion_getRegionFromCode(rd->code, &status);
368 int32_t e = rd->numeric;
372 if (uregion_getType(r) != rd->type) {
373 log_err("ERROR: Expected region %s to be of type %d. Got: %d\n", uregion_getRegionCode(r), rd->type, uregion_getType(r) );
383 log_data_err("ERROR: Known region %s was not recognized.\n", rd->code);
389 const KnownRegion * rd;
390 for (rd = knownRegions; rd->code != NULL ; rd++ ) {
392 const URegion *r = uregion_getRegionFromCode(rd->code, &status);
412 log_data_err("ERROR: Known region %s was not recognized.\n", rd->code);
418 const KnownRegion * rd;
419 for (rd = knownRegions; rd->code != NULL ; rd++ ) {
421 const URegion *r = uregion_getRegionFromCode(rd->code, &status);
441 log_data_err("ERROR: Known region %s was not recognized.\n", rd->code);
447 const KnownRegion * rd;
448 for (rd = knownRegions; rd->code != NULL ; rd++ ) {
450 const URegion *r = uregion_getRegionFromCode(rd->code, &status);
453 if (rd->parent == NULL) {
458 const URegion *p = uregion_getRegionFromCode(rd->parent, &status);
465 log_data_err("ERROR: Known region %s was not recognized.\n", rd->code);
471 const KnownRegion * rd;
472 for (rd = knownRegions; rd->code != NULL ; rd++ ) {
474 const URegion *r = uregion_getRegionFromCode(rd->code, &status);
477 if (rd->containingContinent == NULL) {
482 const URegion *p = uregion_getRegionFromCode(rd->containingContinent, &status);
489 log_data_err("ERROR: Known region %s was not recognized.\n", rd->code);
548 const KnownRegion * rd;
549 for (rd = knownRegions; rd->code != NULL ; rd++ ) {
551 const URegion *r = uregion_getRegionFromCode(rd->code, &status);
561 log_data_err("ERROR: Known region %s was not recognized.\n", rd->code);