/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | RegionTest.java | 25 import android.icu.util.Region; 26 import android.icu.util.Region.RegionType; 347 Region r = Region.getInstance(rd[0]); in TestKnownRegions() 353 if (r.getType() != Region.RegionType.valueOf(rd[3])) { in TestKnownRegions() 358 Region ncRegion = Region.getInstance(nc); in TestKnownRegions() 384 Region.getInstance(null); in TestGetInstanceString() 391 Region.getInstance("BOGUS"); in TestGetInstanceString() 400 Region.RegionType expectedType = Region.RegionType.valueOf(data[2]); in TestGetInstanceString() 401 Region r = Region.getInstance(inputID); in TestGetInstanceString() 423 Region.getInstance(-123); in TestGetInstanceInt() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | RegionTest.java | 24 import com.ibm.icu.util.Region; 25 import com.ibm.icu.util.Region.RegionType; 344 Region r = Region.getInstance(rd[0]); in TestKnownRegions() 350 if (r.getType() != Region.RegionType.valueOf(rd[3])) { in TestKnownRegions() 355 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() 420 Region.getInstance(-123); in TestGetInstanceInt() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | RegionInfo.h | 38 class Region; variable 77 Region* parent; 88 inline RegionNode(Region* Parent, BasicBlock* Entry, bool isSubRegion = 0) 99 inline Region* getParent() const { return parent; } in getParent() 137 inline Region* RegionNode::getNodeAs<Region>() const { 139 return reinterpret_cast<Region*>(const_cast<RegionNode*>(this)); 204 class Region : public RegionNode { 207 Region(const Region &); 209 const Region &operator=(const Region &); 219 typedef std::vector<Region*> RegionSet; [all …]
|
D | RegionPass.h | 52 virtual bool runOnRegion(Region *R, RGPassManager &RGM) = 0; 62 virtual bool doInitialization(Region *R, RGPassManager &RGM) { return false; } in doInitialization() 83 std::deque<Region*> RQ; 87 Region *CurrentRegion;
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | RegionInfo.cpp | 44 static cl::opt<enum Region::PrintStyle> printStyle("print-region-style", 48 clEnumValN(Region::PrintNone, "none", "print no details"), 49 clEnumValN(Region::PrintBB, "bb", 51 clEnumValN(Region::PrintRN, "rn", 56 Region::Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo* RInfo, in Region() function in Region 57 DominatorTree *dt, Region *Parent) in Region() 60 Region::~Region() { in ~Region() 74 void Region::replaceEntry(BasicBlock *BB) { in replaceEntry() 78 void Region::replaceExit(BasicBlock *BB) { in replaceExit() 83 bool Region::contains(const BasicBlock *B) const { in contains() [all …]
|
D | RegionPass.cpp | 39 static void addRegionIntoQueue(Region *R, std::deque<Region *> &RQ) { in addRegionIntoQueue() 41 for (Region::iterator I = R->begin(), E = R->end(); I != E; ++I) in addRegionIntoQueue() 66 for (std::deque<Region *>::const_iterator I = RQ.begin(), E = RQ.end(); in runOnFunction() 68 Region *R = *I; in runOnFunction() 196 virtual bool runOnRegion(Region *R, RGPassManager &RGM) { in runOnRegion() 198 for (Region::block_iterator I = R->block_begin(), E = R->block_end(); in runOnRegion()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Region.java | 61 public class Region implements Comparable<Region> { class 115 private Region containingRegion = null; 116 private Set<Region> containedRegions = new TreeSet<Region>(); 117 private List<Region> preferredValues = null; 121 private static Map<String,Region> regionIDMap = null; // Map from ID the regions 122 …private static Map<Integer,Region> numericCodeMap = null; // Map from numeric code to the regions 123 private static Map<String,Region> regionAliases = null; // Aliases 125 …private static ArrayList<Region> regions = null; // This is the main data structure whe… 126 private static ArrayList<Set<Region>> availableRegions = null; 135 private Region () {} in Region() method in Region [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | Region.java | 62 public class Region implements Comparable<Region> { class 107 private Region containingRegion = null; 108 private Set<Region> containedRegions = new TreeSet<Region>(); 109 private List<Region> preferredValues = null; 113 private static Map<String,Region> regionIDMap = null; // Map from ID the regions 114 …private static Map<Integer,Region> numericCodeMap = null; // Map from numeric code to the regions 115 private static Map<String,Region> regionAliases = null; // Aliases 117 …private static ArrayList<Region> regions = null; // This is the main data structure whe… 118 private static ArrayList<Set<Region>> availableRegions = null; 127 private Region () {} in Region() method in Region [all …]
|
/external/icu/icu4c/source/i18n/ |
D | region.cpp | 44 delete (icu::Region *)obj; in deleteRegion() 52 icu::Region::cleanupRegionData(); in region_cleanup() 84 void U_CALLCONV Region::loadRegionData(UErrorCode &status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 177 LocalPointer<Region> r(new Region(), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 209 const Region *aliasToRegion = (Region *) uhash_get(newRegionIDMap.getAlias(),&aliasTo); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 210 … Region *aliasFromRegion = (Region *)uhash_get(newRegionIDMap.getAlias(),aliasFromStr.getAlias()); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 216 LocalPointer<Region> newRgn(new Region, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 253 … Region *target = (Region *)uhash_get(newRegionIDMap.getAlias(),(void *)¤tRegion); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 272 Region *r = (Region *)uhash_get(newRegionIDMap.getAlias(),(void *)&codeMappingID); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 289 Region *r; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() [all …]
|
D | uregion.cpp | 25 return (URegion*)Region::getInstance(regionCode, *status); in uregion_getRegionFromCode() 32 return (URegion*)Region::getInstance(code, *status); in uregion_getRegionFromNumericCode() 39 StringEnumeration* strenum = Region::getAvailable(type, *status); in uregion_getAvailable() 54 return (URegion*)((Region*)uregion)->getContainingRegion(); in uregion_getContainingRegion() 61 return (URegion*)((Region*)uregion)->getContainingRegion(type); in uregion_getContainingRegionOfType() 68 StringEnumeration* strenum = ((Region*)uregion)->getContainedRegions(*status); in uregion_getContainedRegions() 76 StringEnumeration* strenum = ((Region*)uregion)->getContainedRegions(type, *status); in uregion_getContainedRegionsOfType() 84 return ((Region*)uregion)->contains(*((Region*)otherRegion)); in uregion_contains() 91 StringEnumeration* strenum = ((Region*)uregion)->getPreferredValues(*status); in uregion_getPreferredValues() 99 return ((Region*)uregion)->getRegionCode(); in uregion_getRegionCode() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PointerArithChecker.cpp | 52 const MemRegion *getArrayRegion(const MemRegion *Region, bool &Polymorphic, 54 const MemRegion *getPointedRegion(const MemRegion *Region, 107 PointerArithChecker::getPointedRegion(const MemRegion *Region, in getPointedRegion() argument 109 assert(Region); in getPointedRegion() 111 SVal S = State->getSVal(Region); in getPointedRegion() 119 const MemRegion *PointerArithChecker::getArrayRegion(const MemRegion *Region, in getArrayRegion() argument 123 assert(Region); in getArrayRegion() 124 while (Region->getKind() == MemRegion::Kind::CXXBaseObjectRegionKind) { in getArrayRegion() 125 Region = Region->getAs<CXXBaseObjectRegion>()->getSuperRegion(); in getArrayRegion() 128 if (Region->getKind() == MemRegion::Kind::ElementRegionKind) { in getArrayRegion() [all …]
|
D | NullabilityChecker.cpp | 148 NullabilityBugVisitor(const MemRegion *M) : Region(M) {} in NullabilityBugVisitor() 153 ID.AddPointer(Region); in Profile() 163 const MemRegion *Region; member in __anon6c84c66b0111::NullabilityChecker::NullabilityBugVisitor 172 ExplodedNode *N, const MemRegion *Region, 178 const MemRegion *Region, BugReporter &BR, in reportBug() argument 184 if (Region) { in reportBug() 185 R->markInteresting(Region); in reportBug() 186 R->addVisitor(llvm::make_unique<NullabilityBugVisitor>(Region)); in reportBug() 297 const MemRegion *Region = RegionSVal->getRegion(); in getTrackRegion() local 300 if (auto FieldReg = Region->getAs<FieldRegion>()) in getTrackRegion() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | region.h | 70 class U_I18N_API Region : public UObject { 76 virtual ~Region(); 82 UBool operator==(const Region &that) const; 88 UBool operator!=(const Region &that) const; 97 static const Region* U_EXPORT2 getInstance(const char *region_code, UErrorCode &status); 104 static const Region* U_EXPORT2 getInstance (int32_t code, UErrorCode &status); 118 const Region* getContainingRegion() const; 128 const Region* getContainingRegion(URegionType type) const; 154 UBool contains(const Region &other) const; 196 Region *containingRegion; [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | regiontst.cpp | 370 const Region *r = Region::getInstance(rd.code,status); in TestKnownRegions() 384 const Region *ncRegion = Region::getInstance(nc,status); in TestKnownRegions() 416 const Region *r = Region::getInstance((const char *)NULL,status); in TestGetInstanceString() 422 r = Region::getInstance("BOGUS",status); in TestGetInstanceString() 431 r = Region::getInstance(data.inputID,status); in TestGetInstanceString() 467 Region::getInstance(-123,status); in TestGetInstanceInt() 475 const Region *r = Region::getInstance(data.inputID,status); in TestGetInstanceInt() 499 const Region *r = Region::getInstance(rd.code,status); in TestGetContainedRegions() 511 const Region *cr = Region::getInstance(crID,status); in TestGetContainedRegions() 512 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 !=() 56 if (!MapFileRegionToMemory(Region::kWholeFile, access)) { in Initialize() 66 return Initialize(std::move(file), Region::kWholeFile, access); in Initialize() 70 const Region& region, in Initialize() 93 if (region != Region::kWholeFile) { in Initialize()
|
D | memory_mapped_file.h | 54 struct BASE_EXPORT Region { struct 55 static const Region kWholeFile; argument 57 bool operator==(const Region& other) const; 58 bool operator!=(const Region& other) const; 91 bool Initialize(File file, const Region& region, Access access); 92 bool Initialize(File file, const Region& region) { in Initialize() 118 bool MapFileRegionToMemory(const Region& region, Access access);
|
/external/llvm/lib/Analysis/ |
D | RegionInfo.cpp | 48 static cl::opt<Region::PrintStyle, true> printStyleX("print-region-style", 53 clEnumValN(Region::PrintNone, "none", "print no details"), 54 clEnumValN(Region::PrintBB, "bb", 56 clEnumValN(Region::PrintRN, "rn", 65 Region::Region(BasicBlock *Entry, BasicBlock *Exit, in Region() function in Region 67 DominatorTree *DT, Region *Parent) : in Region() 72 Region::~Region() { } in ~Region() 87 void RegionInfo::updateStatistics(Region *R) { in updateStatistics() 101 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr, in recalculate()
|
/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(); 270 void addExpansion(const coverage::CounterMappingRegion &Region,
|
/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() 52 base::MemoryMappedFile::Region* region) { in TakeFD() 67 Set(key, fd, base::MemoryMappedFile::Region::kWholeFile); in Set() 72 base::MemoryMappedFile::Region region) { in Set() 84 base::MemoryMappedFile::Region GlobalDescriptors::GetRegion(Key key) const { in GetRegion() 90 return base::MemoryMappedFile::Region::kWholeFile; in GetRegion()
|
D | global_descriptors.h | 47 Descriptor(Key key, int fd, base::MemoryMappedFile::Region region); 54 base::MemoryMappedFile::Region region; 74 base::ScopedFD TakeFD(Key key, base::MemoryMappedFile::Region* region); 77 base::MemoryMappedFile::Region GetRegion(Key key) const; 84 void Set(Key key, int fd, base::MemoryMappedFile::Region region);
|
/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/libtextclassifier/util/i18n/ |
D | locale_test.cc | 34 EXPECT_EQ(locale.Region(), "CH"); in TEST() 42 EXPECT_EQ(locale.Region(), "CN"); in TEST() 50 EXPECT_EQ(locale.Region(), "TW"); in TEST() 58 EXPECT_EQ(locale.Region(), ""); in TEST() 66 EXPECT_EQ(locale.Region(), ""); in TEST()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 169 for (const auto &Region : SourceRegions) { in gatherFileIDs() local 170 SourceLocation Loc = Region.getStartLoc(); in gatherFileIDs() 239 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() local 243 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions() 244 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions() 245 MappingRegions.push_back(Region); in gatherSkippedRegions() 252 for (const auto &Region : SourceRegions) { in emitSourceRegions() local 253 assert(Region.hasEndLoc() && "incomplete region"); in emitSourceRegions() 255 SourceLocation LocStart = Region.getStartLoc(); in emitSourceRegions() 267 SourceLocation LocEnd = Region.getEndLoc(); in emitSourceRegions() [all …]
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 217 for (const auto &Region : Record.MappingRegions) { in load() local 218 Expected<int64_t> ExecutionCount = Ctx.evaluate(Region.Count); in load() 223 Function.pushRegion(Region, *ExecutionCount); in load() 293 const CountedRegion &Region) { in startSegment() argument 300 if (Region.Kind != coverage::CounterMappingRegion::SkippedRegion) { in startSegment() 301 DEBUG(dbgs() << " with count " << Region.ExecutionCount); in startSegment() 302 Segments.emplace_back(Line, Col, Region.ExecutionCount, IsRegionEntry); in startSegment() 309 void startSegment(const CountedRegion &Region) { in startSegment() argument 310 startSegment(Region.LineStart, Region.ColumnStart, true, Region); in startSegment() 326 for (const auto &Region : Regions) { in buildSegmentsImpl() 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;
|