Lines Matching defs:nameLen
384 unsigned int nameLen = get2LE(ptr + kCDENameLen);
391 if (memchr(name, 0, nameLen) != NULL) {
397 unsigned int hash = computeHash(name, nameLen);
398 addToHash(name, nameLen, hash);
401 ptr += kCDELen + nameLen + extraLen + commentLen;
442 mHashTable[ent].nameLen = strLen;
460 int nameLen = strlen(fileName);
461 unsigned int hash = computeHash(fileName, nameLen);
465 if (mHashTable[ent].nameLen == nameLen &&
466 memcmp(mHashTable[ent].name, fileName, nameLen) == 0)
671 int nameLen = mHashTable[ent].nameLen;
672 if (bufLen < nameLen+1)
673 return nameLen+1;
675 memcpy(buffer, mHashTable[ent].name, nameLen);
676 buffer[nameLen] = '\0';