Lines Matching defs:length
764 EditModelName(const Model* model, const char* name, size_t length)
766 if (model == NULL || name == NULL || name[0] == '\0' || length <= 0)
807 result = ShouldEditRefName(model->EntryRef(), name, length);
821 ShouldEditRefName(const entry_ref* ref, const char* name, size_t length)
823 if (ref == NULL || name == NULL || name[0] == '\0' || length <= 0)
831 if (length >= B_FILE_NAME_LENGTH) {
1365 int32 length = strlen(destName) - 1;
1366 while (destName[length] == '.') {
1368 destName[length--] = '\0';
2217 FileStatToString(StatStruct* stat, char* buffer, int32 length)
2226 uint32 pos = snprintf(buffer, length, "\n\t(%s ", size.String());
2228 strftime(buffer + pos, length - pos, "%b %d %Y, %I:%M:%S %p)", &timeData);
3293 size_t length, void (*swapFunc)(void*), bool isForeign)
3296 length) == (ssize_t)length) {
3302 if (node->ReadAttr(foreignAttrName, type, offset, buffer, length)
3303 != (ssize_t)length) {