Searched refs:region (Results 1 - 25 of 118) sorted by relevance

12345

/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pipe/
H A DRegionIterator.java31 * of a region object.
34 Region region; field in class:RegionIterator
39 region = r;
48 RegionIterator r = new RegionIterator(region);
60 if (this.region != ri.region) {
61 throw new InternalError("region mismatch");
69 * Y range in the region returning true if one is found
76 if (curIndex >= region.endIndex) {
79 range[1] = region
[all...]
/openjdk10/hotspot/src/share/vm/gc/g1/
H A Dg1CardLiveData.inline.hpp32 inline BitMapView G1CardLiveData::live_card_bitmap(uint region) { argument
33 return BitMapView(_live_cards + ((size_t)region * _cards_per_region >> LogBitsPerWord), _cards_per_region);
40 inline bool G1CardLiveData::is_region_live(uint region) const {
41 return live_regions_bm().at(region);
44 inline void G1CardLiveData::remove_nonlive_cards(uint region, BitMap* bm) { argument
45 bm->set_intersection(live_card_bitmap(region));
H A Dg1CardLiveData.hpp63 // The per-region liveness bitmap.
69 // The bits in this bitmap indicate that a given region contains some live objects.
76 inline BitMapView live_card_bitmap(uint region);
85 inline bool is_region_live(uint region) const;
87 inline void remove_nonlive_cards(uint region, BitMap* bm);
97 // to the ntams of every region in the heap and the marks in the given bitmap.
H A Dg1CollectedHeap.inline.hpp53 // never be in a humongous region
54 // * Allowing humongous PLABs needlessly churns the region free lists
64 // Return the region with the given index. It assumes the index is valid.
73 "Cannot calculate region index for address " PTR_FORMAT " that is outside of the heap [" PTR_FORMAT ", " PTR_FORMAT ")",
112 // belongs to a young region.
117 // Assign the containing region to containing_hr so that we don't
267 inline void G1CollectedHeap::set_humongous_reclaim_candidate(uint region, bool value) { argument
268 assert(_hrm.at(region)->is_starts_humongous(), "Must start a humongous object");
269 _humongous_reclaim_candidates.set_candidate(region, value);
272 inline bool G1CollectedHeap::is_humongous_reclaim_candidate(uint region) { argument
278 uint region = addr_to_region((HeapWord*)obj); local
[all...]
H A Dg1RemSet.cpp95 // Scan progress for the remembered set of a single region. Transitions from
106 // The current location where the next thread should continue scanning in a region's
117 // Holds a flag for every region whether it is in the _dirty_region_buffer already
141 // For each region, contains the maximum top() value to be used during this garbage
200 // Attempt to claim the remembered set of the region for iteration. Returns true
202 inline bool claim_iter(uint region) { argument
203 assert(region < _max_regions, "Tried to access invalid region %u", region);
204 if (_iter_states[region] !
[all...]
H A Dg1HRPrinter.hpp40 log_trace(gc, region)("G1HR %s(%s) [" PTR_FORMAT ", " PTR_FORMAT ", " PTR_FORMAT "]",
48 const bool is_active() { return log_is_enabled(Trace, gc, region); }
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthBorder.java92 Region region = Region.getRegion((JComponent)c);
94 if ((region == Region.ARROW_BUTTON || region == Region.BUTTON ||
95 region == Region.CHECK_BOX ||
96 region == Region.CHECK_BOX_MENU_ITEM ||
97 region == Region.MENU || region == Region.MENU_ITEM ||
98 region == Region.RADIO_BUTTON ||
99 region == Region.RADIO_BUTTON_MENU_ITEM ||
100 region
[all...]
H A DSynthContext.java43 private Region region; field in class:SynthContext
52 Region region, SynthStyle style,
56 context.region = region;
71 * @param region Identifies the portion of the JComponent
74 * @throws NullPointerException if component, region of style is null.
76 public SynthContext(JComponent component, Region region, SynthStyle style, argument
78 if (component == null || region == null || style == null) {
80 "You must supply a non-null component, region and style");
84 this.region
51 getContext(JComponent component, Region region, SynthStyle style, int state) argument
[all...]
H A DSynthSplitPaneUI.java213 SynthContext getContext(JComponent c, Region region) { argument
214 return getContext(c, region, getComponentState(c, region));
217 private SynthContext getContext(JComponent c, Region region, int state) { argument
218 if (region == Region.SPLIT_PANE_DIVIDER) {
219 return SynthContext.getContext(c, region, dividerStyle, state);
221 return SynthContext.getContext(c, region, style, state);
/openjdk10/jdk/test/java/util/ResourceBundle/modules/basic/src/mainbundles/jdk/test/resources/spi/
H A DMyResourcesProvider.java38 private final String region; field in class:MyResourcesProvider
43 region = "";
48 protected MyResourcesProvider(String format, String region, Locale... locales) { argument
50 this.region = region;
70 if (region.isEmpty()) {
74 return baseName.substring(0, index + 1) + region + baseName.substring(index);
/openjdk10/jdk/src/java.base/share/classes/sun/util/locale/
H A DBaseLocale.java46 private final String region; field in class:BaseLocale
52 private BaseLocale(String language, String region) { argument
55 this.region = region;
59 private BaseLocale(String language, String script, String region, String variant) { argument
62 this.region = (region != null) ? LocaleUtils.toUpperString(region).intern() : "";
68 public static BaseLocale createInstance(String language, String region) { argument
69 BaseLocale base = new BaseLocale(language, region);
74 getInstance(String language, String script, String region, String variant) argument
169 Key(String language, String region) argument
189 Key(String language, String script, String region, String variant) argument
193 Key(String language, String script, String region, String variant, boolean normalized) argument
[all...]
H A DInternalLocaleBuilder.java48 private String region = ""; field in class:InternalLocaleBuilder
83 public InternalLocaleBuilder setRegion(String region) throws LocaleSyntaxException { argument
84 if (LocaleUtils.isEmpty(region)) {
85 this.region = "";
87 if (!LanguageTag.isRegion(region)) {
88 throw new LocaleSyntaxException("Ill-formed region: " + region, 0);
90 this.region = region;
359 region
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DEmergencySoundbank.java248 SF2InstrumentRegion region = new SF2InstrumentRegion();
249 region.setLayer(drums[i]);
250 region.putBytes(SF2InstrumentRegion.GENERATOR_KEYRANGE,
252 drum_instrument.getRegions().add(region);
303 SF2InstrumentRegion region = ins.getRegions().get(0);
304 region.putInteger(SF2Region.GENERATOR_INITIALFILTERFC, 80);
305 region.putInteger(SF2Region.GENERATOR_FINETUNE, 30);
306 region = ins.getRegions().get(1);
307 region.putInteger(SF2Region.GENERATOR_INITIALFILTERFC, 30);
356 SF2InstrumentRegion region
[all...]
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/xr/
H A DDirtyRegion.java33 * This class implements region tracking, used by the tiled-mask code.
84 DirtyRegion region = new DirtyRegion();
85 region.x = min(region1.x, region2.x);
86 region.y = min(region1.y, region2.y);
87 region.x2 = max(region1.x2, region2.x2);
88 region.y2 = max(region1.y2, region2.y2);
89 return region;
H A DXRDrawLine.java47 DirtyRegion region = new DirtyRegion(); field in class:XRDrawLine
75 region.setDirtyLineRegion(x1, y1, x2, y2);
76 int xDiff = region.x2 - region.x;
77 int yDiff = region.y2 - region.y;
82 rectBuffer.pushRectValues(region.x, region.y, region.x2 - region
[all...]
H A DXRRenderer.java209 DirtyRegion region; field in class:XRRenderer.XRDrawHandler
215 this.region = new DirtyRegion();
230 region.setDirtyLineRegion(x1, y1, x2, y2);
231 int xDiff = region.x2 - region.x;
232 int yDiff = region.y2 - region.y;
237 rectBuffer.pushRectValues(region.x, region.y, region
[all...]
/openjdk10/jdk/src/java.desktop/share/native/libawt/java2d/pipe/
H A DRegion.c66 Region_GetInfo(JNIEnv *env, jobject region, RegionData *pRgnInfo) argument
68 if (JNU_IsNull(env, region)) {
73 pRgnInfo->bounds.x1 = (*env)->GetIntField(env, region, loxID);
74 pRgnInfo->bounds.y1 = (*env)->GetIntField(env, region, loyID);
75 pRgnInfo->bounds.x2 = (*env)->GetIntField(env, region, hixID);
76 pRgnInfo->bounds.y2 = (*env)->GetIntField(env, region, hiyID);
77 pRgnInfo->endIndex = (*env)->GetIntField(env, region, endIndexID);
81 : (*env)->GetObjectField(env, region, bandsID));
86 Region_GetBounds(JNIEnv *env, jobject region, SurfaceDataBounds *b) argument
88 if (JNU_IsNull(env, region)) {
242 RegionToYXBandedRectangles(JNIEnv *env, jint x1, jint y1, jint x2, jint y2, jobject region, RECT_T ** pRect, unsigned int initialBufferSize) argument
[all...]
H A DRegion.h87 Region_GetInfo(JNIEnv *env, jobject region, RegionData *pRgnInfo);
99 Region_GetBounds(JNIEnv *env, jobject region, SurfaceDataBounds *b);
123 * which make up the region that intersect the current bounds.
210 jint x1, jint y1, jint x2, jint y2, jobject region,
/openjdk10/hotspot/src/share/vm/opto/
H A Dsplit_if.cpp34 Node *PhaseIdealLoop::split_thru_region( Node *n, Node *region ) {
37 assert( region->is_Region(), "" );
38 Node *r = new RegionNode( region->req() );
40 for( uint i = 1; i < region->req(); i++ ) {
43 if( in0->in(0) == region ) x->set_req( 0, in0->in(i) );
46 if( get_ctrl(in) == region )
55 // Record region
56 r->set_req(0,region); // Not a TRUE RegionNode
401 Node *region = iff->in(0); local
402 Node *region_dom = idom(region);
[all...]
/openjdk10/jdk/test/javax/swing/plaf/synth/
H A DTest6660049.java87 private final Region region; field in class:Test6660049
93 this.region = new Region("Button", "ButtonUI", true) {
102 if (this.region != null) {
106 Region region = getRegion(type);
107 if (region == null) {
108 throw new Error("6849518: region is not initialized");
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/
H A DJoniRegExp.java158 final Region region = joniMatcher.getRegion();
159 return input.substring(region.beg[group], region.end[group]);
164 final Region region = joniMatcher.getRegion();
165 return region == null ? 0 : region.numRegs - 1;
/openjdk10/jdk/test/javax/sound/midi/Gervill/SoftReceiver/
H A DSoftTestUtils.java58 SF2LayerRegion region = new SF2LayerRegion();
59 region.putInteger(SF2Region.GENERATOR_SAMPLEMODES, 1);
60 region.setSample(sample);
61 layer.getRegions().add(region);
/openjdk10/jdk/test/javax/sound/midi/Gervill/SoftChannel/
H A DSoftTestUtils.java58 SF2LayerRegion region = new SF2LayerRegion();
59 region.putInteger(SF2Region.GENERATOR_SAMPLEMODES, 1);
60 region.setSample(sample);
61 layer.getRegions().add(region);
/openjdk10/jdk/src/java.desktop/share/classes/sun/print/
H A DPSPathGraphics.java277 * print opaque region of transparent image
450 // if src region extends beyond the image, the "opaque" path
475 Rectangle2D region = shape.getBounds2D();
477 region.setRect(region.getX(), region.getY(),
478 region.getWidth()+0.001,
479 region.getHeight()+0.001);
483 // image size then scale down the region to fit in
486 int w = (int)region
637 redrawRegion(Rectangle2D region, double scaleX, double scaleY, Shape savedClip, AffineTransform savedTransform) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKLookAndFeel.java178 static int synthStateToGTKState(Region region, int state) { argument
180 if (region == Region.RADIO_BUTTON
181 || region == Region.CHECK_BOX
182 || region == Region.MENU
183 || region == Region.MENU_ITEM
184 || region == Region.RADIO_BUTTON_MENU_ITEM
185 || region == Region.CHECK_BOX_MENU_ITEM
186 || region == Region.SPLIT_PANE) {
192 } else if (region == Region.TABBED_PANE_TAB) {
203 if (region
243 isText(Region region) argument
[all...]

Completed in 193 milliseconds

12345