Searched refs:dst (Results 1 - 25 of 204) sorted by relevance

123456789

/haiku/src/add-ons/screen_savers/nebula/
H A DDrawStars.c18 unsigned char* dst; local
20 dst = (unsigned char*)dstParam;
23 dst[star_width] += inc;
24 if (dst[star_width] < inc) {
26 dst[star_width] = 255;
30 cl = dst[star_width - 1];
33 *dst = 255;
34 dst[star_width - 1] = 255;
36 al = *dst;
39 *dst
[all...]
H A DDraw.c15 /* memshset (char *dst, int center_shade,int fixed_shade, int length_2) */
16 /* dst is the *center* of the dst segment */
24 unsigned char* dst; local
31 dst = (unsigned char*)dstParam;
32 source = dst;
33 dst -= half_length; // Left segment
47 tmp = dst[half_length] + (center_shade >> 8); // Increment left pixel.
50 dst[half_length] = 255;
52 dst[half_lengt
[all...]
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_netint.c41 uint16_t dst; local
43 NS_GET16(dst, src);
44 return dst;
49 u_int32_t dst; local
51 NS_GET32(dst, src);
52 return dst;
56 ns_put16(uint16_t src, u_char *dst) { argument
57 NS_PUT16(src, dst);
61 ns_put32(uint32_t src, u_char *dst) { argument
62 NS_PUT32(src, dst);
[all...]
H A Dns_ttl.c60 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument
61 char *odst = dst;
73 T(fmt1(weeks, 'W', &dst, &dstlen));
77 T(fmt1(days, 'D', &dst, &dstlen));
81 T(fmt1(hours, 'H', &dst, &dstlen));
85 T(fmt1(mins, 'M', &dst, &dstlen));
89 T(fmt1(secs, 'S', &dst, &dstlen));
101 assert(INT_MIN <= (dst - odst) && (dst - odst) <= INT_MAX);
102 return (int)(dst
107 ns_parse_ttl(const char *src, u_long *dst) argument
[all...]
/haiku/src/apps/serialconnect/libvterm/src/
H A Drect.h8 /* Expand dst to contain src as well */
9 static void rect_expand(VTermRect *dst, VTermRect *src) argument
11 if(dst->start_row > src->start_row) dst->start_row = src->start_row;
12 if(dst->start_col > src->start_col) dst->start_col = src->start_col;
13 if(dst->end_row < src->end_row) dst->end_row = src->end_row;
14 if(dst->end_col < src->end_col) dst
18 rect_clip(VTermRect *dst, VTermRect *bounds) argument
[all...]
/haiku/src/add-ons/media/plugins/raw_decoder/
H A DAudioConversion.h30 void uint8_to_uint8(void *dst, const void *src, int32 count);
31 void uint8_to_int8(void *dst, const void *src, int32 count);
32 void uint8_to_int16(void *dst, const void *src, int32 count);
33 void uint8_to_int32(void *dst, const void *src, int32 count);
34 void uint8_to_float32(void *dst, const void *src, int32 count);
36 void int8_to_uint8(void *dst, const void *src, int32 count);
37 void int8_to_int8(void *dst, const void *src, int32 count);
38 void int8_to_int16(void *dst, const void *src, int32 count);
39 void int8_to_int32(void *dst, const void *src, int32 count);
40 void int8_to_float32(void *dst, cons
[all...]
/haiku/src/apps/tv/
H A DConvertBitmap.h28 status_t ConvertBitmap(BBitmap *dst, const BBitmap *src);
H A DConvertBitmap.cpp32 status_t ConvertBitmap_YCbCr422_to_RGB32(BBitmap *dst, const BBitmap *src);
35 ConvertBitmap(BBitmap *dst, const BBitmap *src) argument
37 if (dst->Bounds() != src->Bounds())
40 if (dst->ColorSpace() == src->ColorSpace()
41 && dst->BytesPerRow() == src->BytesPerRow() ) {
42 memcpy(dst->Bits(), src->Bits(), src->BitsLength());
46 if (src->ColorSpace() == B_YCbCr422 && dst->ColorSpace() == B_RGB32)
47 return ConvertBitmap_YCbCr422_to_RGB32(dst, src);
54 ConvertBitmap_YCbCr422_to_RGB32(BBitmap *dst, const BBitmap *src) argument
/haiku/headers/libs/agg/util/
H A Dagg_color_conv.h35 void color_conv(rendering_buffer* dst, argument
42 if(dst->width() < width) width = dst->width();
43 if(dst->height() < height) height = dst->height();
50 copy_row_functor(dst->row(y), src->row(y), width);
58 void color_conv_row(unsigned char* dst, argument
63 copy_row_functor(dst, src, width);
71 void operator () (unsigned char* dst, argument
75 memmove(dst, sr
[all...]
H A Dagg_color_conv_rgb8.h20 // agg::color_conv(dst, src, agg::color_conv_XXXX_to_YYYY());
45 void operator () (unsigned char* dst, argument
51 *dst++ = src[2];
52 *dst++ = src[1];
53 *dst++ = src[0];
72 void operator () (unsigned char* dst, argument
78 *dst++ = src[I1];
79 *dst++ = src[I2];
80 *dst++ = src[I3];
81 *dst
114 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
147 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
179 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
206 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
232 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
259 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
286 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
316 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
346 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
376 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
404 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
424 operator ()(unsigned char* dst, const unsigned char* src, unsigned width) const argument
[all...]
/haiku/src/tests/system/network/sock/
H A Dcrlf.c16 crlf_add(char *dst, int dstsize, const char *src, int lenin) argument
28 *dst++ = '\r';
30 *dst++ = c;
37 crlf_strip(char *dst, int dstsize, const char *src, int lenin) argument
46 *dst++ = c;
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_neta.c45 * inet_neta(src, dst, size)
48 * pointer to dst, or NULL if an error occurred (check errno).
55 inet_neta(u_long src, char *dst, size_t size) argument
57 char *odst = dst;
61 assert(dst != NULL);
66 strlcpy(dst, "0.0.0.0", size);
67 return dst;
69 ep = dst + size;
70 if (ep <= dst)
77 advance = snprintf(dst, (size_
[all...]
H A Dinet_net_ntop.c52 char *dst, size_t size);
54 char *dst, size_t size);
58 * inet_net_ntop(af, src, bits, dst, size)
62 * pointer to dst, or NULL if an error occurred (check errno).
67 inet_net_ntop(int af, const void *src, int bits, char *dst, size_t size) argument
71 return (inet_net_ntop_ipv4(src, bits, dst, size));
73 return (inet_net_ntop_ipv6(src, bits, dst, size));
82 * inet_net_ntop_ipv4(src, bits, dst, size)
86 * pointer to dst, or NULL if an error occurred (check errno).
94 inet_net_ntop_ipv4(const u_char *src, int bits, char *dst, size_ argument
169 inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument
[all...]
/haiku/src/libs/uuid/
H A Dcopy.c37 void uuid_copy(uuid_t dst, const uuid_t src) argument
43 for (i=0, cp1 = dst, cp2 = src; i < 16; i++)
/haiku/src/system/libroot/posix/string/
H A Dstrlcpy.c11 strlcpy(char *dst, char const *src, size_t s) argument
19 dst[i] = src[i];
22 dst[i] = 0;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dposeidon_reg_map_macro.h96 #define AXI_INTERCONNECT_CTRL__FORCE_SEL_ON__MODIFY(dst, src) \
97 (dst) = ((dst) &\
103 #define AXI_INTERCONNECT_CTRL__FORCE_SEL_ON__SET(dst) \
104 (dst) = ((dst) &\
106 #define AXI_INTERCONNECT_CTRL__FORCE_SEL_ON__CLR(dst) \
107 (dst) = ((dst) &\
120 #define AXI_INTERCONNECT_CTRL__SELECT_SLV_PCIE__MODIFY(dst, sr
[all...]
/haiku/headers/libs/agg/
H A Dagg_trans_bilinear.h37 trans_bilinear(const double* src, const double* dst) argument
39 quad_to_quad(src, dst);
63 void quad_to_quad(const double* src, const double* dst) argument
78 right[i][0] = dst[ix];
79 right[i][1] = dst[iy];
104 double dst[8]; local
105 dst[0] = dst[6] = x1;
106 dst[2] = dst[
[all...]
H A Dagg_trans_perspective.h37 trans_perspective(const double* src, const double* dst) argument
39 quad_to_quad(src, dst);
63 void quad_to_quad(const double* src, const double* dst) argument
81 left[ix][6] = -src[ix] * dst[ix];
82 left[ix][7] = -src[iy] * dst[ix];
83 right[ix][0] = dst[ix];
91 left[iy][6] = -src[ix] * dst[iy];
92 left[iy][7] = -src[iy] * dst[iy];
93 right[iy][0] = dst[iy];
118 double dst[ local
[all...]
/haiku/src/add-ons/translators/sgi/
H A DSGITranslator.cpp547 uint8* dst = rowBuffer; local
549 dst[0] = rows[0][x];
550 dst += 1;
555 uint8* dst = rowBuffer; local
557 dst[0] = rows[2][x];
558 dst[1] = rows[1][x];
559 dst[2] = rows[0][x];
560 dst += 3;
565 uint8* dst = rowBuffer; local
568 dst[
586 uint8* dst = rowBuffer; local
616 uint8* dst = rowBuffer; local
624 uint8* dst = rowBuffer; local
634 uint8* dst = rowBuffer; local
655 uint8* dst = rowBuffer; local
[all...]
/haiku/src/apps/soundrecorder/
H A DFileUtils.h18 status_t CopyFileData(BFile& dst, BFile& src);
19 status_t CopyAttributes(BNode& dst, BNode& src);
H A DFileUtils.cpp26 CopyFileData(BFile& dst, BFile& src) argument
49 ssize_t result = dst.Write(buf, bytes);
71 dst.SetPermissions(src_stat.st_mode);
72 dst.SetOwner(src_stat.st_uid);
73 dst.SetGroup(src_stat.st_gid);
74 dst.SetModificationTime(src_stat.st_mtime);
75 dst.SetCreationTime(src_stat.st_crtime);
82 CopyAttributes(BNode& dst, BNode& src) argument
106 ssize_t written = dst.WriteAttr(attrName, info.type, offset,
132 CopyFile(BFile& dst, BFil argument
[all...]
/haiku/src/libs/agg/src/
H A Dagg_trans_affine.cpp28 const double* dst)
37 multiply(trans_affine(dst[2] - dst[0], dst[3] - dst[1],
38 dst[4] - dst[0], dst[5] - dst[1],
39 dst[
27 parl_to_parl(const double* src, const double* dst) argument
61 double dst[6]; local
[all...]
/haiku/src/servers/app/drawing/
H A Ddrawing_support.h19 gfxcpy(uint8* dst, const uint8* src, int32 numBytes) argument
21 uint64* d64 = (uint64*)dst;
42 dst += numBytesBegin - numBytes;
46 uint32* d32 = (uint32*)dst;
53 dst += numBytesBegin - numBytes;
57 *dst++ = *src++;
66 gfxcpy32(uint8* dst, const uint8* src, int32 numBytes) argument
68 uint64* d64 = (uint64*)dst;
88 uint32* d32 = (uint32*)(dst + numBytesStart - numBytes);
97 gfxset32(uint8* dst, uint3 argument
[all...]
/haiku/src/system/libroot/posix/time/
H A Dwcsftime.c57 char *dst, *sformat; local
63 sformat = dst = NULL;
90 if ((dst = malloc(maxsize * MB_CUR_MAX)) == NULL)
92 if (strftime(dst, maxsize, sformat, timeptr) == 0)
94 dstp = dst;
101 free(dst);
108 free(dst);
/haiku/src/libs/compat/freebsd_wlan/crypto/rijndael/
H A Drijndael-api.c48 rijndael_decrypt(const rijndael_ctx *ctx, const u_char *src, u_char *dst) argument
51 rijndaelDecrypt(ctx->dk, ctx->Nr, src, dst);
55 rijndael_encrypt(const rijndael_ctx *ctx, const u_char *src, u_char *dst) argument
58 rijndaelEncrypt(ctx->ek, ctx->Nr, src, dst);

Completed in 275 milliseconds

123456789