Home
last modified time | relevance | path

Searched refs:oldLength (Results 1 – 25 of 27) sorted by relevance

12

/haiku/src/kits/debugger/types/
H A DArrayIndexPath.cpp80 int32 oldLength = path.Length(); in GetPathString() local
81 if (path.Append(kIndexSeparator, 1).Length() != oldLength + 1) in GetPathString()
86 int32 oldLength = path.Length(); in GetPathString() local
87 if ((path << IndexAt(i)).Length() == oldLength) in GetPathString()
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DAttribute.cpp75 size_t oldLength = kMaxIndexKeyLength; in WriteAt() local
76 GetKey(oldKey, &oldLength); in WriteAt()
84 fIndex->Changed(this, oldKey, oldLength); in WriteAt()
91 oldLength, newKey, newLength); in WriteAt()
H A DAttributeIndexImpl.h20 const uint8 *oldKey, size_t oldLength);
H A DQuery.h43 const void* oldKey, size_t oldLength,
H A DVolume.cpp639 size_t oldLength; in NodeAttributeRemoved() local
640 attribute->GetKey(oldKey, &oldLength); in NodeAttributeRemoved()
642 attribute->GetType(), oldKey, oldLength, NULL, 0); in NodeAttributeRemoved()
707 int32 type, const uint8 *oldKey, size_t oldLength, const uint8 *newKey, in UpdateLiveQueries() argument
715 query->LiveUpdate(entry, node, attribute, type, oldKey, oldLength, in UpdateLiveQueries()
H A DQuery.cpp345 const void* oldKey, size_t oldLength, const void* newKey, size_t newLength) in LiveUpdate() argument
348 oldLength, (const uint8*)newKey, newLength); in LiveUpdate()
H A DAttributeIndexImpl.cpp238 size_t oldLength) in Changed() argument
247 PrimaryKey(attribute, oldKey, oldLength), attribute, &it); in Changed()
H A DVolume.h152 int32 type, const uint8 *oldKey, size_t oldLength,
/haiku/src/system/boot/loader/
H A DPathBlocklist.cpp60 size_t oldLength = fLength; in Append() local
65 if (oldLength > 0) in Append()
66 fPath[oldLength++] = '/'; in Append()
67 memcpy(fPath + oldLength, component, componentLength); in Append()
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DIndex.cpp221 const uint8* oldKey, uint16 oldLength, const uint8* newKey, in Update() argument
226 || (oldKey != NULL && oldLength == 0) in Update()
237 if (oldLength == 0) { in Update()
241 oldKey, oldLength, newKey, newLength)) { in Update()
246 fVolume->UpdateLiveQueries(inode, name, type, oldKey, oldLength, in Update()
264 status = tree->Remove(transaction, (const uint8*)oldKey, oldLength, in Update()
304 uint16 oldLength = oldName != NULL ? strlen(oldName) : 0; in UpdateName() local
307 oldLength, (uint8*)newName, newLength, inode); in UpdateName()
H A DQuery.h34 const void* oldKey, size_t oldLength,
38 size_t oldLength, ino_t newDirectoryID,
H A DQuery.cpp352 const void* oldKey, size_t oldLength, const void* newKey, size_t newLength) in LiveUpdate() argument
355 (const uint8*)oldKey, oldLength, in LiveUpdate()
362 ino_t oldDirectoryID, const char* oldName, size_t oldLength, in LiveUpdateRenameMove() argument
366 oldDirectoryID, oldName, oldLength, in LiveUpdateRenameMove()
H A DVolume.cpp412 const uint8* oldKey, size_t oldLength, const uint8* newKey, in UpdateLiveQueries() argument
420 query->LiveUpdate(inode, attribute, type, oldKey, oldLength, newKey, in UpdateLiveQueries()
432 size_t oldLength = strlen(oldName); in UpdateLiveQueriesRenameMove() local
438 query->LiveUpdateRenameMove(inode, oldDirectoryID, oldName, oldLength, in UpdateLiveQueriesRenameMove()
H A DIndex.h34 uint16 oldLength, const uint8* newKey,
H A DInode.cpp1103 size_t oldLength = 0; in WriteAttribute() local
1132 oldLength = smallData->DataSize(); in WriteAttribute()
1133 if (oldLength > 0) { in WriteAttribute()
1134 if (oldLength > MAX_INDEX_KEY_LENGTH) in WriteAttribute()
1135 oldLength = MAX_INDEX_KEY_LENGTH; in WriteAttribute()
1136 memcpy(oldData = oldBuffer, smallData->Data(), oldLength); in WriteAttribute()
1181 oldLength = MAX_INDEX_KEY_LENGTH; in WriteAttribute()
1182 if (attribute->ReadAt(0, oldBuffer, &oldLength) == B_OK) in WriteAttribute()
1191 oldLength = 0; in WriteAttribute()
1248 if (pos < length || (uint64)pos < (uint64)oldLength) { in WriteAttribute()
[all …]
H A DVolume.h132 const uint8* oldKey, size_t oldLength,
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DQuery.h37 const void* oldKey, size_t oldLength,
H A DQuery.cpp289 const void* oldKey, size_t oldLength, const void* newKey, size_t newLength) in LiveUpdate() argument
292 oldLength, (const uint8*)newKey, newLength); in LiveUpdate()
/haiku/src/kits/support/
H A DString.cpp597 int32 oldLength = Length(); in Append() local
599 memset(fPrivateData + oldLength, c, count); in Append()
2413 int32 oldLength = Length(); in _OpenAtBy() local
2419 oldLength - offset); in _OpenAtBy()
2420 return _Resize(oldLength + length); in _OpenAtBy()
2427 int32 oldLength = Length(); in _ShrinkAtBy() local
2432 oldLength - offset - length); in _ShrinkAtBy()
2433 return _Resize(oldLength - length); in _ShrinkAtBy()
2466 int32 oldLength = Length(); in _DoAppend() local
2467 if (_MakeWritable(oldLength + length, true) == B_OK) { in _DoAppend()
[all …]
/haiku/src/kits/media/experimental/
H A DAdapterIO.cpp50 size_t oldLength) in FlushBefore() argument
56 if (relative > (off_t)oldLength) in FlushBefore()
59 oldLength - relative); in FlushBefore()
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DDirectoryIterator.cpp700 uint16 oldLength = dirEntry->Length(); in _SplitIndexedBlock() local
701 dirEntry = (ext2_dir_entry*)&firstBlock[displacement - oldLength]; in _SplitIndexedBlock()
702 dirEntry->SetLength(maxSize - displacement + oldLength); in _SplitIndexedBlock()
796 oldLength = dirEntry->Length(); in _SplitIndexedBlock()
797 dirEntry = (ext2_dir_entry*)&secondBlock[displacement - oldLength]; in _SplitIndexedBlock()
798 dirEntry->SetLength(maxSize - displacement + oldLength); in _SplitIndexedBlock()
/haiku/src/kits/debugger/elf/
H A DElfSymbolLookup.cpp288 int32 oldLength = _string.Length(); in _ReadString() local
290 if (_string.Length() <= oldLength) in _ReadString()
/haiku/headers/private/file_systems/
H A DQueryParser.h135 const uint8* oldKey, size_t oldLength,
139 size_t oldLength, ino_t newDirectoryID,
1532 int32 type, const uint8* oldKey, size_t oldLength, const uint8* newKey,
1546 LiveUpdate(entry, node, attribute, type, oldKey, oldLength, newKey,
1554 type, oldKey, oldLength);
1601 ino_t oldDirectoryID, const char* oldName, size_t oldLength,
1610 B_STRING_TYPE, (const uint8*)oldName, oldLength);
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DVolume.h87 const void* oldKey, size_t oldLength,
/haiku/src/bin/bfs_tools/lib/
H A DInode.cpp277 int32 oldLength = nameData == NULL ? 0 : nameData->data_size; in SetName() local
280 if ((addr_t)data + newLength - oldLength >= (addr_t)(fInode in SetName()

12