/openbsd-current/gnu/usr.bin/perl/cpan/Encode/t/ |
H A D | grow.t | 27 use bytes (); 30 my $len = bytes::length($octs); 32 ok(1, "decode $len bytes"); 35 "encode $len bytes");
|
/openbsd-current/regress/usr.sbin/syslogd/ |
H A D | args-client-tcp-multichunks.pl | 28 ${$self->{syslogd}}->loggrep("tcp logger .* buffer $n bytes", 5) 29 or die ref($self), " syslogd did not buffer $n bytes"; 33 ${$self->{syslogd}}->loggrep("tcp logger .* use $n bytes", 5) 34 or die ref($self), " syslogd did not use $n bytes"; 42 qr/tcp logger .* buffer \d+ bytes/ => int(($msglen+4)/5), 43 qr/tcp logger .* non transparent framing, use $framelen bytes/ => 1,
|
H A D | args-client-tcp-maxline.pl | 43 qr/incomplete frame, use /.(MAXLINE+7).qr/ bytes/ => 1, 44 qr/non transparent framing, use /.(MAXLINE+7).qr/ bytes/ => 1,
|
H A D | args-client-tcp-octet-badframe.pl | 30 qr/non transparent framing, use \d+ bytes/ => 3,
|
H A D | args-server-tcp-sendback.pl | 29 qr/did send /.length($sendback).qr/ bytes back/ => 1,
|
H A D | args-server-tls-sendback.pl | 29 qr/did send /.length($sendback).qr/ bytes back/ => 1,
|
/openbsd-current/gnu/usr.bin/perl/t/bigmem/ |
H A D | hash.t | 25 qr/^\QSorry, hash keys must be smaller than 2**31 bytes\E\b/, 31 qr/^\QSorry, hash keys must be smaller than 2**31 bytes\E\b/,
|
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/ |
H A D | DJB.h | 22 for (unsigned char C : Buffer.bytes())
|
/openbsd-current/usr.bin/ssh/ |
H A D | progressmeter.c | 69 static int bytes_per_second; /* current speed in bytes per second */ 87 format_rate(off_t bytes) argument 90 static char buf[STRING_SIZE(bytes) * 2 + 16]; 92 bytes *= 100; 93 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++) 94 bytes = (bytes + 512) / 1024; 97 bytes = (bytes + 512) / 1024; 100 (long long) (bytes 108 format_size(off_t bytes) argument [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/M68k/ |
H A D | M68kMachineFunction.h | 29 /// Size of the callee-saved register portion of the stack frame in bytes. 32 /// Number of bytes function pops on return (in addition to the space used by 40 /// The number of bytes by which return address stack slot is moved as the 64 /// The number of bytes on stack consumed by the arguments being passed on 82 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; } argument 85 void setBytesToPopOnReturn(unsigned bytes) { BytesToPopOnReturn = bytes; } argument
|
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/ |
H A D | PDBSymbolCustom.h | 27 void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes);
|
/openbsd-current/sys/dev/pci/drm/i915/gvt/ |
H A D | edid.c | 139 unsigned int offset, void *p_data, unsigned int bytes) 144 memcpy(&vgpu_vreg(vgpu, offset), p_data, bytes); local 179 void *p_data, unsigned int bytes) 280 void *p_data, unsigned int bytes) 289 void *p_data, unsigned int bytes) 302 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); 314 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); 335 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); 342 void *p_data, unsigned int bytes) 348 memcpy(p_data, (void *)&value, bytes); 138 gmbus0_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, void *p_data, unsigned int bytes) argument 178 gmbus1_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, void *p_data, unsigned int bytes) argument 279 gmbus3_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, void *p_data, unsigned int bytes) argument 288 gmbus3_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, void *p_data, unsigned int bytes) argument 341 gmbus2_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, void *p_data, unsigned int bytes) argument 352 gmbus2_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, void *p_data, unsigned int bytes) argument 376 intel_gvt_i2c_handle_gmbus_read(struct intel_vgpu *vgpu, unsigned int offset, void *p_data, unsigned int bytes) argument 406 intel_gvt_i2c_handle_gmbus_write(struct intel_vgpu *vgpu, unsigned int offset, void *p_data, unsigned int bytes) argument [all...] |
/openbsd-current/gnu/usr.sbin/mkhybrid/src/libhfs_iso/ |
H A D | block.c | 68 int bytes; 76 bytes = read(vol->fd, bp, HFS_BLOCKSZ); 77 if (bytes < 0) 82 else if (bytes == 0) 87 else if (bytes != HFS_BLOCKSZ) 131 int bytes; 139 bytes = write(vol->fd, bp, HFS_BLOCKSZ); 141 if (bytes < 0) 146 else if (bytes != HFS_BLOCKSZ)
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | length.t | 25 use bytes; 35 use bytes; 45 use bytes; 55 use bytes; 65 use bytes; 75 use bytes; 90 use bytes;
|
H A D | vec.t | 196 # (offset * num-bytes) could overflow 199 my $bytes = (1 << $power); 204 $x = vec($s, $offset, $bytes*8); 205 is($x, 0, "large offset: bytes=$bytes biglog2=$biglog2 i=$i: rval"); 206 eval { vec($s, $offset, $bytes*8) = 1; }; 208 "large offset: bytes=$bytes biglog2=$biglog2 i=$i: rval"); 221 for my $bytes (1, 2, 4, 8) { 222 for my $offset (0..$bytes) { [all...] |
/openbsd-current/lib/libcrypto/x509/ |
H A D | x509name.c | 220 const unsigned char *bytes, int len, int loc, int set) 225 ne = X509_NAME_ENTRY_create_by_OBJ(NULL, obj, type, bytes, len); 236 const unsigned char *bytes, int len, int loc, int set) 241 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len); 252 const unsigned char *bytes, int len, int loc, int set) 257 ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len); 327 const char *field, int type, const unsigned char *bytes, int len) 338 nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len); 346 const unsigned char *bytes, int len) 356 nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, le 219 X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len, int loc, int set) argument 235 X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, const unsigned char *bytes, int len, int loc, int set) argument 251 X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, const unsigned char *bytes, int len, int loc, int set) argument 326 X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, const char *field, int type, const unsigned char *bytes, int len) argument 345 X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, int type, const unsigned char *bytes, int len) argument 363 X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument 404 X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, const unsigned char *bytes, int len) argument [all...] |
/openbsd-current/gnu/llvm/libcxx/src/ |
H A D | memory_resource.cpp | 41 void* do_allocate(size_t bytes, size_t align) override { 43 return std::__libcpp_allocate(bytes, align); 45 if (bytes == 0) 46 bytes = 1; 47 void* result = std::__libcpp_allocate(bytes, align); 49 std::__libcpp_deallocate(result, bytes, align); 56 void do_deallocate(void* p, size_t bytes, size_t align) override { std::__libcpp_deallocate(p, bytes, align); } 157 void* unsynchronized_pool_resource::__adhoc_pool::__do_allocate(memory_resource* upstream, size_t bytes, size_t align) { argument 164 size_t aligned_capacity = roundup(bytes, footer_alig 176 __do_deallocate( memory_resource* upstream, void* p, size_t bytes, size_t align) argument 278 __pool_index(size_t bytes, size_t align) const argument 341 do_allocate(size_t bytes, size_t align) argument 395 do_deallocate(void* p, size_t bytes, size_t align) argument 429 __try_allocate_from_chunk(size_t bytes, size_t align) argument 440 __try_allocate_from_chunk(size_t bytes, size_t align) argument 449 do_allocate(size_t bytes, size_t align) argument [all...] |
/openbsd-current/regress/sys/netinet/frag/ |
H A D | frag_timeout.py | 24 flags='MF')/bytes(packet)[20:28]) 26 frag=1, flags='MF')/bytes(packet)[28:36]) 28 frag=2, flags='MF')/bytes(packet)[36:44]) 30 frag=3, flags='MF')/bytes(packet)[44:52]) 32 frag=4, flags='MF')/bytes(packet)[52:60]) 34 frag=5)/bytes(packet)[60:68])
|
/openbsd-current/lib/libcrypto/evp/ |
H A D | evp_pkey.c | 193 const unsigned char *bytes, int len) 195 if (X509at_add1_attr_by_OBJ(&key->attributes, obj, type, bytes, len)) 203 const unsigned char *bytes, int len) 205 if (X509at_add1_attr_by_NID(&key->attributes, nid, type, bytes, len)) 213 const unsigned char *bytes, int len) 216 bytes, len)) 192 EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument 202 EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, int nid, int type, const unsigned char *bytes, int len) argument 212 EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, const char *attrname, int type, const unsigned char *bytes, int len) argument
|
/openbsd-current/gnu/usr.bin/binutils/gas/config/ |
H A D | tc-w65.c | 230 register int bytes = 0; local 241 bytes = X ? 1 : 2; 245 bytes = M ? 1 : 2; 249 bytes = 1; 253 bytes = 2; 270 bytes = 2; 276 bytes = 2; 287 bytes = 2; 296 bytes = 3; 302 bytes [all...] |
/openbsd-current/sbin/fdisk/ |
H A D | disk.c | 125 size_t bytes; local 128 bytes = count * dl.d_secsize; 138 secbuf = calloc(1, bytes); 142 len = read(disk.dk_fd, secbuf, bytes); 145 warn("read(%zu @ %lld)", bytes, (int64_t)where); 150 if (len != (ssize_t)bytes) { 152 warnx("short read(%zu @ %lld)", bytes, (int64_t)where); 166 size_t bytes; local 169 bytes = count * dl.d_secsize; 179 len = write(disk.dk_fd, buf, bytes); [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | aout-cris.c | 223 struct reloc_ext_external *bytes, 233 cache_ptr->address = (GET_SWORD (abfd, bytes->r_address)); 236 r_index = (bytes->r_index[2] << 16) 237 | (bytes->r_index[1] << 8) 238 | bytes->r_index[0]; 239 r_extern = (0 != (bytes->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE)); 240 r_type = ((bytes->r_type[0]) >> RELOC_EXT_BITS_TYPE_SH_LITTLE) 267 MOVE_ADDRESS (GET_SWORD (abfd, bytes->r_addend)); 222 swap_ext_reloc_in(bfd *abfd, struct reloc_ext_external *bytes, arelent *cache_ptr, asymbol **symbols, bfd_size_type symcount) argument
|
/openbsd-current/sys/dev/usb/dwc2/ |
H A D | dwc2var.h | 141 #define HS_NSECS(bytes) (((55 * 8 * 2083) \ 142 + (2083UL * (3 + BitTime(bytes))))/1000 \ 144 #define HS_NSECS_ISO(bytes) (((38 * 8 * 2083) \ 145 + (2083UL * (3 + BitTime(bytes))))/1000 \ 147 #define HS_USECS(bytes) NS_TO_US(HS_NSECS(bytes)) 148 #define HS_USECS_ISO(bytes) NS_TO_US(HS_NSECS_ISO(bytes))
|
/openbsd-current/gnu/llvm/llvm/lib/Target/MSP430/ |
H A D | MSP430MachineFunctionInfo.h | 26 /// stack frame in bytes. 52 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; } argument
|
/openbsd-current/lib/libcrypto/bn/ |
H A D | bn_rand.c | 126 int ret = 0, bit, bytes, mask; local 147 bytes = (bits + 7) / 8; 151 buf = malloc(bytes); 158 arc4random_buf(buf, bytes); 167 for (i = 0; i < bytes; i++) { 191 buf[bytes - 1] |= 1; 192 if (BN_bin2bn(buf, bytes, rnd) == NULL) 197 freezero(buf, bytes);
|