Searched refs:newLength (Results 1 - 25 of 52) sorted by relevance

123

/haiku-fatelf/src/kits/shared/
H A DHashString.cpp70 HashString::Truncate(int32 newLength) argument
72 if (newLength < 0)
73 newLength = 0;
74 if (newLength < fLength) {
77 if (!_SetTo(string, newLength)) {
79 fLength = newLength;
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/shared/
H A DString.cpp84 String::Truncate(int32 newLength) argument
86 if (newLength < 0)
87 newLength = 0;
88 if (newLength < fLength) {
93 if (!_SetTo(string, newLength)) {
95 fLength = newLength;
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/shared/
H A DString.cpp84 String::Truncate(int32 newLength) argument
86 if (newLength < 0)
87 newLength = 0;
88 if (newLength < fLength) {
93 if (!_SetTo(string, newLength)) {
95 fLength = newLength;
/haiku-fatelf/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660_identify.h43 void _SetString(char **string, const char *newString, uint32 newLength);
H A Diso9660_identify.cpp199 uint32 newLength)
205 *string, newString, (unsigned)newLength));
211 oldString = (char*)malloc(newLength + 1);
213 memcpy(oldString, newString, newLength);
214 oldString[newLength] = '\0';
198 _SetString(char **string, const char *newString, uint32 newLength) argument
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/
H A DBitmapBlock.cpp387 uint32 newLength = endPos - startPos; local
389 if (newLength > length) {
391 length = newLength;
398 if (newLength >= 32)
418 uint32 newLength = (index - startIndex - 1) << 5; local
428 ++newLength;
436 ++newLength;
439 if (newLength > length) {
441 length = newLength;
457 uint32 newLength local
[all...]
H A DDirectoryIterator.cpp252 uint16 newLength; local
254 status = _AllocateBestEntryInBlock(nameLength, pos, newLength);
256 return _AddEntry(transaction, name, nameLength, id, type, newLength,
417 uint16& newLength)
445 newLength = realLength;
463 newLength = bestRealLength;
471 uint8 nameLength, ino_t id, uint8 type, uint16 newLength, uint16 pos,
475 name, nameLength, id, type, newLength, pos, hasPrevious ? 't' : 'f');
486 dirEntry->SetLength(newLength);
488 dirEntry = (ext2_dir_entry*)&block[pos + newLength];
416 _AllocateBestEntryInBlock(uint8 nameLength, uint16& pos, uint16& newLength) argument
470 _AddEntry(Transaction& transaction, const char* name, uint8 nameLength, ino_t id, uint8 type, uint16 newLength, uint16 pos, bool hasPrevious) argument
621 uint16 newLength = (uint16)nameLength + 8; local
[all...]
H A DDirectoryIterator.h51 uint16& newLength);
54 uint16 newLength, uint16 pos,
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DQuery.h58 size_t newLength);
62 const char* newName, size_t newLength);
H A DIndex.cpp218 uint16 newLength, Inode* inode)
223 || (newKey != NULL && newLength == 0))
233 if (!compareKeys(type, oldKey, oldLength, newKey, newLength))
238 newKey, newLength);
267 status = tree->Insert(transaction, (const uint8*)newKey, newLength,
296 uint16 newLength = newName != NULL ? strlen(newName) : 0; local
298 oldLength, (uint8*)newName, newLength, inode);
216 Update(Transaction& transaction, const char* name, int32 type, const uint8* oldKey, uint16 oldLength, const uint8* newKey, uint16 newLength, Inode* inode) argument
H A DIndex.h35 uint16 newLength, Inode* inode);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DIndex.cpp221 uint16 oldLength, const uint8 *newKey, uint16 newLength, Inode *inode)
226 || newKey != NULL && newLength == 0)
236 if (type != 0 && !compareKeys(type, oldKey, oldLength, newKey, newLength))
241 fVolume->UpdateLiveQueries(inode, name, type, oldKey, oldLength, newKey, newLength);
249 if (type == 0 && !compareKeys(Type(), oldKey, oldLength, newKey, newLength))
254 fVolume->UpdateLiveQueries(inode, name, Type(), oldKey, oldLength, newKey, newLength);
274 status = tree->Insert(transaction, (const uint8 *)newKey, newLength, inode->ID());
298 uint16 newLength = newName ? strlen(newName) : 0; local
300 (uint8 *)newName, newLength, inode);
220 Update(Transaction *transaction, const char *name, int32 type, const uint8 *oldKey, uint16 oldLength, const uint8 *newKey, uint16 newLength, Inode *inode) argument
H A DIndex.h31 status_t Update(Transaction *transaction, const char *name, int32 type, const uint8 *oldKey, uint16 oldLength, const uint8 *newKey, uint16 newLength, Inode *inode);
H A DQuery.h56 void LiveUpdate(Inode *inode,const char *attribute,int32 type,const uint8 *oldKey,size_t oldLength,const uint8 *newKey,size_t newLength);
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/
H A DAttribute.cpp85 size_t newLength; local
86 GetKey(&newKey, &newLength);
88 oldLength, newKey, newLength);
H A DQuery.h108 const uint8 *newKey, size_t newLength);
/haiku-fatelf/src/bin/
H A Dlogger.cpp177 int32 newLength = length + strlen(argv[i]) + 1; local
179 buffer = (char *)realloc(buffer, newLength + 1);
186 length = newLength;
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DAttribute.cpp70 size_t newLength; local
71 GetKey(&newKey, &newLength);
73 oldLength, newKey, newLength);
/haiku-fatelf/headers/private/shared/
H A DHashString.h44 void Truncate(int32 newLength);
/haiku-fatelf/headers/private/userlandfs/shared/
H A DString.h45 void Truncate(int32 newLength);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/headers/shared/
H A DString.h45 void Truncate(int32 newLength);
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/
H A DQuery.h38 const void* newKey, size_t newLength);
/haiku-fatelf/src/kits/locale/
H A DHashMapCatalog.cpp157 int newLength = 0; local
186 newLength++;
192 newLength++;
198 stringToParse.UnlockBuffer(newLength);
/haiku-fatelf/src/kits/interface/textview_support/
H A DUndoBuffer.cpp387 int32 newLength = fTextLength + charLen; local
388 char* buffer = (char*)malloc(newLength);
393 if (fTextLength < newLength) {
399 fTextLength = newLength;
/haiku-fatelf/src/bin/makeudfimage/
H A DAllocator.cpp180 uint32 newLength = chunkLength-difference; local
181 if (length <= newLength) {
191 Udf::extent_address newExtent(newOffset, newLength<<BlockShift());

Completed in 128 milliseconds

123