Lines Matching defs:puBuf
1145 } *puBuf = NULL;
1162 if (!puBuf)
1164 puBuf = (union fix8dot3tmp *)RTMemAlloc(sizeof(*puBuf));
1165 if (!puBuf)
1199 RT_ZERO(*puBuf);
1211 puBuf,
1212 sizeof(*puBuf) - sizeof(WCHAR),
1217 if (NT_SUCCESS(rcNt) && puBuf->Info.NextEntryOffset == 0) /* There shall only be one entry matching... */
1219 uint32_t offName = puBuf->Info.FileNameLength / sizeof(WCHAR);
1220 while (offName > 0 && puBuf->Info.FileName[offName - 1] != '\\' && puBuf->Info.FileName[offName - 1] != '/')
1222 uint32_t cwcNameNew = (puBuf->Info.FileNameLength / sizeof(WCHAR)) - offName;
1226 memcpy(pwszFix, &puBuf->Info.FileName[offName], cwcNameNew * sizeof(WCHAR));
1236 memcpy(pwszFix, &puBuf->Info.FileName[offName], cwcNameNew * sizeof(WCHAR));
1249 if (puBuf)
1250 RTMemFree(puBuf);