Lines Matching full:suffix
127 * and a suffix
130 makeTargetName(const char *itemName, const char *id, int32_t idLength, const char *suffix,
149 suffixLength=(int32_t)strlen(suffix);
160 memcpy(target+treeLength+idLength, suffix, suffixLength+1); // +1 includes the terminating NUL
164 checkIDSuffix(const char *itemName, const char *id, int32_t idLength, const char *suffix,
168 makeTargetName(itemName, id, idLength, suffix, target, (int32_t)sizeof(target), pErrorCode);
178 const char *itemID, *parent, *parentLimit, *suffix;
189 // get the item suffix
190 suffix=strrchr(itemID, '.');
191 if(suffix==NULL) {
192 // empty suffix, point to the end of the string
193 suffix=strrchr(itemID, 0);
197 for(parentLimit=suffix; parentLimit>itemID && *--parentLimit!='_';) {}
207 if((suffix-itemID)==parentLength && 0==memcmp(itemID, parent, parentLength)) {
212 checkIDSuffix(itemName, parent, parentLength, suffix, check, context, pErrorCode);