Searched refs:len (Results 1 - 25 of 878) sorted by path

1234567891011>>

/haiku/3rdparty/proj2make/
H A Dproj2make.cpp137 int len = strlen(name) + 1; local
143 if (strncmp(name, "ProjectPrefsx86", len - 1) == 0) {
144 const char* type = child->Data() + len + 8;
/haiku/build/scripts/
H A Dbootstrap_client.py18 if len(sys.argv) < 3:
42 controlConnection.send("%08d" % len(commandToRun))
49 while connections and (len(connections) > 1 or not sys.stdin in connections):
H A Dbootstrap_daemon.py19 size -= len(dataReceived)
/haiku/headers/compatibility/bsd/
H A Dstring.h21 void explicit_bzero(void *buf, size_t len);
/haiku/headers/compatibility/bsd/sys/
H A Dioccom.h69 /** @def _IOC(inout, group, num , len) create a new ioctl */
70 #define _IOC(inout, group, num, len) \
71 (inout | ((len & IOCPARM_MASK)<<16) | ((group) << 8) | (num))
/haiku/headers/cpp/
H A Dfstream.h51 void setbuf(char *ptr, int len) { rdbuf()->setbuf(ptr, len); } argument
H A Dparsestream.h74 virtual streambuf* setbuf(char* p, int len);
86 string_parsebuf(char *str, int len, int delete_at_close=0);
H A Dstreambuf.h367 virtual streambuf* setbuf(char* p, int len);
432 filebuf(int fd, char* p, int len);
447 virtual streambuf* setbuf(char* p, int len);
/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/headers/libs/agg/
H A Dagg_array.h934 int len = limit - base; local
940 if(len > quick_sort_threshold)
942 // we use base + len/2 as the pivot
943 pivot = base + len / 2;
H A Dagg_dda_line.h248 unsigned len() const { return m_len; } function in class:agg::line_bresenham_interpolator
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_math_stroke.h86 double len);
293 double len)
297 double dx1 = (v1.y - v0.y) / len;
298 double dy1 = (v1.x - v0.x) / len;
290 calc_cap(VC& out_vertices, const vertex_dist& v0, const vertex_dist& v1, double len) argument
H A Dagg_path_length.h25 double len = 0.0; local
47 len += calc_distance(x1, y1, x2, y2);
57 len += calc_distance(x1, y1, start_x, start_y);
61 return len;
H A Dagg_pixfmt_amask_adaptor.h40 void realloc_span(unsigned len) argument
42 if(len > m_span.size())
44 m_span.resize(len + span_extra_tail);
48 void init_span(unsigned len) argument
50 realloc_span(len);
51 memset(&m_span[0], amask_type::cover_full, len * sizeof(cover_type));
54 void init_span(unsigned len, const cover_type* covers) argument
56 realloc_span(len);
57 memcpy(&m_span[0], covers, len * sizeof(cover_type));
100 unsigned len,
99 copy_hline(int x, int y, unsigned len, const color_type& c) argument
109 blend_hline(int x, int y, unsigned len, const color_type& c, cover_type cover) argument
120 copy_vline(int x, int y, unsigned len, const color_type& c) argument
130 blend_vline(int x, int y, unsigned len, const color_type& c, cover_type cover) argument
141 copy_from(const rendering_buffer& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len) argument
151 blend_solid_hspan(int x, int y, unsigned len, const color_type& c, const cover_type* covers) argument
163 blend_solid_vspan(int x, int y, unsigned len, const color_type& c, const cover_type* covers) argument
175 copy_color_hspan(int x, int y, unsigned len, const color_type* colors) argument
183 copy_color_vspan(int x, int y, unsigned len, const color_type* colors) argument
191 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const cover_type* covers, cover_type cover = cover_full) argument
212 blend_color_vspan(int x, int y, unsigned len, const color_type* colors, const cover_type* covers, cover_type cover = cover_full) argument
[all...]
H A Dagg_pixfmt_gray.h249 unsigned len,
253 m_rbuf->row_ptr(x, y, len) + x * Step + Offset;
260 while(--len);
266 unsigned len,
276 while(--len);
282 unsigned len,
289 m_rbuf->row_ptr(x, y, len) + x * Step + Offset;
299 while(--len);
308 while(--len);
316 unsigned len,
248 copy_hline(int x, int y, unsigned len, const color_type& c) argument
265 copy_vline(int x, int y, unsigned len, const color_type& c) argument
281 blend_hline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
315 blend_vline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
351 blend_solid_hspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
381 blend_solid_vspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
411 copy_color_hspan(int x, int y, unsigned len, const color_type* colors) argument
429 copy_color_vspan(int x, int y, unsigned len, const color_type* colors) argument
445 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
497 blend_color_vspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
559 unsigned len = r.x2 - r.x1 + 1; local
588 copy_from(const RenBuf2& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len) argument
[all...]
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_pixfmt_rgb_packed.h902 unsigned len,
905 pixel_type* p = (pixel_type*)m_rbuf->row_ptr(x, y, len) + x;
911 while(--len);
916 unsigned len,
925 while(--len);
930 unsigned len,
936 pixel_type* p = (pixel_type*)m_rbuf->row_ptr(x, y, len) + x;
945 while(--len);
954 while(--len);
961 unsigned len,
901 copy_hline(int x, int y, unsigned len, const color_type& c) argument
915 copy_vline(int x, int y, unsigned len, const color_type& c) argument
929 blend_hline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
960 blend_vline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
991 blend_solid_hspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
1006 blend_solid_vspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
1020 copy_color_hspan(int x, int y, unsigned len, const color_type* colors) argument
1034 copy_color_vspan(int x, int y, unsigned len, const color_type* colors) argument
1048 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
1063 blend_color_vspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
1079 copy_from(const RenBuf2& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len) argument
1095 blend_from(const SrcPixelFormatRenderer& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len, int8u cover) argument
[all...]
H A Dagg_pixfmt_rgba.h1863 unsigned len,
1866 value_type* p = (value_type*)m_rbuf->row_ptr(x, y, len) + (x << 2);
1877 while(--len);
1883 unsigned len,
1896 while(--len);
1902 unsigned len,
1908 value_type* p = (value_type*)m_rbuf->row_ptr(x, y, len) + (x << 2);
1922 while(--len);
1933 while(--len);
1942 while(--len);
1862 copy_hline(int x, int y, unsigned len, const color_type& c) argument
1882 copy_vline(int x, int y, unsigned len, const color_type& c) argument
1901 blend_hline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
1950 blend_vline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
1999 blend_solid_hspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
2030 blend_solid_vspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
2060 copy_color_hspan(int x, int y, unsigned len, const color_type* colors) argument
2079 copy_color_vspan(int x, int y, unsigned len, const color_type* colors) argument
2097 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
2156 blend_color_vspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
2221 unsigned len = r.x2 - r.x1 + 1; local
2259 copy_from(const RenBuf2& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len) argument
2275 blend_from(const SrcPixelFormatRenderer& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len, int8u cover) argument
2444 copy_hline(int x, int y, unsigned len, const color_type& c) argument
2456 copy_vline(int x, int y, unsigned len, const color_type& c) argument
2469 blend_hline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
2483 blend_vline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
2499 blend_solid_hspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
2514 blend_solid_vspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
2529 copy_color_hspan(int x, int y, unsigned len, const color_type* colors) argument
2548 copy_color_vspan(int x, int y, unsigned len, const color_type* colors) argument
2565 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
2587 blend_color_vspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
2617 unsigned len = r.x2 - r.x1 + 1; local
2655 copy_from(const RenBuf2& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len) argument
2671 blend_from(const SrcPixelFormatRenderer& from, int xdst, int ydst, int xsrc, int ysrc, unsigned len, int8u cover) argument
[all...]
H A Dagg_pixfmt_transposer.h64 unsigned len,
67 m_pixf->copy_vline(y, x, len, c);
72 unsigned len,
75 m_pixf->copy_hline(y, x, len, c);
80 unsigned len,
84 m_pixf->blend_vline(y, x, len, c, cover);
89 unsigned len,
93 m_pixf->blend_hline(y, x, len, c, cover);
98 unsigned len,
102 m_pixf->blend_solid_vspan(y, x, len,
63 copy_hline(int x, int y, unsigned len, const color_type& c) argument
71 copy_vline(int x, int y, unsigned len, const color_type& c) argument
79 blend_hline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
88 blend_vline(int x, int y, unsigned len, const color_type& c, int8u cover) argument
97 blend_solid_hspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
106 blend_solid_vspan(int x, int y, unsigned len, const color_type& c, const int8u* covers) argument
115 copy_color_hspan(int x, int y, unsigned len, const color_type* colors) argument
123 copy_color_vspan(int x, int y, unsigned len, const color_type* colors) argument
131 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
141 blend_color_vspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
[all...]
H A Dagg_rasterizer_cells_aa.h526 int len = int(limit - base); local
532 if(len > qsort_threshold)
534 // we use base + len/2 as the pivot
535 pivot = base + len / 2;
740 void add_span(int x, int len, int) argument
742 if(m_x >= x && m_x < x+len) m_hit = true;
H A Dagg_rasterizer_compound_aa.h173 cover_type* allocate_cover_buffer(unsigned len);
640 cover_type* rasterizer_compound_aa<Clip>::allocate_cover_buffer(unsigned len) argument
642 m_cover_buf.allocate(len, 256);
H A Dagg_rasterizer_outline_aa.h38 int len; member in struct:agg::line_aa_vertex
44 len(0)
52 return (len = uround(sqrt(dx * dx + dy * dy))) >
266 dv.lnext = m_src_vertices[dv.idx].len;
335 lprev = v->len;
340 dv.lcurr = v->len;
346 dv.lnext = v->len;
402 lprev = v->len;
430 lprev = v->len;
434 lnext = v->len;
[all...]
H A Dagg_renderer_base.h275 void blend_solid_hspan(int x, int y, int len, argument
284 len -= xmin() - x;
285 if(len <= 0) return;
289 if(x + len > xmax())
291 len = xmax() - x + 1;
292 if(len <= 0) return;
294 m_ren->blend_solid_hspan(x, y, len, c, covers);
298 void blend_solid_hspan_subpix(int x, int y, int len, argument
307 len -= 3 * (xmin() - x);
308 if(len <
321 blend_solid_vspan(int x, int y, int len, const color_type& c, const cover_type* covers) argument
345 copy_color_hspan(int x, int y, int len, const color_type* colors) argument
368 copy_color_vspan(int x, int y, int len, const color_type* colors) argument
391 blend_color_hspan(int x, int y, int len, const color_type* colors, const cover_type* covers, cover_type cover = agg::cover_full) argument
417 blend_color_vspan(int x, int y, int len, const color_type* colors, const cover_type* covers, cover_type cover = agg::cover_full) argument
572 int len = rc.x2; local
[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...]

Completed in 302 milliseconds

1234567891011>>