| /openbsd-src/lib/libc/gen/ |
| H A D | getcap.c | 202 char *record, *cbuf; in getent() local 220 if ((record = malloc(topreclen + 1 + BFRAG)) == NULL) in getent() 222 memcpy(record, toprec, topreclen + 1); in getent() 225 rp = record + topreclen + 1; in getent() 232 if ((record = malloc(BFRAG)) == NULL) in getent() 234 r_end = record + BFRAG; in getent() 263 free(record); in getent() 311 rp = record; in getent() 325 free(record); in getent() 334 if (rp > record && *(rp-1) == '\\') { in getent() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | ExceptionRecord.h | 27 ExceptionRecord(const EXCEPTION_RECORD &record, lldb::tid_t thread_id) { in ExceptionRecord() argument 37 m_code = record.ExceptionCode; in ExceptionRecord() 38 m_continuable = (record.ExceptionFlags == 0); in ExceptionRecord() 39 m_exception_addr = reinterpret_cast<lldb::addr_t>(record.ExceptionAddress); in ExceptionRecord() 41 m_arguments.assign(record.ExceptionInformation, in ExceptionRecord() 42 record.ExceptionInformation + record.NumberParameters); in ExceptionRecord() 46 ExceptionRecord(const MINIDUMP_EXCEPTION &record, lldb::tid_t thread_id) in ExceptionRecord() argument 47 : m_code(record.ExceptionCode), m_continuable(record.ExceptionFlags == 0), in ExceptionRecord() 48 m_exception_addr(static_cast<lldb::addr_t>(record.ExceptionAddress)), in ExceptionRecord() 50 m_arguments(record.ExceptionInformation, in ExceptionRecord() [all …]
|
| H A D | NativeProcessWindows.cpp | 446 const ExceptionRecord &record) { in OnDebugException() argument 451 ProcessDebugger::OnDebugException(first_chance, record); in OnDebugException() 459 switch (record.GetExceptionCode()) { in OnDebugException() 463 if (NativeThreadWindows *thread = GetThreadByID(record.GetThreadID())) { in OnDebugException() 466 reg_ctx.GetWatchpointHitIndex(wp_id, record.GetExceptionAddress()); in OnDebugException() 477 StopThread(record.GetThreadID(), StopReason::eStopReasonWatchpoint, in OnDebugException() 482 StopThread(record.GetThreadID(), StopReason::eStopReasonTrace); in OnDebugException() 491 if (FindSoftwareBreakpoint(record.GetExceptionAddress())) { in OnDebugException() 493 record.GetExceptionAddress()); in OnDebugException() 495 StopThread(record.GetThreadID(), StopReason::eStopReasonBreakpoint); in OnDebugException() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/lib/Tie/ |
| H A D | SubstrHash.pm | 68 my $record = substr($self->[0], $offset, $rlen); 69 if (ord($record) == 0) { 72 elsif (ord($record) == 1) { 74 elsif (substr($record, 1, $klen) eq $key) { 75 return substr($record, 1+$klen, $vlen); 92 my $record = substr($self->[0], $offset, $rlen); 93 if (ord($record) == 0) { 94 $record = "\2". $key . $val; 95 die "panic" unless length($record) == $rlen; 97 substr($self->[0], $writeoffset, $rlen) = $record; [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/Breakpad/ |
| H A D | SymbolFileBreakpad.cpp | 214 auto record = LineRecord::parse(*It); in ParseCompileUnitAtIndex() local 215 if (record && record->FileNum < m_files->size()) in ParseCompileUnitAtIndex() 216 spec = (*m_files)[record->FileNum]; in ParseCompileUnitAtIndex() 247 if (auto record = FuncRecord::parse(*It)) { in GetOrCreateFunction() local 249 func_name.SetValue(ConstString(record->Name), false); in GetOrCreateFunction() 250 addr_t address = record->Address + base; in GetOrCreateFunction() 254 section_sp, address - section_sp->GetFileAddress(), record->Size); in GetOrCreateFunction() 312 if (auto record = InlineRecord::parse(*It)) { in ParseBlocksRecursive() local 313 if (record->InlineNestLevel == 0 || in ParseBlocksRecursive() 314 record->InlineNestLevel <= last_added_nest_level + 1) { in ParseBlocksRecursive() [all …]
|
| /openbsd-src/sys/dev/ic/ |
| H A D | wdcevent.h | 66 u_int8_t record[20]; in WDC_LOG_ATAPI_CMD() local 68 record[0] = (flags >> 8); in WDC_LOG_ATAPI_CMD() 69 record[1] = flags & 0xff; in WDC_LOG_ATAPI_CMD() 70 memcpy(&record[2], cmd, len); in WDC_LOG_ATAPI_CMD() 72 wdc_log(chp, WDCEVENT_ATAPI_CMD, len + 2, record); in WDC_LOG_ATAPI_CMD() 77 char record[3] = {flags >> 8, flags & 0xff, error}; in WDC_LOG_ATAPI_DONE() local 78 wdc_log(chp, WDCEVENT_ATAPI_DONE, 3, record); in WDC_LOG_ATAPI_DONE() 88 char record[8] = { head, features, cylinhi, cylinlo, in WDC_LOG_ATA_CMDLONG() local 91 wdc_log(chp, WDCEVENT_ATA_LONG, 7, record); in WDC_LOG_ATA_CMDLONG() 102 char record[3]; in WDC_LOG_REG() local [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | oasys.c | 33 oasys_read_record (bfd *abfd, oasys_record_union_type *record) in oasys_read_record() argument 35 bfd_size_type amt = sizeof (record->header); in oasys_read_record() 37 if (bfd_bread ((void *) record, amt, abfd) != amt) in oasys_read_record() 40 amt = record->header.length - sizeof (record->header); in oasys_read_record() 43 if (bfd_bread ((void *) ((char *) record + sizeof (record->header)), amt, abfd) in oasys_read_record() 50 oasys_string_length (oasys_record_union_type *record) in oasys_string_length() argument 52 return record->header.length in oasys_string_length() 53 - ((char *) record->symbol.name - (char *) record); in oasys_string_length() 69 oasys_record_union_type record; in oasys_slurp_symbol_table() local 102 if (! oasys_read_record (abfd, &record)) in oasys_slurp_symbol_table() [all …]
|
| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | ASTTableGen.h | 93 WrappedRecord(llvm::Record *record = nullptr) : Record(record) {} in Record() argument 147 HasProperties(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 160 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument 183 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 205 TypeNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 227 StmtNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 250 PropertyType(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 334 TypeKindRule(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 364 TypeCase(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument 384 Property(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument [all …]
|
| /openbsd-src/lib/libcurses/tinfo/ |
| H A D | read_termcap.c | 265 #define DOALLOC(size) typeRealloc(char, size, record) 280 char *record = 0; in _nc_getent() local 296 if ((record = DOALLOC(topreclen + BFRAG)) == 0) { in _nc_getent() 300 _nc_STRCPY(record, toprec, topreclen + BFRAG); in _nc_getent() 301 rp = record + topreclen + 1; in _nc_getent() 310 if ((record = DOALLOC(BFRAG)) == 0) { in _nc_getent() 314 rp = r_end = record + BFRAG; in _nc_getent() 333 free(record); in _nc_getent() 365 rp = record; in _nc_getent() 375 free(record); in _nc_getent() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | oasys.c | 94 oasys_read_record (abfd, record) in oasys_read_record() argument 96 oasys_record_union_type *record; 98 bfd_size_type amt = sizeof (record->header); 99 if (bfd_bread ((PTR) record, amt, abfd) != amt) 102 amt = record->header.length - sizeof (record->header); 105 if (bfd_bread ((PTR) ((char *) record + sizeof (record->header)), amt, abfd) 112 oasys_string_length (record) in oasys_string_length() argument 113 oasys_record_union_type *record; in oasys_string_length() 115 return record->header.length 116 - ((char *) record->symbol.name - (char *) record); [all …]
|
| /openbsd-src/gnu/usr.sbin/mkhybrid/src/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 …]
|
| H A D | Makefile | 36 OBJS = data.o block.o low.o file.o btree.o node.o record.o volume.o \ 67 file.o: file.c internal.h hfs.h data.h block.h file.h btree.h record.h \ 70 node.h record.h volume.h 73 record.o: record.c internal.h hfs.h data.h record.h 74 volume.o: volume.c internal.h hfs.h data.h low.h btree.h record.h \
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | IRExecutionUnit.cpp | 471 for (AllocationRecord &record : m_records) { in GetRunnableInfo() 472 if (record.m_process_address != LLDB_INVALID_ADDRESS) { in GetRunnableInfo() 473 record.dump(log); in GetRunnableInfo() 475 DataBufferHeap my_buffer(record.m_size, 0); in GetRunnableInfo() 477 ReadMemory(my_buffer.GetBytes(), record.m_process_address, in GetRunnableInfo() 478 record.m_size, err); in GetRunnableInfo() 485 record.m_process_address, 16, in GetRunnableInfo() 489 record.dump(log); in GetRunnableInfo() 491 DataExtractor my_extractor((const void *)record.m_host_address, in GetRunnableInfo() 492 record.m_size, lldb::eByteOrderBig, 8); in GetRunnableInfo() [all …]
|
| /openbsd-src/usr.sbin/rmt/ |
| H A D | rmt.c | 52 char *record; variable 222 record = checkbuf(record, n); in main() 224 cc = read(STDIN_FILENO, &record[i], n - i); in main() 230 rval = write(tape, record, n); in main() 239 record = checkbuf(record, n); in main() 240 rval = read(tape, record, n); in main() 245 (void) write(STDOUT_FILENO, record, rval); in main() 301 checkbuf(char *record, int size) in checkbuf() argument 304 return (record); in checkbuf() 305 if (record != 0) in checkbuf() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/win32/bin/ |
| H A D | exetype.pl | 25 my ($record,$magic,$signature,$offset,$size); 30 read EXE, $record, 64; 31 ($magic,$offset) = unpack "Sx58L", $record; 38 read EXE, $record, 4+20+2; 39 ($signature,$size,$magic) = unpack "Lx16Sx2S", $record; 50 read EXE, $record, 2; 51 my ($subsys) = unpack "S", $record;
|
| /openbsd-src/usr.sbin/smtpd/ |
| H A D | spfwalk.c | 113 lookup_record(int type, char *record, struct target *tgt) in lookup_record() argument 119 if (strchr(record, '%') != NULL) { in lookup_record() 120 for (i = 0; record[i] != '\0'; i++) { in lookup_record() 121 if (!isprint(record[i])) in lookup_record() 122 record[i] = '?'; in lookup_record() 125 record); in lookup_record() 128 as = res_query_async(record, C_IN, type, NULL); in lookup_record() 172 char *record, *end; in dispatch_txt() local 228 record = *(ap) + 2; in dispatch_txt() 229 if (parse_target(record, <gt) < 0) in dispatch_txt() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbUtil.cpp | 357 RecordT record(static_cast<SymbolRecordKind>(sym.kind())); in createRecord() local 358 cantFail(SymbolDeserializer::deserializeAs<RecordT>(sym, record)); in createRecord() 359 return record; in createRecord() 364 RecordT record = createRecord<RecordT>(sym); in GetSegmentAndOffset() local 365 return {record.Segment, record.CodeOffset}; in GetSegmentAndOffset() 370 TrampolineSym record = createRecord<TrampolineSym>(sym); in GetSegmentAndOffset() local 371 return {record.ThunkSection, record.ThunkOffset}; in GetSegmentAndOffset() 375 Thunk32Sym record = createRecord<Thunk32Sym>(sym); in GetSegmentAndOffset() local 376 return {record.Segment, record.Offset}; in GetSegmentAndOffset() 381 CoffGroupSym record = createRecord<CoffGroupSym>(sym); in GetSegmentAndOffset() local [all …]
|
| /openbsd-src/usr.bin/file/magdir/ |
| H A D | dump | 15 >0 belong 2 beginning of file record, 17 >0 belong 4 continuation of file record, 34 >0 belong 2 beginning of file record, 36 >0 belong 4 continuation of file record, 53 >0 lelong 2 beginning of file record, 55 >0 lelong 4 continuation of file record, 72 >0 lelong 2 beginning of file record, 74 >0 lelong 4 continuation of file record, 89 >0 leshort 2 beginning of file record. 91 >0 leshort 4 continuation of file record. [all …]
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | opt-gather.awk | 41 record[++numrec] = $0 44 record[numrec] = record[numrec] SUBSEP $0 50 sort(record,numrec) 53 print record[i] }
|
| /openbsd-src/sys/dev/pci/drm/amd/amdgpu/ |
| H A D | amdgpu_ras_eeprom.c | 476 struct eeprom_table_record *record, in __encode_table_record_to_buf() argument 483 buf[i++] = record->err_type; in __encode_table_record_to_buf() 485 buf[i++] = record->bank; in __encode_table_record_to_buf() 487 tmp = cpu_to_le64(record->ts); in __encode_table_record_to_buf() 491 tmp = cpu_to_le64((record->offset & 0xffffffffffff)); in __encode_table_record_to_buf() 495 buf[i++] = record->mem_channel; in __encode_table_record_to_buf() 496 buf[i++] = record->mcumc_id; in __encode_table_record_to_buf() 498 tmp = cpu_to_le64((record->retired_page & 0xffffffffffff)); in __encode_table_record_to_buf() 504 struct eeprom_table_record *record, in __decode_table_record_from_buf() argument 511 record->err_type = buf[i++]; in __decode_table_record_from_buf() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/ |
| H A D | peep.t | 9 my $record = XS::APItest::peep_record; 17 is(scalar @{ $record }, 1); 19 is($record->[0], 'affe'); 36 is_deeply($record, [ "foo11" ]);
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | XRayFDRFormat.rst | 29 The file has a header followed by a sequence of discriminated record types. 70 | | | counter used to record ticks between | 97 capture information that may be too costly to record for each function, but 104 always preceded with a marker record which indicates how large it is. 110 indicate their presence on the function entry record. We only support logging 129 | | | Function or Metadata record. Set to ``0`` for | 145 | | | since a previous record recorded a delta or | 175 records for each of the logged args follow the function record in the stream. 185 Metadata record layout is partially record dependent, but they share a common 196 | | | Function or Metadata record. Set to ``1`` for | [all …]
|
| H A D | BitCodeFormat.rst | 36 format, then describes the record structure used by LLVM IR files. 160 unabbreviated record. 163 `abbreviated record encoding`_. 185 stream, and is set every time a block record is entered. The block entry 208 record. The ``blockid`` value is encoded as an 8-bit VBR identifier, and 222 The ``END_BLOCK`` abbreviation ID specifies the end of the current block record. 231 Data records consist of a record code and a number of (up to) 64-bit integer 234 unabbrev record, or with an abbreviation. In the LLVM IR format, for example, 235 there is a record which encodes the target triple of a module. The code is 236 ``MODULE_CODE_TRIPLE``, and the values of the record are the ASCII codes for the [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/noncompile/ |
| H A D | 19990826-4.f | 37 character*30 numf,odir,record*80 226 read(*,1000)record 227 if(record.ne.' ')then 228 read(record,*) model 321 read(*,1000)record 322 if(record.ne.' ')read(record,*)tmin 327 read(*,1000)record 328 if(record.ne.' ')read(record,*)cmin 333 read(*,1000)record 334 if(record.eq.'y'.or.record.eq.'Y')then
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/ |
| H A D | tc-ia64.c | 1784 if (&cur->r.record.p == unwind.pending_saves) in check_pending_save() 1798 cur->r.record.p.grmask = 0; in check_pending_save() 1799 cur->r.record.p.brmask = 0; in check_pending_save() 1800 cur->r.record.p.frmask = 0; in check_pending_save() 1801 prev = cur->r.record.p.next; in check_pending_save() 1802 cur->r.record.p.next = NULL; in check_pending_save() 1814 cur = cur->r.record.p.next; in check_pending_save() 1848 memset (&ptr->r.record.r.mask, 0, sizeof (ptr->r.record.r.mask)); in output_prologue() 1858 memset (&ptr->r.record.r.mask, 0, sizeof (ptr->r.record.r.mask)); 1859 ptr->r.record.r.grmask = saved_mask; [all …]
|