Lines Matching refs:pszEntry

122     const char     *pszEntry;
869 * @param pszEntry The entry name to validate.
874 static int rtManifestValidateNameEntry(const char *pszEntry, bool *pfNeedNormalization, size_t *pcchEntry)
878 const char *pszCur = pszEntry;
897 size_t cchEntry = pszCur - pszEntry - 1;
910 * @param pszEntry The entry name to normalize.
912 static void rtManifestNormalizeEntry(char *pszEntry)
915 while ((ch = *pszEntry))
918 *pszEntry = '/';
919 pszEntry++;
929 * @param pszEntry The entry name.
935 static int rtManifestGetEntry(RTMANIFESTINT *pThis, const char *pszEntry, bool fNeedNormalization, size_t cchEntry,
942 pEntry = (PRTMANIFESTENTRY)RTStrSpaceGet(&pThis->Entries, pszEntry);
948 memcpy(pszCopy, pszEntry, cchEntry + 1);
965 * @param pszEntry The entry name. This will automatically be
975 RTDECL(int) RTManifestEntrySetAttr(RTMANIFEST hManifest, const char *pszEntry, const char *pszAttr,
981 AssertPtr(pszEntry);
988 int rc = rtManifestValidateNameEntry(pszEntry, &fNeedNormalization, &cchEntry);
995 rc = rtManifestGetEntry(pThis, pszEntry, fNeedNormalization, cchEntry, &pEntry);
1006 memcpy(pEntry->szName, pszEntry, cchEntry + 1);
1031 * @param pszEntry The entry name.
1034 RTDECL(int) RTManifestEntryUnsetAttr(RTMANIFEST hManifest, const char *pszEntry, const char *pszAttr)
1039 AssertPtr(pszEntry);
1044 int rc = rtManifestValidateNameEntry(pszEntry, &fNeedNormalization, &cchEntry);
1051 rc = rtManifestGetEntry(pThis, pszEntry, fNeedNormalization, cchEntry, &pEntry);
1058 RTDECL(int) RTManifestEntryQueryAttr(RTMANIFEST hManifest, const char *pszEntry, const char *pszAttr, uint32_t fType,
1064 AssertPtr(pszEntry);
1073 int rc = rtManifestValidateNameEntry(pszEntry, &fNeedNormalization, &cchEntry);
1077 rc = rtManifestGetEntry(pThis, pszEntry, fNeedNormalization, cchEntry, &pEntry);
1099 * @param pszEntry The entry name (UTF-8).
1105 RTDECL(int) RTManifestEntryAdd(RTMANIFEST hManifest, const char *pszEntry)
1110 AssertPtr(pszEntry);
1114 int rc = rtManifestValidateNameEntry(pszEntry, &fNeedNormalization, &cchEntry);
1121 rc = rtManifestGetEntry(pThis, pszEntry, fNeedNormalization, cchEntry, &pEntry);
1131 memcpy(pEntry->szName, pszEntry, cchEntry + 1);
1161 * @param pszEntry The entry name.
1163 RTDECL(int) RTManifestEntryRemove(RTMANIFEST hManifest, const char *pszEntry)
1168 AssertPtr(pszEntry);
1172 int rc = rtManifestValidateNameEntry(pszEntry, &fNeedNormalization, &cchEntry);
1179 rc = rtManifestGetEntry(pThis, pszEntry, fNeedNormalization, cchEntry, &pEntry);
1192 RTDECL(bool) RTManifestEntryExists(RTMANIFEST hManifest, const char *pszEntry)
1197 AssertPtr(pszEntry);
1201 int rc = rtManifestValidateNameEntry(pszEntry, &fNeedNormalization, &cchEntry);
1208 rc = rtManifestGetEntry(pThis, pszEntry, fNeedNormalization, cchEntry, &pEntry);
1452 size_t cchLine = RTStrPrintf(szLine, sizeof(szLine), "%s (%s) = %s\n", pAttr->szName, pArgs->pszEntry, pAttr->pszValue);
1468 Args.pszEntry = pStr->pszString;
1481 Args.pszEntry = "main";