Searched refs:bytes (Results 51 - 75 of 364) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dpacket_buffer.h36 void packet_buffer_flush(struct packet_buffer* buffer, size_t bytes);
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/
H A DBoolValueView.h27 virtual void KeyDown(const char* bytes, int32 numBytes);
H A DOptionValueView.h30 virtual void KeyDown(const char* bytes, int32 numBytes);
/haiku/src/apps/mediaconverter/
H A DMediaFileListView.h33 virtual void KeyDown(const char *bytes, int32 numBytes);
/haiku/src/system/libroot/os/
H A Dfs_attr.cpp52 ssize_t bytes = _kern_read_attr(fd, attribute, pos, buffer, readBytes); local
53 RETURN_AND_SET_ERRNO(bytes);
79 ssize_t bytes = _kern_write_attr(fd, attribute, type, pos, buffer, local
81 RETURN_AND_SET_ERRNO(bytes);
/haiku/src/apps/deskcalc/
H A DInputTextView.h29 virtual void KeyDown(const char* bytes, int32 numBytes);
H A DExpressionTextView.cpp73 ExpressionTextView::KeyDown(const char* bytes, int32 numBytes) argument
76 if (bytes[0] == B_UP_ARROW) {
80 if (bytes[0] == B_DOWN_ARROW) {
87 if (bytes[0] == '=')
89 else if (bytes[0] != B_TAB)
90 InputTextView::KeyDown(bytes, numBytes);
93 if (fKeypadLabels.FindFirst(bytes[0]) >= 0)
94 fCalcView->FlashKey(bytes, numBytes);
95 else if (bytes[0] == B_BACKSPACE)
355 const char bytes[ local
[all...]
/haiku/src/add-ons/kernel/file_systems/cdda/
H A Dcdda.cpp699 size_t bytes = min_c(bufferSize - dataOffset, length); local
700 if (user_memcpy(data, (uint8 *)buffer + dataOffset, bytes) < B_OK)
703 data = (void *)((uint8 *)data + bytes);
704 length -= bytes;
705 offset += bytes;
710 size_t bytes = length - dataOffset; local
711 if (user_memcpy((uint8 *)data + dataOffset, buffer, bytes) < B_OK)
714 length -= bytes;
730 size_t bytes = bufferSize - dataOffset; local
731 if (bytes > lengt
[all...]
/haiku/src/kits/game/
H A DFileGameSound.cpp37 FillBuffer(_gs_ramp* ramp, T* dest, const T* src, size_t* bytes) argument
39 size_t samples = *bytes / sizeof(T);
47 *bytes = sample * sizeof(T);
198 size_t bytes = fBufferSize - fPlayPosition; local
200 if (bytes > inByteCount)
201 bytes = inByteCount;
212 (uint8*)&fBuffer[fPlayPosition], &bytes);
218 (int16*)&fBuffer[fPlayPosition], &bytes);
224 (int32*)&fBuffer[fPlayPosition], &bytes);
230 (float*)&fBuffer[fPlayPosition], &bytes);
418 Read(void* buffer, size_t bytes) argument
[all...]
/haiku/src/preferences/screen/
H A DRefreshSlider.cpp72 RefreshSlider::KeyDown(const char *bytes, int32 numBytes) argument
74 switch (*bytes) {
/haiku/src/preferences/keymap/
H A DKeymap.h55 int8 deadKey, const char* bytes,
66 bool _SetChars(int32 offset, const char* bytes,
/haiku/src/add-ons/input_server/filters/minimize_all/
H A DMinimizeAllInputFilter.cpp44 const char* bytes; local
45 if (message->FindString("bytes", &bytes) != B_OK)
/haiku/src/apps/serialconnect/libvterm/src/
H A Dencoding.c11 // number of bytes remaining in this codepoint
14 // number of bytes total in this codepoint once it's finished
31 const char bytes[], size_t *pos, size_t bytelen)
40 unsigned char c = bytes[*pos];
162 const char bytes[], size_t *pos, size_t bytelen)
164 int is_gr = bytes[*pos] & 0x80;
167 unsigned char c = bytes[*pos] ^ is_gr;
187 const char bytes[], size_t *pos, size_t bytelen)
190 int is_gr = bytes[*pos] & 0x80;
193 unsigned char c = bytes[*po
29 decode_utf8(VTermEncoding *enc, void *data_, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument
160 decode_usascii(VTermEncoding *enc, void *data, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument
185 decode_table(VTermEncoding *enc, void *data, uint32_t cp[], int *cpi, int cplen, const char bytes[], size_t *pos, size_t bytelen) argument
[all...]
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_cidr_ntop.c88 decoct(const u_char *src, size_t bytes, char *dst, size_t size) { argument
93 for (b = 1; b <= bytes; b++) {
98 if (b != bytes) {
126 size_t bytes; local
133 /* Find number of significant bytes in address. */
142 bytes = (((bits <= 0) ? 1 : bits) + 7) / 8;
143 if (len > bytes)
144 bytes = len;
145 b = decoct(src, bytes, dst, size);
/haiku/src/tests/kits/interface/bmenu/
H A DMenuTest.cpp66 char bytes[] = {B_ESCAPE}; local
67 menu->KeyDown(bytes, 1);
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfString.cpp62 uint8 *bytes = (uint8 *)*in;
63 if (!bytes)
69 switch (bytes[0] & 0xf0) {
81 return bytes[0];
83 uint32 c = bytes[0] & mask;
85 for (;i < length && (bytes[i] & 0x80) > 0;i++)
86 c = (c << 6) | (bytes[i] & 0x3f);
91 return (uint32)bytes[0];
/haiku/src/apps/installer/
H A DWorkerThread.h30 void SetSpaceRequired(off_t bytes) argument
31 { fSpaceRequired = bytes; };
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DBufferQueue.h32 size_t bytes);
33 status_t Get(size_t bytes, bool remove,
84 // Max bytes is a soft limit, so it can be lower than the actual amount of
/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.h53 bool Skip(uint32 bytes);
65 void Dump(uint32 bytes);
/haiku/src/bin/debug/strace/
H A DContext.cpp28 Context::FormatSigned(int64 value, int bytes) const
44 // we skip all but the last 2 * bytes hex digits to retain the original
47 int offset = len - min_c(len, bytes * 2);
/haiku/src/tests/system/network/tcptester/
H A Dtcptester.cpp91 send_packet(context *ctx, size_t bytes) argument
96 if (bytes > sizeof(buffer))
97 ptr = new uint8_t[bytes];
99 for (size_t i = 0; i < bytes; i++) {
104 send(ctx->sock, ptr, bytes, 0);
/haiku/src/kits/debugger/dwarf/
H A DDataReader.h218 bool Skip(off_t bytes) argument
220 if (bytes < 0)
223 if (bytes > fSize) {
229 fData += bytes;
230 fSize -= bytes;
/haiku/src/kits/storage/mime/
H A DSnifferRules.cpp159 ssize_t bytes = 0; local
163 // First find out the max number of bytes we need to read
167 bytes = MaxBytesNeeded();
168 if (bytes < 0)
169 err = bytes;
172 // Next read that many bytes (or fewer, if the file isn't
175 buffer = new(std::nothrow) char[bytes];
183 bytes = file.Read(buffer, bytes);
184 if (bytes <
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DDataContainer.cpp23 // 16 bytes are for free, since they are shared with the block list.
26 // size percentage bytes used in average
36 // bytes have size 127, that the list has an initial capacity of 10 entries
37 // (40 bytes), that the block reference consumes 4 bytes and the block header
38 // 12 bytes. The optimal length is actually 35, with 51.05 bytes per
298 ssize_t bytes = B_PAGE_SIZE; local
302 bytes -= pageoffset;
304 bytes
[all...]
/haiku/src/apps/haikudepot/build/scripts/
H A Dustache.py64 def _cache_hash(template: bytes) -> bytes:
109 _TagsByteTuple = tuple[bytes, bytes]
112 _CacheKey = tuple[typing.Union[bytes, int], bytes, bytes, bool]
120 _TagsByteTuple = typing.Tuple[bytes, bytes]
123 _CacheKey = typing.Tuple[typing.Union[bytes, in
[all...]

Completed in 285 milliseconds

1234567891011>>