Searched refs:lp (Results 1 - 19 of 19) sorted by relevance

/haiku/headers/libs/agg/
H A Dagg_line_aa_basics.h103 bool same_orthogonal_quadrant(const line_parameters& lp) const
105 return s_orthogonal_quadrant[octant] == s_orthogonal_quadrant[lp.octant];
109 bool same_diagonal_quadrant(const line_parameters& lp) const
111 return s_diagonal_quadrant[octant] == s_diagonal_quadrant[lp.octant];
160 void inline fix_degenerate_bisectrix_start(const line_parameters& lp, argument
163 int d = iround((double(*x - lp.x2) * double(lp.y2 - lp.y1) -
164 double(*y - lp.y2) * double(lp
174 fix_degenerate_bisectrix_end(const line_parameters& lp, int* x, int* y) argument
[all...]
H A Dagg_renderer_outline_aa.h477 line_interpolator_aa_base(renderer_type& ren, const line_parameters& lp) : argument
478 m_lp(&lp),
479 m_li(lp.vertical ? line_dbl_hr(lp.x2 - lp.x1) :
480 line_dbl_hr(lp.y2 - lp.y1),
481 lp.vertical ? abs(lp.y2 - lp
585 line_interpolator_aa0(renderer_type& ren, const line_parameters& lp) argument
679 line_interpolator_aa1(renderer_type& ren, const line_parameters& lp, int sx, int sy) argument
890 line_interpolator_aa2(renderer_type& ren, const line_parameters& lp, int ex, int ey) argument
1039 line_interpolator_aa3(renderer_type& ren, const line_parameters& lp, int sx, int sy, int ex, int ey) argument
1549 line0_no_clip(const line_parameters& lp) argument
1575 line0(const line_parameters& lp) argument
1605 line1_no_clip(const line_parameters& lp, int sx, int sy) argument
1630 line1(const line_parameters& lp, int sx, int sy) argument
1673 line2_no_clip(const line_parameters& lp, int ex, int ey) argument
1697 line2(const line_parameters& lp, int ex, int ey) argument
1740 line3_no_clip(const line_parameters& lp, int sx, int sy, int ex, int ey) argument
1768 line3(const line_parameters& lp, int sx, int sy, int ex, int ey) argument
[all...]
H A Dagg_renderer_outline_image.h484 line_interpolator_image(renderer_type& ren, const line_parameters& lp, argument
488 m_lp(lp),
489 m_li(lp.vertical ? line_dbl_hr(lp.x2 - lp.x1) :
490 line_dbl_hr(lp.y2 - lp.y1),
491 lp.vertical ? abs(lp.y2 - lp
905 line3_no_clip(const line_parameters& lp, int sx, int sy, int ex, int ey) argument
937 line3(const line_parameters& lp, int sx, int sy, int ex, int ey) argument
[all...]
H A Dagg_rasterizer_outline_aa.h406 line_parameters lp(x1, y1, x2, y2, lprev);
411 m_ren->line3(lp,
/haiku/src/system/libroot/posix/glibc/extensions/
H A Dobstack.c364 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ variable in typeref:struct:_obstack_chunk
367 lp = (h)->chunk;
371 while (lp != 0 && ((POINTER) lp >= obj || (POINTER) (lp)->limit < obj))
373 plp = lp->prev;
374 lp = plp;
376 return lp != 0;
392 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local
395 lp
462 register struct _obstack_chunk* lp; local
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_if_media.c149 ifmedia_list_add(ifm, lp, count)
151 struct ifmedia_entry *lp;
157 ifmedia_add(ifm, lp[i].ifm_media, lp[i].ifm_data,
158 lp[i].ifm_aux);
/haiku/src/add-ons/translators/gif/
H A DGIFLoad.cpp319 unsigned char lp[256 * 3]; local
320 if (fInput->Read(lp, s * 3) < s * 3)
324 fPalette->SetColor(x, lp[x * 3], lp[x * 3 + 1], lp[x * 3 + 2]);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5112.c50 uint16_t *lp, uint16_t listSize,
567 ar5212GetLowerUpperIndex(uint16_t v, uint16_t *lp, uint16_t listSize, argument
571 uint16_t *ep = lp+listSize;
577 if (target < lp[0]) {
587 for (tp = lp; tp < ep; tp++) {
593 *vlo = *vhi = tp - lp;
601 *vlo = tp - lp;
H A Dar5413.c290 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, argument
294 const uint16_t *ep = lp+listSize;
300 if (target < lp[0]) {
310 for (tp = lp; tp < ep; tp++) {
316 *vlo = *vhi = tp - (const uint16_t *) lp;
324 *vlo = tp - (const uint16_t *) lp;
H A Dar2316.c254 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, argument
258 const int16_t *ep = lp+listSize;
264 if (target < lp[0]) {
274 for (tp = lp; tp < ep; tp++) {
280 *vlo = *vhi = tp - (const int16_t *) lp;
288 *vlo = tp - (const int16_t *) lp;
H A Dar2317.c231 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, argument
235 const int16_t *ep = lp+listSize;
241 if (target < lp[0]) {
251 for (tp = lp; tp < ep; tp++) {
257 *vlo = *vhi = tp - (const int16_t *) lp;
265 *vlo = tp - (const int16_t *) lp;
H A Dar2413.c248 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, argument
252 const uint16_t *ep = lp+listSize;
258 if (target < lp[0]) {
268 for (tp = lp; tp < ep; tp++) {
274 *vlo = *vhi = tp - (const uint16_t *) lp;
282 *vlo = tp - (const uint16_t *) lp;
H A Dar2425.c249 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, argument
253 const uint16_t *ep = lp+listSize;
259 if (target < lp[0]) {
269 for (tp = lp; tp < ep; tp++) {
275 *vlo = *vhi = tp - (const uint16_t *) lp;
283 *vlo = tp - (const uint16_t *) lp;
H A Dar5212_reset.c2627 ar5212GetLowerUpperValues(uint16_t v, uint16_t *lp, uint16_t listSize, argument
2631 uint16_t *ep = lp+listSize;
2636 if (target < (uint32_t)(lp[0] * EEP_SCALE - EEP_DELTA)) {
2637 *vlo = *vhi = lp[0];
2646 for (; lp < ep; lp++) {
2651 if (udiff(lp[0] * EEP_SCALE, target) < EEP_DELTA) {
2652 *vlo = *vhi = lp[0];
2659 if (target < (uint32_t)(lp[1] * EEP_SCALE - EEP_DELTA)) {
2660 *vlo = lp[
[all...]
/haiku/src/bin/network/telnetd/
H A Dtelnetd.c682 char *lp; local
684 if ((lp = getpty()) == NULL)
687 if ((pty = open(lp, 2)) >= 0) {
688 strlcpy(line,lp,sizeof(line));
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_name.c1148 labellen(const u_char *lp) argument
1151 u_char l = *lp;
1160 if ((bitlen = *(lp + 1)) == 0)
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c4081 char *lp; local
4110 lp = hs->local_pattern;
4117 lp = hs->server_hostname;
4118 if ( lp == (char*) 0 )
4125 lp = hc->hostname;
4126 if ( lp == (char*) 0 )
4139 if ( ! match( lp, refhost ) && match( hs->url_pattern, hc->origfilename ) )
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c1440 u_int32_t *lp = (u_int32_t *)&icp->icmp_ip; local
1445 for (i = 4; i <= cc - ICMP_MINLEN; i += sizeof(*lp))
1446 Printf("%2d: %8.8x\n", i, ntohl(*lp++));
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dif_media.h101 void ifmedia_list_add(struct ifmedia *mp, struct ifmedia_entry *lp,

Completed in 299 milliseconds