| /dflybsd-src/tools/regression/bin/sh/builtins/ |
| H A D | read1.0 | 4 echo "1 2 3" | { read a; echo "x${a}x"; } 5 echo "1 2 3" | { read a b; echo "x${a}x${b}x"; } 6 echo "1 2 3" | { read a b c; echo "x${a}x${b}x${c}x"; } 7 echo "1 2 3" | { read a b c d; echo "x${a}x${b}x${c}x${d}x"; } 9 echo " 1 2 3 " | { read a b c; echo "x${a}x${b}x${c}x"; } 10 echo " 1 2 3 " | { unset IFS; read a b c; echo "x${a}x${b}x${c}x"; } 11 echo " 1 2 3 " | { IFS=$(printf ' \t\n') read a b c; echo "x${a}x${b}x${c}x"; } 12 echo " 1 2 3 " | { IFS= read a b; echo "x${a}x${b}x"; } 14 echo " 1,2 3 " | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } 15 echo ", 2 ,3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } [all …]
|
| H A D | read3.0 | 3 printf '%s\n' 'a\ b c' | { read a b; printf '%s\n' "x${a}x${b}x"; } 4 printf '%s\n' 'a b\ c' | { read a b; printf '%s\n' "x${a}x${b}x"; } 5 printf '%s\n' 'a\:b:c' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 6 printf '%s\n' 'a:b\:c' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 7 printf '%s\n' '\ a' | { read a b; printf '%s\n' "x${a}x${b}x"; } 8 printf '%s\n' '\:a' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 9 printf '%s\n' '\\' | { read a b; printf '%s\n' "x${a}x${b}x"; } 10 printf '%s\n' '\\\ a' | { read a b; printf '%s\n' "x${a}x${b}x"; } 11 printf '%s\n' '\\\ a' | { read -r a b; printf '%s\n' "x${a}x${b}x"; }
|
| H A D | read4.0 | 3 printf '%s\n' '\a\ b c' | { read a b; printf '%s\n' "x${a}x${b}x"; } 4 printf '%s\n' '\a b\ c' | { read a b; printf '%s\n' "x${a}x${b}x"; } 5 printf '%s\n' '\a\:b:c' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 6 printf '%s\n' '\a:b\:c' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 7 printf '%s\n' '\\ a' | { read a b; printf '%s\n' "x${a}x${b}x"; } 8 printf '%s\n' '\\:a' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 9 printf '%s\n' '\\\ a' | { read a b; printf '%s\n' "x${a}x${b}x"; } 10 printf '%s\n' '\\\:a' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; }
|
| H A D | read2.0 | 9 read x 11 (read x 13 read x 25 read x 27 (read x 29 read x
|
| H A D | read5.0 | 26 r1=`printf '%s\n' "$e" | { read -r x; printf '%s' "$x"; }` 27 [ "$r1" = "$e" ] || echo "read with -r bad" 28 r2=`printf '%s\n' "$e" | { read x; printf '%s' "$x"; }` 29 [ "$r2" = "$e" ] || echo "read without -r bad 1" 31 r3=`printf '%s\n' "$e" | { read x; printf '%s' "$x"; }` 32 [ "$r3" = "$e" ] || echo "read without -r bad 2"
|
| H A D | fc2.0 | 16 # Read error message, shell will read new input now 17 read dummy <&5 20 read dummy <&5 21 read line <&4 && [ "$line" = continued ] && : ${rc:=0} 25 if read line <&4; then
|
| /dflybsd-src/stand/boot/pc32/boot2/ |
| H A D | boot1.S | 134 callw read // Read from disk 343 read: label 349 jz read.1 359 jc read.1 /* BIOS error return */ 361 jne read.1 363 jz read.1 377 read.1: 411 jb read.2 // this 417 read.2: mov $0x5,%di // Try count 418 read.3: les 0x4(%bp),%bx // Transfer buffer [all …]
|
| /dflybsd-src/games/backgammon/common_source/ |
| H A D | save.c | 146 read(fdesc, board, sizeof board); in recover() 147 read(fdesc, off, sizeof off); in recover() 148 read(fdesc, in, sizeof in); in recover() 149 read(fdesc, mm->dice, sizeof mm->dice); in recover() 150 read(fdesc, &cturn, sizeof cturn); in recover() 151 read(fdesc, &dlast, sizeof dlast); in recover() 152 read(fdesc, &pnum, sizeof pnum); in recover() 153 read(fdesc, &rscore, sizeof rscore); in recover() 154 read(fdesc, &wscore, sizeof wscore); in recover() 155 read(fdesc, &gvalue, sizeof gvalue); in recover() [all …]
|
| /dflybsd-src/contrib/gdb-7/gdb/ |
| H A D | user-regs.c | 43 struct value *(*read) (struct frame_info * frame, const void *baton); member 62 user_reg_read_ftype *read, const void *baton, in append_user_reg() argument 70 reg->read = read; in append_user_reg() 84 user_reg_add_builtin (const char *name, user_reg_read_ftype *read, in user_reg_add_builtin() argument 87 append_user_reg (&builtin_user_regs, name, read, baton, in user_reg_add_builtin() 105 append_user_reg (regs, reg->name, reg->read, reg->baton, in user_regs_init() 112 user_reg_read_ftype *read, const void *baton) in user_reg_add() argument 123 append_user_reg (regs, name, read, baton, in user_reg_add() 217 return reg->read (frame, reg->baton); in value_of_user_reg()
|
| /dflybsd-src/contrib/dhcpcd/hooks/ |
| H A D | 01-test | 5 set | while read line; do 12 set | while read line; do 19 set | while read line; do 25 set | while read line; do 31 set | while read line; do
|
| /dflybsd-src/crypto/libressl/ssl/ |
| H A D | tls12_record_layer.c | 176 struct tls12_record_protection *read; member 196 rl->read = rl->read_current; in tls12_record_layer_new() 256 return tls12_record_protection_engaged(rl->read); in tls12_record_layer_read_protected() 298 return rl->read->epoch; in tls12_record_layer_read_epoch() 341 tls12_record_protection_clear(rl->read); in tls12_record_layer_clear_read_state() 342 rl->read->epoch = rl->initial_epoch; in tls12_record_layer_clear_read_state() 358 memcpy(rl->write->seq_num, rl->read->seq_num, in tls12_record_layer_reflect_seq_num() 581 rl->read = rl->read_current = read_new; in tls12_record_layer_change_read_cipher_state() 745 if (!ssl3_cbc_record_digest_supported(rl->read->hash_ctx)) in tls12_record_layer_read_mac_cbc() 754 if (!ssl3_cbc_digest_record(rl->read->hash_ctx, mac, &out_mac_len, header, in tls12_record_layer_read_mac_cbc() [all …]
|
| /dflybsd-src/sys/dev/netif/ig_hal/ |
| H A D | e1000_nvm.c | 53 nvm->ops.read = e1000_null_read_nvm; in e1000_init_nvm_ops_generic() 796 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_0, 1, &nvm_data); in e1000_read_pba_string_generic() 802 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_1, 1, &pba_ptr); in e1000_read_pba_string_generic() 847 ret_val = hw->nvm.ops.read(hw, pba_ptr, 1, &length); in e1000_read_pba_string_generic() 868 ret_val = hw->nvm.ops.read(hw, pba_ptr + offset, 1, &nvm_data); in e1000_read_pba_string_generic() 903 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_0, 1, &nvm_data); in e1000_read_pba_length_generic() 909 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_1, 1, &pba_ptr); in e1000_read_pba_length_generic() 921 ret_val = hw->nvm.ops.read(hw, pba_ptr, 1, &length); in e1000_read_pba_length_generic() 1174 ret_val = hw->nvm.ops.read(hw, i, 1, &nvm_data); in e1000_validate_nvm_checksum_generic() 1207 ret_val = hw->nvm.ops.read(hw, i, 1, &nvm_data); in e1000_update_nvm_checksum_generic() [all …]
|
| /dflybsd-src/sys/bus/iicbus/ |
| H A D | iicsmb.c | 322 int error, read; in iicsmb_recvb() local 327 error = iicbus_read(parent, byte, 1, &read, IIC_LAST_READ, IICBUS_TIMEOUT); in iicsmb_recvb() 379 int error, sent, read; in iicsmb_readb() local 390 if ((error = iicbus_read(parent, byte, 1, &read, IIC_LAST_READ, IICBUS_TIMEOUT))) in iicsmb_readb() 405 int error, sent, read; in iicsmb_readw() local 417 if ((error = iicbus_read(parent, buf, 2, &read, IIC_LAST_READ, IICBUS_TIMEOUT))) in iicsmb_readw() 432 int error, sent, read; in iicsmb_pcall() local 451 if ((error = iicbus_read(parent, buf, 2, &read, IIC_LAST_READ, IICBUS_TIMEOUT))) in iicsmb_pcall() 488 int error, sent, read; in iicsmb_bread() local 499 if ((error = iicbus_read(parent, buf, (int)*count, &read, in iicsmb_bread() [all …]
|
| H A D | iiconf.c | 254 iicbus_read(device_t bus, char *buf, int len, int *read, int last, int delay) in iicbus_read() argument 262 return (IICBUS_READ(device_get_parent(bus), buf, len, read, last, delay)); in iicbus_read() 287 int read; in iicbus_read_byte() local 289 return (iicbus_read(bus, byte, 1, &read, IIC_LAST_READ, timeout)); in iicbus_read_byte() 319 iicbus_block_read(device_t bus, u_char slave, char *buf, int len, int *read) in iicbus_block_read() argument 327 error = iicbus_read(bus, buf, len, read, IIC_LAST_READ, 0); in iicbus_block_read()
|
| /dflybsd-src/stand/lib/ |
| H A D | cd9660.c | 128 size_t read; in susp_lookup_record() local 145 ISO_DEFAULT_BLOCK_SIZE, susp_buffer, &read); in susp_lookup_record() 148 if (error != 0 || read != ISO_DEFAULT_BLOCK_SIZE) in susp_lookup_record() 279 size_t buf_size, read, dsize, off; in cd9660_open() local 291 ISO_DEFAULT_BLOCK_SIZE, buf, &read); in cd9660_open() 294 if (read != ISO_DEFAULT_BLOCK_SIZE) { in cd9660_open() 327 buf, &read); in cd9660_open() 330 if (read != ISO_DEFAULT_BLOCK_SIZE) { in cd9660_open() 390 ISO_DEFAULT_BLOCK_SIZE, buf, &read); in cd9660_open() 393 if (read != ISO_DEFAULT_BLOCK_SIZE) { in cd9660_open() [all …]
|
| /dflybsd-src/test/sysperf/ |
| H A D | pipe1.c | 31 while (read(fds[1], c, sizeof(c)) == sizeof(c)) { in main() 41 read(fds[0], c, sizeof(c)); in main() 46 if (read(fds[0], c, sizeof(c)) != sizeof(c)) { in main() 58 if (read(fds[0], c, sizeof(c)) != sizeof(c)) { in main()
|
| /dflybsd-src/stand/boot/pc32/cdboot/ |
| H A D | cdboot.S | 64 .set ERROR_TIMEOUT,0x80 # BIOS timeout on read 396 read: pushal # dont screw around label 397 mov %eax,edd_lba # LBA to read from 407 jc read.fail # Worked? 410 read.fail: cmp $ERROR_TIMEOUT,%ah 411 jne read.error 434 jmp read 436 read.error: mov %ah,%al # Save error 573 edd_len: .byte 0x0 # Num to read
|
| /dflybsd-src/games/trek/ |
| H A D | dumpgame.c | 118 read(fd, &version, sizeof version) != sizeof version || in restartgame() 152 if (read(fd, &junk, sizeof junk) != (sizeof junk)) in readdump() 157 if (read(fd, d->area, i) != i) in readdump() 162 return (read(fd, &junk, 1)); in readdump()
|
| /dflybsd-src/usr.bin/tip/ |
| H A D | cmds.c | 178 read(repdes[0], (char *)&ccc, 1); /* Wait until read process stops */ in xfer() 186 read(FD, &c, 1); in xfer() 196 eof = read(FD, &c, 1) <= 0; in xfer() 263 read(repdes[0], (char *)&ccc, 1); /* Wait until read process stops */ in transfer() 271 read(FD, &c, 1); in transfer() 278 eof = read(FD, &c, 1) <= 0; in transfer() 406 read(repdes[0], (char *)&ccc, 1); in transmit() 411 read(FD, (char *)&c, 1); /* trailing \n */ in transmit() 457 read(FD, (char *)&c, 1); in transmit() 553 read(FD, &cc, 1); in send() [all …]
|
| H A D | tipout.c | 53 read(fildes[0], &ccc,1); in intIOT() 68 read(fildes[0], &c, 1); in intEMT() 71 read(fildes[0], &c, 1); in intEMT() 128 cnt = read(FD, buf, BUFSIZ); in tipout()
|
| /dflybsd-src/sys/dev/disk/dm/delay/ |
| H A D | dm_target_delay.c | 67 struct dm_delay_info read; member 104 ret = _init(&tdc->read, argv, 0); in dm_target_delay_init() 115 dm_pdev_decr(tdc->read.pdev); in dm_target_delay_init() 120 dm_table_add_deps(table_en, tdc->read.pdev); in dm_target_delay_init() 169 "%d %d", tdc->read.count, tdc->write.count); in dm_target_delay_info() 185 p += _table(&tdc->read, p); in dm_target_delay_table() 215 di = &tdc->read; in dm_target_delay_strategy() 320 _destroy(&tdc->read); in dm_target_delay_destroy()
|
| /dflybsd-src/usr.bin/tcopy/ |
| H A D | tcopy.c | 139 if ((nread = read(inp, buff, maxblk)) == -1) { in main() 141 nread = read(inp, buff, maxblk); in main() 227 if ((inn = read(inp, inb, inmaxblk)) == -1) { in verify() 230 inn = read(inp, inb, inmaxblk); in verify() 237 r1: if ((outn = read(outp, outb, outmaxblk)) == -1) { in verify() 240 outn = read(outp, outb, outmaxblk); in verify()
|
| /dflybsd-src/sys/dev/sound/pcm/ |
| H A D | feeder_format.c | 55 intpcm_read_t *read; member 87 intpcm_read_t *read; member 140 rd_op = feed_format_ops[i].read; in feed_format_init() 161 info->read = rd_op; in feed_format_init() 249 v = info->read(src); in feed_format_feed() 283 return (feed_format_ops[i].read); in feeder_format_read_op()
|
| /dflybsd-src/contrib/gcc-4.7/libssp/ssp/ |
| H A D | unistd.h | 43 #undef read 48 size_t __nbytes), read); 51 read (int __fd, void *__buf, size_t __nbytes) in read() function
|
| /dflybsd-src/sys/dev/disk/dm/dmirror/ |
| H A D | dmirror_notes.txt | 23 * Allow I/O read or write errors on one drive to degrade only 36 to prevent the read data from 'changing' randomly from the point 73 MEDIA_READ_DEGRADED 0: No I/O read error occured on this segment 74 1: I/O read error(s) occured on this segment 90 read all zeros regardless of the actual 98 read from the media. This bit is only 103 read from the media. This bit is only 122 Ok, now what actions need to be taken to satisfy a read or write? 165 * If MASTER is NOT set on either drive the read may be 168 * If MASTER is set on one of the drives the read must be sent [all …]
|