Searched refs:bytes (Results 176 - 200 of 364) sorted by relevance

1234567891011>>

/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/
H A Dgenerate_hashs.cpp67 ssize_t bytes = read(fFile, buffer, *_length); local
68 if (bytes < B_OK)
71 *_length = bytes;
275 fprintf(stderr, "%s: Could not allocate %ld bytes\n",
287 fprintf(stderr, "%s: Could not allocate %d bytes\n",
302 fprintf(stderr, "%s: Could not allocate %ld bytes\n",
311 fprintf(stderr, "%s: Could not allocate %ld bytes\n",
H A Dconsistency_check.cpp67 ssize_t bytes = read(fFile, buffer, *_length); local
68 if (bytes < B_OK)
71 *_length = bytes;
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapNoScale.h154 int32 bytes = numPixels * 4; local
155 uint8 buffer[bytes];
170 memcpy(dst, buffer, bytes);
/haiku/src/preferences/screensaver/
H A DScreenCornerSelector.cpp284 ScreenCornerSelector::KeyDown(const char* bytes, int32 numBytes)
286 switch (bytes[0]) {
338 BControl::KeyDown(bytes, numBytes);
/haiku/src/add-ons/translators/rtf/
H A Dconvert.cpp149 char bytes[4]; local
152 bytes[0] = c;
154 bytes[0] = 0xc0 | (c >> 6);
155 bytes[1] = 0x80 | (c & 0x3f);
158 bytes[0] = 0xe0 | (c >> 12);
159 bytes[1] = 0x80 | ((c >> 6) & 0x3f);
160 bytes[2] = 0x80 | (c & 0x3f);
163 bytes[0] = 0xf0 | (c >> 18);
164 bytes[1] = 0x80 | ((c >> 12) & 0x3f);
165 bytes[
[all...]
/haiku/src/apps/terminal/
H A DTermViewStates.cpp109 TermView::State::KeyDown(const char* bytes, int32 numBytes) argument
197 TermView::DefaultState::KeyDown(const char* bytes, int32 numBytes) argument
215 const char* bytes; local
225 bytes = (const char*)&rawChar;
228 bytes = &fView->fKeymapChars[(*keymapTable)[key]];
229 numBytes = *(bytes++);
238 const char* toWrite = bytes;
243 char byte = *bytes | 0x80;
268 convert_from_utf8(fView->fEncoding, bytes, &numBytes, destBuffer,
276 fView->fShell->Write(bytes, numByte
[all...]
/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.cpp115 bool SSynthFileReader::Skip(uint32 bytes) { argument
116 fseek(fFile, bytes, SEEK_CUR);
223 void SSynthFileReader::Dump(uint32 bytes) { argument
230 for (;bytes > 0 && Read(byte); bytes --, col = (col + 1) % cols) {
/haiku/src/kits/storage/
H A DNode.cpp382 ssize_t bytes = ReadAttr(name, B_STRING_TYPE, 0, data, info.size);
384 if (bytes < 0) {
385 error = bytes;
386 bytes = 0;
393 data[bytes] = 0;
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp157 fprintf(stderr,"Disk: Invalid file size (%" B_PRIdOFF " bytes)!\n",
228 ssize_t bytes = ReadAt(0, buffer, BlockSize()); local
229 if (bytes < (int32)BlockSize())
230 return bytes < B_OK ? bytes : B_ERROR;
251 printf("Disk size %" B_PRIdOFF " bytes, %.2f GB\n", fSize, 1.0 * fSize
274 ssize_t bytes = fBufferedFile->ReadAt(offset, buffer, blockSize + 1024); local
275 if (bytes < B_OK)
277 fprintf(stderr,"Could not read from device: %s\n", strerror(bytes));
300 /* location off the BFS superblock is 512 bytes afte
[all...]
/haiku/src/apps/charactermap/
H A DCharacterWindow.cpp85 const char* bytes; local
86 if (message->FindString("bytes", &bytes) != B_OK)
89 if (bytes[0] == B_UP_ARROW
90 || bytes[0] == B_DOWN_ARROW)
111 const char* bytes; local
113 || message->FindString("bytes", &bytes) != B_OK
114 || bytes[0] != B_ESCAPE)
/haiku/src/preferences/shortcuts/
H A DShortcutsWindow.cpp700 const char* bytes; local
709 } else if ((message->FindString("bytes", &bytes) == B_OK)
712 bytes, key);
719 } else if (message->FindString("text", &bytes) == B_OK) {
720 if ((bytes[0] == '(')&&(bytes[1] == 'C')) {
734 column, bytes);
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDeviceEngine.cpp102 uint32 bufferSize = 0x000b; // 1024 bytes
280 //PRINT(("OpenSoundDeviceEngine::%s: ISPACE: { bytes=%d, fragments=%d, fragsize=%d, fragstotal=%d }\n", __FUNCTION__, info->bytes, info->fragments, info->fragsize, info->fragstotal));
281 return info->bytes;
299 //PRINT(("OpenSoundDeviceEngine::%s: OSPACE: { bytes=%d, fragments=%d, fragsize=%d, fragstotal=%d }\n", __FUNCTION__, info->bytes, info->fragments, info->fragsize, info->fragstotal));
300 return info->bytes;
326 info->samples = cinfo.bytes / (fMediaFormat.u.raw_audio.channel_count
590 abinfo.bytes = 0;
592 fDriverBufferSize = abinfo.bytes;
[all...]
/haiku/src/kits/interface/
H A DPictureButton.cpp226 BPictureButton::KeyDown(const char* bytes, int32 numBytes) argument
229 switch (bytes[0]) {
247 BControl::KeyDown(bytes, numBytes);
H A DCheckBox.cpp189 BCheckBox::KeyDown(const char* bytes, int32 numBytes) argument
191 if (*bytes == B_ENTER || *bytes == B_SPACE) {
199 BView::KeyDown(bytes, numBytes);
/haiku/src/apps/serialconnect/libvterm/include/
H A Dvterm.h125 void vterm_push_bytes(VTerm *vt, const char *bytes, size_t len);
164 int (*text)(const char *bytes, size_t len, void *user);
166 int (*escape)(const char *bytes, size_t len, void *user);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DBreakpointListView.cpp84 const char* bytes; local
85 if (message->FindString("bytes", &bytes) == B_OK
86 && bytes[0] == B_DELETE) {
301 data.SetToFormat("%s at 0x%" B_PRIx64 " (%" B_PRId32 " bytes)",
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp262 push_access(file_cache_ref* ref, off_t offset, generic_size_t bytes, argument
265 TRACE(("%p: push %lld, %ld, %s\n", ref, offset, bytes,
276 ref->SetLastAccess(index, offset + bytes, isWrite);
369 It can only handle a certain amount of bytes, and the caller must make
432 size_t bytes = min_c(bufferSize, (size_t)B_PAGE_SIZE - pageOffset); local
436 bytes, IS_USER_ADDRESS(buffer));
438 buffer += bytes;
439 bufferSize -= bytes;
584 generic_size_t bytes = min_c((generic_size_t)bufferSize, local
589 vm_memcpy_to_physical(base + pageOffset, (void*)buffer, bytes,
[all...]
/haiku/headers/libs/print/libprint/
H A DPreview.h66 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/apps/cortex/DiagramView/
H A DDiagramView.h155 const char *bytes,
/haiku/headers/os/interface/
H A DControl.h50 virtual void KeyDown(const char* bytes, int32 numBytes);
H A DButton.h42 virtual void KeyDown(const char* bytes, int32 numBytes);
H A DCheckBox.h43 virtual void KeyDown(const char* bytes, int32 numBytes);
H A DRadioButton.h34 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/servers/package/
H A DPackageManager.h69 off_t bytes, off_t totalBytes);
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.h75 virtual void KeyDown(const char* bytes, int32 numBytes);

Completed in 122 milliseconds

1234567891011>>