/haiku/src/tests/kits/support/bstring/ |
H A D | StringAccessTest.cpp | 58 char *ptrstr = locked.LockBuffer(20); in PerformTest() 66 char *ptr = locked2.LockBuffer(3); in PerformTest() 74 ptr = emptylocked.LockBuffer(10); in PerformTest() 84 ptr = crashesR5.LockBuffer(0); in PerformTest()
|
H A D | StringReplaceTest.cpp | 377 buf = str1->LockBuffer(sz); in PerformTest() 386 buf = str1->LockBuffer(sz); in PerformTest() 396 buf = str1->LockBuffer(sz); in PerformTest() 405 buf = str1->LockBuffer(sz); in PerformTest() 414 buf = str1->LockBuffer(sz); in PerformTest()
|
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | APECompress.cpp | 90 unsigned char * CAPECompress::LockBuffer(int * pBytesAvailable) in LockBuffer() function in CAPECompress 115 unsigned char * pBuffer = LockBuffer(&nBytesAvailable); in AddData() 198 unsigned char * pBuffer = LockBuffer(&nBytesAvailable); in AddDataFromInputSource()
|
H A D | APECompress.h | 26 unsigned char * LockBuffer(int * pBytesAvailable);
|
/haiku/src/servers/package/ |
H A D | FSUtils.h | 79 char* buffer = result.LockBuffer(length + 1); in ToString() 114 char* buffer = fPath.LockBuffer(fPath.Length()); in Path() 126 fPath.LockBuffer(k); in Path()
|
/haiku/src/kits/package/ |
H A D | ChecksumAccessors.cpp | 56 char* buffer = checksum.LockBuffer(kSHA256ChecksumHexDumpSize); in GetChecksum() 123 char* buffer = checksum.LockBuffer(2 * kSHA256ChecksumSize); in GetChecksum()
|
/haiku/headers/private/fs_shell/ |
H A D | KPath.h | 33 char *LockBuffer();
|
/haiku/src/kits/mail/ |
H A D | MailComponent.cpp | 609 char* string = decoded.LockBuffer(bytes + 1); in ParseRaw() 640 string = text.LockBuffer(destLength); in ParseRaw() 707 char* raw = alt.LockBuffer(dest_len); in RenderToRFC822() 713 raw = modified.LockBuffer((alt.Length() * 3) + 1); in RenderToRFC822() 737 char* string = modified.LockBuffer(modified.Length()); in RenderToRFC822()
|
H A D | HaikuMailFormatFilter.cpp | 55 char* buffer = string.LockBuffer(string.Length() + 1); in sanitize_white_space() 112 char* buffer = header.LockBuffer(size); in HeaderFetched()
|
/haiku/src/apps/processcontroller/ |
H A D | PriorityMenu.cpp | 81 snprintf(name.LockBuffer(size), size, in BuildMenu()
|
/haiku/headers/private/kernel/fs/ |
H A D | KPath.h | 47 char* LockBuffer(bool force = false);
|
/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/ |
H A D | SMTP.cpp | 553 char* cnoncePtr = cnonce.LockBuffer(rawCnonce.Length()*2); in Login() 578 char *resp = postResponse.LockBuffer(rawResponse.Length() * 2 + 10); in Login() 621 char *resp = postResponse.LockBuffer(preResponse.Length() * 2 + 10); in Login() 675 stringPntr = preResponse.LockBuffer(loginlen + passlen + 3); in Login() 682 stringPntr = postResponse.LockBuffer(preResponse.Length() * 3); in Login()
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 4196 char* buffer = pathBuffer.LockBuffer(); in vfs_get_vnode_from_path() 4301 char* buffer = pathBuffer.LockBuffer(); in vfs_get_fs_node_from_path() 4344 status = common_path_read_stat(fd, pathBuffer.LockBuffer(), in vfs_read_stat() 4533 char* tmpPath = tmpPathBuffer.LockBuffer(); in vfs_create_special_node() 8213 return fs_mount(pathBuffer.LockBuffer(), device, fsName, flags, args, true); in _kern_mount() 8224 return fs_unmount(pathBuffer.LockBuffer(), -1, flags, true); in _kern_unmount() 8353 return file_create(fd, pathBuffer.LockBuffer(), openMode, perms, true); in _kern_open() 8355 return file_open(fd, pathBuffer.LockBuffer(), openMode, true); in _kern_open() 8404 return dir_open(fd, pathBuffer.LockBuffer(), true); in _kern_open_dir() 8472 return dir_create(fd, pathBuffer.LockBuffer(), perms, true); in _kern_create_dir() [all …]
|
/haiku/src/bin/package/ |
H A D | command_checksum.cpp | 54 char* buffer = hex.LockBuffer(length * 2); in Digest()
|
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/ |
H A D | PackagesDirectory.cpp | 126 char* normalizedPathBuffer = normalizedPath.LockBuffer(); in _Init()
|
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 1448 char *path = pathBuffer.LockBuffer(); in dir_vnode_to_path() 2358 char *buffer = pathBuffer.LockBuffer(); in vfs_get_vnode_from_path() 2465 char *buffer = pathBuffer.LockBuffer(); in vfs_get_fs_node_from_path() 2621 char *mutablePath = mutablePathBuffer.LockBuffer(); in vfs_normalize_path() 5089 return fs_mount(pathBuffer.LockBuffer(), device, fsName, flags, args, true); in _kern_mount() 5100 return fs_unmount(pathBuffer.LockBuffer(), flags, true); in _kern_unmount() 5181 return file_create(fd, pathBuffer.LockBuffer(), openMode, perms, true); in _kern_open() 5183 return file_open(fd, pathBuffer.LockBuffer(), openMode, true); in _kern_open() 5234 return dir_open(fd, pathBuffer.LockBuffer(), true); in _kern_open_dir() 5295 return dir_create(fd, pathBuffer.LockBuffer(), perms, true); in _kern_create_dir() [all …]
|
/haiku/src/tests/system/kernel/fs/ |
H A D | KPathTest.cpp | 287 char* buffer = path.LockBuffer(); in TestLockBuffer() 297 buffer = second.LockBuffer(); in TestLockBuffer() 303 buffer = third.LockBuffer(true); in TestLockBuffer()
|
/haiku/src/servers/syslog_daemon/ |
H A D | SyslogDaemon.cpp | 69 snprintf(message.LockBuffer(512), 512, in AboutRequested()
|
/haiku/src/tests/kits/interface/ |
H A D | TextViewTestManual.cpp | 90 char* currLine = content.LockBuffer(contentLength); in Window()
|
/haiku/src/kits/locale/ |
H A D | FormattingConventions.cpp | 68 char* s = format.LockBuffer(format.Length()); in CoerceFormatTo12HourClock() 99 char* buffer = format.LockBuffer(format.Length()); in CoerceFormatTo24HourClock() 156 char* s = format.LockBuffer(format.Length()); in CoerceFormatToAbbreviatedTimezone()
|
/haiku/src/preferences/datatranslations/ |
H A D | DataTranslations.cpp | 51 snprintf(text.LockBuffer(512), 512, in _InstallError()
|
/haiku/src/kits/tracker/ |
H A D | QueryContainerWindow.cpp | 159 char* buf = sanitizedType.LockBuffer(length); in SetupDefaultState()
|
/haiku/src/bin/ |
H A D | urlwrapper.cpp | 88 ni.GetType(mimetype.LockBuffer(B_MIME_TYPE_LENGTH)); in RefsReceived() 100 if (f.ReadAt(0LL, contents.LockBuffer(size), size) < B_OK) in RefsReceived() 138 char *buffer = contents.LockBuffer(size); in RefsReceived()
|
/haiku/src/system/kernel/ |
H A D | module.cpp | 640 basePath.LockBuffer(), basePath.BufferSize()) != B_OK) in search_module() 647 status = vfs_get_module_path(basePath.Path(), name, path.LockBuffer(), in search_module() 1406 path.LockBuffer(), path.BufferSize()); in _AddModuleNode() 1428 pathBuffer.LockBuffer(), pathBuffer.BufferSize()) != B_OK) in _AddDirectory() 1436 status_t scanStatus = _ScanDirectory(pathBuffer.LockBuffer(), prefix, in _AddDirectory() 1577 pathBuffer.LockBuffer(), pathBuffer.BufferSize()) != B_OK) in _Notify() 1599 modulePath.LockBuffer(), modulePath.BufferSize()) != B_OK) in _Notify() 1901 pathBuffer.LockBuffer(), pathBuffer.BufferSize()) in module_init_post_boot_device() 2021 pathBuffer.LockBuffer(), pathBuffer.BufferSize()) != B_OK) in open_module_list_etc()
|
/haiku/src/apps/resedit/ |
H A D | ResFields.cpp | 163 char *temp = fString.LockBuffer(length + 2); in SetData()
|