Searched refs:len (Results 201 - 225 of 878) sorted by relevance

1234567891011>>

/haiku/src/build/libbe/storage/
H A DMimeType.cpp165 int len = strlen(fType); local
166 for (int i = 0; i < len; i++) {
210 int len = strlen(fType); local
212 for (i = 0; i < len; i++) {
216 if (i == len)
304 int len = strlen(string); local
305 if (len >= B_MIME_TYPE_LENGTH || len == 0)
308 for (int i = 0; i < len; i++) {
311 if (foundSlash || i == 0 || i == len
447 int len = strlen(str); local
[all...]
/haiku/src/bin/debug/strace/
H A DContext.cpp46 int len = strlen(tmp); local
47 int offset = len - min_c(len, bytes * 2);
/haiku/src/add-ons/media/media-add-ons/usb_vision/
H A DAddOn.cpp144 status_t MediaAddOn::USBVisionWriteRegister(uint8 reg, uint8 *data, uint8 len /*= sizeof(uint8)*/)
148 xet_nt100x_reg ri = {reg, len};
149 memcpy(ri.data, data, len);
155 status_t MediaAddOn::USBVisionReadRegister(uint8 reg, uint8 *data, uint8 len /* = sizeof(uint8)*/)
159 xet_nt100x_reg ri = {reg, len};
/haiku/src/bin/fwcontrol/
H A Dfwdv.c114 int len, tlen, npad, fd, k, m, vec, system = -1, nb; local
149 while ((len = read(d, buf + tlen, PSIZE
151 if (len < 0) {
155 if (len <= 0)
160 tlen += len;
165 tlen = len = read(d, buf, RBUFSIZE);
166 if (len < 0) {
170 if (len <= 0)
194 if (pkt->mode.stream.len <= sizeof(struct ciphdr))
198 (char *)dv < (char *)(ptr + ciph->len);
272 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local
[all...]
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_ttl.c162 size_t len; local
164 len = SPRINTF((tmp, "%d%c", t, s));
165 if (len + 1 > *buflen)
168 *buf += len;
169 *buflen -= len;
/haiku/src/apps/codycam/
H A DSpawningUploadClient.cpp103 ssize_t len; local
106 len = read(OutputPipe(), buff, 1024);
107 if (len < 0)
109 to->Append(buff, len);
111 return len;
/haiku/src/servers/app/drawing/Painter/drawing_modes/
H A DDrawingModeAdd.h54 blend_hline_add(int x, int y, unsigned len, argument
67 } while(--len);
76 } while(--len);
82 blend_solid_hspan_add(int x, int y, unsigned len, argument
99 } while(--len);
106 blend_solid_vspan_add(int x, int y, unsigned len, argument
123 } while(--len);
129 blend_color_hspan_add(int x, int y, unsigned len, argument
148 } while(--len);
158 } while(--len);
[all...]
H A DDrawingModeAlphaCC.h46 blend_hline_alpha_cc(int x, int y, unsigned len, argument
78 } while(--len);
86 } while(--len);
92 blend_solid_hspan_alpha_cc(int x, int y, unsigned len, argument
111 } while(--len);
116 blend_solid_vspan_alpha_cc(int x, int y, unsigned len, argument
135 } while(--len);
141 blend_color_hspan_alpha_cc(int x, int y, unsigned len, argument
162 } while(--len);
171 } while(--len);
[all...]
H A DDrawingModeAlphaCO.h46 blend_hline_alpha_co(int x, int y, unsigned len, argument
78 } while(--len);
86 } while(--len);
92 blend_solid_hspan_alpha_co(int x, int y, unsigned len, argument
111 } while(--len);
118 blend_solid_vspan_alpha_co(int x, int y, unsigned len, argument
137 } while(--len);
143 blend_color_hspan_alpha_co(int x, int y, unsigned len, argument
164 } while(--len);
173 } while(--len);
[all...]
H A DDrawingModeSelect.h75 blend_hline_select(int x, int y, unsigned len, argument
90 } while(--len);
99 } while(--len);
105 blend_solid_hspan_select(int x, int y, unsigned len, argument
126 } while(--len);
133 blend_solid_vspan_select(int x, int y, unsigned len, argument
154 } while(--len);
160 blend_color_hspan_select(int x, int y, unsigned len, argument
182 } while(--len);
192 } while(--len);
[all...]
H A DDrawingModeSubtract.h56 blend_hline_subtract(int x, int y, unsigned len, argument
69 } while(--len);
78 } while(--len);
84 blend_solid_hspan_subtract(int x, int y, unsigned len, argument
101 } while(--len);
108 blend_solid_vspan_subtract(int x, int y, unsigned len, argument
125 } while(--len);
131 blend_color_hspan_subtract(int x, int y, unsigned len, argument
150 } while(--len);
160 } while(--len);
[all...]
H A DDrawingModeCopy.h48 blend_hline_copy(int x, int y, unsigned len, argument
79 } while(--len);
89 } while(--len);
95 blend_solid_hspan_copy(int x, int y, unsigned len, argument
114 } while(--len);
121 blend_solid_vspan_copy(int x, int y, unsigned len, argument
140 } while(--len);
146 blend_color_hspan_copy(int x, int y, unsigned len, const color_type* colors, argument
166 } while(--len);
174 } while(--len);
[all...]
/haiku/src/system/libnetwork/netresolv/net/
H A Dsethostent.c134 /* NOSTRICT skip string len */(void)va_arg(ap, int);
165 size_t len, anum, num, i; local
180 if ((ptr = buf = malloc(len = info->buflen)) == NULL) {
211 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len);
216 ptr, len);
226 len);
239 len = info->buflen;
244 HENT_ARRAY(hp->h_aliases, anum, ptr, len);
245 HENT_ARRAY(hp->h_addr_list, num, ptr, len);
249 len);
[all...]
/haiku/headers/libs/agg/
H A Dagg_line_aa_basics.h93 len(len_),
119 int len2 = len >> 1;
126 lp1.len = len2;
132 lp2.len = len2;
141 int len; member in struct:agg::line_parameters
164 double(*y - lp.y2) * double(lp.x2 - lp.x1)) / lp.len);
178 double(*y - lp.y2) * double(lp.x2 - lp.x1)) / lp.len);
H A Dagg_pixfmt_rgb.h315 unsigned len,
318 value_type* p = (value_type*)m_rbuf->row_ptr(x, y, len) + x + x + x;
326 while(--len);
332 unsigned len,
343 while(--len);
349 unsigned len,
356 m_rbuf->row_ptr(x, y, len) + x + x + x;
368 while(--len);
377 while(--len);
385 unsigned len,
314 copy_hline(int x, int y, unsigned len, const color_type& c) argument
331 copy_vline(int x, int y, unsigned len, const color_type& c) argument
348 blend_hline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
384 blend_vline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
422 blend_solid_hspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
454 blend_solid_vspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
485 copy_color_hspan(int x, int y, unsigned len, const color_type* colors) argument
505 copy_color_vspan(int x, int y, unsigned len, const color_type* colors) argument
523 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
567 blend_color_vspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
621 unsigned len = r.x2 - r.x1 + 1; local
648 copy_from(const RenBuf2& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len) argument
665 blend_from(const SrcPixelFormatRenderer& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len, int8u cover) argument
[all...]
H A Dagg_scanline_boolean_algebra.h40 int x, unsigned len,
43 sl.add_span(x, len, cover_full);
92 int x, unsigned len,
95 sl.add_span(x, len, cover_full);
113 int x, unsigned len,
116 if(span->len < 0)
118 sl.add_span(x, len, *span->covers);
121 if(span->len > 0)
125 sl.add_cells(x, len, covers);
155 int x, unsigned len,
38 operator ()(const typename Scanline1::const_iterator&, const typename Scanline2::const_iterator&, int x, unsigned len, Scanline& sl) const argument
91 operator ()(const typename Scanline1::const_iterator&, int x, unsigned len, Scanline& sl) const argument
112 operator ()(const typename Scanline1::const_iterator& span, int x, unsigned len, Scanline& sl) const argument
153 operator ()(const typename Scanline1::const_iterator& span1, const typename Scanline2::const_iterator& span2, int x, unsigned len, Scanline& sl) const argument
265 operator ()(const typename Scanline1::const_iterator& span1, const typename Scanline2::const_iterator& span2, int x, unsigned len, Scanline& sl) const argument
436 operator ()(const typename Scanline1::const_iterator& span1, const typename Scanline2::const_iterator& span2, int x, unsigned len, Scanline& sl) const argument
525 operator ()(const typename Scanline1::const_iterator& span1, const typename Scanline2::const_iterator& span2, int x, unsigned len, Scanline& sl) const argument
920 int len = xe - xb + 1; // The length of the intersection local
[all...]
H A Dagg_span_interpolator_persp.h107 void begin(double x, double y, unsigned len) argument
129 x += len;
147 m_scale_x = dda2_line_interpolator(sx1, sx2, len);
148 m_scale_y = dda2_line_interpolator(sy1, sy2, len);
153 void resynchronize(double xe, double ye, unsigned len) argument
185 m_scale_x = dda2_line_interpolator(sx1, sx2, len);
186 m_scale_y = dda2_line_interpolator(sy1, sy2, len);
317 void begin(double x, double y, unsigned len) argument
347 x += len;
371 m_coord_x = dda2_line_interpolator(x1, x2, len);
379 resynchronize(double xe, double ye, unsigned len) argument
[all...]
H A Dagg_renderer_mclip.h241 void blend_solid_hspan(int x, int y, int len, argument
247 m_ren.blend_solid_hspan(x, y, len, c, covers);
253 void blend_solid_vspan(int x, int y, int len, argument
259 m_ren.blend_solid_vspan(x, y, len, c, covers);
266 void copy_color_hspan(int x, int y, int len, const color_type* colors) argument
271 m_ren.copy_color_hspan(x, y, len, colors);
277 void blend_color_hspan(int x, int y, int len, argument
285 m_ren.blend_color_hspan(x, y, len, colors, covers, cover);
291 void blend_color_vspan(int x, int y, int len, argument
299 m_ren.blend_color_vspan(x, y, len, color
[all...]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_alq.c126 ieee80211_alq_get(size_t len) argument
130 ale = alq_getn(ieee80211_alq, len + sizeof(struct ieee80211_alq_rec),
142 size_t len)
152 if (len > IEEE80211_ALQ_MAX_PAYLOAD)
155 ale = ieee80211_alq_get(len);
170 r->r_len = htobe32(len + sizeof(struct ieee80211_alq_rec));
174 memcpy(dst, src, len);
140 ieee80211_alq_log(struct ieee80211com *ic, struct ieee80211vap *vap, uint32_t op, uint32_t flags, uint16_t srcid, const uint8_t *src, size_t len) argument
/haiku/src/apps/serialconnect/libvterm/src/
H A Dvterm.c111 INTERNAL void vterm_push_output_bytes(VTerm *vt, const char *bytes, size_t len) argument
113 if(len > vt->outbuffer_len - vt->outbuffer_cur) {
115 len = vt->outbuffer_len - vt->outbuffer_cur;
118 memcpy(vt->outbuffer + vt->outbuffer_cur, bytes, len);
119 vt->outbuffer_cur += len;
188 size_t vterm_output_bufferread(VTerm *vt, char *buffer, size_t len) argument
190 if(len > vt->outbuffer_cur)
191 len = vt->outbuffer_cur;
193 memcpy(buffer, vt->outbuffer, len);
195 if(len < v
[all...]
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_ccmp.c175 int hdrlen, left, moff, noff, len; local
184 n0->m_pkthdr.len += IEEE80211_CCMP_HDRLEN;
186 if (n0->m_pkthdr.len >= MINCLSIZE - IEEE80211_CCMP_MICLEN) {
191 if (n0->m_len > n0->m_pkthdr.len)
192 n0->m_len = n0->m_pkthdr.len;
214 m0->m_pkthdr.len - hdrlen, b, a, s0);
228 left = m0->m_pkthdr.len - moff;
251 len = min(m->m_len - moff, n->m_len - noff);
255 for (i = 0; i < len; i++) {
272 moff += len;
354 int hdrlen, left, moff, noff, len; local
[all...]
/haiku/headers/cpp/std/
H A Dbastring.cc71 Rep *p = Rep::create (len);
72 p->copy (0, data (), len);
73 p->len = len;
107 p->len = length ();
110 p->len = 0;
155 const size_type len = length (); local
156 OUTOFRANGE (pos > len);
157 if (n1 > len - pos)
158 n1 = len
191 const size_t len = length (); local
258 _find(const charT* ptr, charT c, size_type xpos, size_type len) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_fw.c65 r92c_fw_cmd(struct rtwn_softc *sc, uint8_t id, const void *buf, int len) argument
70 KASSERT(len <= sizeof(cmd.msg),
72 __func__, len, sizeof(cmd.msg)));
94 if (len > 3) {
97 memcpy(cmd.msg, (const uint8_t *)buf + 2, len - 2);
100 memcpy(cmd.msg, buf, len);
103 if (len > 3) {
365 r92c_ratectl_tx_complete(struct rtwn_softc *sc, uint8_t *buf, int len) argument
383 if (len != sizeof(*rpt)) {
386 __func__, len, sizeo
455 uint8_t id, len, status; local
[all...]
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwmem.cpp160 int len,
167 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), (void*)hand);
175 fp->mode.rreqb.len = len;
183 dst_hi, dst_lo, len);
198 int len,
205 xfer = fwmem_xfer_req(fwdev, sc, spd, len, 0, (void*)hand);
213 fp->mode.wreqb.len = len;
221 dst_hi, dst_lo, len);
154 fwmem_read_block( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, int len, void *data, void (*hand)(struct fw_xfer *)) argument
192 fwmem_write_block( struct fw_device *fwdev, caddr_t sc, uint8_t spd, uint16_t dst_hi, uint32_t dst_lo, int len, void *data, void (*hand)(struct fw_xfer *)) argument
[all...]
/haiku/src/tests/kits/opengl/glsl/
H A Dshaderutil.c65 GLsizei len; local
66 glGetShaderInfoLog(shader, 1000, &len, log);
140 GLsizei len; local
141 glGetProgramInfoLog(program, 1000, &len, log);
160 GLsizei len; local
161 glGetProgramInfoLog(program, 1000, &len, log);
240 GLint size, len; local
244 glGetActiveUniform(program, i, 100, &len, &size, &type, name);
290 GLint size, len; local
294 glGetActiveAttrib(program, i, 100, &len,
[all...]

Completed in 107 milliseconds

1234567891011>>