HomeSort by relevance Sort by last modified time
    Searched refs:rule (Results 1 - 25 of 237) sorted by null

1 2 3 4 5 6 7 8 910

  /external/bison/src/
derives.h 30 extern rule ***derives;
gram.h 38 The rules receive rule numbers 1 to NRULES in the order they are
40 initial rule, `$accept: START-SYMBOL $end', which is numbered 1,
41 all the user rules are 2, 3 etc. Each time a rule number is
42 presented to the user, we subtract 1, so *displayed* rule numbers
45 Internally, we cannot use the number 0 for a rule because for
46 instance RITEM stores both symbol (the RHS) and rule numbers: the
47 symbols are shorts >= 0, and rule number are stored negative.
48 Therefore 0 cannot be used, since it would be both the rule number
51 Actions are accessed via the rule number.
58 RULES[R].lhs -- the symbol of the left hand side of rule R
200 } rule; typedef in typeref:struct:__anon1622
    [all...]
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
ndrdic.c 43 NJ_INT16 njd_r_get_hinsi(NJ_DIC_HANDLE rule, NJ_UINT8 type) {
46 if (rule == NULL) {
52 return V2_F_HINSI(rule);
54 return BUN_B_HINSI(rule);
56 return TAN_F_HINSI(rule);
58 return TAN_B_HINSI(rule);
60 return SUUJI_B_HINSI(rule);
62 return MEISI_F_HINSI(rule);
64 return MEISI_B_HINSI(rule);
66 return JINMEI_F_HINSI(rule);
    [all...]
  /external/dbus/bus/
signals.c 32 DBusConnection *matches_go_to; /**< Owner of the rule */
50 BusMatchRule *rule; local
52 rule = dbus_new0 (BusMatchRule, 1);
53 if (rule == NULL)
56 rule->refcount = 1;
57 rule->matches_go_to = matches_go_to;
60 _dbus_assert (rule->matches_go_to != NULL);
63 return rule;
67 bus_match_rule_ref (BusMatchRule *rule)
69 _dbus_assert (rule->refcount > 0)
764 BusMatchRule *rule; local
1020 BusMatchRule *rule; local
1128 BusMatchRule *rule = link->data; local
1182 BusMatchRule *rule; local
1227 BusMatchRule *rule; local
1466 BusMatchRule *rule; local
1517 BusMatchRule *rule; local
1579 BusMatchRule *rule; local
1864 BusMatchRule *rule; local
    [all...]
signals.h 44 BusMatchRule* bus_match_rule_ref (BusMatchRule *rule);
45 void bus_match_rule_unref (BusMatchRule *rule);
47 dbus_bool_t bus_match_rule_set_message_type (BusMatchRule *rule,
49 dbus_bool_t bus_match_rule_set_interface (BusMatchRule *rule,
51 dbus_bool_t bus_match_rule_set_member (BusMatchRule *rule,
53 dbus_bool_t bus_match_rule_set_sender (BusMatchRule *rule,
55 dbus_bool_t bus_match_rule_set_destination (BusMatchRule *rule,
57 dbus_bool_t bus_match_rule_set_path (BusMatchRule *rule,
59 dbus_bool_t bus_match_rule_set_arg (BusMatchRule *rule,
72 BusMatchRule *rule);
    [all...]
policy.c 36 BusPolicyRule *rule; local
38 rule = dbus_new0 (BusPolicyRule, 1);
39 if (rule == NULL)
42 rule->type = type;
43 rule->refcount = 1;
44 rule->allow = allow;
46 switch (rule->type)
49 rule->d.user.uid = DBUS_UID_UNSET;
52 rule->d.group.gid = DBUS_GID_UNSET;
55 rule->d.send.message_type = DBUS_MESSAGE_TYPE_INVALID
140 BusPolicyRule *rule = data; local
246 BusPolicyRule *rule = link->data; local
394 BusPolicyRule *rule = link->data; local
714 BusPolicyRule *rule = data; local
748 BusPolicyRule *rule = link->data; local
786 BusPolicyRule *rule; local
873 BusPolicyRule *rule = link->data; local
1046 BusPolicyRule *rule = link->data; local
1219 BusPolicyRule *rule = link->data; local
    [all...]
policy.h 42 /** determines whether the rule affects a connection, or some global item */
43 #define BUS_POLICY_RULE_IS_PER_CLIENT(rule) (!((rule)->type == BUS_POLICY_RULE_USER || \
44 (rule)->type == BUS_POLICY_RULE_GROUP))
106 BusPolicyRule* bus_policy_rule_ref (BusPolicyRule *rule);
107 void bus_policy_rule_unref (BusPolicyRule *rule);
119 BusPolicyRule *rule);
121 BusPolicyRule *rule);
124 BusPolicyRule *rule);
127 BusPolicyRule *rule);
    [all...]
  /external/webkit/WebCore/bindings/js/
JSCSSRuleCustom.cpp 52 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSRule* rule)
54 if (!rule)
57 DOMObject* wrapper = getCachedDOMObjectWrapper(exec, rule);
61 switch (rule->type()) {
63 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSStyleRule, rule);
66 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSMediaRule, rule);
69 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSFontFaceRule, rule);
72 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSPageRule, rule);
75 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSImportRule, rule);
78 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSCharsetRule, rule);
    [all...]
  /external/icu4c/i18n/
zrule.cpp 10 * \brief C API: Time zone rule classes
29 zrule_close(ZRule* rule) {
30 delete (TimeZoneRule*)rule;
39 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) {
41 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s);
48 zrule_getRawOffset(ZRule* rule) {
49 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset();
53 zrule_getDSTSavings(ZRule* rule) {
54 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings();
73 izrule_close(IZRule* rule) {
    [all...]
zrule.h 12 * \brief C API: Time zone rule classes
56 zrule_close(ZRule* rule);
71 * @param rule, the Zrule to use
77 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
81 * @param rule, the Zrule to use
86 zrule_getRawOffset(ZRule* rule);
90 * @param rule, the Zrule to use
91 * @return The amount of daylight saving offset used by this rule
96 zrule_getDSTSavings(ZRule* rule);
99 * Returns if this rule represents the same rule and offsets as another
    [all...]
funcrepl.cpp 94 UnicodeString& FunctionReplacer::toReplacerPattern(UnicodeString& rule,
97 rule.truncate(0);
98 rule.append(AMPERSAND);
99 rule.append(translit->getID());
100 rule.append(OPEN);
101 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable));
102 rule.append(CLOSE);
103 return rule;
rbt_pars.cpp 251 * A class representing one side of a rule. This class knows how to
252 * parse half of a rule. It is tightly coupled to the method
297 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status);
299 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit,
323 const UnicodeString& rule,
326 return parser.syntaxError(code, rule, start, status);
351 * Parse one side of a rule, stopping at either the limit,
356 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) {
359 pos = parseSection(rule, pos, limit, text, ILLEGAL_TOP, FALSE, status);
362 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, start, status)
    [all...]
  /external/webkit/WebCore/css/
CSSRuleList.cpp 60 StyleBase* rule = m_list->item(index); local
61 ASSERT(!rule || rule->isRule());
62 return static_cast<CSSRule*>(rule);
82 void CSSRuleList::append(CSSRule* rule)
85 if (!rule) {
90 m_lstCSSRules.append(rule);
93 unsigned CSSRuleList::insertRule(CSSRule* rule, unsigned index)
96 if (!rule) {
106 m_lstCSSRules.insert(index, rule);
    [all...]
WebKitCSSKeyframesRule.cpp 73 CSSRule* rule = m_lstCSSRules.get()->item(index); local
74 return (rule && rule->isKeyframeRule()) ? static_cast<WebKitCSSKeyframeRule*>(rule) : 0;
79 CSSRule* rule = m_lstCSSRules.get()->item(index); local
80 return (rule && rule->isKeyframeRule()) ? static_cast<const WebKitCSSKeyframeRule*>(rule) : 0;
83 void WebKitCSSKeyframesRule::append(WebKitCSSKeyframeRule* rule)
85 m_lstCSSRules.get()->append(rule);
    [all...]
CSSMediaRule.cpp 48 unsigned CSSMediaRule::append(CSSRule* rule)
50 if (!rule)
53 rule->setParent(this);
54 return m_lstCSSRules->insertRule(rule, m_lstCSSRules->length());
57 unsigned CSSMediaRule::insertRule(const String& rule, unsigned index, ExceptionCode& ec)
66 RefPtr<CSSRule> newRule = p.parseRule(parentStyleSheet(), rule);
68 // SYNTAX_ERR: Raised if the specified rule has a syntax error and is unparsable.
75 // @media rule. They are currently not getting parsed, resulting in a SYNTAX_ERR
78 // HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at the specified
79 // index, e.g., if an @import rule is inserted after a standard rule set or othe
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RulesEngine.java 66 * The rule engine manages the groovy rules files and interacts with them.
136 * Eventually all rules are going to try to load the base android.view.View rule.
144 * Invokes {@link IViewRule#getDisplayName()} on the rule matching the specified element.
147 * @return Null if the rule failed, there's no rule or the rule does not want to override
151 // try to find a rule for this element's FQCN
152 IViewRule rule = loadRule(element); local
154 if (rule != null) {
156 return rule.getDisplayName()
180 IViewRule rule = loadRule(selectedNode.getNode()); local
204 IViewRule rule = loadRule(parentNode.getNode()); local
228 IViewRule rule = loadRule(targetNode.getNode()); local
254 IViewRule rule = loadRule(targetNode.getNode()); local
277 IViewRule rule = loadRule(targetNode.getNode()); local
299 IViewRule rule = loadRule(targetNode.getNode()); local
387 IViewRule rule = mRulesCache.get(targetDesc); local
447 IViewRule rule = mRulesCache.get(realFqcn); local
    [all...]
  /external/chromium/third_party/icu/source/i18n/
funcrepl.cpp 94 UnicodeString& FunctionReplacer::toReplacerPattern(UnicodeString& rule,
97 rule.truncate(0);
98 rule.append(AMPERSAND);
99 rule.append(translit->getID());
100 rule.append(OPEN);
101 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable));
102 rule.append(CLOSE);
103 return rule;
rbt_pars.cpp 251 * A class representing one side of a rule. This class knows how to
252 * parse half of a rule. It is tightly coupled to the method
297 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status);
299 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit,
323 const UnicodeString& rule,
326 return parser.syntaxError(code, rule, start, status);
351 * Parse one side of a rule, stopping at either the limit,
356 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) {
359 pos = parseSection(rule, pos, limit, text, ILLEGAL_TOP, FALSE, status);
362 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, start, status)
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
rndmcoll.cpp 19 // each rule can be:
151 const char * rule = test_rule.next(); local
153 logln(UnicodeString(rule, strlen(rule)));
155 UnicodeString newRule(rule); // potential bug
158 fwrite(rule, strlen(rule),1,stdout);
164 errln( "Could not create Collator for the %d(th) generated rule.\n"
166 "The rule is ",
  /external/icu4c/test/intltest/
rndmcoll.cpp 19 // each rule can be:
151 const char * rule = test_rule.next(); local
153 logln(UnicodeString(rule, strlen(rule)));
155 UnicodeString newRule(rule); // potential bug
158 fwrite(rule, strlen(rule),1,stdout);
164 errln( "Could not create Collator for the %d(th) generated rule.\n"
166 "The rule is ",
  /external/chromium/third_party/icu/source/common/
util_props.cpp 24 int32_t ICU_Utility::parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit) {
30 if (p < limit && rule.charAt(p) == 48 /*0*/) {
31 if (p+1 < limit && (rule.charAt(p+1) == 0x78 /*x*/ || rule.charAt(p+1) == 0x58 /*X*/)) {
43 int32_t d = u_digit(rule.charAt(p++), radix);
84 int32_t ICU_Utility::parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit,
97 c = rule.charAt(pos++);
103 pos = skipWhitespace(rule, pos);
107 parsedInts[intCount++] = parseInteger(rule, p, limit);
118 c = (UChar) u_tolower(rule.charAt(pos++))
    [all...]
util.cpp 282 * Append a character to a rule that is being built up. To flush
283 * the quoteBuf to rule, make one final call with isLiteral == TRUE.
285 * @param rule the string to append the character to
299 void ICU_Utility::appendToRule(UnicodeString& rule,
320 rule.append(BACKSLASH).append(APOSTROPHE);
333 rule.append(APOSTROPHE);
334 rule.append(quoteBuf);
335 rule.append(APOSTROPHE);
339 rule.append(BACKSLASH).append(APOSTROPHE);
346 * rule
    [all...]
  /external/icu4c/common/
util_props.cpp 24 int32_t ICU_Utility::parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit) {
30 if (p < limit && rule.charAt(p) == 48 /*0*/) {
31 if (p+1 < limit && (rule.charAt(p+1) == 0x78 /*x*/ || rule.charAt(p+1) == 0x58 /*X*/)) {
43 int32_t d = u_digit(rule.charAt(p++), radix);
84 int32_t ICU_Utility::parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit,
97 c = rule.charAt(pos++);
103 pos = skipWhitespace(rule, pos);
107 parsedInts[intCount++] = parseInteger(rule, p, limit);
118 c = (UChar) u_tolower(rule.charAt(pos++))
    [all...]
util.cpp 282 * Append a character to a rule that is being built up. To flush
283 * the quoteBuf to rule, make one final call with isLiteral == TRUE.
285 * @param rule the string to append the character to
299 void ICU_Utility::appendToRule(UnicodeString& rule,
320 rule.append(BACKSLASH).append(APOSTROPHE);
333 rule.append(APOSTROPHE);
334 rule.append(quoteBuf);
335 rule.append(APOSTROPHE);
339 rule.append(BACKSLASH).append(APOSTROPHE);
346 * rule
    [all...]
  /external/nist-sip/java/gov/nist/core/
ParserCore.java 100 protected void dbg_enter(String rule) {
107 stringBuffer + rule +
114 protected void dbg_leave(String rule) {
122 rule +
135 protected void peekLine(String rule) {
137 Debug.println(rule +" " + lexer.peekLine());

Completed in 1258 milliseconds

1 2 3 4 5 6 7 8 910