Searched defs:bytes (Results 1 - 25 of 135) sorted by relevance

123456

/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/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/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 Dacceptread.c107 PR_fprintf(std_out, "PR_Recv (client) succeeded: %d bytes\n", nbytes);
125 PRInt32 bytes; local
157 bytes = PR_AcceptRead(
160 if (-1 == bytes) PL_FPrintError(err_out, "PR_AcceptRead (server) failed");
167 bytes = PR_Write(accept_sock, buf, bytes);
173 if (-1 != bytes)
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/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/libs/xpcom18a4/xpcom/io/
H A DnsByteArrayInputStream.cpp44 nsByteArrayInputStream::nsByteArrayInputStream (char *buffer, PRUint32 bytes) argument
45 : _buffer (buffer), _nbytes (bytes), _pos (0)
151 NS_NewByteArrayInputStream (nsIByteArrayInputStream* *aResult, char * buffer, unsigned long bytes) argument
156 nsIByteArrayInputStream * stream = new nsByteArrayInputStream (buffer, bytes);
H A DnsSegmentedBuffer.cpp71 PRUint32 bytes = mSegmentArrayCount * sizeof(char*); local
72 mSegmentArray = (char**)nsMemory::Alloc(bytes);
75 memset(mSegmentArray, 0, bytes);
80 PRUint32 bytes = newArraySize * sizeof(char*); local
81 char** newSegArray = (char**)nsMemory::Realloc(mSegmentArray, 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/Devices/PC/ipxe/src/core/
H A Ddebug.c78 const uint8_t *bytes = data; local
89 ( ( ( i % 16 ) == 8 ) ? '-' : ' ' ), bytes[i] );
97 byte = 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)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Dglxserver.h150 GLint largeCmdBytesSoFar; /* bytes received so far */
151 GLint largeCmdBytesTotal; /* total bytes expected */
183 int bytes; member in struct:__anon6799
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Dglxserver.h91 int elem_size; /* element size in bytes */
130 GLint largeCmdBytesSoFar; /* bytes received so far */
131 GLint largeCmdBytesTotal; /* total bytes expected */
170 int bytes; member in struct:__anon7122
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/
H A Dglxserver.h136 GLint largeCmdBytesSoFar; /* bytes received so far */
137 GLint largeCmdBytesTotal; /* total bytes expected */
169 int bytes; member in struct:__anon6188
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.15.0/
H A Dglxserver.h152 GLint largeCmdBytesSoFar; /* bytes received so far */
153 GLint largeCmdBytesTotal; /* total bytes expected */
185 int bytes; member in struct:__anon6486
/vbox/src/VBox/Devices/Audio/
H A Dnoaudio.c121 int64_t bytes = (ticks * hw->info.bytes_per_second) local
125 bytes = audio_MIN (bytes, INT_MAX);
126 samples = bytes >> hw->info.shift;
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/
H A Dpxe_call.c158 uint8_t *bytes = data; local
162 sum += *bytes++;
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dfcoe.h38 uint8_t bytes[3]; member in struct:fcoe_map
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dipv6.c309 DBG ( "Packet too short (%zd bytes)\n", iob_len ( iobuf ) );
326 DBG ( "Inconsistent packet length (%d bytes)\n",
360 uint16_t *bytes = ( uint16_t* ) &in6; local
361 sprintf ( buf, "%x:%x:%x:%x:%x:%x:%x:%x", bytes[0], bytes[1], bytes[2],
362 bytes[3], bytes[4], bytes[5], 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/xorg-server-1.3.0.0/
H A Dglxserver.h160 GLint largeCmdBytesSoFar; /* bytes received so far */
161 GLint largeCmdBytesTotal; /* total bytes expected */
202 int bytes; member in struct:__anon7412
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Dglxserver.h111 int elem_size; /* element size in bytes */
152 GLint largeCmdBytesSoFar; /* bytes received so far */
153 GLint largeCmdBytesTotal; /* total bytes expected */
192 int bytes; member in struct:__anon7789
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/
H A Dglxserver.h171 GLint largeCmdBytesSoFar; /* bytes received so far */
172 GLint largeCmdBytesTotal; /* total bytes expected */
213 int bytes; member in struct:__anon8150

Completed in 113 milliseconds

123456