Searched refs:bytes (Results 1 - 25 of 307) sorted by relevance

1234567891011>>

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dntoh.c63 unsigned char bytes[8]; member in union:__anon17261
68 un.bytes[0], un.bytes[1]);
71 un.bytes[0], un.bytes[1]);
72 if (memcmp(un.bytes, bytes_n, 2)) {
78 un.bytes[0], un.bytes[1]);
86 un.bytes[0], un.bytes[
[all...]
H A Dstr2addr.c58 unsigned char *bytes; local
71 bytes = (unsigned char *) &addr.inet.ip;
73 if (bytes[idx] != default_ipv4_addr[idx]) {
75 idx, default_ipv4_addr[idx], bytes[idx]);
H A Dthrpool_client.c124 int bytes; local
128 for (rem=len; rem; offset += bytes, rem -= bytes) {
129 DPRINTF(("thread = 0x%lx: calling PR_Recv, bytes = %d\n",
131 bytes = PR_Recv(sockfd, buf + offset, rem, 0,
133 DPRINTF(("thread = 0x%lx: returning from PR_Recv, bytes = %d\n",
134 PR_GetCurrentThread(), bytes));
135 if (bytes < 0) {
150 int bytes; local
153 for (rem=len; rem; offset += bytes, re
181 PRInt32 bytes, i, j; local
[all...]
H A Dsocket.c103 #define SMALL_FILE_HEADER_SIZE (64) /* 64 bytes */
104 #define SMALL_FILE_TRAILER_SIZE (128) /* 128 bytes */
167 PRInt32 datalen; /* bytes of data transfered in each read/write */
174 PRInt32 datalen; /* bytes of data transfered in each read/write */
219 int bytes; local
227 for (rem=len; rem; offset += bytes, rem -= bytes) {
228 DPRINTF(("thread = 0x%lx: calling PR_Recv, bytes = %d\n",
231 bytes = PR_Recv(sockfd, buf + offset, rem, 0,
233 DPRINTF(("thread = 0x%lx: returning from PR_Recv, bytes
260 int bytes; local
288 PRInt32 bytes, j; local
539 PRInt32 bytes, i, rv = 0; local
666 PRInt32 bytes, i, j; local
769 PRInt32 bytes, i, rv; local
1493 PRInt32 bytes; local
1894 PRIntn i, rv = 0, bytes, count, len; local
[all...]
H A Dwritev.c69 PRInt32 tmo_counted = 0, iov_index, loop, bytes, number_fragments; local
142 for (bytes = 0; bytes < message_length; ++bytes)
143 buffer[bytes] = (char)bytes;
172 debug, "sending %d bytes ... ", descriptor.length);
178 bytes = PR_Writev(clientSock, iov, number_fragments, timeout);
/vbox/src/VBox/GuestHost/OpenGL/include/
H A Dcr_endian.h60 GLubyte *bytes = (GLubyte *) &(x); \
61 GLubyte tmp = bytes[0]; \
62 bytes[0] = bytes[7]; \
63 bytes[7] = tmp; \
64 tmp = bytes[1]; \
65 bytes[1] = bytes[6]; \
66 bytes[6] = tmp; \
67 tmp = bytes[
[all...]
H A Dcr_mem.h27 extern DECLEXPORT(void) crRealloc( void **ptr, unsigned int bytes );
29 extern DECLEXPORT(void) crMemcpy( void *dst, const void *src, unsigned int bytes );
30 extern DECLEXPORT(void) crMemset( void *ptr, int value, unsigned int bytes );
31 extern DECLEXPORT(void) crMemZero( void *ptr, unsigned int bytes );
32 extern DECLEXPORT(int) crMemcmp( const void *p1, const void *p2, unsigned int bytes );
H A Dcr_bufpool.h23 DECLEXPORT(void) crBufferPoolPush( CRBufferPool *pool, void *buf, unsigned int bytes );
24 DECLEXPORT(void *) crBufferPoolPop( CRBufferPool *pool, unsigned int bytes );
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Drandom_nz.c23 * Random non-zero bytes
25 * The RSA algorithm requires the generation of random non-zero bytes,
26 * i.e. bytes in the range [0x01,0xff].
47 * Get random non-zero bytes
58 uint8_t *bytes = data; local
64 if ( ( rc = rbg_generate ( NULL, 0, 0, bytes, 1 ) ) != 0 )
68 if ( *bytes != 0 ) {
69 bytes++;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/demo/tcp/
H A Dtcpbytesstat.d30 @bytes[args[2]->ip_saddr, args[4]->tcp_dport] =
36 @bytes[args[2]->ip_daddr, args[4]->tcp_sport] =
43 printa(" %-32s %@16d\n", @bytes);
44 trunc(@bytes);
H A Dtcpbytes.d28 @bytes[args[2]->ip_saddr, args[4]->tcp_dport] =
34 @bytes[args[2]->ip_daddr, args[4]->tcp_sport] =
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/demo/udp/
H A Dudpbytesstat.d30 @bytes[args[2]->ip_saddr, args[4]->udp_dport] =
36 @bytes[args[2]->ip_daddr, args[4]->udp_sport] =
43 printa(" %-32s %@16d\n", @bytes);
44 trunc(@bytes);
H A Dudpbytes.d28 @bytes[args[2]->ip_saddr, args[4]->udp_dport] =
34 @bytes[args[2]->ip_daddr, args[4]->udp_sport] =
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPCrUtil.cpp27 //extern DECLEXPORT(void) crRealloc( void **ptr, unsigned int bytes );
29 DECLEXPORT(void) crMemcpy( void *dst, const void *src, unsigned int bytes );
30 DECLEXPORT(void) crMemset( void *ptr, int value, unsigned int bytes );
31 DECLEXPORT(void) crMemZero( void *ptr, unsigned int bytes );
32 DECLEXPORT(int) crMemcmp( const void *p1, const void *p2, unsigned int bytes );
48 //extern DECLEXPORT(void) crRealloc( void **ptr, unsigned int bytes );
54 DECLEXPORT(void) crMemcpy( void *dst, const void *src, unsigned int bytes )
56 memcpy(dst, src, bytes);
59 DECLEXPORT(void) crMemset( void *ptr, int value, unsigned int bytes )
61 memset(ptr, value, bytes);
[all...]
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dmem.c25 extern void *crAlloc( unsigned int bytes );
26 void *crAlloc( unsigned int bytes )
31 extern void *crCalloc( unsigned int bytes );
32 void *crCalloc( unsigned int bytes )
48 crError( "Out of memory trying to allocate %d bytes!", nbytes );
58 fprintf(stderr, "crAllocDebug(%d bytes) in %s at %d\n", nbytes, file, line);
73 crError( "Out of memory trying to (c)allocate %d bytes!", nbytes );
84 fprintf(stderr, "crCallocDebug(%d bytes) in %s at %d\n", nbytes, file, line);
105 crError( "Couldn't realloc %d bytes!", nbytes );
115 DECLEXPORT(void) crMemcpy( void *dst, const void *src, unsigned int bytes )
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dscsi.h160 /** Block length in bytes */
177 * This is the size of the data-in buffer, in bytes.
190 /** Block length in bytes */
215 unsigned char bytes[16]; member in union:scsi_cdb
224 (cdb).bytes[0], (cdb).bytes[1], (cdb).bytes[2], (cdb).bytes[3], \
225 (cdb).bytes[4], (cdb).bytes[
[all...]
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsRecyclingAllocator.cpp173 nsRecyclingAllocator::Malloc(PRSize bytes, PRBool zeroit) argument
179 Block* freeBlock = FindFreeBlock(bytes);
185 memset(data, 0, bytes);
190 // Add 4 bytes to what we allocate to hold the bucket index
191 PRSize allocBytes = bytes + NS_ALLOCATOR_OVERHEAD_BYTES;
226 ptr->bytes = bytes;
248 mId, (char *)ptr, block->bytes, mNAllocated, mMaxBlocks);
285 printf("%d ", node->bytes);
289 node->bytes
309 FindFreeBlock(PRSize bytes) argument
[all...]
H A DnsRecyclingAllocator.h73 #define NS_ALLOCATOR_OVERHEAD_BYTES (sizeof(Block)) // bytes
81 PRSize bytes; member in struct:nsRecyclingAllocator::Block
89 BlockStoreNode() : bytes(0), block(nsnull), next(nsnull) {};
90 PRSize bytes; member in struct:nsRecyclingAllocator::BlockStoreNode
170 // FindFreeBlock: return a free block that can hold bytes (best fit)
171 Block* FindFreeBlock(PRSize bytes);
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/shader/slang/
H A Dslang_mem.h43 _slang_alloc(GLuint bytes);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/dlg/
H A Dsupport.c56 char *dlg_malloc(int bytes,char *file,int line) argument
58 char *dlg_malloc(bytes,file,line)
59 int bytes;
66 t = (char *) malloc(bytes);
77 char *dlg_calloc(int n,int bytes,char *file,int line) argument
79 char *dlg_calloc(n,bytes,file,line)
80 int n,bytes;
87 t = (char *) calloc(n,bytes);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/ip/
H A Dget.ipv6remote.pl80 if (/bytes from (.*): / and not defined $Local{$1}) {
/vbox/src/VBox/Devices/PC/BIOS/
H A Dsmidmi.inc61 db 0, 0, 0, 0, 0 ; 16 bytes total
70 db 0 ; Just for alignment (16 bytes total)
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/firmware/pcbios/
H A Dpnpbios.c63 uint8_t bytes[256]; /* 256 is maximum length possible */ member in union:__anon15025
76 copy_from_real ( &u.bytes, BIOS_SEG, offset, len );
78 sum += u.bytes[i];
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/
H A Dbios_smbios.c45 uint8_t bytes[256]; /* 256 is maximum length possible */ member in union:__anon15057
63 copy_from_real ( &u.bytes, BIOS_SEG, offset, len );
65 sum += u.bytes[i];
/vbox/src/libs/xpcom18a4/nsprpub/tools/
H A Dtail.c57 PR_fprintf(err, "\t-n <n> Number of bytes before <eof>\n");
87 case 'n': /* bytes before end of file */
139 PRInt32 read, bytes = fileInfo.size - position; local
140 if (bytes > sizeof(buffer)) bytes = sizeof(buffer);
141 read = PR_Read(file, buffer, bytes);
142 if (read != bytes)

Completed in 122 milliseconds

1234567891011>>