Searched refs:len (Results 251 - 275 of 878) sorted by relevance

<<11121314151617181920>>

/haiku/src/tests/kits/storage/virtualdrive/
H A Dmkvirtualdrive.cpp45 int32 len = strlen(str);
47 if (len == 0 || len + 1 > (int32)sizeof(buffer))
52 if (!isdigit(buffer[len - 1])) {
53 switch (buffer[len - 1]) {
75 buffer[len - 1] = '\0';
76 len--;
77 if (len == 0)
81 for (int i = 0; i < len; i++) {
/haiku/src/tests/kits/shared/
H A DChecksumJsonEventListener.h31 void _ChecksumProcessCharacters(const char* content, size_t len);
/haiku/src/kits/shared/
H A DJson.cpp103 status_t AppendCharacters(char* str, size_t len) argument
105 status_t result = _EnsureAssemblyBufferAllocatedSize(fAssemblyBufferUsedSize + len);
108 memcpy(&fAssemblyBuffer[fAssemblyBufferUsedSize], str, len);
109 fAssemblyBufferUsedSize += len;
818 int32 len = strlen(value); local
820 if (offset < len && value[offset] == '-')
823 if (offset >= len)
827 while (offset < len && isdigit(value[offset]))
836 if (offset < len && value[offset] == '.') {
839 if (offset >= len)
[all...]
/haiku/src/bin/network/telnet/
H A Dtelnet.c750 int len;
753 len = strlen(name) + 4 + 2;
754 if (len < NETROOM()) {
757 ring_supply_data(&netoring, temp, len);
758 printsub('>', &temp[2], len-2);
773 int len;
779 len = strlen((char *)temp+4) + 4; /* temp[3] is 0 ... */
781 if (len < NETROOM()) {
782 ring_supply_data(&netoring, temp, len);
783 printsub('>', temp+2, len
747 int len; local
770 int len; local
869 int len; local
992 lm_will(unsigned char *cmd, int len) argument
1013 lm_wont(unsigned char *cmd, int len) argument
1028 lm_do(unsigned char *cmd, int len) argument
1049 lm_dont(unsigned char *cmd, int len) argument
1068 lm_mode(unsigned char *cmd, int len, int init) argument
1241 slc(unsigned char *cp, int len) argument
1364 int len; local
1420 env_opt(unsigned char *buf, int len) argument
1543 int len; local
1612 int len; local
[all...]
/haiku/headers/libs/agg/
H A Dagg_scanline_storage_bin.h45 int32 len; member in struct:agg::scanline_storage_bin::span_data
133 m_fake_span.len = 0;
168 sp.len = (int32)abs((int)(span_iterator->len));
171 int x2 = sp.x + sp.len - 1;
210 sl.add_span(sp.x, sp.len, cover_full);
298 write_int32(data, sp.len); // len
361 int32 len; member in struct:agg::serialized_scanlines_adaptor_bin::embedded_scanline::const_iterator::span
370 m_span.len
532 int len = read_int32(); local
[all...]
/haiku/src/system/boot/platform/efi/arch/riscv64/
H A Darch_mmu.cpp85 uint64& firstPhys, uint64& firstFlags, uint64& len)
87 if (virtAdr == firstVirt + len && physAdr == firstPhys + len && flags == firstFlags) {
88 len += size;
90 if (len != 0) {
92 firstVirt, firstVirt + (len - 1));
94 firstPhys, firstPhys + (len - 1), len);
100 len = size;
107 uint64& firstFlags, uint64& len)
84 DumpPageWrite(uint64_t virtAdr, uint64_t physAdr, size_t size, uint64 flags, uint64& firstVirt, uint64& firstPhys, uint64& firstFlags, uint64& len) argument
106 DumpPageTableInt(Pte* pte, uint64_t virtAdr, uint32_t level, uint64& firstVirt, uint64& firstPhys, uint64& firstFlags, uint64& len) argument
124 firstVirt, firstPhys, firstFlags, len); local
141 uint64 len = 0; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_rx.c67 r12a_ratectl_tx_complete(struct rtwn_softc *sc, uint8_t *buf, int len) argument
78 len -= sizeof(struct r92c_rx_stat) + 2;
81 if (len != sizeof(*rpt)) {
84 __func__, len, sizeof(*rpt));
145 r12a_handle_c2h_report(struct rtwn_softc *sc, uint8_t *buf, int len) argument
151 len -= sizeof(struct r92c_rx_stat);
153 if (len < 2) {
154 device_printf(sc->sc_dev, "C2H report too short (len %d)\n",
155 len);
158 len
179 r12a_ratectl_tx_complete(struct rtwn_softc *sc, uint8_t *buf, int len) argument
186 r12a_handle_c2h_report(struct rtwn_softc *sc, uint8_t *buf, int len) argument
[all...]
/haiku/headers/private/kernel/boot/
H A DFileMapDisk.h22 off_t len; member in struct:file_map_run
37 void AddRun(off_t offset, off_t block, off_t len);
/haiku/src/add-ons/kernel/drivers/audio/null/
H A Ddriver.c82 null_audio_control (void* cookie, uint32 op, void* arg, size_t len) argument
89 return multi_audio_control(cookie, op, arg, len);
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Dhooks.c39 sb16_control (void* cookie, uint32 op, void* arg, size_t len) argument
42 return multi_audio_control(cookie, op, arg, len);
/haiku/src/add-ons/media/media-add-ons/usb_vision/
H A DAddOn.h49 status_t USBVisionWriteRegister(uint8 reg, uint8 *data, uint8 len = sizeof(uint8));
50 status_t USBVisionReadRegister(uint8 reg, uint8 *data, uint8 len = sizeof(uint8));
/haiku/src/bin/fwcontrol/
H A Deui64.c100 size_t len);
107 eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len) argument
129 if (strlcpy(hostname, cur, len) <= len)
212 eui64_ntoa(const struct eui64 *id, char *a, size_t len) argument
216 i = snprintf(a, len, "%02x-%02x-%02x-%02x-%02x-%02x-%02x-%02x",
219 if (i < 23 || i >= len)
229 eui64_ntohost(char *hostname, size_t len, const struct eui64 *id) argument
/haiku/src/build/libroot/
H A Dfs_attr_extattr.h43 int len = buffer[index]; local
45 index += len + 1;
/haiku/src/libs/agg/src/
H A Dagg_line_aa_basics.cpp55 double k = double(l2.len) / double(l1.len);
/haiku/src/libs/iconv/
H A Dshift_jisx0213.h169 unsigned int len; local
173 len = shift_jisx0213_comp_table02e5_len;
176 len = shift_jisx0213_comp_table02e9_len;
179 len = shift_jisx0213_comp_table0300_len;
182 len = shift_jisx0213_comp_table0301_len;
185 len = shift_jisx0213_comp_table309a_len;
192 while (++idx, --len > 0);
194 if (len > 0) {
/haiku/src/libs/mapm/
H A Dmapm_set.c104 int len, ii, nbytes; local
128 len = strlen(buf);
129 atmp->m_apm_exponent = len;
133 if ((len & 1) != 0)
135 buf[len] = '0';
142 if (buf[--len] != '0')
146 atmp->m_apm_datalength = ++len;
148 nbytes = (len + 1) >> 1;
/haiku/src/libs/stdc++/legacy/
H A Dparsestream.cc80 string_parsebuf::string_parsebuf(char *buf, int len, argument
84 setb(buf, buf+len, delete_at_close);
206 int len = egptr() - eback();
207 if (i > len) i = len;
308 size_t len = line_length();
309 if ((unsigned)i > len) i = len;
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A Dvirtio_ring.h58 uint32_t len; member in struct:vring_desc
76 uint32_t len; member in struct:vring_used_elem
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DFTDIRegs.h355 #define FTDI_OUT_TAG(len, port) (((len) << 2) | (port))
/haiku/src/system/kernel/vm/
H A DVMUtils.cpp41 int32 len = snprintf(basePath, nameLength + 2, "/%s", volumeName);
42 for (int32 i = 1; i < len; i++)
/haiku/src/libs/libfdt/
H A Dfdt.c143 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) argument
153 || ((absoffset + len) < absoffset)
154 || (absoffset + len) > fdt_totalsize(fdt))
158 if (((uoffset + len) < uoffset)
159 || ((offset + len) > fdt_size_dt_struct(fdt)))
313 int len = strlen(s) + 1; local
314 const char *last = strtab + tabsize - len;
318 if (memcmp(p, s, len) == 0)
/haiku/src/add-ons/kernel/file_systems/fat/
H A Diter.h31 status_t csi_read_blocks(struct csi *csi, uint8 *buffer, ssize_t len);
32 status_t csi_write_blocks(struct csi *csi, uint8 *buffer, ssize_t len);
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A DDirectoryIterator.cpp56 size_t len = sizeof (getname) - 1; local
57 status = GetNext(getname, &len, _id);
/haiku/src/apps/haikudepot/build/scripts/
H A Dhdsjsonschemacommon.py87 if not javatype or 0 == len(javatype):
96 if not itemstype or 0 == len(itemstype):
101 if not itemsjavatype or 0 == len(itemsjavatype):
184 if not prop_type or 0 == len(prop_type):
205 if len(properties) > 15:
256 for i in range(len(property_array)):
259 if 0 != len(property_array):
261 property_array[len(property_array) - 1]["islast"] = True
/haiku/3rdparty/pulkomandy/
H A Dpkggraph.py40 if len(sys.argv) > 1:
71 if len(requires) > 0:

Completed in 129 milliseconds

<<11121314151617181920>>