Searched refs:length (Results 276 - 300 of 1330) sorted by relevance

<<11121314151617181920>>

/haiku/headers/private/fs_shell/
H A Dfssh_kernel_export.h23 fssh_size_t length);
/haiku/headers/private/graphics/common/
H A Dmemory_manager.h21 mem_info *mem_init(const char *name, uint32 start, uint32 length, uint32 blockSize,
/haiku/headers/private/net/
H A Duserland_ipc.h40 int32 length; member in struct:__anon1159
/haiku/src/add-ons/kernel/cpu/x86/
H A Dgeneric_x86.h25 extern void generic_set_mtrr(uint32 index, uint64 base, uint64 length, uint8 type);
H A Dgeneric_x86.cpp72 set_mtrr(uint32 index, uint64 base, uint64 length, uint8 type) argument
74 uint64 mask = length - 1;
79 TRACE(" mask test middle: %Lx\n", mask & (base + length / 2));
80 TRACE(" mask test end: %Lx\n", mask & (base + length));
150 generic_set_mtrr(uint32 index, uint64 base, uint64 length, uint8 type) argument
152 set_mtrr(index, base, length, type);
248 uint64 length; local
250 if (generic_get_mtrr(i, &base, &length, &type) == B_OK) {
251 TRACE("[cpu %d] %lu: base: 0x%Lx; length: 0x%Lx; type: %u %s\n",
252 cpu, i, base, length, typ
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A D_KPPPMRUHandler.cpp18 uint8 length; member in struct:mru_item
41 item.length = 4;
51 if (!item || item->length != 4)
115 if (item->length != 4)
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DPPPReportDefs.h62 uint8 length; member in struct:ppp_report_packet
/haiku/src/apps/resedit/
H A DResourceData.cpp27 const size_t &length)
32 fLength(length),
122 const char *name, char *data, const size_t &length)
130 SetData(data, length);
25 ResourceData(const type_code &code, const int32 &id, const char *name, char *data, const size_t &length) argument
121 SetTo(const type_code &code, const int32 &id, const char *name, char *data, const size_t &length) argument
/haiku/src/apps/webpositive/autocompletion/
H A DAutoCompleter.cpp23 int32* start, int32* length);
29 int32 caretPos, int32* start, int32* length)
31 if (!start || !length)
34 *length = text.Length();
28 SelectPatternBounds(const BString& text, int32 caretPos, int32* start, int32* length) argument
/haiku/src/kits/app/
H A DLinkSender.cpp201 LinkSender::AttachString(const char *string, int32 length) argument
207 if (length == -1) {
208 length = (int32)maxLength;
212 length = 0;
213 } else if (length > (int32)maxLength)
214 length = maxLength;
216 status_t status = Attach<int32>(length);
220 if (length > 0) {
221 status = Attach(string, length);
/haiku/src/kits/interface/layouter/
H A DOneElementLayouter.h18 virtual void AddConstraints(int32 element, int32 length,
/haiku/src/servers/midi/
H A DPortDrivers.h21 void Data(uchar* data, size_t length, bool atomic, bigtime_t time);
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DNFS4Inode.h26 status_t ReadLink(void* buffer, size_t* length);
60 uint64 position, uint32* length, void* buffer,
63 uint64 position, uint32* length,
81 uint64* position, uint64* length, bool& conflict);
H A DWorkQueue.cpp155 uint64 length = io_request_length(args->fRequest); local
157 size_t bufferLength = min_c(MAX_BUFFER_SIZE, length);
167 if (offset + length > args->fInode->MaxFileSize())
168 length = args->fInode->MaxFileSize() - offset;
173 size_t thisBufferLength = min_c(bufferLength, length - position);
186 } while (position < length && result == B_OK);
192 size_t thisBufferLength = min_c(bufferLength, length - position);
207 } while (size < length && result == B_OK && !eof);
210 } while (position < length && result == B_OK && !eof);
/haiku/headers/private/storage/mime/
H A DTextSnifferAddon.h31 const void* buffer, int32 length,
/haiku/src/kits/mail/
H A Db_mail_message.cpp39 status_t BMailMessage::AddContent(const char *text, int32 length, argument
43 BMemoryIO io(text,length);
54 status_t BMailMessage::AddContent(const char *text, int32 length, argument
58 BMemoryIO io(text,length);
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DStringPool.h26 StringDataKey(const char* string, size_t length) argument
29 fLength(length),
30 fHash(hash_hash_string_part(string, length))
65 static StringData* Get(const char* string, size_t length);
/haiku/src/apps/mail/
H A DMailSupport.cpp98 int32 length; local
109 while ((length = linelen(buffer + result, size - result, true)) > 2)
110 result += length;
112 result += length;
/haiku/src/kits/interface/textview_support/
H A DTextGapBuffer.cpp85 // Clamp the text length to the file size
253 TextGapBuffer::GetString(int32 offset, int32 length, char* buffer)
260 if (offset < 0 || offset > (textLen - 1) || length < 1) {
265 length = ((offset + length) > textLen) ? textLen - offset : length;
268 bool isEndBeforeGap = ((offset + length - 1) < fGapIndex);
275 memcpy(buffer, source, length);
282 int32 afterLen = length - beforeLen;
289 buffer[length]
[all...]
/haiku/headers/os/locale/
H A DTextEncoding.h25 BTextEncoding(const char* data, size_t length);
/haiku/src/add-ons/kernel/drivers/misc/
H A Dmem.c29 static area_id mem_map_target(off_t position, size_t length, uint32 protection,
165 mem_map_target(off_t position, size_t length, uint32 protection, argument
174 if (length > SSIZE_MAX - B_PAGE_SIZE)
184 size = (offset + length + B_PAGE_SIZE - 1) & ~((size_t)B_PAGE_SIZE - 1);
/haiku/src/add-ons/translators/gif/
H A DGIFLoad.cpp185 unsigned char length; local
186 if (fInput->Read(&length, 1) < 1)
189 fInput->Seek(length, SEEK_CUR);
191 if (fInput->Read(&length, 1) < 1)
194 fInput->Seek(length, SEEK_CUR);
195 } while (length != 0);
227 unsigned char length; local
230 if (fInput->Read(&length, 1) < 1)
233 if (fInput->Read(comment_data, length) < length)
254 unsigned char length; local
[all...]
/haiku/src/system/runtime_loader/
H A Delf_haiku_version.cpp36 ssize_t length = _kern_read(fd, eheader.e_shoff, buffer, sheaderSize); local
37 if (length != sheaderSize) {
39 strerror(length));
54 length = _kern_read(fd, sectionHeader->sh_offset, sectionStrings,
56 if (length != (int)sectionHeader->sh_size) {
58 strerror(length));
85 length = _kern_read(fd, commentOffset, buffer, commentSize);
86 if (length != (int)commentSize) {
88 strerror(length));
/haiku/src/kits/network/libnetapi/
H A DNetEndpoint.cpp260 const void* data, unsigned int length)
265 if (setsockopt(fSocket, level, option, data, length) < 0) {
509 BNetEndpoint::Receive(void* buffer, size_t length, int flags) argument
517 ssize_t bytesReceived = recv(fSocket, buffer, length, flags);
526 BNetEndpoint::Receive(BNetBuffer& buffer, size_t length, int flags) argument
528 BNetBuffer chunk(length);
529 ssize_t bytesReceived = Receive(chunk.Data(), length, flags);
537 BNetEndpoint::ReceiveFrom(void* buffer, size_t length, argument
549 ssize_t bytesReceived = recvfrom(fSocket, buffer, length, flags,
561 BNetEndpoint::ReceiveFrom(BNetBuffer& buffer, size_t length, argument
259 SetOption(int32 option, int32 level, const void* data, unsigned int length) argument
573 Send(const void* buffer, size_t length, int flags) argument
594 SendTo(const void* buffer, size_t length, const BNetAddress& address, int flags) argument
[all...]
/haiku/src/servers/app/
H A DServerBitmap.h130 int64 length = fBytesPerRow * fHeight; local
131 return (length > 0 && length <= UINT32_MAX) ? (uint32)length : 0;

Completed in 592 milliseconds

<<11121314151617181920>>