Lines Matching defs:property
129 // A property with a values array.
134 // A binary property (enumValue<UCHAR_BINARY_LIMIT), or one without values.
161 virtual int32_t getPropertyValueEnum(int32_t property, const char *name) const;
163 int32_t findProperty(int32_t property) const;
192 // Build main property aliases value map at value map offset 0,
209 // Reserve two slots per property for the name group offset and the value-map offset.
219 // Build the name group for the first property, at nameGroups offset 0.
232 // Since we know that they are in the lowest range of property enum values
235 // (This would save 8 bytes per binary property, or about half a kilobyte.)
354 // Real nameOffsets for property values are never 0.
355 // (The first name group is for the first property name.)
535 int32_t PNamesPropertyNames::findProperty(int32_t property) const {
542 if(property<start) {
545 if(property<limit) {
546 return i+(property-start)*2;
588 PNamesPropertyNames::getPropertyValueEnum(int32_t property, const char *alias) const {
589 int32_t valueMapIndex=findProperty(property);
591 return UCHAR_INVALID_CODE; // Not a known property.
595 return UCHAR_INVALID_CODE; // The property does not have named values.
597 // valueMapIndex is the start of the property's valueMap,