Lines Matching full:suffix
125 * and a suffix
128 makeTargetName(const char *itemName, const char *id, int32_t idLength, const char *suffix,
147 suffixLength=(int32_t)strlen(suffix);
158 memcpy(target+treeLength+idLength, suffix, suffixLength+1); // +1 includes the terminating NUL
162 checkIDSuffix(const char *itemName, const char *id, int32_t idLength, const char *suffix,
166 makeTargetName(itemName, id, idLength, suffix, target, (int32_t)sizeof(target), pErrorCode);
176 const char *itemID, *parent, *parentLimit, *suffix;
187 // get the item suffix
188 suffix=strrchr(itemID, '.');
189 if(suffix==NULL) {
190 // empty suffix, point to the end of the string
191 suffix=strrchr(itemID, 0);
195 for(parentLimit=suffix; parentLimit>itemID && *--parentLimit!='_';) {}
205 if((suffix-itemID)==parentLength && 0==memcmp(itemID, parent, parentLength)) {
210 checkIDSuffix(itemName, parent, parentLength, suffix, check, context, pErrorCode);