Searched refs:offset (Results 1 - 25 of 3025) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dinit3.C10 int offset; local
11 char buf[offset]=""; // ERROR - ansi forbids variable arrays
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/opt/
H A Dstrength-reduce.C11 int foo (char ch, int offset = 0x7fffffff) const;
12 int bar (int offset, char c) const;
16 int C::bar (int offset, char c) const argument
18 char ch = a[offset];
26 int C::foo (char ch, int offset) const
31 if (offset >= len)
32 offset = len - 1;
34 while (bar (offset, ch) != 0)
36 if (offset == 0)
38 offset
[all...]
/openbsd-current/gnu/usr.bin/perl/dist/Tie-File/t/
H A D42_offset.t3 # 2003-04-09 Tels: test the offset method from 0.94
33 is ($o->offset(0), 0, 'first one always there');
34 is ($o->offset(1), undef, 'no offsets yet');
37 is ($o->offset(0), 0, 'first is ok');
38 is ($o->offset(1), 8, 'and second ok');
39 is ($o->offset(2), undef, 'third undef');
42 is ($o->offset(0), 0, 'first is ok');
43 is ($o->offset(1), 8, 'and second ok');
44 is ($o->offset(2), 14, 'and third ok');
45 is ($o->offset(
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20030604-1.c9 unsigned int butterfly, block, offset; local
14 offset = butterfly + block;
16 T2re = Z[offset] + T1re;
/openbsd-current/gnu/gcc/gcc/config/pdp11/
H A D2bsd.h35 int offset; \
36 offset = get_frame_size(); \
37 offset = (offset <= 2)? 0: (offset -2); \
38 (DEPTH_VAR) = offset+10; \
51 If FRAME_GROWS_DOWNWARD, this is the offset to the END of the
52 first local allocated. Otherwise, it is the offset to the BEGINNING
/openbsd-current/gnu/usr.bin/gcc/gcc/config/pdp11/
H A D2bsd.h35 int offset; \
36 offset = get_frame_size(); \
37 offset = (offset <= 2)? 0: (offset -2); \
38 (DEPTH_VAR) = offset+10; \
51 If FRAME_GROWS_DOWNWARD, this is the offset to the END of the
52 first local allocated. Otherwise, it is the offset to the BEGINNING
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20030307-1.c8 int fcntl_lock(int fd, int op, long long offset, long long count, int type);
10 int vfswrap_lock(char *fsp, int fd, int op, long long offset, long long count, int type) argument
12 return fcntl_lock(fd, op, offset, count, type);
15 int fcntl_lock(int fd, int op, long long offset, long long count, int type) argument
/openbsd-current/lib/libcurses/base/
H A DMKunctrl.awk48 offset=0
64 printf "%4d%s", offset, gap;
67 offset = offset + 3;
70 offset = offset + 3;
73 offset = offset + 3;
76 offset = offset
[all...]
H A DMKkeyname.awk43 print "struct kn { short offset; int code; };"
46 printf "\t{ %d, %s },\n", offset, $1
47 offset += length($1) + 1
83 print " for (i = 0; _nc_key_names[i].offset != -1; i++) {"
85 print " result = (NCURSES_CONST char *)key_names + _nc_key_names[i].offset;"
/openbsd-current/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacro.cpp21 lldb::offset_t *offset) {
25 header.m_version = debug_macro_data.GetU16(offset);
27 uint8_t flags = debug_macro_data.GetU8(offset);
32 header.m_debug_line_offset = debug_macro_data.GetU64(offset);
34 header.m_debug_line_offset = debug_macro_data.GetU32(offset);
39 SkipOperandTable(debug_macro_data, offset);
45 const DWARFDataExtractor &debug_macro_data, lldb::offset_t *offset) {
46 uint8_t entry_count = debug_macro_data.GetU8(offset);
49 debug_macro_data.GetU8(offset);
51 uint64_t operand_count = debug_macro_data.GetULEB128(offset);
20 ParseHeader(const DWARFDataExtractor &debug_macro_data, lldb::offset_t *offset) argument
44 SkipOperandTable( const DWARFDataExtractor &debug_macro_data, lldb::offset_t *offset) argument
60 ReadMacroEntries( const DWARFDataExtractor &debug_macro_data, const DWARFDataExtractor &debug_str_data, const bool offset_is_64_bit, lldb::offset_t *offset, SymbolFileDWARF *sym_file_dwarf, DebugMacrosSP &debug_macros_sp) argument
[all...]
/openbsd-current/lib/libelf/
H A Delf_rand.c36 elf_rand(Elf *ar, off_t offset) argument
42 (offset & 1) || offset < SARMAG ||
43 offset >= ar->e_rawsize) {
48 offset_of_member = offset + (off_t) sizeof(struct ar_hdr);
56 arh = (struct ar_hdr *) (ar->e_rawfile + offset);
64 ar->e_u.e_ar.e_next = offset;
66 return (offset);
/openbsd-current/sys/dev/pci/drm/amd/display/dc/
H A Ddc_edid_parser.h32 int offset,
37 bool dc_edid_parser_recv_cea_ack(struct dc *dc, int *offset);
/openbsd-current/gnu/usr.bin/binutils/gdb/regformats/
H A Dregdef.h34 /* The offset (in bits) of the value of this register in the buffer. */
35 int offset; member in struct:reg
/openbsd-current/gnu/usr.bin/perl/ext/XS-APItest/t/
H A Dextend.t24 # as an offset from PL_stack_max. So extend(-1, 1, $use_ss) shouldn't
29 for my $offset (-1, 0, 1) {
36 eval { test_EXTEND($offset, -1, $use_ss) };
37 like $@, qr/panic: .*negative count/, "test_EXTEND($offset, -1, $use_ss)";
40 eval { test_EXTEND($offset, $n, $use_ss) };
41 is $@, "", "test_EXTEND($offset, $n, $use_ss)";
50 eval { test_EXTEND($offset, (1 << 8*$sizesize)-1, $use_ss) };
56 eval { test_EXTEND($offset, 1 << 8*$sizesize, $use_ss) };
61 eval { test_EXTEND($offset, (1 << (8*$sizesize+1))-1, $use_ss) };
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Compress/Zlib/
H A DExtra.pm71 my $offset = 0 ;
72 while ($offset < $XLEN) {
75 if $offset + GZIP_FEXTRA_SUBFIELD_HEADER_SIZE > $XLEN ;
77 my $id = substr($data, $offset, GZIP_FEXTRA_SUBFIELD_ID_SIZE);
78 $offset += GZIP_FEXTRA_SUBFIELD_ID_SIZE;
80 my $subLen = unpack("v", substr($data, $offset,
82 $offset += GZIP_FEXTRA_SUBFIELD_LEN_SIZE ;
85 if $offset + $subLen > $XLEN ;
88 substr($data, $offset, $subLen)],
91 push @$extraRef, [$id => substr($data, $offset,
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/f/
H A Dbit.c65 ffebitCount offset; // 0..size-1
69 ffebit_count(b,offset,value,range,&number);
71 Sets <number> to # bits at <offset> through <offset + range - 1> set to
75 ffebit_count (ffebit b, ffebitCount offset, bool value, ffebitCount range,
81 assert (offset + range <= b->size);
83 for (*number = 0; range != 0; --range, ++offset)
85 element = offset / CHAR_BIT;
86 bitno = offset % CHAR_BIT;
136 ffebitCount offset; //
74 ffebit_count(ffebit b, ffebitCount offset, bool value, ffebitCount range, ffebitCount *number) argument
143 ffebit_set(ffebit b, ffebitCount offset, bool value, ffebitCount length) argument
174 ffebit_test(ffebit b, ffebitCount offset, bool *value, ffebitCount *length) argument
[all...]
/openbsd-current/lib/libc/stdlib/
H A Dgetenv.c38 * Starts searching within the environmental array at offset.
39 * Sets offset to be the offset of the name/value combination in the
46 __findenv(const char *name, int len, int *offset) argument
54 for (p = environ + *offset; (cp = *p) != NULL; ++p) {
59 *offset = p - environ;
73 int offset = 0; local
78 return (__findenv(name, (int)(np - name), &offset));
/openbsd-current/sys/lib/libsa/
H A Dlseek.c68 lseek(int fd, off_t offset, int where) argument
70 olseek(int fd, off_t offset, int where)
82 * On RAW devices, update internal offset.
86 f->f_offset = offset;
89 f->f_offset += offset;
99 return (f->f_ops->seek)(f, offset, where);
/openbsd-current/lib/libcbor/src/cbor/internal/
H A Dencoders.h19 size_t buffer_size, uint8_t offset);
23 size_t buffer_size, uint8_t offset);
27 size_t buffer_size, uint8_t offset);
31 size_t buffer_size, uint8_t offset);
35 size_t buffer_size, uint8_t offset);
H A Dencoders.c12 size_t buffer_size, uint8_t offset) {
15 buffer[0] = value + offset;
20 buffer[0] = 0x18 + offset;
29 size_t buffer_size, uint8_t offset) {
31 buffer[0] = 0x19 + offset;
46 size_t buffer_size, uint8_t offset) {
48 buffer[0] = 0x1A + offset;
65 size_t buffer_size, uint8_t offset) {
67 buffer[0] = 0x1B + offset;
88 size_t buffer_size, uint8_t offset) {
11 _cbor_encode_uint8(uint8_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument
28 _cbor_encode_uint16(uint16_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument
45 _cbor_encode_uint32(uint32_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument
64 _cbor_encode_uint64(uint64_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument
87 _cbor_encode_uint(uint64_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument
[all...]
/openbsd-current/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp26 lldb::offset_t *offset, uint64_t *value,
28 const lldb::offset_t saved_offset = *offset;
29 *value = data.GetMaxU64(offset, byte_size);
30 return *offset != saved_offset;
34 lldb::offset_t *offset, uint64_t *value,
36 lldb::offset_t saved_offset = *offset;
39 if (!GetMaxU64(data, offset, value, byte_size)) {
40 *offset = saved_offset;
48 lldb::offset_t *offset, int64_t *value,
50 const lldb::offset_t saved_offset = *offset;
25 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size) argument
33 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size, uint32_t count) argument
47 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size) argument
55 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size, uint32_t count) argument
99 lldb::offset_t offset = 0; local
114 Parse(lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
228 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
325 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
368 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
406 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
416 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
428 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
[all...]
/openbsd-current/gnu/llvm/lldb/source/Utility/
H A DDataEncoder.cpp46 // Extract a single unsigned char from the binary data and update the offset
50 uint32_t DataEncoder::PutU8(uint32_t offset, uint8_t value) { argument
51 if (ValidOffset(offset)) {
52 m_data_sp->GetBytes()[offset] = value;
53 return offset + 1;
58 uint32_t DataEncoder::PutU16(uint32_t offset, uint16_t value) { argument
59 if (ValidOffsetForDataOfSize(offset, sizeof(value))) {
61 write16be(m_data_sp->GetBytes() + offset, value);
63 write16le(m_data_sp->GetBytes() + offset, value);
65 return offset
70 PutU32(uint32_t offset, uint32_t value) argument
82 PutU64(uint32_t offset, uint64_t value) argument
94 PutUnsigned(uint32_t offset, uint32_t byte_size, uint64_t value) argument
111 PutData(uint32_t offset, const void *src, uint32_t src_len) argument
123 PutAddress(uint32_t offset, lldb::addr_t addr) argument
127 PutCString(uint32_t offset, const char *cstr) argument
138 uint32_t offset = m_data_sp->GetByteSize(); local
144 uint32_t offset = m_data_sp->GetByteSize(); local
150 uint32_t offset = m_data_sp->GetByteSize(); local
[all...]
/openbsd-current/sys/arch/amd64/stand/boot/
H A Dcheck-boot.pl20 # Ensure that the file offset for .text and .data aligns with the LMA. If they
48 $offset = $lma - $LINKBASE;
51 if ($fileoff != $offset) {
52 printf "$name has incorrect file offset " .
53 "0x%x (should be 0x%x)\n", $fileoff, $offset;
/openbsd-current/sys/arch/i386/stand/boot/
H A Dcheck-boot.pl20 # Ensure that the file offset for .text and .data aligns with the LMA. If they
48 $offset = $lma - $LINKBASE;
51 if ($fileoff != $offset) {
52 printf "$name has incorrect file offset " .
53 "0x%x (should be 0x%x)\n", $fileoff, $offset;
/openbsd-current/sys/dev/pci/drm/include/drm/display/
H A Ddrm_scdc_helper.h34 ssize_t drm_scdc_read(struct i2c_adapter *adapter, u8 offset, void *buffer,
36 ssize_t drm_scdc_write(struct i2c_adapter *adapter, u8 offset,
42 * @offset: offset of register to read
51 static inline int drm_scdc_readb(struct i2c_adapter *adapter, u8 offset, argument
54 return drm_scdc_read(adapter, offset, value, sizeof(*value));
60 * @offset: offset of register to read
69 static inline int drm_scdc_writeb(struct i2c_adapter *adapter, u8 offset, argument
72 return drm_scdc_write(adapter, offset,
[all...]

Completed in 527 milliseconds

1234567891011>>