Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 1752) sorted by relevance

12345678910>>...71

/minix3/external/bsd/llvm/dist/llvm/unittests/Support/
H A DDataExtractorTest.cpp28 uint32_t offset = 0; in TEST() local
30 EXPECT_EQ(0x80U, DE.getU8(&offset)); in TEST()
31 EXPECT_EQ(1U, offset); in TEST()
32 offset = 0; in TEST()
33 EXPECT_EQ(0x8090U, DE.getU16(&offset)); in TEST()
34 EXPECT_EQ(2U, offset); in TEST()
35 offset = 0; in TEST()
36 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset)); in TEST()
37 EXPECT_EQ(4U, offset); in TEST()
38 offset = 0; in TEST()
[all …]
/minix3/external/bsd/libpcap/dist/
H A Dpcap-common.c1169 bpf_u_int32 offset = 0; in swap_linux_usb_header() local
1181 offset += 8; /* skip past id */ in swap_linux_usb_header()
1182 if (hdr->caplen < offset) in swap_linux_usb_header()
1186 offset += 4; /* skip past various 1-byte fields */ in swap_linux_usb_header()
1188 offset += 2; /* skip past bus_id */ in swap_linux_usb_header()
1189 if (hdr->caplen < offset) in swap_linux_usb_header()
1193 offset += 2; /* skip past various 1-byte fields */ in swap_linux_usb_header()
1195 offset += 8; /* skip past ts_sec */ in swap_linux_usb_header()
1196 if (hdr->caplen < offset) in swap_linux_usb_header()
1200 offset += 4; /* skip past ts_usec */ in swap_linux_usb_header()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/
H A Dmacho-unwind-info-x86_64.test8 # CHECK: Common encodings array section offset: 0x1c
10 # CHECK: Personality function array section offset: 0x24
12 # CHECK: Index array section offset: 0x28
20 # CHECK: [0]: function offset=0x00000d70, 2nd level page offset=0x00000050, LSDA offset=0x000000…
21 # CHECK: [1]: function offset=0x00000eab, 2nd level page offset=0x00000000, LSDA offset=0x000000…
23 # CHECK: [0]: function offset=0x00000db0, LSDA offset=0x00000f0c
24 # CHECK: [1]: function offset=0x00000e20, LSDA offset=0x00000f34
26 # CHECK: Second level index[0]: offset in section=0x00000050, base function offset=0x00000d70
27 # CHECK: [0]: function offset=0x00000d70, encoding[0]=0x01000000
28 # CHECK: [1]: function offset=0x00000db0, encoding[1]=0x51000000
[all …]
H A Dmacho-unwind-info-arm64.test8 # CHECK: Common encodings array section offset: 0x1c
10 # CHECK: Personality function array section offset: 0x24
12 # CHECK: Index array section offset: 0x28
20 # CHECK: [0]: function offset=0x00007d64, 2nd level page offset=0x00000050, LSDA offset=0x00000…
21 # CHECK: [1]: function offset=0x00007eb5, 2nd level page offset=0x00000000, LSDA offset=0x00000…
23 # CHECK: [0]: function offset=0x00007d90, LSDA offset=0x00007f44
24 # CHECK: [1]: function offset=0x00007e10, LSDA offset=0x00007f6c
26 # CHECK: Second level index[0]: offset in section=0x00000050, base function offset=0x00007d64
27 # CHECK: [0]: function offset=0x00007d90, encoding=0x78563412
28 # CHECK: [1]: function offset=0x00007e10, encoding=0x21436587
/minix3/external/bsd/file/dist/src/
H A Dsoftmagic.c148 const unsigned char *s, size_t nbytes, size_t offset, int mode, int text, in match() argument
182 ms->offset = m->offset; in match()
186 switch (mget(ms, s, m, nbytes, offset, cont_level, mode, text, in match()
262 ms->offset = m->offset; in match()
264 ms->offset += in match()
275 switch (mget(ms, s, m, nbytes, offset, cont_level, mode, in match()
441 t = ms->offset + sizeof(char); in mprint()
463 t = ms->offset + sizeof(short); in mprint()
484 t = ms->offset + sizeof(int32_t); in mprint()
506 t = ms->offset + sizeof(int64_t); in mprint()
[all …]
/minix3/minix/lib/liblwip/dist/src/apps/snmp/
H A Dsnmp_pbuf_stream.c47 snmp_pbuf_stream_init(struct snmp_pbuf_stream* pbuf_stream, struct pbuf* p, u16_t offset, u16_t len… in snmp_pbuf_stream_init() argument
49 pbuf_stream->offset = offset; in snmp_pbuf_stream_init()
63 if (pbuf_copy_partial(pbuf_stream->pbuf, data, 1, pbuf_stream->offset) == 0) { in snmp_pbuf_stream_read()
67 pbuf_stream->offset++; in snmp_pbuf_stream_read()
86 if (pbuf_take_at(pbuf_stream->pbuf, buf, buf_len, pbuf_stream->offset) != ERR_OK) { in snmp_pbuf_stream_writebuf()
90 pbuf_stream->offset += buf_len; in snmp_pbuf_stream_writebuf()
115 struct pbuf* pbuf = pbuf_skip(pbuf_stream->pbuf, pbuf_stream->offset, &target_offset); in snmp_pbuf_stream_writeto()
127 pbuf_stream->offset += chunk_len; in snmp_pbuf_stream_writeto()
136 snmp_pbuf_stream_seek(struct snmp_pbuf_stream* pbuf_stream, s32_t offset) in snmp_pbuf_stream_seek() argument
138 if ((offset < 0) || (offset > pbuf_stream->length)) { in snmp_pbuf_stream_seek()
[all …]
/minix3/external/bsd/tcpdump/dist/
H A Dprint-stp.c243 u_int offset; in stp_print_mstp_bpdu() local
298 offset = MST_BPDU_MSTI_OFFSET; in stp_print_mstp_bpdu()
300 msti = EXTRACT_16BITS(ptr + offset + in stp_print_mstp_bpdu()
305 msti, bittok2str(stp_bpdu_flag_values, "none", ptr[offset]), in stp_print_mstp_bpdu()
307 RSTP_EXTRACT_PORT_ROLE(ptr[offset])))); in stp_print_mstp_bpdu()
309 stp_print_bridge_id(ptr + offset + in stp_print_mstp_bpdu()
311 EXTRACT_32BITS(ptr + offset + in stp_print_mstp_bpdu()
314 ptr[offset + MST_BPDU_MSTI_BRIDGE_PRIO_OFFSET] >> 4, in stp_print_mstp_bpdu()
315 ptr[offset + MST_BPDU_MSTI_PORT_PRIO_OFFSET] >> 4, in stp_print_mstp_bpdu()
316 ptr[offset + MST_BPDU_MSTI_REMAIN_HOPS_OFFSET])); in stp_print_mstp_bpdu()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/MC/Sparc/
H A Dsparc-ctrl-instructions.s5 ! CHECK: ! fixup A - offset: 0, value: foo, kind: fixup_sparc_call30
18 ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
31 ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
44 … ! CHECK-NEXT: ! fixup A - offset: 0, value: %lo(sym), kind: fixup_sparc_lo10
48 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
52 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
56 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
60 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
64 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
68 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22
[all …]
H A Dsparc64-ctrl-instructions.s5 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
9 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
13 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
17 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
21 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
25 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
29 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
33 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
37 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
41 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19
[all …]
/minix3/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dstore_emem.c81 emem_seek(krb5_storage *sp, off_t offset, int whence) in emem_seek() argument
86 if((size_t)offset > s->size) in emem_seek()
87 offset = s->size; in emem_seek()
88 if(offset < 0) in emem_seek()
89 offset = 0; in emem_seek()
90 s->ptr = s->base + offset; in emem_seek()
91 if((size_t)offset > s->len) in emem_seek()
92 s->len = offset; in emem_seek()
95 sp->seek(sp,s->ptr - s->base + offset, SEEK_SET); in emem_seek()
98 sp->seek(sp, s->len + offset, SEEK_SET); in emem_seek()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/MC/PowerPC/
H A Dppc64-encoding-ext.s170 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
171 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
175 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
176 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
186 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
187 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
191 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
192 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
203 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
204 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc…
[all …]
/minix3/external/bsd/tcpdump/dist/tests/
H A Dhsrp_1-v.out1 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
3 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
5 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
7 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
9 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
11 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
13 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
15 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44)
17 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
19 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
[all …]
H A Dhsrp_2-v.out1 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
3 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
5 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
7 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
9 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44)
11 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
13 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44)
15 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
17 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48)
19 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44)
[all …]
H A Dgeneve-vv.out1 IP (tos 0x0, ttl 64, id 57261, offset 0, flags [DF], proto UDP (17), length 142)
3 IP (tos 0x0, ttl 64, id 48546, offset 0, flags [DF], proto ICMP (1), length 84)
5 IP (tos 0x0, ttl 64, id 34821, offset 0, flags [DF], proto UDP (17), length 134)
7 IP (tos 0x0, ttl 64, id 4595, offset 0, flags [none], proto ICMP (1), length 84)
9 IP (tos 0x0, ttl 64, id 34822, offset 0, flags [DF], proto UDP (17), length 110)
11 IP (tos 0x0, ttl 64, id 23057, offset 0, flags [DF], proto TCP (6), length 60)
13 IP (tos 0x0, ttl 64, id 57274, offset 0, flags [DF], proto UDP (17), length 118)
15 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
17 IP (tos 0x0, ttl 64, id 34823, offset 0, flags [DF], proto UDP (17), length 102)
19 IP (tos 0x0, ttl 64, id 23058, offset 0, flags [DF], proto TCP (6), length 52)
[all …]
/minix3/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/
H A Dtest_location.py10 def assert_location(loc, line, column, offset): argument
13 assert loc.offset == offset
23 assert_location(one.location,line=1,column=5,offset=4)
24 assert_location(two.location,line=2,column=5,offset=13)
34 assert_location(one.location,line=2,column=5,offset=5)
35 assert_location(two.location,line=3,column=5,offset=14)
42 assert_location(one.location,line=1,column=6,offset=5)
43 assert_location(two.location,line=2,column=5,offset=14)
77 assert_location(one.extent.start,line=1,column=1,offset=0)
78 assert_location(one.extent.end,line=1,column=8,offset=7)
[all …]
/minix3/minix/lib/liblwip/dist/test/unit/mdns/
H A Dtest_mdns.c44 u16_t offset; in START_TEST() local
50 offset = mdns_readname(p, 0, &domain); in START_TEST()
52 fail_unless(offset == sizeof(data)); in START_TEST()
63 u16_t offset; in START_TEST() local
69 offset = mdns_readname(p, 0, &domain); in START_TEST()
71 fail_unless(offset == sizeof(data)); in START_TEST()
82 u16_t offset; in START_TEST() local
88 offset = mdns_readname(p, 0, &domain); in START_TEST()
90 fail_unless(offset == MDNS_READNAME_ERROR); in START_TEST()
107 u16_t offset; in START_TEST() local
[all …]
/minix3/minix/servers/vm/
H A Dmem_cache.c105 vir_bytes offset; in do_mapcache() local
141 for(offset = 0; offset < bytes; offset += VM_PAGE_SIZE) { in do_mapcache()
145 assert(offset < vr->length); in do_mapcache()
147 if(!(hb = find_cached_page_bydev(dev, dev_off + offset, in do_mapcache()
148 msg->m_vmmcp.ino, ino_off + offset, 1)) || in do_mapcache()
158 assert(offset < vr->length); in do_mapcache()
160 if(map_pf(caller, vr, offset, 1, NULL, NULL, 0, &io) != OK) { in do_mapcache()
185 vir_bytes offset = ph->offset; in cache_pagefault() local
189 pb_link(ph, region->param.pb_cache, offset, region); in cache_pagefault()
205 phys_bytes offset; in do_setcache() local
[all …]
/minix3/sys/ufs/lfs/
H A Dlfs_rfw.c313 update_inoblk(struct lfs *fs, daddr_t offset, kauth_cred_t cred, in update_inoblk() argument
332 error = bread(devvp, LFS_FSBTODB(fs, offset), lfs_sb_getibsize(fs), in update_inoblk()
405 check_segsum(struct lfs *fs, daddr_t offset, u_int64_t nextserial, in check_segsum() argument
425 if (lfs_sntod(fs, lfs_dtosn(fs, offset)) == offset) { in check_segsum()
426 LFS_SEGENTRY(sup, fs, lfs_dtosn(fs, offset), bp); in check_segsum()
428 offset += lfs_btofsb(fs, LFS_SBPAD); in check_segsum()
433 error = bread(devvp, LFS_FSBTODB(fs, offset), lfs_sb_getsumsize(fs), in check_segsum()
447 DLOG((DLOG_RF, "Sumsum error at 0x%" PRIx64 "\n", offset)); in check_segsum()
448 offset = -1; in check_segsum()
453 DLOG((DLOG_RF, "Empty pseg at 0x%" PRIx64 "\n", offset)); in check_segsum()
[all …]
/minix3/minix/drivers/audio/cs4281/
H A Dio.h20 #define sdr_in8(port, offset) (my_inb((port) + (offset))) argument
33 #define sdr_in16(port, offset) (my_inw((port) + (offset))) argument
46 #define sdr_in32(port, offset) (my_inl((port) + (offset))) argument
57 #define sdr_out8(port, offset, value) \ argument
58 (my_outb(((port) + (offset)), (value)))
69 #define sdr_out16(port, offset, value) \ argument
70 (my_outw(((port) + (offset)), (value)))
81 #define sdr_out32(port, offset, value) \ argument
82 (my_outl(((port) + (offset)), (value)))
/minix3/minix/include/minix/
H A Dvirtio.h118 u32_t virtio_read32(struct virtio_device *dev, i32_t offset);
119 u16_t virtio_read16(struct virtio_device *dev, i32_t offset);
120 u8_t virtio_read8(struct virtio_device *dev, i32_t offset);
121 void virtio_write32(struct virtio_device *dev, i32_t offset, u32_t val);
122 void virtio_write16(struct virtio_device *dev, i32_t offset, u16_t val);
123 void virtio_write8(struct virtio_device *dev, i32_t offset, u8_t val);
133 u32_t virtio_sread32(struct virtio_device *dev, i32_t offset);
134 u16_t virtio_sread16(struct virtio_device *dev, i32_t offset);
135 u8_t virtio_sread8(struct virtio_device *dev, i32_t offset);
136 void virtio_swrite32(struct virtio_device *dev, i32_t offset, u32_t val);
[all …]
/minix3/minix/drivers/audio/cmi8738/
H A Dio.h20 #define sdr_in8(port, offset) (my_inb((port) + (offset))) argument
33 #define sdr_in16(port, offset) (my_inw((port) + (offset))) argument
46 #define sdr_in32(port, offset) (my_inl((port) + (offset))) argument
57 #define sdr_out8(port, offset, value) \ argument
58 (my_outb(((port) + (offset)), (value)))
69 #define sdr_out16(port, offset, value) \ argument
70 (my_outw(((port) + (offset)), (value)))
81 #define sdr_out32(port, offset, value) \ argument
82 (my_outl(((port) + (offset)), (value)))
/minix3/minix/drivers/net/vt6105/
H A Dio.h20 #define ndr_in8(port, offset) (my_inb((port) + (offset))) argument
33 #define ndr_in16(port, offset) (my_inw((port) + (offset))) argument
46 #define ndr_in32(port, offset) (my_inl((port) + (offset))) argument
57 #define ndr_out8(port, offset, value) \ argument
58 (my_outb(((port) + (offset)), (value)))
69 #define ndr_out16(port, offset, value) \ argument
70 (my_outw(((port) + (offset)), (value)))
81 #define ndr_out32(port, offset, value) \ argument
82 (my_outl(((port) + (offset)), (value)))
/minix3/minix/drivers/net/ip1000/
H A Dio.h20 #define ndr_in8(port, offset) (my_inb((port) + (offset))) argument
33 #define ndr_in16(port, offset) (my_inw((port) + (offset))) argument
46 #define ndr_in32(port, offset) (my_inl((port) + (offset))) argument
57 #define ndr_out8(port, offset, value) \ argument
58 (my_outb(((port) + (offset)), (value)))
69 #define ndr_out16(port, offset, value) \ argument
70 (my_outw(((port) + (offset)), (value)))
81 #define ndr_out32(port, offset, value) \ argument
82 (my_outl(((port) + (offset)), (value)))
/minix3/minix/drivers/audio/trident/
H A Dio.h20 #define sdr_in8(port, offset) (my_inb((port) + (offset))) argument
33 #define sdr_in16(port, offset) (my_inw((port) + (offset))) argument
46 #define sdr_in32(port, offset) (my_inl((port) + (offset))) argument
57 #define sdr_out8(port, offset, value) \ argument
58 (my_outb(((port) + (offset)), (value)))
69 #define sdr_out16(port, offset, value) \ argument
70 (my_outw(((port) + (offset)), (value)))
81 #define sdr_out32(port, offset, value) \ argument
82 (my_outl(((port) + (offset)), (value)))
/minix3/minix/drivers/audio/als4000/
H A Dio.h20 #define sdr_in8(port, offset) (my_inb((port) + (offset))) argument
33 #define sdr_in16(port, offset) (my_inw((port) + (offset))) argument
46 #define sdr_in32(port, offset) (my_inl((port) + (offset))) argument
57 #define sdr_out8(port, offset, value) \ argument
58 (my_outb(((port) + (offset)), (value)))
69 #define sdr_out16(port, offset, value) \ argument
70 (my_outw(((port) + (offset)), (value)))
81 #define sdr_out32(port, offset, value) \ argument
82 (my_outl(((port) + (offset)), (value)))

12345678910>>...71