/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | RegionTest.java | 19 import android.icu.util.Region; 20 import android.icu.util.Region.RegionType; 345 Region r = Region.getInstance(rd[0]); in TestKnownRegions() 351 if (r.getType() != Region.RegionType.valueOf(rd[3])) { in TestKnownRegions() 356 Region ncRegion = Region.getInstance(nc); in TestKnownRegions() 381 Region.getInstance(null); in TestGetInstanceString() 388 Region.getInstance("BOGUS"); in TestGetInstanceString() 397 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceString() 398 Region r = Region.getInstance(inputID); in TestGetInstanceString() 419 Region.getInstance(-123); in TestGetInstanceInt() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | RegionTest.java | 18 import com.ibm.icu.util.Region; 19 import com.ibm.icu.util.Region.RegionType; 341 Region r = Region.getInstance(rd[0]); in TestKnownRegions() 347 if (r.getType() != Region.RegionType.valueOf(rd[3])) { in TestKnownRegions() 352 Region ncRegion = Region.getInstance(nc); in TestKnownRegions() 377 Region.getInstance(null); in TestGetInstanceString() 384 Region.getInstance("BOGUS"); in TestGetInstanceString() 393 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceString() 394 Region r = Region.getInstance(inputID); in TestGetInstanceString() 415 Region.getInstance(-123); in TestGetInstanceInt() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | Region.java | 59 public class Region implements Comparable<Region> { class 104 private Region containingRegion = null; 105 private Set<Region> containedRegions = new TreeSet<Region>(); 106 private List<Region> preferredValues = null; 110 private static Map<String,Region> regionIDMap = null; // Map from ID the regions 111 …private static Map<Integer,Region> numericCodeMap = null; // Map from numeric code to the regions 112 private static Map<String,Region> regionAliases = null; // Aliases 114 …private static ArrayList<Region> regions = null; // This is the main data structure whe… 115 private static ArrayList<Set<Region>> availableRegions = null; 124 private Region () {} in Region() method in Region [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Region.java | 58 public class Region implements Comparable<Region> { class 112 private Region containingRegion = null; 113 private Set<Region> containedRegions = new TreeSet<Region>(); 114 private List<Region> preferredValues = null; 118 private static Map<String,Region> regionIDMap = null; // Map from ID the regions 119 …private static Map<Integer,Region> numericCodeMap = null; // Map from numeric code to the regions 120 private static Map<String,Region> regionAliases = null; // Aliases 122 …private static ArrayList<Region> regions = null; // This is the main data structure whe… 123 private static ArrayList<Set<Region>> availableRegions = null; 132 private Region () {} in Region() method in Region [all …]
|
/external/icu/icu4c/source/i18n/ |
D | region.cpp | 42 delete (icu::Region *)obj; in deleteRegion() 50 icu::Region::cleanupRegionData(); in region_cleanup() 83 void Region::loadRegionData(UErrorCode &status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 176 LocalPointer<Region> r(new Region(), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 208 const Region *aliasToRegion = (Region *) uhash_get(newRegionIDMap.getAlias(),&aliasTo); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 209 … Region *aliasFromRegion = (Region *)uhash_get(newRegionIDMap.getAlias(),aliasFromStr.getAlias()); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 215 LocalPointer<Region> newRgn(new Region, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 252 … Region *target = (Region *)uhash_get(newRegionIDMap.getAlias(),(void *)¤tRegion); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 271 Region *r = (Region *)uhash_get(newRegionIDMap.getAlias(),(void *)&codeMappingID); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 288 Region *r; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() [all …]
|
D | uregion.cpp | 23 return (URegion*)Region::getInstance(regionCode, *status); in uregion_getRegionFromCode() 30 return (URegion*)Region::getInstance(code, *status); in uregion_getRegionFromNumericCode() 37 StringEnumeration* strenum = Region::getAvailable(type, *status); in uregion_getAvailable() 52 return (URegion*)((Region*)uregion)->getContainingRegion(); in uregion_getContainingRegion() 59 return (URegion*)((Region*)uregion)->getContainingRegion(type); in uregion_getContainingRegionOfType() 66 StringEnumeration* strenum = ((Region*)uregion)->getContainedRegions(*status); in uregion_getContainedRegions() 74 StringEnumeration* strenum = ((Region*)uregion)->getContainedRegions(type, *status); in uregion_getContainedRegionsOfType() 82 return ((Region*)uregion)->contains(*((Region*)otherRegion)); in uregion_contains() 89 StringEnumeration* strenum = ((Region*)uregion)->getPreferredValues(*status); in uregion_getPreferredValues() 97 return ((Region*)uregion)->getRegionCode(); in uregion_getRegionCode() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | region.h | 68 class U_I18N_API Region : public UObject { 74 virtual ~Region(); 80 UBool operator==(const Region &that) const; 86 UBool operator!=(const Region &that) const; 95 static const Region* U_EXPORT2 getInstance(const char *region_code, UErrorCode &status); 102 static const Region* U_EXPORT2 getInstance (int32_t code, UErrorCode &status); 118 const Region* getContainingRegion() const; 128 const Region* getContainingRegion(URegionType type) const; 156 UBool contains(const Region &other) const; 200 Region *containingRegion; [all …]
|
/external/llvm/tools/llvm-cov/ |
D | SourceCoverageView.h | 28 coverage::CounterMappingRegion Region; member 31 ExpansionView(const coverage::CounterMappingRegion &Region, in ExpansionView() 33 : Region(Region), View(std::move(View)) {} in ExpansionView() 35 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView() 37 Region = std::move(RHS.Region); 42 unsigned getLine() const { return Region.LineStart; } in getLine() 43 unsigned getStartCol() const { return Region.ColumnStart; } in getStartCol() 44 unsigned getEndCol() const { return Region.ColumnEnd; } in getEndCol() 47 return LHS.Region.startLoc() < RHS.Region.startLoc(); 143 void addExpansion(const coverage::CounterMappingRegion &Region, in addExpansion() argument [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | regiontst.cpp | 368 const Region *r = Region::getInstance(rd.code,status); in TestKnownRegions() 382 const Region *ncRegion = Region::getInstance(nc,status); in TestKnownRegions() 414 const Region *r = Region::getInstance((const char *)NULL,status); in TestGetInstanceString() 420 r = Region::getInstance("BOGUS",status); in TestGetInstanceString() 429 r = Region::getInstance(data.inputID,status); in TestGetInstanceString() 465 Region::getInstance(-123,status); in TestGetInstanceInt() 473 const Region *r = Region::getInstance(data.inputID,status); in TestGetInstanceInt() 497 const Region *r = Region::getInstance(rd.code,status); in TestGetContainedRegions() 509 const Region *cr = Region::getInstance(crID,status); in TestGetContainedRegions() 510 const Region *containingRegion = cr ? cr->getContainingRegion() : NULL; in TestGetContainedRegions() [all …]
|
/external/libchrome/base/files/ |
D | memory_mapped_file.cc | 16 const MemoryMappedFile::Region MemoryMappedFile::Region::kWholeFile = {0, 0}; 18 bool MemoryMappedFile::Region::operator==( in operator ==() 19 const MemoryMappedFile::Region& other) const { in operator ==() 23 bool MemoryMappedFile::Region::operator!=( in operator !=() 24 const MemoryMappedFile::Region& other) const { in operator !=() 44 if (!MapFileRegionToMemory(Region::kWholeFile)) { in Initialize() 53 return Initialize(std::move(file), Region::kWholeFile); in Initialize() 56 bool MemoryMappedFile::Initialize(File file, const Region& region) { in Initialize() 60 if (region != Region::kWholeFile) { in Initialize()
|
D | memory_mapped_file.h | 31 struct BASE_EXPORT Region { struct 32 static const Region kWholeFile; argument 34 bool operator==(const Region& other) const; 35 bool operator!=(const Region& other) const; 56 bool Initialize(File file, const Region& region); argument 85 bool MapFileRegionToMemory(const Region& region);
|
/external/llvm/lib/Analysis/ |
D | RegionInfo.cpp | 50 static cl::opt<Region::PrintStyle, true> printStyleX("print-region-style", 55 clEnumValN(Region::PrintNone, "none", "print no details"), 56 clEnumValN(Region::PrintBB, "bb", 58 clEnumValN(Region::PrintRN, "rn", 67 Region::Region(BasicBlock *Entry, BasicBlock *Exit, in Region() function in Region 69 DominatorTree *DT, Region *Parent) : in Region() 74 Region::~Region() { } in ~Region() 89 void RegionInfo::updateStatistics(Region *R) { in updateStatistics() 103 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr, in recalculate()
|
D | RegionPass.cpp | 40 static void addRegionIntoQueue(Region &R, std::deque<Region *> &RQ) { in addRegionIntoQueue() 67 for (std::deque<Region *>::const_iterator I = RQ.begin(), E = RQ.end(); in runOnFunction() 69 Region *R = *I; in runOnFunction() 200 bool runOnRegion(Region *R, RGPassManager &RGM) override { in runOnRegion()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 149 NullabilityBugVisitor(const MemRegion *M) : Region(M) {} in NullabilityBugVisitor() 154 ID.AddPointer(Region); in Profile() 164 const MemRegion *Region; member in __anon477a52af0111::NullabilityChecker::NullabilityBugVisitor 173 const MemRegion *Region, CheckerContext &C, 177 void reportBug(ErrorKind Error, ExplodedNode *N, const MemRegion *Region, in reportBug() argument 183 if (Region) { in reportBug() 184 R->markInteresting(Region); in reportBug() 185 R->addVisitor(llvm::make_unique<NullabilityBugVisitor>(Region)); in reportBug() 268 const MemRegion *Region = RegionSVal->getRegion(); in getTrackRegion() local 271 if (auto FieldReg = Region->getAs<FieldRegion>()) in getTrackRegion() [all …]
|
D | MacOSKeychainAPIChecker.cpp | 40 SymbolRef Region; member 44 Region(R) {} in AllocationState() 48 Region == X.Region); in operator ==() 53 ID.AddPointer(Region); in Profile() 125 R->markInteresting(AP.second->Region); in markInteresting() 300 if (!definitelyReturnedError(AS->Region, State, C.getSValBuilder())) { in checkPreStmt() 318 Report->markInteresting(AS->Region); in checkPreStmt() 375 Report->markInteresting(AS->Region); in checkPreStmt() 432 !definitelyDidnotReturnError(AS->Region, State, C.getSValBuilder())) { in checkPreStmt() 441 Report->markInteresting(AS->Region); in checkPreStmt() [all …]
|
D | DynamicTypeChecker.cpp | 169 const MemRegion *Region = C.getSVal(CE).getAsRegion(); in checkPostStmt() local 170 if (!Region) in checkPostStmt() 174 DynamicTypeInfo DynTypeInfo = getDynamicTypeInfo(State, Region); in checkPostStmt() 208 reportTypeError(DynType, StaticType, Region, CE, C); in checkPostStmt()
|
/external/llvm/include/llvm/Support/ |
D | FileOutputBuffer.h | 46 return (uint8_t*)Region->data(); in getBufferStart() 51 return (uint8_t*)Region->data() + Region->size(); in getBufferEnd() 56 return Region->size(); in getBufferSize() 83 std::unique_ptr<llvm::sys::fs::mapped_file_region> Region; variable
|
/external/libchrome/base/posix/ |
D | global_descriptors.cc | 15 : key(key), fd(fd), region(base::MemoryMappedFile::Region::kWholeFile) { in Descriptor() 20 base::MemoryMappedFile::Region region) in Descriptor() 51 Set(key, fd, base::MemoryMappedFile::Region::kWholeFile); in Set() 56 base::MemoryMappedFile::Region region) { in Set() 68 base::MemoryMappedFile::Region GlobalDescriptors::GetRegion(Key key) const { in GetRegion() 74 return base::MemoryMappedFile::Region::kWholeFile; in GetRegion()
|
D | global_descriptors.h | 42 Descriptor(Key key, int fd, base::MemoryMappedFile::Region region); 49 base::MemoryMappedFile::Region region; 71 base::MemoryMappedFile::Region GetRegion(Key key) const; 78 void Set(Key key, int fd, base::MemoryMappedFile::Region region);
|
/external/llvm/lib/ProfileData/ |
D | CoverageMapping.cpp | 212 for (const auto &Region : Record.MappingRegions) { in load() local 213 ErrorOr<int64_t> ExecutionCount = Ctx.evaluate(Region.Count); in load() 216 Function.pushRegion(Region, *ExecutionCount); in load() 284 const CountedRegion &Region) { in startSegment() argument 295 if (Region.Kind != coverage::CounterMappingRegion::SkippedRegion) { in startSegment() 296 DEBUG(dbgs() << " with count " << Region.ExecutionCount); in startSegment() 297 Segments.back().setCount(Region.ExecutionCount); in startSegment() 303 void startSegment(const CountedRegion &Region) { in startSegment() argument 304 startSegment(Region.LineStart, Region.ColumnStart, true, Region); in startSegment() 323 for (const auto &Region : Regions) { in buildSegments() local [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | RegionPass.h | 50 virtual bool runOnRegion(Region *R, RGPassManager &RGM) = 0; 64 virtual bool doInitialization(Region *R, RGPassManager &RGM) { return false; } in doInitialization() 85 std::deque<Region*> RQ; 89 Region *CurrentRegion;
|
D | RegionInfo.h | 69 class Region; variable 81 typedef Region RegionT; 814 class Region; 818 inline RegionNode(Region *Parent, BasicBlock *Entry, bool isSubRegion = false) 821 bool operator==(const Region &RN) const { 826 class Region : public RegionBase<RegionTraits<Function>> { 828 Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo *RI, DominatorTree *DT, 829 Region *Parent = nullptr); 830 ~Region(); 844 void updateStatistics(Region *R) final; [all …]
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 157 for (const auto &Region : SourceRegions) { in gatherFileIDs() local 158 SourceLocation Loc = Region.getStartLoc(); in gatherFileIDs() 230 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() local 234 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions() 235 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions() 236 MappingRegions.push_back(Region); in gatherSkippedRegions() 243 for (const auto &Region : SourceRegions) { in emitSourceRegions() local 244 assert(Region.hasEndLoc() && "incomplete region"); in emitSourceRegions() 246 SourceLocation LocStart = Region.getStartLoc(); in emitSourceRegions() 254 SourceLocation LocEnd = Region.getEndLoc(); in emitSourceRegions() [all …]
|
/external/llvm/include/llvm/ProfileData/ |
D | CoverageMapping.h | 266 void pushRegion(CounterMappingRegion Region, uint64_t Count) { in pushRegion() 269 CountedRegions.emplace_back(Region, Count); in pushRegion() 316 const CountedRegion &Region; member 320 ExpansionRecord(const CountedRegion &Region, in ExpansionRecord() 322 : FileID(Region.ExpandedFileID), Region(Region), Function(Function) {} in ExpansionRecord()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
D | TextureAtlas.java | 29 import com.badlogic.gdx.graphics.g2d.TextureAtlas.TextureAtlasData.Region; 81 public static class Region { class in TextureAtlas.TextureAtlasData 100 final Array<Region> regions = new Array(); 151 Region region = new Region(); in TextureAtlasData() 199 public Array<Region> getRegions () { in getRegions() 256 for (Region region : data.regions) { in load() 422 static final Comparator<Region> indexComparator = new Comparator<Region>() { 423 public int compare (Region region1, Region region2) {
|