| /netbsd-src/external/cddl/osnet/dist/cmd/zinject/ |
| H A D | translate.c | 150 zinject_record_t *record) in object_from_path() argument 168 record->zi_objset = dmu_objset_id(os); in object_from_path() 169 record->zi_object = statbuf->st_ino; in object_from_path() 181 zinject_record_t *record) in calculate_range() argument 197 record->zi_start = 0; in calculate_range() 198 record->zi_end = -1ULL; in calculate_range() 203 record->zi_start = strtoull(range, &end, 10); in calculate_range() 207 record->zi_end = record->zi_start + 1; in calculate_range() 209 record->zi_end = strtoull(end + 1, &end, 10); in calculate_range() 236 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in calculate_range() [all …]
|
| H A D | zinject.c | 356 print_data_handler(int id, const char *pool, zinject_record_t *record, in print_data_handler() argument 361 if (record->zi_guid != 0 || record->zi_func[0] != '\0') in print_data_handler() 374 (u_longlong_t)record->zi_objset, (u_longlong_t)record->zi_object, in print_data_handler() 375 type_to_name(record->zi_type), record->zi_level); in print_data_handler() 377 if (record->zi_start == 0 && in print_data_handler() 378 record->zi_end == -1ULL) in print_data_handler() 381 (void) printf("[%llu, %llu]\n", (u_longlong_t)record->zi_start, in print_data_handler() 382 (u_longlong_t)record->zi_end); in print_data_handler() 388 print_device_handler(int id, const char *pool, zinject_record_t *record, in print_device_handler() argument 393 if (record->zi_guid == 0 || record->zi_func[0] != '\0') in print_device_handler() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/ |
| H A D | 70-test_sslrecords.t | 266 my $record = TLSProxy::Record->new( 277 push @{$records}, $record; 308 my $record = TLSProxy::Record->new( 319 push @{$records}, $record; 323 $record = TLSProxy::Record->new( 334 push @{$records}, $record; 341 my $record; 355 $record = TLSProxy::Record->new( 367 push @{$proxy->record_list}, $record; 394 $record = TLSProxy::Record->new( [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/recipes/ |
| H A D | 70-test_sslrecords.t | 244 my $record = TLSProxy::Record->new( 255 push @{$records}, $record; 286 my $record = TLSProxy::Record->new( 297 push @{$records}, $record; 301 $record = TLSProxy::Record->new( 312 push @{$records}, $record; 319 my $record; 333 $record = TLSProxy::Record->new( 345 push @{$proxy->record_list}, $record; 372 $record = TLSProxy::Record->new( [all …]
|
| H A D | 70-test_sslvertol.t | 69 my $record = pop @{$proxy->record_list}; 70 ok((note("Record version received: ".$record->version()), 72 && $record->version() == $previous_version, 87 my $record = pop @{$proxy->record_list}; 88 ok((note("Record version received: ".$record->version()), 90 && $record->version() == $previous_version, 101 my $record = pop @{$proxy->record_list}; 103 (defined $record ? $record->version() : "none")),
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | getcap.c | 225 char *record; in getent() local 240 if ((record = malloc (tmplen)) == NULL) { in getent() 244 (void)strlcpy(record, toprec, tmplen); in getent() 246 rp = record + topreclen + 1; in getent() 253 if ((record = malloc(BFRAG)) == NULL) { in getent() 257 r_end = record + BFRAG; in getent() 283 free(record); in getent() 284 retval = cdbget(capdbp, &record, name); in getent() 292 clen = strlen(record); in getent() 296 memmove(cbuf, record, clen + 1); in getent() [all …]
|
| /netbsd-src/lib/libossaudio/ |
| H A D | oss_dsp.c | 39 ? (info)->record.name : (info)->play.name) 104 rerrors /= ((tmpinfo.record.precision / NBBY) * in _oss_dsp_ioctl() 105 tmpinfo.record.channels); in _oss_dsp_ioctl() 134 hwfmt.record.sample_rate : in _oss_dsp_ioctl() 148 tmpinfo.record.sample_rate = INTARG; in _oss_dsp_ioctl() 162 tmpinfo.record.channels = INTARG ? 2 : 1; in _oss_dsp_ioctl() 193 tmpinfo.record.encoding = in _oss_dsp_ioctl() 195 hwfmt.record.encoding : hwfmt.play.encoding; in _oss_dsp_ioctl() 197 tmpinfo.record.precision = in _oss_dsp_ioctl() 199 hwfmt.record.precision : hwfmt.play.precision ; in _oss_dsp_ioctl() [all …]
|
| /netbsd-src/lib/libc/gen/ |
| H A D | getcap.c | 257 char *record, *newrecord; in getent() local 284 if ((record = malloc(topreclen + BFRAG)) == NULL) { in getent() 288 (void)strcpy(record, toprec); /* XXX: strcpy is safe */ in getent() 290 rp = record + topreclen + 1; in getent() 297 if ((record = malloc(BFRAG)) == NULL) { in getent() 301 r_end = record + BFRAG; in getent() 327 free(record); in getent() 328 retval = cdbget(capdbp, &record, name); in getent() 335 clen = strlen(record); in getent() 341 memmove(cbuf, record, clen + 1); in getent() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
| H A D | vbva_base.c | 69 struct vbva_record *record; in vbva_write() local 74 record = vbva_ctx->record; in vbva_write() 77 !record || !(record->len_and_flags & VBVA_F_RECORD_PARTIAL)) in vbva_write() 103 record->len_and_flags += chunk; in vbva_write() 163 vbva_ctx->record = NULL; in vbva_disable() 172 struct vbva_record *record; in vbva_buffer_begin_update() local 179 WARN_ON(vbva_ctx->buffer_overflow || vbva_ctx->record); in vbva_buffer_begin_update() 191 record = &vbva_ctx->vbva->records[vbva_ctx->vbva->record_free_index]; in vbva_buffer_begin_update() 192 record->len_and_flags = VBVA_F_RECORD_PARTIAL; in vbva_buffer_begin_update() 195 vbva_ctx->record = record; in vbva_buffer_begin_update() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | ASTTableGen.h | 92 WrappedRecord(llvm::Record *record = nullptr) : Record(record) {} in Record() argument 146 HasProperties(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 159 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument 182 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 204 TypeNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 226 StmtNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 249 PropertyType(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 333 TypeKindRule(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 363 TypeCase(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument 383 Property(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/util/perl/TLSProxy/ |
| H A D | Message.pm | 169 my $record = shift; 180 if ($record->content_type == TLSProxy::Record::RT_CCS) { 192 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) { 193 if ($record->len == 0 || $record->len_real == 0) { 202 push @message_rec_list, $record; 209 if (length($payload) + $record->decrypt_len >= $messlen) { 212 $payload .= substr($record->decrypt_data, 0, $recoffset); 221 $payload .= $record->decrypt_data; 222 $recoffset = $record->decrypt_len; 223 push @message_frag_lens, $record->decrypt_len; [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprof/ |
| H A D | hist.c | 90 read_histogram_header (histogram *record, in read_histogram_header() argument 99 if (gmon_io_read_vma (ifp, &record->lowpc) in read_histogram_header() 100 || gmon_io_read_vma (ifp, &record->highpc) in read_histogram_header() 101 || gmon_io_read_32 (ifp, &record->num_bins) in read_histogram_header() 112 n_hist_scale = (double)((record->highpc - record->lowpc) / sizeof (UNIT)) in read_histogram_header() 113 / record->num_bins; in read_histogram_header() 173 histogram *record, *existing_record; in hist_read_rec() local 183 record = existing_record; in hist_read_rec() 206 record = &histograms[num_histograms]; in hist_read_rec() 209 record->sample = (int *) xmalloc (record->num_bins in hist_read_rec() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gprof/ |
| H A D | hist.c | 90 read_histogram_header (histogram *record, in read_histogram_header() argument 99 if (gmon_io_read_vma (ifp, &record->lowpc) in read_histogram_header() 100 || gmon_io_read_vma (ifp, &record->highpc) in read_histogram_header() 101 || gmon_io_read_32 (ifp, &record->num_bins) in read_histogram_header() 112 n_hist_scale = (double)((record->highpc - record->lowpc) / sizeof (UNIT)) in read_histogram_header() 113 / record->num_bins; in read_histogram_header() 173 histogram *record, *existing_record; in hist_read_rec() local 183 record = existing_record; in hist_read_rec() 206 record = &histograms[num_histograms]; in hist_read_rec() 209 record->sample = (int *) xmalloc (record->num_bins in hist_read_rec() [all …]
|
| /netbsd-src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
| H A D | node.c | 177 unsigned char *record, int *reclen) in n_index() argument 183 HFS_RECKEYLEN(record) = 0x25; in n_index() 184 memset(record + 1, 0, 0x25); in n_index() 185 memcpy(record + 1, key + 1, HFS_RECKEYLEN(key)); in n_index() 188 memcpy(record, key, HFS_RECKEYSKIP(key)); in n_index() 190 d_putl(HFS_RECDATA(record), nnum); in n_index() 193 *reclen = HFS_RECKEYSKIP(record) + 4; in n_index() 200 int n_split(node *left, unsigned char *record, int *reclen) in n_split() argument 221 n_search(&right, record); in n_split() 272 n_search(&right, record); in n_split() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/cleanup/ |
| H A D | bug2.in | 5 # a still virgin "append header" pointer record. 9 # warning: <filename>: malformed pointer record value: <garbage> 13 # Failure to recognize the "append header" record while updating 18 # This happened while updating a header record that was followed by 19 # the current "append header" record. The pointer could be the initial 20 # "append header" record between message header and body, or it could 23 # - Postfix considered the pointer record as any pointer record after 24 # a header record. Thus, it decided that some portion of the pointer 25 # record could be overwritten with the location of the new Subject: 27 # update old "append header" record and thus clobber part of the [all …]
|
| H A D | bug1.in | 10 # Failure to update location info after following a pointer record, 11 # while updating a message header record 16 # After the first update, the update #1 header record sits in the 18 # pointer to the start of the next message header record or the 22 # While following the reverse pointer record after the update #1 23 # header record to find out the start of the next header or message 25 # where it was. Thus, it believed that the next header or body record 26 # was located after the reverse pointer record. That was not the 28 # update would result in an update #2 header record, followed by a 30 # had meanwhile become the location of the update #2 header record. [all …]
|
| /netbsd-src/usr.sbin/rmt/ |
| H A D | rmt.c | 84 char *record = NULL; in main() local 136 record = checkbuf(record, n); in main() 138 cc = read(STDIN_FILENO, &record[i], n - i); in main() 144 rval = write(tape, record, n); in main() 153 record = checkbuf(record, n); in main() 154 rval = read(tape, record, n); in main() 159 (void)write(STDOUT_FILENO, record, rval); in main() 222 checkbuf(char *record, int size) in checkbuf() argument 226 return (record); in checkbuf() 227 if (record != 0) in checkbuf() [all …]
|
| /netbsd-src/sys/stand/ |
| H A D | copy.c | 54 register int from, to, record, rcc, wcc, bsize = BSIZE; in main() local 59 for (record = 0;; ++record) { in main() 64 record, errno); in main() 68 if (record == 0) { in main() 74 record, bsize, rcc); in main() 83 record, errno); in main() 88 record, rcc, wcc); in main() 92 printf("copy completed: %d records copied\n", record); in main()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| H A D | amdgpu_ras_eeprom.c | 135 struct eeprom_table_record *record = &records[i]; in __calc_recs_byte_sum() local 137 for (j = 0; j < sizeof(*record); j++) { in __calc_recs_byte_sum() 138 tbl_sum += *(((unsigned char *)record) + j); in __calc_recs_byte_sum() 293 struct eeprom_table_record *record, in __encode_table_record_to_buff() argument 300 buff[i++] = record->err_type; in __encode_table_record_to_buff() 302 buff[i++] = record->bank; in __encode_table_record_to_buff() 304 tmp = cpu_to_le64(record->ts); in __encode_table_record_to_buff() 308 tmp = cpu_to_le64((record->offset & 0xffffffffffff)); in __encode_table_record_to_buff() 312 buff[i++] = record->mem_channel; in __encode_table_record_to_buff() 313 buff[i++] = record->mcumc_id; in __encode_table_record_to_buff() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/implementation-notes/ |
| H A D | MILTER | 47 a record stream in which recipients appear after content. However, 101 record. To make the implementation efficient, the cleanup server 102 would have to record the presence of a "content_filter" record in 129 - Deleting a recipient or header record is easy - just mark the 130 record as killed. When deleting a recipient, we must kill all 137 Basically, a record is replaced by overwriting it with a forward 139 record there, followed by a reverse pointer to the record that 140 follows the replaced information. If the replaced record is shorter 141 than a pointer record, we relocate the records that follow it to 143 record. See below for a discussion on what it takes to make this [all …]
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| H A D | zio_inject.c | 106 zinject_record_t *record, int error) in zio_match_handler() argument 112 record->zi_objset == DMU_META_OBJSET && in zio_match_handler() 113 record->zi_object == DMU_META_DNODE_OBJECT) { in zio_match_handler() 114 if (record->zi_type == DMU_OT_NONE || in zio_match_handler() 115 type == record->zi_type) in zio_match_handler() 116 return (record->zi_freq == 0 || in zio_match_handler() 117 spa_get_random(100) < record->zi_freq); in zio_match_handler() 125 if (zb->zb_objset == record->zi_objset && in zio_match_handler() 126 zb->zb_object == record->zi_object && in zio_match_handler() 127 zb->zb_level == record->zi_level && in zio_match_handler() [all …]
|
| /netbsd-src/usr.bin/tcopy/ |
| H A D | tcopy.c | 65 static long lastrec, record; variable 160 filen, record); in main() 164 fprintf(msg, "%ld records\n", record); in main() 165 else if (record - lastrec > 1) in main() 167 lastrec, record); in main() 175 lastrec = record; in main() 189 filen, record); in main() 202 record++; in main() 210 filen, record, (long long)size); in main() 214 size = record = lastrec = 0; in main() [all …]
|
| /netbsd-src/external/mpl/bind/dist/contrib/dlz/modules/ldap/testing/ |
| H A D | dlz.schema | |
| /netbsd-src/external/bsd/tre/dist/tests/agrep/ |
| H A D | records.ok | 414 The default record delimiter 415 is the regexp "\n", so by default a record is a line. 418 The default record delimiter 419 is the regexp "\n", so by default a record is a line. 430 records.in:The default record delimiter 431 is the regexp "\n", so by default a record is a line. 434 (standard input):The default record delimiter 435 is the regexp "\n", so by default a record is a line. 446 11:The default record delimiter 447 is the regexp "\n", so by default a record is a line. [all …]
|
| /netbsd-src/usr.bin/audio/ctl/ |
| H A D | ctl.c | 121 { "record", &info.record, FORMAT, ALIAS }, 122 { "record.rate", &info.record.sample_rate,UINT, 0 }, 123 { "record.sample_rate", &info.record.sample_rate,UINT, ALIAS }, 124 { "record.channels", &info.record.channels, UINT, 0 }, 125 { "record.precision", &info.record.precision, UINT, 0 }, 126 { "record.encoding", &info.record.encoding, ENC, 0 }, 127 { "record.gain", &info.record.gain, UINT, 0 }, 128 { "record.balance", &info.record.balance, UCHAR, 0 }, 129 { "record.port", &info.record.port, XINT, 0 }, 130 { "record.avail_ports", &info.record.avail_ports,XINT, 0 }, [all …]
|