• Home
  • Raw
  • Download

Lines Matching refs:rd

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