Lines Matching refs:property
395 return ReportError(CStrVector("Invalid property name"));
1056 bool IsExactPropertyAlias(const char* property_name, UProperty property) {
1057 const char* short_name = u_getPropertyName(property, U_SHORT_PROPERTY_NAME);
1061 property, static_cast<UPropertyNameChoice>(U_LONG_PROPERTY_NAME + i));
1069 UProperty property, int32_t property_value) {
1071 u_getPropertyValueName(property, property_value, U_SHORT_PROPERTY_NAME);
1077 property, property_value,
1085 bool LookupPropertyValueName(UProperty property,
1088 UProperty property_for_lookup = property;
1090 // For the property Script_Extensions, we have to do the property value
1091 // name lookup as if the property is Script.
1098 // We require the property name to match exactly to one of the property value
1107 set.applyIntPropertyValue(property, property_value, ec);
1149 // Parse the property class as follows:
1151 // - either as a general category property value name.
1152 // - or as a binary property name.
1153 // - In \p{name=value}, 'name' is interpreted as an enumerated property name,
1154 // and 'value' is interpreted as one of the available property value names.
1179 // First attempt to interpret as general category property value name.
1189 // Then attempt to interpret as binary property name with value name 'Y'.
1190 UProperty property = u_getPropertyEnum(name);
1191 if (property < UCHAR_BINARY_START) return false;
1192 if (property >= UCHAR_BINARY_LIMIT) return false;
1193 if (!IsExactPropertyAlias(name, property)) return false;
1194 return LookupPropertyValueName(property, negate ? "N" : "Y", false, result,
1197 // Both property name and value name are specified. Attempt to interpret
1198 // the property name as enumerated property.
1201 UProperty property = u_getPropertyEnum(property_name);
1202 if (!IsExactPropertyAlias(property_name, property)) return false;
1203 if (property == UCHAR_GENERAL_CATEGORY) {
1205 property = UCHAR_GENERAL_CATEGORY_MASK;
1206 } else if (property != UCHAR_SCRIPT &&
1207 property != UCHAR_SCRIPT_EXTENSIONS) {
1210 return LookupPropertyValueName(property, value_name, negate, result,
1416 ReportError(CStrVector("Invalid property name in character class"));