Lines Matching defs:entry
246 // fullPath is just an entry name, no parent directories specified
346 /*! An entry name is considered valid, if its length doesn't exceed
349 \param entry the entry name
351 - \c B_OK, if \a entry is valid,
352 - \c B_BAD_VALUE, if \a entry is \c NULL or contains a "/",
353 - \c B_NAME_TOO_LONG, if \a entry is too long
354 \note \c "" is considered a valid entry name.
357 check_entry_name(const char *entry)
359 status_t error = (entry ? B_OK : B_BAD_VALUE);
361 if (strlen(entry) >= B_FILE_NAME_LENGTH)
365 for (int32 i = 0; error == B_OK && entry[i] != '\0'; i++) {
366 if (entry[i] == '/')
375 its components is a valid entry name.
376 \param entry the entry name