Searched refs:len (Results 1 - 25 of 1638) sorted by relevance

1234567891011>>

/vbox/src/libs/xpcom18a4/xpcom/typelib/xpidl/macplugin/
H A Dmac_strings.cpp13 size_t len = ::strlen(cstr); local
14 if (len > 255) len = 255;
15 BlockMoveData(cstr, pstr + 1, len);
16 pstr[0] = len;
22 size_t len = pstr[0]; local
23 BlockMoveData(pstr + 1, cstr, len);
24 cstr[len] = '\0';
30 size_t len = pstr[0]; local
31 char* cstr = new char[1 + len];
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/libgcc/
H A Dmemcpy.c14 size_t len ) asm ( "memcpy" );
16 void * gcc_implicit_memcpy ( void *dest, const void *src, size_t len ) {
17 return memcpy ( dest, src, len );
/vbox/src/VBox/Additions/x11/x11include/4.3/include/
H A DXfuncs.h46 #define bzero(b,len) memset(b, 0, len)
47 #define bcmp(b1,b2,len) memcmp(b1, b2, len)
51 #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
52 #define bzero(b,len) memset(b, 0, (size_t)(len))
53 #define bcmp(b1,b2,len) memcmp(b1, b2, (size_t)(len))
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Locale/
H A Dwcsxfrm.c49 size_t len; local
53 len = wcslen(s2);
54 if (len<n)
65 return (len);
H A Daliasname.c57 size_t len; local
70 p = fgetln(fp, &len);
74 _DIAGASSERT(len != 0);
77 if (p[len - 1] == '\n')
78 len--;
81 if (len == 0 || p[0] == '#')
84 if (aliaslen > len)
91 len -= aliaslen;
93 if (len == 0 || !__is_ws(*p))
105 len
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dclientcert.h19 size_t len; member in struct:client_certificate
27 size_t len; member in struct:client_private_key
39 return ( ( client_certificate.len > 0 ) &&
40 ( client_private_key.len > 0 ) );
H A Diobuf.h66 * @v len Length to reserve
69 static inline void * iob_reserve ( struct io_buffer *iobuf, size_t len ) {
70 iobuf->data += len;
71 iobuf->tail += len;
74 #define iob_reserve( iobuf, len ) ( { \
76 __result = iob_reserve ( (iobuf), (len) ); \
84 * @v len Length to add
87 static inline void * iob_push ( struct io_buffer *iobuf, size_t len ) {
88 iobuf->data -= len;
91 #define iob_push( iobuf, len ) ( { \
197 iob_populate( struct io_buffer *iobuf, void *data, size_t len, size_t max_len ) argument
[all...]
H A Deditstring.h17 size_t len; member in struct:edit_string
36 * @v len Length of buffer
39 size_t len ) {
41 string->len = len;
H A Dnvs.h42 * @v len Length of data buffer
48 void *data, size_t len );
54 * @v len Length of data buffer
60 const void *data, size_t len );
64 void *data, size_t len );
66 const void *data, size_t len );
H A Drandom_nz.h14 extern int get_random_nz ( void *data, size_t len );
H A Ddhcpopts.h25 * @v len New length
28 int ( * realloc ) ( struct dhcp_options *options, size_t len );
33 const void *data, size_t len );
35 void *data, size_t len );
39 size_t len ) );
41 extern int dhcpopt_no_realloc ( struct dhcp_options *options, size_t len );
/vbox/src/VBox/Devices/PC/ipxe/src/arch/x86/core/
H A Dx86_string.c34 * @v len Length
37 void * __memcpy ( void *dest, const void *src, size_t len ) {
46 if ( len >> 2 ) {
51 "2" ( len >> 2 )
54 if ( len & 0x02 ) {
58 if ( len & 0x01 ) {
/vbox/src/libs/liblzf-3.4/
H A Dlzf_c.c178 unsigned int len = 2; local
179 unsigned int maxlen = in_end - ip - len;
192 len++; if (ref [len] != ip [len]) break;
193 len++; if (ref [len] != ip [len]) break;
194 len++; if (ref [len] !
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dfgets.c63 size_t len; local
92 len = fp->_r;
101 if (len > (size_t)n)
102 len = n;
103 t = memchr((void *)p, '\n', len);
105 len = ++t - p;
106 fp->_r -= (int)len;
108 (void)memcpy((void *)s, (void *)p, len);
109 s[len] = 0;
113 fp->_r -= (int)len;
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/java_api/src/
H A DTestProbeDescription.java41 int len = args.length;
42 if (len == 0) {
44 } else if (len == 1) {
46 } else if (len == 2) {
48 } else if (len == 3) {
50 } else if (len == 4) {
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Dclientcert.c84 .len = ( ( size_t ) client_certificate_len ),
90 .len = ( ( size_t ) client_private_key_len ),
117 int len; local
127 client_certificate.len = ( ( size_t ) client_certificate_len );
131 len = fetch_setting_copy ( NULL, &cert_setting, &cert );
132 if ( len < 0 ) {
133 rc = len;
140 client_certificate.len = len;
145 client_private_key.len
[all...]
H A Drandom_nz.c50 * @v len Length of output buffer
57 int get_random_nz ( void *data, size_t len ) {
61 while ( len ) {
70 len--;
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dxferbuf.c52 xferbuf->len = 0;
60 * @v len Required minimum size
63 static int xferbuf_ensure_size ( struct xfer_buffer *xferbuf, size_t len ) {
67 if ( len <= xferbuf->len )
71 new_data = realloc ( xferbuf->data, len );
74 "%zd bytes\n", xferbuf, len );
78 xferbuf->len = len;
93 size_t len; local
[all...]
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/
H A DXfuncs.h43 # define bzero(b,len) memset(b, 0, len)
44 # define bcmp(b1,b2,len) memcmp(b1, b2, len)
61 # define bzero(b,len) memset(b,0,len)
64 # define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/PosixLib/Gen/
H A Ddirname.c59 size_t len; local
84 len = (lastp - path) + 1 /* last char */;
85 if (len > (PATH_MAX - 2))
86 len = PATH_MAX - 2;
88 memcpy(result, path, len);
91 result[len++] = '/';
94 result[len++] = '.';
97 result[len] = '\0';
/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Ddigest_test.c37 * @v len Length of test data
43 void *data, size_t len, void *expected ) {
53 for ( i = 0 ; len && ( i < ( sizeof ( fragments->len ) /
54 sizeof ( fragments->len[0] ) ) ) ; i++ ) {
56 frag_len = fragments->len[i];
57 if ( ( frag_len == 0 ) || ( frag_len < len ) )
58 frag_len = len;
61 len -= frag_len;
41 digest_test( struct digest_algorithm *digest, struct digest_test_fragments *fragments, void *data, size_t len, void *expected ) argument
H A Ddigest_test.h16 size_t len[NUM_DIGEST_TEST_FRAG]; member in struct:digest_test_fragments
21 void *data, size_t len, void *expected );
29 * @v len Length of test data
32 #define digest_ok( digest, fragments, data, len, expected ) do { \
33 ok ( digest_test ( digest, fragments, data, len, expected ) ); \
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/demo/sched/
H A Dqlen.d29 this->len = qlen[args[2]->cpu_id]++;
30 @[args[2]->cpu_id] = lquantize(this->len, 0, 100);
/vbox/src/VBox/Additions/common/crOpenGL/passthrough/
H A Dpassthrough.py23 print 'SPUNamedFunctionTable _cr_passthrough_table[%d];' % ( len(keys) + 1 )
35 for index in range(len(keys)):
38 print '\t__fillin( %3d, NULL, NULL );' % len(keys)
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/nvs/
H A Dnvs.c39 * @ret len Length to use, stopping at block boundaries
67 * @v len Length of data buffer
71 void *data, size_t len ) {
78 assert ( ( len & ( ( 1 << nvs->word_len_log2 ) - 1 ) ) == 0 );
80 while ( len ) {
83 frag_len = nvs_frag_len ( nvs, address, len );
92 len -= frag_len;
104 * @v len Length of data buffer
108 const void *data, size_t len ) {
109 uint8_t read_data[len];
[all...]

Completed in 168 milliseconds

1234567891011>>