/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/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() 80 void Region::loadRegionData(UErrorCode &status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 124 LocalPointer<Region> r(new Region(), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 155 const Region *aliasToRegion = (Region *) uhash_get(newRegionIDMap.getAlias(),&aliasTo); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 156 … Region *aliasFromRegion = (Region *)uhash_get(newRegionIDMap.getAlias(),aliasFromStr.getAlias()); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 162 LocalPointer<Region> newRgn(new Region, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 199 … Region *target = (Region *)uhash_get(newRegionIDMap.getAlias(),(void *)¤tRegion); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 218 Region *r = (Region *)uhash_get(newRegionIDMap.getAlias(),(void *)&codeMappingID); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 235 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/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/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/llvm/lib/Analysis/ |
D | RegionInfo.cpp | 47 static cl::opt<Region::PrintStyle, true> printStyleX("print-region-style", 52 clEnumValN(Region::PrintNone, "none", "print no details"), 53 clEnumValN(Region::PrintBB, "bb", 55 clEnumValN(Region::PrintRN, "rn", 64 Region::Region(BasicBlock *Entry, BasicBlock *Exit, in Region() function in Region 66 DominatorTree *DT, Region *Parent) : in Region() 71 Region::~Region() { } in ~Region() 86 void RegionInfo::updateStatistics(Region *R) { in updateStatistics() 100 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()
|
D | RegionPrinter.cpp | 86 Region *R = RI.getRegionFor(destBB); in getEdgeAttributes() 102 static void printRegionCluster(const Region &R, in printRegionCluster() 121 for (Region::const_iterator RI = R.begin(), RE = R.end(); RI != RE; ++RI) in printRegionCluster()
|
/external/v8/src/ |
D | types.h | 313 typedef typename Config::Region Region; typedef 321 static TypeHandle type(Region* region) { \ 327 static TypeHandle Class(i::Handle<i::Map> map, Region* region) { in PROPER_BITSET_TYPE_LIST() 330 static TypeHandle Constant(i::Handle<i::Object> value, Region* region) { in Constant() 334 i::Handle<i::Object> min, i::Handle<i::Object> max, Region* region) { in Range() 337 static TypeHandle Context(TypeHandle outer, Region* region) { in Context() 340 static TypeHandle Array(TypeHandle element, Region* region) { in Array() 344 TypeHandle result, TypeHandle receiver, int arity, Region* region) { in Function() 347 static TypeHandle Function(TypeHandle result, Region* region) { in Function() 351 TypeHandle result, TypeHandle param0, Region* region) { in Function() [all …]
|
/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/llvm/lib/ProfileData/ |
D | CoverageMapping.cpp | 203 for (const auto &Region : Record.MappingRegions) { in load() local 204 ErrorOr<int64_t> ExecutionCount = Ctx.evaluate(Region.Count); in load() 207 Function.pushRegion(Region, *ExecutionCount); in load() 275 const CountedRegion &Region) { in startSegment() argument 286 if (Region.Kind != coverage::CounterMappingRegion::SkippedRegion) { in startSegment() 287 DEBUG(dbgs() << " with count " << Region.ExecutionCount); in startSegment() 288 Segments.back().setCount(Region.ExecutionCount); in startSegment() 294 void startSegment(const CountedRegion &Region) { in startSegment() argument 295 startSegment(Region.LineStart, Region.ColumnStart, true, Region); in startSegment() 314 for (const auto &Region : Regions) { in buildSegments() local [all …]
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 50 SourceMappingRegion(SourceMappingRegion &&Region) in SourceMappingRegion() argument 51 : Count(std::move(Region.Count)), LocStart(std::move(Region.LocStart)), in SourceMappingRegion() 52 LocEnd(std::move(Region.LocEnd)) {} in SourceMappingRegion() 163 for (const auto &Region : SourceRegions) { in gatherFileIDs() local 164 SourceLocation Loc = Region.getStartLoc(); in gatherFileIDs() 236 auto Region = CounterMappingRegion::makeSkipped( in gatherSkippedRegions() local 240 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions() 241 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions() 242 MappingRegions.push_back(Region); in gatherSkippedRegions() 249 for (const auto &Region : SourceRegions) { in emitSourceRegions() local [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | RegionInfo.h | 69 class Region; variable 81 typedef Region RegionT; 816 class Region; 820 inline RegionNode(Region *Parent, BasicBlock *Entry, bool isSubRegion = false) 823 bool operator==(const Region &RN) const { 828 class Region : public RegionBase<RegionTraits<Function>> { 830 Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo *RI, DominatorTree *DT, 831 Region *Parent = nullptr); 832 ~Region(); 846 void updateStatistics(Region *R) final; [all …]
|
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 | RegionIterator.h | 305 RegionNodeGraphTraits(RegionNode, BasicBlock, Region); 306 RegionNodeGraphTraits(const RegionNode, BasicBlock, Region); 308 RegionGraphTraits(Region, RegionNode); 309 RegionGraphTraits(const Region, const RegionNode); 317 return GraphTraits<FlatIt<Region*> >::getEntryNode(RI->getTopLevelRegion());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MacOSKeychainAPIChecker.cpp | 40 SymbolRef Region; member 44 Region(R) {} in AllocationState() 48 Region == X.Region); in operator ==() 53 ID.AddPointer(Region); in Profile() 126 R->markInteresting(AP.second->Region); in markInteresting() 302 if (!definitelyReturnedError(AS->Region, State, C.getSValBuilder())) { in checkPreStmt() 320 Report->markInteresting(AS->Region); in checkPreStmt() 377 Report->markInteresting(AS->Region); in checkPreStmt() 434 !definitelyDidnotReturnError(AS->Region, State, C.getSValBuilder())) { in checkPreStmt() 443 Report->markInteresting(AS->Region); in checkPreStmt() [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/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyMetaInfo.java | 79 needed |= Region; in collect() 111 if (needed == Region) { in collectRegion() 222 return Region; in collects() 247 private static final int Region = 1; field in ICUCurrencyMetaInfo
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
D | SeriesRenderer.java | 21 import android.graphics.Region; 66 canvas.clipRect(rect, Region.Op.INTERSECT); in drawSeriesLegendIcon()
|
/external/clang/tools/clang-format/ |
D | clang-format-sublime.py | 44 buf = self.view.substr(sublime.Region(0, self.view.size())) 51 edit, sublime.Region(0, self.view.size()),
|
/external/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 170 Region *ParentRegion; 244 bool doInitialization(Region *R, RGPassManager &RGM) override; 246 bool runOnRegion(Region *R, RGPassManager &RGM) override; 274 bool StructurizeCFG::doInitialization(Region *R, RGPassManager &RGM) { in INITIALIZE_PASS_DEPENDENCY() 288 ReversePostOrderTraversal<Region*> RPOT(ParentRegion); in orderNodes() 352 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops() 436 Region *R = RI->getRegionFor(*PI); in gatherPredicates() 655 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit() 922 bool StructurizeCFG::runOnRegion(Region *R, RGPassManager &RGM) { in runOnRegion()
|
/external/libvncserver/x11vnc/ |
D | nox11.h | 5862 typedef struct _XRegion *Region; typedef 5988 Region /* r */, 5993 extern Region XCreateRegion( 6011 Region /* r */ 6017 Region /* r */ 6023 Region /* r1 */, 6024 Region /* r2 */ 6168 Region /* sra */, 6169 Region /* srb */, 6170 Region /* dr_return */ [all …]
|
/external/llvm/lib/Support/ |
D | FileOutputBuffer.cpp | 31 : Region(std::move(R)), FinalPath(Path), TempPath(TmpPath) {} in FileOutputBuffer() 106 Region.reset(); in commit()
|