/haiku/src/apps/soundrecorder/ |
H A D | FileUtils.cpp | 35 size_t bufSize = src_stat.st_blksize; local 36 if (bufSize == 0) 37 bufSize = 32768; 39 char* buf = new (nothrow) char[bufSize]; 44 printf("copy data, bufSize = %ld\n", bufSize); 47 ssize_t bytes = src.Read(buf, bufSize);
|
/haiku/src/system/boot/platform/efi/ |
H A D | serial.cpp | 43 size_t bufSize = 1; local 44 sEFISerialIO->Write(sEFISerialIO, &bufSize, &ch);
|
/haiku/src/add-ons/locale/catalogs/plaintext/ |
H A D | Catalog.cpp | 345 static const int bufSize = 256; local 346 char buf[bufSize]; 348 if (catalogFile.ReadAttr("BEOS:TYPE", B_MIME_STRING_TYPE, 0, &buf, bufSize) 355 &buf, bufSize) <= 0 || fLanguageName != buf) { 359 &buf, bufSize) <= 0 || fSignature != buf) {
|
/haiku/src/tools/locale/ |
H A D | DefaultCatalog.cpp | 236 static const int bufSize = 256; local 237 char buf[bufSize]; 240 bufSize) <= 0 246 &buf, bufSize) <= 0 252 &buf, bufSize) <= 0
|
/haiku/headers/os/device/ |
H A D | Joystick.h | 42 size_t bufSize = B_OS_NAME_LENGTH);
|
H A D | SerialPort.h | 107 size_t bufSize = B_OS_NAME_LENGTH);
|
/haiku/src/kits/locale/ |
H A D | DefaultCatalog.cpp | 334 static const int bufSize = 256; local 335 char buf[bufSize]; 338 bufSize) <= 0 344 &buf, bufSize) <= 0 350 &buf, bufSize) <= 0
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/ |
H A D | POP3.cpp | 576 const int bufSize = 1024 * 30; local 584 if (amountToReceive >= bufSize || amountToReceive <= 0) 585 amountToReceive = bufSize - 1; 588 char* buf = bufBString.LockBuffer(bufSize); 608 if (amountToReceive > bufSize - 1 - amountInBuffer) 609 amountToReceive = bufSize - 1 - amountInBuffer; 623 amountToReceive = bufSize - 1; // For next time, read a full buffer.
|
/haiku/src/kits/device/ |
H A D | SerialPort.cpp | 510 \param bufSize The size of the buffer. 516 BSerialPort::GetDeviceName(int32 n, char *name, size_t bufSize) argument 525 strncpy(name, dev, bufSize); 526 name[bufSize - 1] = '\0';
|
H A D | Joystick.cpp | 304 BJoystick::GetDeviceName(int32 index, char *name, size_t bufSize) argument 317 if (deviceName->Length() > (int32)bufSize) 320 strlcpy(name, deviceName->String(), bufSize);
|
/haiku/headers/os/storage/ |
H A D | Directory.h | 51 virtual int32 GetNextDirents(dirent *buf, size_t bufSize,
|
/haiku/src/tests/kits/storage/ |
H A D | QueryTest.cpp | 1053 size_t bufSize = (sizeof(dirent) + B_FILE_NAME_LENGTH) * 10; local 1054 char buffer[bufSize]; 1056 while (query.GetNextDirents(ents, bufSize, 1) == 1) { 1068 CPPUNIT_ASSERT( query.GetNextDirents(ents, bufSize, 1) == 0 ); 1076 size_t bufSize = (sizeof(dirent) + B_FILE_NAME_LENGTH) * 10; local 1077 char buffer[bufSize]; 1081 while (query.GetNextDirents(ents, bufSize, 1) == 1) { 1105 CPPUNIT_ASSERT( query.GetNextDirents(ents, bufSize, 1) == 0 ); 1253 size_t bufSize = (sizeof(dirent) + B_FILE_NAME_LENGTH) * 10; local 1254 char buffer[bufSize]; 1266 size_t bufSize = (sizeof(dirent) + B_FILE_NAME_LENGTH) * 10; local 1284 size_t bufSize = (sizeof(dirent) + B_FILE_NAME_LENGTH) * 10; local [all...] |
H A D | DirectoryTest.cpp | 1195 size_t bufSize = (sizeof(dirent) + B_FILE_NAME_LENGTH) * 10; local 1196 char buffer[bufSize]; 1199 while (dir.GetNextDirents(ents, bufSize, 1) == 1) 1275 while (dir.GetNextDirents(ents, bufSize, 1) == 1) 1293 while (dir.GetNextDirents(ents, bufSize, 1) == 1) { 1319 CPPUNIT_ASSERT( dir.GetNextDirents(ents, bufSize, 1) == B_FILE_ERROR ); 1330 CPPUNIT_ASSERT( dir.GetNextDirents(ents, bufSize, 1) == B_FILE_ERROR ); 1341 CPPUNIT_ASSERT( equals(dir.GetNextDirents(NULL, bufSize, 1),
|
/haiku/headers/os/midi/ |
H A D | MidiPort.h | 60 int32 n, char* name, size_t bufSize = B_OS_NAME_LENGTH);
|
/haiku/headers/build/os/storage/ |
H A D | Directory.h | 49 virtual int32 GetNextDirents(dirent *buf, size_t bufSize,
|
/haiku/src/kits/midi/ |
H A D | MidiPort.cpp | 243 BMidiPort::GetDeviceName(int32 n, char* name, size_t bufSize) argument 250 if (size >= bufSize)
|
/haiku/src/build/libbe/storage/ |
H A D | Directory.cpp | 353 BDirectory::GetNextDirents(dirent* buf, size_t bufSize, int32 count) argument 359 return _kern_read_dir(fDirFd, buf, bufSize, count);
|
/haiku/src/kits/storage/ |
H A D | Directory.cpp | 373 BDirectory::GetNextDirents(dirent* buf, size_t bufSize, int32 count) argument 379 return _kern_read_dir(fDirFd, buf, bufSize, count);
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.h | 210 char* buf, size_t bufSize, const char* name, int type,
|