/haiku-fatelf/src/libs/bsd/ |
H A D | stringlist.c | 46 StringList *sl; local 48 sl = malloc(sizeof(StringList)); 49 if (sl == NULL) 52 sl->sl_cur = 0; 53 sl->sl_max = _SL_CHUNKSIZE; 54 sl->sl_str = malloc(sl->sl_max * sizeof(char *)); 55 if (sl->sl_str == NULL) 57 return sl; 65 sl_add(sl, nam [all...] |
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | stringlist.c | 64 strlist_resize (sl, n) 65 STRINGLIST *sl; 70 if (sl == 0) 71 return (sl = strlist_create (n)); 73 if (n > sl->list_size) 75 sl->list = strvec_resize (sl->list, n + 1); 76 for (i = sl->list_size; i <= n; i++) 77 sl->list[i] = (char *)NULL; 78 sl 150 STRINGLIST *sl; local [all...] |
/haiku-fatelf/src/tests/kits/net/ |
H A D | ufunc.c | 26 int sl = strlen(msg); local 27 char *buf = (char*)malloc(sl + 5); 29 memset(buf, '=', sl + 4); 31 buf[1] = buf[sl + 2] = ' '; 32 memcpy(&buf[2], msg, sl); 34 memset(buf, '=', sl + 4);
|
/haiku-fatelf/src/bin/bash/lib/intl/ |
H A D | os2compat.c | 61 size_t sl = strlen (root); local 62 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); 63 memcpy (_nlos2_libdir, root, sl); 64 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); 75 size_t sl = strlen (root); local 76 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); 77 memcpy (_nlos2_localealiaspath, root, sl); 78 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); 89 size_t sl = strlen (root); local 90 _nlos2_localedir = (char *) malloc (sl [all...] |
/haiku-fatelf/src/bin/gawk/intl/ |
H A D | os2compat.c | 59 size_t sl = strlen (root); local 60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); 61 memcpy (_nlos2_libdir, root, sl); 62 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); 73 size_t sl = strlen (root); local 74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); 75 memcpy (_nlos2_localealiaspath, root, sl); 76 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); 87 size_t sl = strlen (root); local 88 _nlos2_localedir = (char *) malloc (sl [all...] |
/haiku-fatelf/src/bin/bash/ |
H A D | pcomplete.c | 219 STRINGLIST *sl; local 221 sl = itp->slist; 222 if (sl) 225 strvec_flush (sl->list); 227 free (sl->list); 228 free (sl); 271 filter_stringlist (sl, filterpat, text) 272 STRINGLIST *sl; 279 if (sl == 0 || sl 311 STRINGLIST *sl; local 345 STRINGLIST *sl; local 373 STRINGLIST *sl; local 408 STRINGLIST *sl; local 426 STRINGLIST *sl; local 443 STRINGLIST *sl; local 462 STRINGLIST *sl; local 497 STRINGLIST *sl; local 514 STRINGLIST *sl; local 575 STRINGLIST *sl; local 593 STRINGLIST *sl; local 615 STRINGLIST *sl; local 629 STRINGLIST *sl; local 649 STRINGLIST *ret, *sl; local 800 STRINGLIST *sl; local 819 STRINGLIST *sl; local 1004 STRINGLIST *sl; local 1100 STRINGLIST *sl; local [all...] |
/haiku-fatelf/src/servers/app/drawing/Painter/ |
H A D | agg_renderer_scanline_subpix.h | 23 void render_scanline_subpix_solid(const Scanline& sl, argument 27 int y = sl.y(); 28 unsigned num_spans = sl.num_spans(); 29 typename Scanline::const_iterator span = sl.begin(); 74 template<class Scanline> void render(const Scanline& sl) argument 76 render_scanline_subpix_solid(sl, *m_ren, m_color);
|
H A D | agg_rasterizer_scanline_aa_subpix.h | 155 template<class Scanline> bool sweep_scanline(Scanline& sl) argument 160 sl.reset_spans(); 307 sl.add_cell(x / 3 - 1, alpha1, alpha2, alpha3); 314 sl.add_span(x / 3, cur_cell->x / 3 - x / 3, alpha1); 318 if(sl.num_spans()) break; 322 sl.finalize(m_scan_y); 535 scanline_hit_test sl(tx); 536 sweep_scanline(sl); 537 return sl.hit();
|
/haiku-fatelf/headers/libs/agg/ |
H A D | agg_scanline_boolean_algebra.h | 41 Scanline& sl) const 43 sl.add_span(x, len, cover_full); 93 Scanline& sl) const 95 sl.add_span(x, len, cover_full); 114 Scanline& sl) const 118 sl.add_span(x, len, *span->covers); 125 sl.add_cells(x, len, covers); 136 // The result is added to the "sl" scanline. 156 Scanline& sl) const 179 sl 626 sbool_add_spans_and_render(const Scanline1& sl1, Scanline& sl, Renderer& ren, AddSpanFunctor add_span) argument 661 sbool_intersect_scanlines(const Scanline1& sl1, const Scanline2& sl2, Scanline& sl, CombineSpansFunctor combine_spans) argument 1027 sbool_unite_shapes(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren, AddSpanFunctor1 add_span1, AddSpanFunctor2 add_span2, CombineSpansFunctor combine_spans) argument 1155 sbool_subtract_shapes(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren, AddSpanFunctor1 add_span1, CombineSpansFunctor combine_spans) argument 1248 sbool_intersect_shapes_aa(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1270 sbool_intersect_shapes_bin(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1292 sbool_unite_shapes_aa(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1317 sbool_unite_shapes_bin(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1349 sbool_xor_shapes_aa(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1376 sbool_xor_shapes_saddle_aa(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1404 sbool_xor_shapes_abs_diff_aa(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1430 sbool_xor_shapes_bin(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1456 sbool_subtract_shapes_aa(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1480 sbool_subtract_shapes_bin(ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1519 sbool_combine_shapes_bin(sbool_op_e op, ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument 1546 sbool_combine_shapes_aa(sbool_op_e op, ScanlineGen1& sg1, ScanlineGen2& sg2, Scanline1& sl1, Scanline2& sl2, Scanline& sl, Renderer& ren) argument [all...] |
H A D | agg_renderer_scanline.h | 27 void render_scanline_aa_solid(const Scanline& sl, argument 31 int y = sl.y(); 32 unsigned num_spans = sl.num_spans(); 33 typename Scanline::const_iterator span = sl.begin(); 58 void render_scanlines_aa_solid(Rasterizer& ras, Scanline& sl, argument 70 sl.reset(ras.min_x(), ras.max_x()); 71 while(ras.sweep_scanline(sl)) 73 //render_scanline_aa_solid(sl, ren, ren_color); 79 int y = sl.y(); 80 unsigned num_spans = sl 128 render(const Scanline& sl) argument 153 render_scanline_aa(const Scanline& sl, BaseRenderer& ren, SpanAllocator& alloc, SpanGenerator& span_gen) argument 180 render_scanlines_aa(Rasterizer& ras, Scanline& sl, BaseRenderer& ren, SpanAllocator& alloc, SpanGenerator& span_gen) argument 225 render(const Scanline& sl) argument 243 render_scanline_bin_solid(const Scanline& sl, BaseRenderer& ren, const ColorT& color) argument 266 render_scanlines_bin_solid(Rasterizer& ras, Scanline& sl, BaseRenderer& ren, const ColorT& color) argument 328 render(const Scanline& sl) argument 348 render_scanline_bin(const Scanline& sl, BaseRenderer& ren, SpanAllocator& alloc, SpanGenerator& span_gen) argument 371 render_scanlines_bin(Rasterizer& ras, Scanline& sl, BaseRenderer& ren, SpanAllocator& alloc, SpanGenerator& span_gen) argument 416 render(const Scanline& sl) argument 438 render_scanlines(Rasterizer& ras, Scanline& sl, Renderer& ren) argument 454 render_all_paths(Rasterizer& ras, Scanline& sl, Renderer& r, VertexSource& vs, const ColorStorage& as, const PathId& path_id, unsigned num_paths) argument [all...] |
H A D | agg_scanline_storage_bin.h | 67 const_iterator(const embedded_scanline& sl) : argument 68 m_storage(sl.m_storage), 69 m_span_idx(sl.m_scanline.start_span) 150 template<class Scanline> void render(const Scanline& sl) argument 154 int y = sl.y(); 159 sl_this.num_spans = sl.num_spans(); 161 typename Scanline::const_iterator span_iterator = sl.begin(); 197 template<class Scanline> bool sweep_scanline(Scanline& sl) argument 199 sl.reset_spans(); 210 sl 227 sweep_scanline(embedded_scanline& sl) argument 365 const_iterator(const embedded_scanline& sl) argument 519 sweep_scanline(Scanline& sl) argument 551 sweep_scanline(embedded_scanline& sl) argument [all...] |
H A D | agg_scanline_storage_aa.h | 201 const_iterator(const embedded_scanline& sl) : argument 202 m_storage(sl.m_storage), 203 m_span_idx(sl.m_scanline.start_span) 295 template<class Scanline> void render(const Scanline& sl) argument 299 int y = sl.y(); 304 sl_this.num_spans = sl.num_spans(); 306 typename Scanline::const_iterator span_iterator = sl.begin(); 347 template<class Scanline> bool sweep_scanline(Scanline& sl) argument 349 sl.reset_spans(); 363 sl 384 sweep_scanline(embedded_scanline& sl) argument 560 const_iterator(const embedded_scanline& sl) argument 738 sweep_scanline(Scanline& sl) argument 779 sweep_scanline(embedded_scanline& sl) argument [all...] |
H A D | agg_rasterizer_scanline_aa.h | 232 template<class Scanline> bool sweep_scanline(Scanline& sl) argument 237 sl.reset_spans(); 265 sl.add_cell(x, alpha); 275 sl.add_span(x, cur_cell->x - x, alpha); 280 if(sl.num_spans()) break; 284 sl.finalize(m_scan_y); 497 scanline_hit_test sl(tx); 498 sweep_scanline(sl); 499 return sl.hit();
|
/haiku-fatelf/src/servers/app/ |
H A D | agg_scanline_storage_subpix.h | 65 const_iterator(const embedded_scanline& sl) : argument 66 m_storage(sl.m_storage), 67 m_span_idx(sl.m_scanline.start_span) 159 template<class Scanline> void render(const Scanline& sl) argument 163 int y = sl.y(); 168 sl_this.num_spans = sl.num_spans(); 170 typename Scanline::const_iterator span_iterator = sl.begin(); 211 template<class Scanline> bool sweep_scanline(Scanline& sl) argument 213 sl.reset_spans(); 227 sl 248 sweep_scanline(embedded_scanline& sl) argument 422 const_iterator(const embedded_scanline& sl) argument 600 sweep_scanline(Scanline& sl) argument 641 sweep_scanline(embedded_scanline& sl) argument [all...] |
/haiku-fatelf/src/system/libroot/posix/glibc/stdlib/ |
H A D | longlong.h | 168 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 171 "=&r" ((USItype) (sl)) \ 176 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 179 "=&r" ((USItype) (sl)) \ 197 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 200 "=&r" ((USItype) (sl)) \ 205 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 208 "=&r" ((USItype) (sl)) \ 238 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 241 "=&r" ((USItype) (sl)) \ [all...] |
/haiku-fatelf/src/libs/pdflib/libs/pdflib/ |
H A D | p_draw.c | 40 p->gstate[p->sl].x = (float) 0.0; 41 p->gstate[p->sl].y = (float) 0.0; 49 p->gstate[p->sl].startx = p->gstate[p->sl].x = x; 50 p->gstate[p->sl].starty = p->gstate[p->sl].y = y; 59 float x_0 = p->gstate[p->sl].x; 60 float y_0 = p->gstate[p->sl].y; 70 p->gstate[p->sl].x = x; 71 p->gstate[p->sl] [all...] |
H A D | p_gstate.c | 34 pdc_multiply_matrix(m, &p->gstate[p->sl].ctm); 43 pdc_multiply_matrix(m, &p->gstate[p->sl].ctm); 65 pdf_gstate *gs = &p->gstate[p->sl]; 90 if (p->sl == PDF_MAX_SAVE_LEVEL - 1) 99 p->sl++; 100 memcpy(&p->gstate[p->sl], &p->gstate[p->sl - 1], sizeof(pdf_gstate)); 101 memcpy(&p->tstate[p->sl], &p->tstate[p->sl - 1], sizeof(pdf_tstate)); 102 memcpy(&p->cstate[p->sl], [all...] |
H A D | p_text.c | 37 p->gstate[p->sl].x = (float) 0.0; 38 p->gstate[p->sl].y = (float) 0.0; 45 pdc_matrix *m = &p->tstate[p->sl].m; 49 p->tstate[p->sl].me = p->tstate[p->sl].m.e; 50 p->tstate[p->sl].potm = pdc_false; 62 p->tstate[p->sl].potm = pdc_true; 73 ts = &p->tstate[p->sl]; 130 p->tstate[p->sl].c = spacing; 143 p->tstate[p->sl] [all...] |
H A D | p_template.c | 63 p->sl = 0; 109 if (p->sl > 0)
|
/haiku-fatelf/src/libs/crypt/ |
H A D | crypt-md5.c | 49 int sl, pl; local 68 sl = ep - sp; 79 MD5Update(&ctx, (const u_char *)sp, (u_int)sl); 84 MD5Update(&ctx1, (const u_char *)sp, (u_int)sl); 103 strncat(passwd, sp, (u_int)sl); 121 MD5Update(&ctx1, (const u_char *)sp, (u_int)sl);
|
/haiku-fatelf/src/libs/print/libgutenprint/test/ |
H A D | bjc-unprint.c | 217 scanline_t *sl; local 223 for (sl=slimg; sl!=0; sl=sl->next) { 224 if (sl->width) { 225 if (w<sl->osize) w= sl->osize; 226 if (y0<0) y0= sl->y; 227 y= sl 352 scanline_t *sl[7], *nsl; local [all...] |
/haiku-fatelf/src/servers/app/font/ |
H A D | FontEngine.cpp | 293 bool flip_y, Scanline& sl, ScanlineStorage& storage) 297 sl.reset(x, x + bitmap.width); 305 sl.reset_spans(); 309 sl.add_cell(x + j, agg::cover_full); 313 if (sl.num_spans()) { 314 sl.finalize(y - i - 1); 315 storage.render(sl); 324 bool flip_y, Scanline& sl, ScanlineStorage& storage) 328 sl.reset(x, x + bitmap.width); 336 sl 292 decompose_ft_bitmap_mono(const FT_Bitmap& bitmap, int x, int y, bool flip_y, Scanline& sl, ScanlineStorage& storage) argument 323 decompose_ft_bitmap_gray8(const FT_Bitmap& bitmap, int x, int y, bool flip_y, Scanline& sl, ScanlineStorage& storage) argument 366 decompose_ft_bitmap_subpix(const FT_Bitmap& bitmap, int x, int y, bool flip_y, Scanline& sl, ScanlineStorage& storage) argument [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/ |
H A D | makefile | 15 SUPPORT_OBJS = rootfs.o initfs.o kernel.o cache.o sl.o stub.o 60 sl.o : sl.c skiplist.h
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | libunwind-frame.c | 241 unw_save_loc_t sl; local 288 if (unw_get_saveloc_p (&cache->cursor, uw_regnum, &sl) < 0) 291 switch (sl.type) 299 *addrp = sl.u.addr;
|
/haiku-fatelf/src/libs/ncurses/tack/ |
H A D | scan.c | 103 char *s, *sl; local 150 sl = str + 4000; /* an upper limit */ 184 if (str > sl) { 186 sl = str + 4000;
|