Searched defs:rule (Results 1 - 25 of 29) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DGeneralPath.java54 * with a default winding rule of {@link #WIND_NON_ZERO}.
64 * winding rule to control operations that require the interior of the
67 * @param rule the winding rule
72 public GeneralPath(int rule) { argument
73 super(rule, INIT_SIZE);
78 * winding rule and the specified initial capacity to store path
84 * @param rule the winding rule
91 public GeneralPath(int rule, in argument
[all...]
H A DPath2D.java72 * An even-odd winding rule for determining the interior of
81 * A non-zero winding rule for determining the interior of a
123 * @param rule the winding rule
129 Path2D(int rule, int initialTypes) { argument
130 setWindingRule(rule);
155 * with a default winding rule of {@link #WIND_NON_ZERO}.
165 * with the specified winding rule to control operations that
168 * @param rule the winding rule
173 Float(int rule) argument
192 Float(int rule, int initialCapacity) argument
1007 Double(int rule) argument
1026 Double(int rule, int initialCapacity) argument
1850 setWindingRule(int rule) argument
[all...]
/openjdk7/jaxp/src/org/w3c/dom/css/
H A DCSSMediaRule.java48 * The <code>CSSMediaRule</code> interface represents a @media rule in a CSS
49 * style sheet. A <code>@media</code> rule can be used to delimit style
56 * A list of media types for this rule.
66 * Used to insert a new rule into the media block.
67 * @param rule The parsable text representing the rule. For rule sets
69 * at-rules, this specifies both the at-identifier and the rule
71 * @param index The index within the media block's rule collection of
72 * the rule befor
88 insertRule(String rule, int index) argument
[all...]
H A DCSSStyleSheet.java56 * If this style sheet comes from an <code>@import</code> rule, the
69 * includes both rule sets and at-rules.
74 * Used to insert a new rule into the style sheet. The new rule now
76 * @param rule The parsable text representing the rule. For rule sets
78 * at-rules, this specifies both the at-identifier and the rule
80 * @param index The index within the style sheet's rule list of the rule
97 insertRule(String rule, int index) argument
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DColorFilter.java58 for (ColorRule rule : colorRules) {
59 if (rule.getSelector() != null) {
60 List<Figure> figures = rule.getSelector().selected(diagram);
62 applyRule(rule, f);
63 if (rule.getColor() != null) {
64 f.setColor(rule.getColor());
69 applyRule(rule, f);
75 private void applyRule(ColorRule rule, Figure f) { argument
76 if (rule.getColor() != null) {
77 f.setColor(rule
[all...]
H A DRemoveFilter.java100 public void addRule(RemoveRule rule) { argument
101 rules.add(rule);
H A DRemoveInputsFilter.java107 public void addRule(RemoveInputsRule rule) { argument
108 rules.add(rule);
/openjdk7/jdk/make/tools/src/build/tools/generatebreakiteratordata/
H A DGenerateBreakIteratorData.java125 private static void generateDataFile(String datafile, String rule, String builder) { argument
128 bld = new RuleBasedBreakIteratorBuilder(rule);
130 bld = new DictionaryBasedBreakIteratorBuilder(rule);
H A DRuleBasedBreakIteratorBuilder.java224 // - only one = or / can occur in a single rule
225 // - = and / cannot both occur in the same rule
231 // - * may not occur at the beginning of a rule, nor may it follow
234 // - the rule list must contain at least one / rule
235 // - no rule may be empty
238 // - ! may only occur at the beginning of a rule
241 // vector is a separate rule) and a stack for keeping track of opening
356 error("More than one = or / in rule", p, description);
365 error("More than one = or / in rule",
825 parseRule(String rule, boolean forward) argument
[all...]
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DZoneinfo.java91 * Adds the given rule to the list of Rules.
92 * @param rule Rule to be added to the list.
94 void add(Rule rule) { argument
95 String name = rule.getName();
96 rules.put(name, rule);
197 * @param name a rule name
279 panic("syntax error: rule no more token");
282 Rule rule = zi.getRule(token);
283 if (rule == null) {
284 rule
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DWhitespace.java66 * Auxillary class for encapsulating a single strip/preserve rule
76 * Strip/preserve rule constructor
79 // Determine the action (strip or preserve) for this rule
82 // Get the namespace and element name for this rule
93 // Determine the initial priority for this rule
193 * Scans through the rules vector and looks for a rule of higher
194 * priority that contradicts the current rule.
197 WhitespaceRule rule) {
199 // Get the next rule in the prioritized list
202 if (currentRule == rule) {
196 findContradictingRule(Vector rules, WhitespaceRule rule) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DAlphaComposite.java132 * This value is applied as if an implicit SRC_IN rule were first
341 * in the case of the SRC rule is technically not valid if the
355 * (Porter-Duff Clear rule).
368 * (Porter-Duff Source rule).
381 * (Porter-Duff Destination rule).
395 * (Porter-Duff Source Over Destination rule).
408 * (Porter-Duff Destination Over Source rule).
421 * (Porter-Duff Source In Destination rule).
434 * (Porter-Duff Destination In Source rule).
447 * (Porter-Duff Source Held Out By Destination rule)
610 int rule; field in class:AlphaComposite
612 AlphaComposite(int rule) argument
616 AlphaComposite(int rule, float alpha) argument
637 getInstance(int rule) argument
685 getInstance(int rule, float alpha) argument
740 derive(int rule) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DShapeSpanIterator.java81 * Appends the geometry and winding rule from the indicated
138 * Sets the winding rule in the native data structures.
140 public native void setRule(int rule); argument
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp716 jint rule = env->GetIntField(p2df, path2DWindingRuleID); local
723 ::SetPolyFillMode(hdc, (rule == java_awt_geom_PathIterator_WIND_NON_ZERO
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLContext.c52 * factors) used in glBlendFunc(), indexed by the rule constants from the
371 * appropriate blend functions are setup based on the AlphaComposite rule
376 jint rule, jfloat extraAlpha, jint flags)
395 if ((rule == RULE_Src || rule == RULE_SrcOver) &&
400 " disabling alpha comp: rule=%d ea=1.0 src=opq", rule);
404 " enabling alpha comp: rule=%d ea=%f", rule, extraAlpha);
406 j2d_glBlendFunc(StdBlendRules[rule]
375 OGLContext_SetAlphaComposite(OGLContext *oglc, jint rule, jfloat extraAlpha, jint flags) argument
[all...]
H A DOGLRenderQueue.c395 jint rule = NEXT_INT(b); local
398 OGLContext_SetAlphaComposite(oglc, rule, extraAlpha, flags);
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DKDC.java582 public void setPolicy(String rule, String value) { argument
584 policies.remove(rule);
586 policies.put(rule, value);
590 * If the provided client/server pair matches a rule
600 * @param rule rule name
603 private boolean configMatch(String c, String s, String rule) { argument
604 String policy = policies.get(rule);
621 c, s, rule, result);
/openjdk7/hotspot/src/share/vm/adlc/
H A DarchDesc.cpp76 void ChainList::insert(const char *name, const char *cost, const char *rule) { argument
79 _rule.addName(rule);
92 bool ChainList::iter(const char * &name, const char * &cost, const char * &rule) { argument
102 rule = r;
116 const char *rule = NULL; local
118 for(reset(); (iter(name,cost,rule)) == true; ) {
119 fprintf(fp, "Chain to <%s> at cost #%s using %s_rule\n",name, cost ? cost : "0", rule);
121 // Form *form = (Form *)_globalNames[rule];
123 // // chain_rule(fp, indent, name, cost, rule);
124 // chain_rule(fp, indent, name, cost, rule);
407 MatchRule *rule = mrule; local
441 MatchRule *rule; local
[all...]
H A Dformsopt.cpp546 // Append a peephole rule with the same root instruction
555 // Store the components of this peephole rule
591 PeepMatch::PeepMatch(char *rule) : _max_position(0), _rule(rule) { argument
597 // Insert info into the match-rule
608 // Access info about instructions in the peep-match rule
689 PeepReplace::PeepReplace(char *rule) : _rule(rule) { argument
H A Ddfa.cpp41 static const char *knownInvalid = "knownInvalid"; // The result does NOT have a rule defined
42 static const char *knownValid = "knownValid"; // The result must be produced by a rule
74 // Track the status of all production rule results
118 const char *arrayIdx, const Expr *cost, const char *rule, ProductionState &status) {
129 if( debug_output ) { fprintf(fp, "// Previous rule with lower cost than: %s === %s_rule costs %s\n", arrayIdx, rule, cost->as_string()); }
137 if( debug_output ) { fprintf(fp, "// Previous rule with higher cost\n"); }
167 fprintf(fp, "%s %s(%s, %s_rule, %s)", spaces, production, arrayIdx, rule, cost->as_string() );
169 if( cost_is_below_lower_bound ) { fprintf(fp, "\t // overwrites higher cost rule"); }
228 // Add in cost of this rule
117 cost_check(FILE *fp, const char *spaces, const char *arrayIdx, const Expr *cost, const char *rule, ProductionState &status) argument
278 const char *rule = /* set rule to "Invalid" for internal operands */ local
325 const char *result, *cost, *rule; local
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DRenderQueue.cpp537 jint rule = NEXT_INT(b); local
541 res = d3dc->SetAlphaComposite(rule, extraAlpha, flags);
H A DD3DContext.cpp47 * factors) used in SetRenderState(), indexed by the rule constants from the
1362 D3DContext::SetAlphaComposite(jint rule, jfloat ea, jint flags) argument
1366 "D3DContext::SetAlphaComposite: rule=%-1d ea=%f flags=%d",
1367 rule, ea, flags);
1377 if ((rule == RULE_Src || rule == RULE_SrcOver) &&
1382 " disabling alpha comp rule=%-1d ea=1.0 src=opq)", rule);
1386 " enabling alpha comp (rule=%-1d ea=%f)", rule, e
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DStyleSheet.java46 * rule repository. The key for CSS attributes is an
75 * rule quickly. The following code fragment will display
93 * &nbsp; Style rule = styles.getStyle(name);
94 * &nbsp; System.out.println(rule.toString());
105 * background. But if the html file also contains the CSS rule
145 // . Every rule that is asked for (either by way of getRule(String) or
149 // . When a new rule is created it is inserted into the graph, and
263 * Fetches the rule that best matches the selector given
268 * as rules are added and removed. That is if you to ask for a rule
269 * with a selector "table p" and a new rule wa
287 addRule(String rule) argument
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dmachnode.hpp172 virtual uint rule() const = 0; // Machine-specific opcode
277 // Apply peephole rule(s) to this instruction
313 virtual uint rule() const { return 9999999; } function in class:MachIdealNode
841 virtual uint rule() const { return 9999999; } function in class:MachTempNode
H A Dmatcher.cpp1379 tty->print("No matching rule for:");
1573 // Con nodes reduced using the same rule can share their MachNode
1577 MachNode* Matcher::find_shared_node(Node* leaf, uint rule) { argument
1580 // See if this Con has already been reduced using this rule.
1583 if (last != NULL && rule == last->rule()) {
1629 MachNode *Matcher::ReduceInst( State *s, int rule, Node *&mem ) { argument
1630 assert( rule >= NUM_OPERANDS, "called with operand rule" );
1632 MachNode* shared_node = find_shared_node(s->_leaf, rule);
1733 ReduceInst_Chain_Rule( State *s, int rule, Node *&mem, MachNode *mach ) argument
1766 ReduceInst_Interior( State *s, int rule, Node *&mem, MachNode *mach, uint num_opnds ) argument
1833 ReduceOper( State *s, int rule, Node *&mem, MachNode *mach ) argument
[all...]

Completed in 105 milliseconds

12