/haiku/headers/private/file_systems/ |
H A D | QueryParser.h | 140 inline status_t GetNextEntry(struct dirent* dirent, size_t size); 158 status_t _GetNextEntry(struct dirent* dirent, size_t size); 201 const uint8* key = NULL, size_t size = 0) = 0; 226 The type/size of the value, the score, and if it has an index or not. 252 const uint8* key = NULL, size_t size = 0); 276 bool CompareTo(const uint8* value, size_t size); 314 const uint8* key = NULL, size_t size = 0); 636 Equation<QueryPolicy>::CompareTo(const uint8* value, size_t size) argument 648 compare = compareKeys(fType, value, size, Value(), fSize); 712 const char* attributeName, int32 type, const uint8* key, size_t size) 711 Match(Entry* entry, Node* node, const char* attributeName, int32 type, const uint8* key, size_t size) argument [all...] |
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | video.cpp | 846 size_t lastSize = gKernelArgs.frame_buffer.physical_buffer.size; 870 gKernelArgs.frame_buffer.physical_buffer.size 886 gKernelArgs.frame_buffer.physical_buffer.size 902 || lastSize < gKernelArgs.frame_buffer.physical_buffer.size)) { 910 gKernelArgs.frame_buffer.physical_buffer.size, kDefaultPageFlags);
|
/haiku/src/apps/charactermap/ |
H A D | CharacterView.cpp | 213 int size = 0; local 214 for (int32 i = 0; character[i] && size < (int)textSize; i++) { 215 size += snprintf(text + size, textSize - size, "\\x%02x", 347 // Try to have the size right (should be exactly 2x the cell width)
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | IMAPFolder.cpp | 150 struct entry* entries = (struct entry*)malloc(info.size); 155 entries, info.size); 156 if (bytesRead != info.size) 159 for (size_t i = 0; i < info.size / sizeof(entry); i++) {
|
/haiku/src/servers/app/font/ |
H A D | GlyphLayoutEngine.h | 303 double size = font.Size(); local 341 advanceX = glyph->precise_advance_x * size; 342 advanceY = glyph->precise_advance_y * size;
|
H A D | FontStyle.h | 68 \brief Determines whether the font can be scaled to any size 124 void GetHeight(float size, font_height &heigth) const; 141 void SetFontData(FT_Byte* location, uint32 size);
|
H A D | FontStyle.cpp | 60 FT_Pos size = face->available_sizes[0].size; local 62 size = max_c(size, face->available_sizes[i].size); 63 FT_Set_Pixel_Sizes(face, 0, size / 64); 67 FT_Size_Metrics metrics = face->size->metrics; 68 fHeight.ascent = (double)metrics.ascender / size; 69 fHeight.descent = (double)-metrics.descender / size; 71 + metrics.descender) / size; 126 GetHeight(float size, font_height& height) const argument 273 SetFontData(FT_Byte* location, uint32 size) argument [all...] |
/haiku/src/servers/app/ |
H A D | ServerApp.cpp | 576 ClientTeam(), Signature(), (int)fBitmapMap.size()); 582 "area %" B_PRId32 ", size %" B_PRId32 "\n", 1213 int32 size = 0, bytesPerRow = 0; local 1223 && link.Read<int32>(&size) == B_OK 1224 && size > 0) { 1226 BStackOrHeapArray<uint8, 256> byteArray(size); 1229 } else if (link.Read(byteArray, size) == B_OK) { 1235 cursor->ImportBits(byteArray, size, bytesPerRow, colorspace); 1331 uint32 size = cursor->BitsLength(); local 1333 fLink.Attach<uint32>(size); 1659 size_t size, offset; local 1779 float size; local 2115 float size; local 2189 float size; local 2310 float size; local 2428 float size, shear, rotation, falseBoldWidth; local 2601 float size, rotation; local 2695 float size, rotation; local 2779 float size, rotation, shear, falseBoldWidth; local [all...] |
/haiku/src/preferences/screen/ |
H A D | MonitorView.cpp | 213 BSize size = Bounds().Size(); local 214 return BRect((size.width - width) / 2, (size.height - height) / 2, 215 (size.width + width) / 2, (size.height + height) / 2);
|
/haiku/src/kits/tracker/ |
H A D | WidgetAttributeText.cpp | 88 // format file size value 994 // get the size 1218 if (info.size && info.size <= (off_t)sizeof(int64)) { 1220 fColumn->AttrType(), 0, &tmp, (size_t)info.size); 1226 if (length == info.size) { 1230 switch (info.size) { 1247 switch (info.size) { 1593 ssize_t size = 0; local 1597 size [all...] |
H A D | FSUtils.cpp | 42 // that have to do with size, reading/writing and name collisions. 1400 ssize_t size = srcLink.ReadLink(linkpath, MAXPATHLEN - 1); local 1401 if (size < 0) 1402 ThrowOnError(size); 1431 // File bigger than the buffer size: determine an optimal buffer size 1573 // Special case for a size 0 attribute. It wouldn't be written at all 1575 if (info.size == 0) 1579 ssize_t numToRead = (ssize_t)info.size; 1896 // for "Move" the size fo 2222 BString size; local 2708 size_t size; local 2750 size_t size; local 3319 GetAttrInfo(const BNode* node, const char* hostAttrName, const char* foreignAttrName, type_code* type, size_t* size) argument [all...] |
/haiku/src/apps/poorman/ |
H A D | PoorManWindow.cpp | 75 // limit the size of the size of the window 220 ssize_t size; local 226 if (message->FindData("time_t", B_TIME_TYPE, &pointer, &size) != B_OK) 234 if (message->FindData("rgb_color", B_RGB_COLOR_TYPE, &pointer, &size) != B_OK) 346 // Change to the Minimal size 350 // Change to the Zoomed size 622 //windows' position and size 671 //windows' position and size
|
/haiku/src/apps/installer/ |
H A D | InstallerWindow.cpp | 387 int32 size = 0; local 388 fPackagesView->GetPackagesToInstall(list, &size); 391 fWorkerThread->SetSpaceRequired(size);
|
/haiku/src/apps/drivesetup/ |
H A D | DiskView.cpp | 349 // calculate size factor within parent frame 352 off_t size = partition->Size(); local 354 double scale = (double)size / parentSize; 408 off_t size; local 410 info.GetPartitionableSpaceAt(i, &offset, &size) >= B_OK; 413 if (!is_valid_partitionable_space(size)) 416 double scale = (double)size / parentSize;
|
/haiku/src/apps/diskprobe/ |
H A D | ProbeView.cpp | 90 BMessage* message, off_t size, 100 void SetSize(off_t size); 309 off_t size, uint32 blockSize) 313 fSize(size), 340 // Note: this code is far from being perfect: depending on the file size, it has 341 // a maxium granularity that might be less than the actual block size demands... 344 // For example, with a block size of 512 bytes, it should be good enough for about 367 PositionSlider::SetSize(off_t size) argument 369 if (size == fSize) 373 if (position >= size) 308 PositionSlider(const char* name, BMessage* message, off_t size, uint32 blockSize) argument 1505 int size; local 1675 ssize_t size; local 1833 float size; local 1897 ssize_t size; local [all...] |
/haiku/src/apps/codycam/ |
H A D | VideoConsumer.cpp | 214 VideoConsumer::HandleMessage(int32 message, const void* data, size_t size) argument 310 info.size = (size_t)fBitmap[j]->BitsLength(); 608 int32 size = fBitmap[index]->BitsLength(); local 609 uint32* end = start + size / 4;
|
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 516 BSize size = fTarget->MinSize(); 517 if (size.width != B_SIZE_UNSET) 518 size.width -= fCropLeft + fCropRight; 519 if (size.height != B_SIZE_UNSET) 520 size.height -= fCropTop + fCropBottom; 522 return size; 532 BSize size = fTarget->MaxSize(); 533 if (size.width != B_SIZE_UNSET) 534 size.width -= fCropLeft + fCropRight; 535 if (size [all...] |
/haiku/src/add-ons/kernel/network/stack/ |
H A D | net_socket.cpp | 546 if (*_buffer && length < (*_buffer)->size) { 1030 uint32* size = (uint32*)value; local 1031 *size = socket->send.buffer_size; 1038 uint32* size = (uint32*)value; local 1039 *size = socket->receive.buffer_size; 1046 uint32* size = (uint32*)value; local 1047 *size = socket->send.low_water_mark; 1054 uint32* size = (uint32*)value; local 1055 *size = socket->receive.low_water_mark; 1218 const size_t bytesReceived = buffer->size; [all...] |
/haiku/src/tests/kits/bluetooth/l2capClient/ |
H A D | l2capClient.cpp | 21 size_t size; local 36 size = sizeof(struct sockaddr_l2cap); 39 l2sa.l2cap_len = size; 44 if (bind(sock, (struct sockaddr *)&l2sa, size) < 0) {
|
/haiku/src/add-ons/kernel/network/protocols/l2cap/ |
H A D | l2cap_command.cpp | 164 if (gBufferModule->append_cloned(buffer.Get(), opt, 0, opt->size) != B_OK)
|
H A D | l2cap_signal.cpp | 324 &data, min_c(buffer->size, sizeof(l2cap_command_reject_data))); 343 header->length = htole16(command->size - sizeof(l2cap_command_header)); 346 basicHeader->length = htole16(command->size - sizeof(l2cap_basic_header)); 451 TRACE("%s: signal size=%" B_PRIu32 "\n", __func__, buffer->size); 456 while (buffer->size != 0) { 473 if (buffer->size < length) { 475 "ident=%d, length=%d, buffer size=%" B_PRIu32 "\n", __func__, 476 code, ident, length, buffer->size);
|
H A D | l2cap.cpp | 228 if (buffer->size < sizeof(l2cap_basic_header)) { 230 __func__, buffer->size); 246 if (length != buffer->size) { 248 length, buffer->size);
|
H A D | L2capEndpoint.cpp | 416 if (current->size > fChannelConfig.outgoing_mtu) { 428 const size_t bufferSize = current->size; 484 header->length = B_HOST_TO_LENDIAN_INT16(buffer->size - sizeof(l2cap_basic_header));
|
/haiku/src/add-ons/kernel/bluetooth/hci/ |
H A D | acl.cpp | 39 if (nbuf->size < sizeof(struct hci_acl_header)) { 41 __func__, nbuf->size); 90 " want %d \n", __func__, conn->currentRxPacket->size, length ); 97 if (nbuf->size < sizeof(l2cap_basic_header)) { 99 "\n", __func__, nbuf->size); 137 __func__, conn->currentRxPacket->size, 147 conn->currentRxPacket->size);
|
/haiku/src/add-ons/kernel/bluetooth/btCoreData/ |
H A D | BTCoreData.cpp | 39 PostEvent(bluetooth_device* ndev, void* event, size_t size) argument 83 event, size, B_TIMEOUT, 1 * 1000 * 1000);
|