/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | memcpy_test.c | 11 void __regparm memcpy_0 ( void *dest, void *src ) { memcpy ( dest, src, 0 ); } 12 void __regparm memcpy_1 ( void *dest, void *src ) { memcpy ( dest, src, 1 ); } 13 void __regparm memcpy_2 ( void *dest, void *src ) { memcpy ( dest, src, 2 ); } 14 void __regparm memcpy_3 ( void *dest, void *src ) { memcpy ( dest, src, 3 ); } 15 void __regparm memcpy_4 ( void *dest, void *src ) { memcpy ( dest, src, [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/ |
H A D | strcpy.c | 42 PL_strcpy(char *dest, const char *src) argument 44 if( ((char *)0 == dest) || ((const char *)0 == src) ) return (char *)0; 46 return strcpy(dest, src); 50 PL_strncpy(char *dest, const char *src, PRUint32 max) argument 55 if( (const char *)0 == src ) return (char *)0; 57 for( rv = dest; max && ((*dest = *src) != 0); dest++, src++, max-- ) 70 PL_strncpyz(char *dest, const char *src, PRUint32 max) argument 75 if( (const char *)0 == src ) return (char *)0; 78 for( rv = dest, max--; max && ((*dest = *src) ! [all...] |
H A D | base64.c | 48 const unsigned char *src, 58 b32 |= (PRUint32)src[i]; 73 const unsigned char *src, 77 dest[0] = base[ (PRUint32)((src[0]>>2) & 0x3F) ]; 78 dest[1] = base[ (PRUint32)(((src[0] & 0x03) << 4) | ((src[1] >> 4) & 0x0F)) ]; 79 dest[2] = base[ (PRUint32)((src[1] & 0x0F) << 2) ]; 87 const unsigned char *src, 91 dest[0] = base[ (PRUint32)((src[0]>>2) & 0x3F) ]; 92 dest[1] = base[ (PRUint32)((src[ 46 encode3to4( const unsigned char *src, unsigned char *dest ) argument 71 encode2to4( const unsigned char *src, unsigned char *dest ) argument 85 encode1to4( const unsigned char *src, unsigned char *dest ) argument 99 encode( const unsigned char *src, PRUint32 srclen, unsigned char *dest ) argument 144 PL_Base64Encode( const char *src, PRUint32 srclen, char *dest ) argument 204 decode4to3( const unsigned char *src, unsigned char *dest ) argument 234 decode3to2( const unsigned char *src, unsigned char *dest ) argument 278 decode2to1( const unsigned char *src, unsigned char *dest ) argument 312 decode( const unsigned char *src, PRUint32 srclen, unsigned char *dest ) argument 369 PL_Base64Decode( const char *src, PRUint32 srclen, char *dest ) argument [all...] |
H A D | strcat.c | 42 PL_strcat(char *dest, const char *src) argument 44 if( ((char *)0 == dest) || ((const char *)0 == src) ) 47 return strcat(dest, src); 51 PL_strncat(char *dest, const char *src, PRUint32 max) argument 55 if( ((char *)0 == dest) || ((const char *)0 == src) || (0 == max) ) 61 (void)PL_strncpy(dest, src, max); 66 PL_strcatn(char *dest, PRUint32 max, const char *src) argument 71 if( ((char *)0 == dest) || ((const char *)0 == src) ) 78 (void)PL_strncpyz(dest, src, max-dl);
|
/vbox/src/VBox/Devices/PC/ipxe/src/libgcc/ |
H A D | memcpy.c | 13 void * gcc_implicit_memcpy ( void *dest, const void *src, 16 void * gcc_implicit_memcpy ( void *dest, const void *src, size_t len ) { argument 17 return memcpy ( dest, src, len );
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/IntrinsicLib/ |
H A D | CopyMem.c | 20 void * memcpy (void *dest, const void *src, unsigned int count) argument 22 return CopyMem (dest, src, (UINTN)count);
|
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/ |
H A D | ns_netint.c | 31 ns_get16(const u_char *src) { argument 34 NS_GET16(dst, src); 39 ns_get32(const u_char *src) { argument 42 NS_GET32(dst, src); 47 ns_put16(uint16_t src, u_char *dst) { argument 48 NS_PUT16(src, dst); 52 ns_put32(uint32_t src, u_char *dst) { argument 53 NS_PUT32(src, dst);
|
H A D | inet_net_pton.c | 81 static int inet_net_pton_ipv4 (const char *src, u_char *dst, 86 * inet_net_pton(af, src, dst, size) 100 const char *src, 107 return (inet_net_pton_ipv4(src, dst, size)); 116 * inet_net_pton_ipv4(src, dst, size) 132 const char *src, 146 ch = *src++; 147 if (ch == '0' && (src[0] == 'x' || src[0] == 'X') 148 && isascii(src[ 98 inet_net_pton( int af, const char *src, void *dst, size_t size ) argument 131 inet_net_pton_ipv4( const char *src, u_char *dst, size_t size ) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/libWine/ |
H A D | mbtowc.c | 38 static int get_decomposition( WCHAR src, WCHAR *dst, unsigned int dstlen ) argument 44 *dst = src; 45 ptr = unicode_decompose_table + ptr[src >> 8]; 46 ptr = unicode_decompose_table + ptr[(src >> 4) & 0x0f] + 2 * (src & 0x0f); 54 /* check src string for invalid chars; return non-zero if invalid char found */ 56 const unsigned char *src, unsigned int srclen ) 64 if (cp2uni[*src] == def_unicode_char && *src != def_char) break; 65 src 55 check_invalid_chars_sbcs( const struct sbcs_table *table, int flags, const unsigned char *src, unsigned int srclen ) argument 73 mbstowcs_sbcs( const struct sbcs_table *table, int flags, const unsigned char *src, unsigned int srclen, WCHAR *dst, unsigned int dstlen ) argument 118 mbstowcs_sbcs_decompose( const struct sbcs_table *table, int flags, const unsigned char *src, unsigned int srclen, WCHAR *dst, unsigned int dstlen ) argument 145 get_length_dbcs( const struct dbcs_table *table, const unsigned char *src, unsigned int srclen ) argument 163 check_invalid_chars_dbcs( const struct dbcs_table *table, const unsigned char *src, unsigned int srclen ) argument 191 mbstowcs_dbcs( const struct dbcs_table *table, const unsigned char *src, unsigned int srclen, WCHAR *dst, unsigned int dstlen ) argument 218 mbstowcs_dbcs_decompose( const struct dbcs_table *table, const unsigned char *src, unsigned int srclen, WCHAR *dst, unsigned int dstlen ) argument 270 const unsigned char *src = (const unsigned char*) s; local 300 wine_cpsymbol_mbstowcs( const char *src, int srclen, WCHAR *dst, int dstlen) argument [all...] |
H A D | wctomb.c | 89 /* query necessary dst length for src string */ 91 const WCHAR *src, unsigned int srclen, int *used ) 101 for (ret = 0; srclen; ret++, src++, srclen--) 103 WCHAR wch = *src; 106 if ((flags & WC_COMPOSITECHECK) && (srclen > 1) && (composed = compose(src))) 113 src++; 121 src++; /* skip the non-spacing char */ 127 src++; 143 const WCHAR *src, unsigned int srclen, 159 dst[0] = uni2cp_low[uni2cp_high[src[ 90 get_length_sbcs( const struct sbcs_table *table, int flags, const WCHAR *src, unsigned int srclen, int *used ) argument 142 wcstombs_sbcs( const struct sbcs_table *table, const WCHAR *src, unsigned int srclen, char *dst, unsigned int dstlen ) argument 206 wcstombs_sbcs_slow( const struct sbcs_table *table, int flags, const WCHAR *src, unsigned int srclen, char *dst, unsigned int dstlen, const char *defchar, int *used ) argument 291 get_length_dbcs( const struct dbcs_table *table, int flags, const WCHAR *src, unsigned int srclen, const char *defchar, int *used ) argument 360 wcstombs_dbcs( const struct dbcs_table *table, const WCHAR *src, unsigned int srclen, char *dst, unsigned int dstlen ) argument 384 wcstombs_dbcs_slow( const struct dbcs_table *table, int flags, const WCHAR *src, unsigned int srclen, char *dst, unsigned int dstlen, const char *defchar, int *used ) argument 455 wine_cp_wcstombs( const union cptable *table, int flags, const WCHAR *src, int srclen, char *dst, int dstlen, const char *defchar, int *used ) argument 482 wine_cpsymbol_wcstombs( const WCHAR *src, int srclen, char *dst, int dstlen) argument [all...] |
H A D | utf8.c | 60 static inline unsigned int get_surrogate_value( const WCHAR *src, unsigned int srclen ) argument 62 if (src[0] >= 0xd800 && src[0] <= 0xdfff) /* surrogate pair */ 64 if (src[0] > 0xdbff || /* invalid high surrogate */ 66 src[1] < 0xdc00 || src[1] > 0xdfff) /* invalid low surrogate */ 68 return 0x10000 + ((src[0] & 0x3ff) << 10) + (src[1] & 0x3ff); 70 return src[0]; 73 /* query necessary dst length for src strin 74 get_length_wcs_utf8( int flags, const WCHAR *src, unsigned int srclen ) argument 110 wine_utf8_wcstombs( int flags, const WCHAR *src, int srclen, char *dst, int dstlen ) argument 201 get_length_mbs_utf8_compose( int flags, const char *src, int srclen ) argument 241 utf8_mbstowcs_compose( int flags, const char *src, int srclen, WCHAR *dst, int dstlen ) argument 289 get_length_mbs_utf8( int flags, const char *src, int srclen ) argument 316 wine_utf8_mbstowcs( int flags, const char *src, int srclen, WCHAR *dst, int dstlen ) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/ |
H A D | prrng.c | 54 void *src, 58 memcpy(dst, src, srclen); 62 memcpy(dst, (char*)src + (srclen - dstlen), dstlen); 64 memcpy(dst, src, dstlen); 51 _pr_CopyLowBits( void *dst, PRSize dstlen, void *src, PRSize srclen ) argument
|
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | pxremap.h | 36 int pxremap_outbound_ip4(ip_addr_t *dst, ip_addr_t *src); 37 int pxremap_inbound_ip4(ip_addr_t *dst, ip_addr_t *src); 42 int pxremap_outbound_ip6(ip6_addr_t *dst, ip6_addr_t *src); 43 int pxremap_inbound_ip6(ip6_addr_t *dst, ip6_addr_t *src); 45 #define pxremap_outbound_ipX(is_ipv6, dst, src) \ 46 ((is_ipv6) ? pxremap_outbound_ip6(&(dst)->ip6, &(src)->ip6) \ 47 : pxremap_outbound_ip4(&(dst)->ip4, &(src)->ip4))
|
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/ |
H A D | inet_chksum.h | 60 #define LWIP_CHKSUM_COPY(dst, src, len) lwip_chksum_copy(dst, src, len) 76 ip_addr_t *src, ip_addr_t *dest); 78 u16_t proto_len, u16_t chksum_len, ip_addr_t *src, ip_addr_t *dest); 80 u16_t lwip_chksum_copy(void *dst, const void *src, u16_t len); 85 ip6_addr_t *src, ip6_addr_t *dest); 87 u16_t chksum_len, ip6_addr_t *src, ip6_addr_t *dest); 89 #define ipX_chksum_pseudo(isipv6, p, proto, proto_len, src, dest) \ 91 ip6_chksum_pseudo(p, proto, proto_len, ipX_2_ip6(src), ipX_2_ip6(dest)) :\ 92 inet_chksum_pseudo(p, proto, proto_len, ipX_2_ip(src), ipX_2_i [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/ |
H A D | mergerop.h | 127 #define DoMergeRop(src, dst) \ 128 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (((src) & _ca2) ^ _cx2)) 130 #define DoMergeRop24u(src, dst, i) \ 131 (((dst) & (((src) & _ca1u[i]) ^ _cx1u[i])) ^ (((src) & _ca2u[i]) ^ _cx2u[i])) 133 #define DoMaskMergeRop24(src, dst, mask, index) {\ 135 MfbBits _src0 = (src);\ 149 #define DoMaskMergeRop(src, dst, mask) \ 150 (((dst) & ((((src) [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/ |
H A D | mergerop.h | 127 #define DoMergeRop(src, dst) \ 128 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (((src) & _ca2) ^ _cx2)) 130 #define DoMergeRop24u(src, dst, i) \ 131 (((dst) & (((src) & _ca1u[i]) ^ _cx1u[i])) ^ (((src) & _ca2u[i]) ^ _cx2u[i])) 133 #define DoMaskMergeRop24(src, dst, mask, index) {\ 135 MfbBits _src0 = (src);\ 149 #define DoMaskMergeRop(src, dst, mask) \ 150 (((dst) & ((((src) [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/ |
H A D | mergerop.h | 127 #define DoMergeRop(src, dst) \ 128 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (((src) & _ca2) ^ _cx2)) 130 #define DoMergeRop24u(src, dst, i) \ 131 (((dst) & (((src) & _ca1u[i]) ^ _cx1u[i])) ^ (((src) & _ca2u[i]) ^ _cx2u[i])) 133 #define DoMaskMergeRop24(src, dst, mask, index) {\ 135 MfbBits _src0 = (src);\ 149 #define DoMaskMergeRop(src, dst, mask) \ 150 (((dst) & ((((src) [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/ |
H A D | mergerop.h | 129 #define DoMergeRop(src, dst) \ 130 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (((src) & _ca2) ^ _cx2)) 132 #define DoMergeRop24u(src, dst, i) \ 133 (((dst) & (((src) & _ca1u[i]) ^ _cx1u[i])) ^ (((src) & _ca2u[i]) ^ _cx2u[i])) 135 #define DoMaskMergeRop24(src, dst, mask, index) {\ 137 MfbBits _src0 = (src);\ 151 #define DoMaskMergeRop(src, dst, mask) \ 152 (((dst) & ((((src) [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/ |
H A D | mergerop.h | 129 #define DoMergeRop(src, dst) \ 130 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (((src) & _ca2) ^ _cx2)) 132 #define DoMergeRop24u(src, dst, i) \ 133 (((dst) & (((src) & _ca1u[i]) ^ _cx1u[i])) ^ (((src) & _ca2u[i]) ^ _cx2u[i])) 135 #define DoMaskMergeRop24(src, dst, mask, index) {\ 137 MfbBits _src0 = (src);\ 151 #define DoMaskMergeRop(src, dst, mask) \ 152 (((dst) & ((((src) [all...] |
H A D | iplmergerop.h | 18 INTER_MROP_PREBUILD(src) 20 INTER_MROP_PREBUILT_SOLID(src,dst) 21 INTER_MROP_PREBUILT_MASK(src,dst,mask) 62 #define INTER_DoPrebuiltMergeRop(src, dst) \ 63 INTER_DoRRop(src, _cca, _ccx, dst) 65 #define INTER_DoMaskPrebuiltMergeRop(src, mask, dst) \ 66 INTER_DoMaskRRop(src, _cca, _ccx, mask, dst) 68 #define INTER_PrebuildMergeRop(src) \ 69 INTER_DoRRop(src, _ca1, _cx1, _cca); \ 70 INTER_DoRRop(src, _ca [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/ |
H A D | cbc.c | 35 * @v src Input data 39 static void cbc_xor ( const void *src, void *dst, size_t len ) { argument 40 const uint32_t *srcl = src; 55 * @v src Data to encrypt 61 void cbc_encrypt ( void *ctx, const void *src, void *dst, size_t len, argument 68 cbc_xor ( src, cbc_ctx, blocksize ); 72 src += blocksize; 81 * @v src Data to decrypt 87 void cbc_decrypt ( void *ctx, const void *src, void *dst, size_t len, argument 94 cipher_decrypt ( raw_cipher, ctx, src, ds [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/ |
H A D | mdmac.h | 45 void PStrFromCStr(const char* src, Str255 dst);
|
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsLinebreakConverter.cpp | 96 const T* src = aSrc; local 100 while (src < srcEnd) 102 if (*src == *breakStr) 104 src ++; 105 if (src < srcEnd && breakStr[1] && *src == breakStr[1]) 106 src ++; 112 src ++; 151 const T* src = inSrc; local 158 while (src < srcEn 184 const T* src = inSrc; local 222 T* src = inSrc; local 245 const T* src = inSrc; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Locale/ |
H A D | _wcstod.h | 29 * FreeBSD: /repoman/r/ncvs/src/lib/libc/locale/wcstod.c,v 1.4 2004/04/07 09:47:56 tjr Exp 57 const wchar_t *src, *start; local 65 src = nptr; 66 while (iswspace((wint_t)*src) != 0) 67 ++src; 68 if (*src == L'\0') 81 start = src; 82 len = wcstombs(NULL, src, 0); 95 len = wcstombs(buf, src, bufsiz + 1);
|
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/include/ |
H A D | plbase64.h | 53 * This routine encodes the data pointed to by the "src" parameter using the 70 const char *src, 78 * This routine decodes the data pointed to by the "src" parameter using 96 const char *src,
|