Lines Matching refs:id
107 maSettings[mnNumSettings].id = getCharId(features, pos, nEquals - pos); in GrFeatureParser()
108 else maSettings[mnNumSettings].id = getIntValue(features, pos, nEquals - pos); in GrFeatureParser()
180 gr::FeatureIterator i = font.featureWithID(setting.id); in isValid()
196 bool GrFeatureParser::isCharId(const std::string & id, size_t offset, size_t length) in isCharId() argument
201 if (i > 0 && id[offset+i] == '\0') continue; in isCharId()
202 if ((id[offset+i]) < 0x20 || (id[offset+i]) < 0) in isCharId()
204 if (i==0 && id[offset+i] < 0x41) in isCharId()
210 int GrFeatureParser::getCharId(const std::string & id, size_t offset, size_t length) in getCharId() argument
217 charId.label[i] = id[offset+i]; in getCharId()
222 charId.label[3-i] = id[offset+i]; in getCharId()
228 int GrFeatureParser::getIntValue(const std::string & id, size_t offset, size_t length) in getIntValue() argument
234 switch (id[offset + i]) in getIntValue()
249 value = -(id[offset + i] - '0'); in getIntValue()
252 value += (id[offset + i] - '0'); in getIntValue()
279 hash = (hash << 16) ^ ((maSettings[i].id << 8) | maSettings[i].value); in hashCode()