Lines Matching defs:nodeName
52 CatalogName *nodeName = NULL; /* To ward off uninitialized use warnings from compiler */
65 nodeName = (CatalogName *) &dataPtr->hfsThread.nodeName;
71 nodeName = (CatalogName *) &dataPtr->hfsPlusThread.nodeName;
80 result = LocateCatalogRecord(volume, threadParentID, nodeName, kNoHint, keyPtr, dataPtr, newHint);
97 CatalogName *nodeName = NULL;
135 nodeName = (CatalogName *) &dataPtr->hfsThread.nodeName;
141 nodeName = (CatalogName *) &dataPtr->hfsPlusThread.nodeName;
150 result = LocateCatalogRecord(volume, threadParentID, nodeName, kNoHint, keyPtr, dataPtr, newHint);
200 key->hfsPlus.nodeName.length = 0; // null CName length
203 CopyCatalogName(cName, (CatalogName *) &key->hfsPlus.nodeName, isHFSPlus);
212 key->hfs.nodeName[0] = 0; // null CName length
215 UpdateCatalogName(cName->pstr, key->hfs.nodeName);
216 key->hfs.keyLength += key->hfs.nodeName[0]; // add CName size to key length
237 key->hfsPlus.nodeName.length = 0; // null CName length
239 err = utf8_decodestr(name, nameLength, key->hfsPlus.nodeName.unicode,
240 &unicodeBytes, sizeof(key->hfsPlus.nodeName.unicode), ':', UTF_DECOMPOSED);
241 key->hfsPlus.nodeName.length = unicodeBytes / sizeof(UniChar);
246 *textEncoding = hfs_pickencoding(key->hfsPlus.nodeName.unicode,
247 key->hfsPlus.nodeName.length);
253 key->hfs.nodeName[0] = 0; // null CName length
255 err = utf8_to_hfs(volume, nameLength, name, &key->hfs.nodeName[0]);
262 err = utf8_to_mac_roman(nameLength, name, &key->hfs.nodeName[0]);
263 key->hfs.keyLength += key->hfs.nodeName[0]; // add CName size to key length