Home
last modified time | relevance | path

Searched refs:Region (Results 1 – 25 of 221) sorted by relevance

123456789

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DRegionTest.java25 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/
DRegionTest.java24 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/
DRegionInfo.h38 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 …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DRegionInfo.cpp44 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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java62 public class Region implements Comparable<Region> { class
116 private Region containingRegion = null;
117 private Set<Region> containedRegions = new TreeSet<Region>();
118 private List<Region> preferredValues = null;
122 private static Map<String,Region> regionIDMap = null; // Map from ID the regions
123 …private static Map<Integer,Region> numericCodeMap = null; // Map from numeric code to the regions
124 private static Map<String,Region> regionAliases = null; // Aliases
126 …private static ArrayList<Region> regions = null; // This is the main data structure whe…
127 private static ArrayList<Set<Region>> availableRegions = null;
136 private Region () {} in Region() method in Region
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DRegion.java64 public class Region implements Comparable<Region> { class
113 private Region containingRegion = null;
114 private Set<Region> containedRegions = new TreeSet<Region>();
115 private List<Region> preferredValues = null;
119 private static Map<String,Region> regionIDMap = null; // Map from ID the regions
120 …private static Map<Integer,Region> numericCodeMap = null; // Map from numeric code to the regions
121 private static Map<String,Region> regionAliases = null; // Aliases
123 …private static ArrayList<Region> regions = null; // This is the main data structure whe…
124 private static ArrayList<Set<Region>> availableRegions = null;
133 private Region () {} in Region() method in Region
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp52 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 …]
DNullabilityChecker.cpp148 NullabilityBugVisitor(const MemRegion *M) : Region(M) {} in NullabilityBugVisitor()
153 ID.AddPointer(Region); in Profile()
163 const MemRegion *Region; member in __anond965830e0111::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/
Dregion.cpp44 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()
185 LocalPointer<Region> r(new Region(), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
217 const Region *aliasToRegion = (Region *) uhash_get(newRegionIDMap.getAlias(),&aliasTo); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
218Region *aliasFromRegion = (Region *)uhash_get(newRegionIDMap.getAlias(),aliasFromStr.getAlias()); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
224 LocalPointer<Region> newRgn(new Region, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
261Region *target = (Region *)uhash_get(newRegionIDMap.getAlias(),(void *)&currentRegion); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
280 Region *r = (Region *)uhash_get(newRegionIDMap.getAlias(),(void *)&codeMappingID); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
297 Region *r; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
[all …]
Duregion.cpp25 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/icu/icu4c/source/i18n/unicode/
Dregion.h70 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/
Dregiontst.cpp370 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlanVerifier.cpp44 static void verifyBlocksInRegion(const VPRegionBlock *Region) { in verifyBlocksInRegion() argument
46 make_range(df_iterator<const VPBlockBase *>::begin(Region->getEntry()), in verifyBlocksInRegion()
47 df_iterator<const VPBlockBase *>::end(Region->getExit()))) { in verifyBlocksInRegion()
49 assert(VPB->getParent() == Region && "VPBlockBase has wrong parent"); in verifyBlocksInRegion()
98 static void verifyRegion(const VPRegionBlock *Region) { in verifyRegion() argument
99 const VPBlockBase *Entry = Region->getEntry(); in verifyRegion()
100 const VPBlockBase *Exit = Region->getExit(); in verifyRegion()
108 verifyBlocksInRegion(Region); in verifyRegion()
113 static void verifyRegionRec(const VPRegionBlock *Region) { in verifyRegionRec() argument
114 verifyRegion(Region); in verifyRegionRec()
[all …]
/external/libchrome/base/files/
Dmemory_mapped_file.cc17 const MemoryMappedFile::Region MemoryMappedFile::Region::kWholeFile = {0, 0};
19 bool MemoryMappedFile::Region::operator==( in operator ==()
20 const MemoryMappedFile::Region& other) const { in operator ==()
24 bool MemoryMappedFile::Region::operator!=( in operator !=()
25 const MemoryMappedFile::Region& other) const { in operator !=()
57 if (!MapFileRegionToMemory(Region::kWholeFile, access)) { in Initialize()
67 return Initialize(std::move(file), Region::kWholeFile, access); in Initialize()
71 const Region& region, in Initialize()
75 DCHECK(Region::kWholeFile != region); in Initialize()
98 if (region != Region::kWholeFile) in Initialize()
Dmemory_mapped_file.h54 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DSourceCoverageView.h32 CounterMappingRegion Region; member
35 ExpansionView(const CounterMappingRegion &Region, in ExpansionView()
37 : Region(Region), View(std::move(View)) {} in ExpansionView()
39 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView()
41 Region = std::move(RHS.Region);
46 unsigned getLine() const { return Region.LineStart; } in getLine()
47 unsigned getStartCol() const { return Region.ColumnStart; } in getStartCol()
48 unsigned getEndCol() const { return Region.ColumnEnd; } in getEndCol()
51 return LHS.Region.startLoc() < RHS.Region.startLoc();
252 void addExpansion(const CounterMappingRegion &Region,
DCoverageExporterJson.cpp291 renderRegion(Expansion.Region); in renderExpansion()
314 for (const auto &Region : Regions) in renderRegions() local
315 renderRegion(Region); in renderRegions()
321 void CoverageExporterJson::renderRegion(const coverage::CountedRegion &Region) { in renderRegion() argument
325 emitArrayElement(Region.LineStart); in renderRegion()
326 emitArrayElement(Region.ColumnStart); in renderRegion()
327 emitArrayElement(Region.LineEnd); in renderRegion()
328 emitArrayElement(Region.ColumnEnd); in renderRegion()
329 emitArrayElement(Region.ExecutionCount); in renderRegion()
330 emitArrayElement(Region.FileID); in renderRegion()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp349 void storeLiveOutRegRegion(RegionMRT *Region, unsigned Reg,
362 void storeLiveOuts(RegionMRT *Region, const MachineRegisterInfo *MRI,
372 void setRegionMRT(RegionMRT *Region) { RMRT = Region; } in setRegionMRT() argument
434 void initLiveOut(RegionMRT *Region, const MachineRegisterInfo *MRI,
465 void setParent(RegionMRT *Region) { Parent = Region; } in setParent() argument
511 MachineRegion *Region; member in __anon50c98f560211::RegionMRT
517 RegionMRT(MachineRegion *MachineRegion) : Region(MachineRegion) { in RegionMRT()
541 MachineRegion *getMachineRegion() { return Region; } in getMachineRegion()
553 dbgs() << "Region: " << (void *)Region; in dump()
664 MachineRegion *Region = RegionInfo->getRegionFor(MBB); in buildMRT() local
[all …]
DGCNIterativeScheduler.h59 struct Region { struct
72 SpecificBumpPtrAllocator<Region> Alloc; argument
73 std::vector<Region*> Regions;
83 GCNRegPressure getSchedulePressure(const Region &R,
89 GCNRegPressure getRegionPressure(const Region &R) const { in getRegionPressure()
93 void setBestSchedule(Region &R,
97 void scheduleBest(Region &R);
104 void scheduleRegion(Region &R, Range &&Schedule,
116 const Region *R,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DRegionInfo.cpp49 static cl::opt<Region::PrintStyle, true> printStyleX("print-region-style",
54 clEnumValN(Region::PrintNone, "none", "print no details"),
55 clEnumValN(Region::PrintBB, "bb",
57 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() = default;
90 void RegionInfo::updateStatistics(Region *R) { in updateStatistics()
104 TopLevelRegion = new Region(&F.getEntryBlock(), nullptr, in recalculate()
/external/llvm/lib/Analysis/
DRegionInfo.cpp48 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/
DSourceCoverageView.h28 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/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-mca/X86/
Dllvm-mca-markers-5.s5 # LLVM-MCA-BEGIN First Region
8 # LLVM-MCA-BEGIN Second Region
11 # LLVM-MCA-BEGIN Third Region
16 # CHECK: [0] Code Region - First Region
36 # CHECK: [1] Code Region - Second Region
56 # CHECK: [2] Code Region - Third Region
/external/libchrome/base/posix/
Dglobal_descriptors.cc15 : 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()
/external/llvm/include/llvm/Support/
DFileOutputBuffer.h46 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

123456789