Searched refs:OFFSET (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-current/sys/dev/pms/RefTisa/sat/src/
H A Dsmdefs.h584 #define OSSA_WRITE_LE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \
585 (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit16)(VALUE16);
587 #define OSSA_WRITE_LE_32(AGROOT, DMA_ADDR, OFFSET, VALUE32) \
588 (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit32)(VALUE32);
590 #define OSSA_READ_LE_16(AGROOT, ADDR16, DMA_ADDR, OFFSET) \
591 (*((bit16 *)ADDR16)) = (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
593 #define OSSA_READ_LE_32(AGROOT, ADDR32, DMA_ADDR, OFFSET) \
594 (*((bit32 *)ADDR32)) = (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
596 #define OSSA_WRITE_BE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \
597 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_open_memstream.c34 #define OFFSET 16384 macro
57 ATF_CHECK(fseek(fp, OFFSET, SEEK_SET) == 0);
60 ATF_CHECK(size == OFFSET + sizeof(hello)-1);
68 for (i = sizeof(start)-1; i < OFFSET; i++)
71 ATF_CHECK(memcmp(buf + OFFSET, hello, sizeof(hello)-1) == 0);
76 ATF_CHECK(size == OFFSET + sizeof(hello)-1);
/freebsd-current/release/powerpc/
H A Dmkisoimages.sh74 OFFSET=$(hd $BOOTBLOCK | grep 'Loader START' | cut -f 1 -d ' ')
75 OFFSET=0x$(echo 0x$OFFSET | awk '{printf("%x\n",$1/512);}')
76 dd if="$BASEBITSDIR/boot/loader" of=$BOOTBLOCK seek=$OFFSET conv=notrunc
/freebsd-current/contrib/ntp/scripts/deprecated/
H A Dntp-status32 OFFSET=`$EGREP '^offset' $FILE | $AWK '{print $2}'`
37 echo "$HOSTNAME: stratum:$STRATUM delay:$DELAY offset:$OFFSET $TIMESTAMP"
/freebsd-current/usr.bin/locate/locate/
H A Dlocate.h36 #define OFFSET 14 /* abs value of max likely diff */ macro
H A Dutil.c222 int i_max = LOCATE_PATH_MAX + OFFSET;
223 int i_min = -(LOCATE_PATH_MAX - OFFSET);
252 int i_max = LOCATE_PATH_MAX + OFFSET;
253 int i_min = -(LOCATE_PATH_MAX - OFFSET);
H A Dfastfind.c60 count += getwf(fp) - OFFSET;
64 count += c - OFFSET;
215 count += getwm(paddr) - OFFSET;
219 count += getwf(fp) - OFFSET;
222 count += c - OFFSET;
/freebsd-current/sys/dev/pms/RefTisa/tisa/sassata/common/
H A Dtddefs.h859 #define OSSA_WRITE_LE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \
860 (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit16)(VALUE16);
862 #define OSSA_WRITE_LE_32(AGROOT, DMA_ADDR, OFFSET, VALUE32) \
863 (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit32)(VALUE32);
865 #define OSSA_READ_LE_16(AGROOT, ADDR16, DMA_ADDR, OFFSET) \
866 (*((bit16 *)ADDR16)) = (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
868 #define OSSA_READ_LE_32(AGROOT, ADDR32, DMA_ADDR, OFFSET) \
869 (*((bit32 *)ADDR32)) = (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
871 #define OSSA_WRITE_BE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \
872 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
[all...]
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math_aarch64_neon_common.h130 #define OFFSET(ptr, val) (((unsigned char *)(ptr))+val) macro
163 : [SRC0] "Q" (*(OFFSET(src, 0))), \
164 [SRC1] "Q" (*(OFFSET(src, 16))), \
165 [SRC2] "Q" (*(OFFSET(src, 32))), \
166 [SRC3] "Q" (*(OFFSET(src, 48))), \
167 [SRC4] "Q" (*(OFFSET(src, 64))), \
168 [SRC5] "Q" (*(OFFSET(src, 80))), \
169 [SRC6] "Q" (*(OFFSET(src, 96))), \
170 [SRC7] "Q" (*(OFFSET(src, 112))) \
184 : [SRC0] "Q" (*(OFFSET(sr
[all...]
H A Dvdev_raidz_math_powerpc_altivec_common.h127 #define OFFSET(ptr, val) (((unsigned char *)(ptr))+val) macro
160 : [SRC0] "r" ((OFFSET(src, 0))), \
161 [SRC1] "r" ((OFFSET(src, 16))), \
162 [SRC2] "r" ((OFFSET(src, 32))), \
163 [SRC3] "r" ((OFFSET(src, 48))), \
164 [SRC4] "r" ((OFFSET(src, 64))), \
165 [SRC5] "r" ((OFFSET(src, 80))), \
166 [SRC6] "r" ((OFFSET(src, 96))), \
167 [SRC7] "r" ((OFFSET(src, 112))) \
181 : [SRC0] "r" ((OFFSET(sr
[all...]
/freebsd-current/lib/libc/db/hash/
H A Dpage.h77 #define OFFSET(P) ((P)[(P)[0]+2]) macro
H A Dhash_bigkey.c102 off = OFFSET(p) - move_bytes;
110 OFFSET(p) = off;
129 off = OFFSET(p) - move_bytes;
136 OFFSET(p) = off;
157 off = OFFSET(p) - move_bytes;
165 OFFSET(p) = off;
250 OFFSET(bp) = hashp->BSIZE;
596 off = OFFSET(tp);
601 OFFSET(tp) = off;
626 off = OFFSET(t
[all...]
H A Dhash_page.c101 off = OFFSET(bp) - key->size;
141 char *src = bufp->page + (int)OFFSET(bp);
143 memmove(dst, src, bp[ndx + 1] - OFFSET(bp));
165 bp[n] = OFFSET(bp) + pairlen;
244 OFFSET(ino) = copyto;
327 OFFSET(ino) = scopyto;
497 sp[ndx + 4] = OFFSET(sp);
885 off = OFFSET(sp);
898 OFFSET(sp) = off;
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DRegisterContextMinidump_ARM.cpp28 #define OFFSET(r) (offsetof(RegisterContextMinidump_ARM::Context, r)) macro
32 "r" #i, nullptr, 4, OFFSET(r) + i * 4, eEncodingUint, eFormatHex, \
39 "r" #i, "arg" #n, 4, OFFSET(r) + i * 4, eEncodingUint, eFormatHex, \
47 "d" #i, nullptr, 8, OFFSET(d) + i * 8, eEncodingVector, \
54 "s" #i, nullptr, 4, OFFSET(s) + i * 4, eEncodingIEEE754, eFormatFloat, \
61 "q" #i, nullptr, 16, OFFSET(q) + i * 16, eEncodingVector, \
175 OFFSET(r) + 7 * 4,
188 OFFSET(r) + 11 * 4,
215 OFFSET(r) + 13 * 4,
226 OFFSET(
[all...]
H A DRegisterContextMinidump_ARM64.cpp26 #define OFFSET(r) (offsetof(RegisterContextMinidump_ARM64::Context, r)) macro
30 "x" #i, nullptr, 8, OFFSET(x) + i * 8, eEncodingUint, eFormatHex, \
37 "w" #i, nullptr, 4, OFFSET(x) + i * 8, eEncodingUint, eFormatHex, \
43 "x" #i, "arg" #n, 8, OFFSET(x) + i * 8, eEncodingUint, eFormatHex, \
50 "v" #i, nullptr, 16, OFFSET(v) + i * 16, eEncodingVector, \
57 "d" #i, nullptr, 8, OFFSET(v) + i * 16, eEncodingVector, \
64 "s" #i, nullptr, 4, OFFSET(v) + i * 16, eEncodingVector, \
71 "h" #i, nullptr, 2, OFFSET(v) + i * 16, eEncodingVector, \
313 OFFSET(x) + 29 * 8,
324 OFFSET(
[all...]
/freebsd-current/sys/dev/pms/RefTisa/sallsdk/api/
H A Dsa.h43 #define OSSA_WRITE_LE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \
44 (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit16)(VALUE16);
46 #define OSSA_WRITE_LE_32(AGROOT, DMA_ADDR, OFFSET, VALUE32) \
47 (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit32)(VALUE32);
49 #define OSSA_READ_LE_16(AGROOT, ADDR16, DMA_ADDR, OFFSET) \
50 (*((bit16 *)ADDR16)) = (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
52 #define OSSA_READ_LE_32(AGROOT, ADDR32, DMA_ADDR, OFFSET) \
53 (*((bit32 *)ADDR32)) = (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
55 #define OSSA_WRITE_BE_16(AGROOT, DMA_ADDR, OFFSET, VALUE16) \
56 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET))))
[all...]
/freebsd-current/usr.bin/locate/code/
H A Dlocate.code.c164 diffcount = count - oldcount + OFFSET;
166 if (diffcount < 0 || diffcount > 2 * OFFSET) {
/freebsd-current/sys/cddl/dev/dtrace/powerpc/
H A Ddtrace_isa.c54 #define OFFSET 4 /* Account for the TOC reload slot */ macro
57 #define OFFSET 0 macro
87 if (callpc + OFFSET == (vm_offset_t) &trapexit ||
88 callpc + OFFSET == (vm_offset_t) &asttrapexit) {
116 if ((callpc + OFFSET == (vm_offset_t) &trapexit ||
117 callpc + OFFSET == (vm_offset_t) &asttrapexit)) {
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_irig.c157 #define OFFSET 128 /* companded sample offset */ macro
363 up->comp[0] = up->comp[OFFSET] = 0.;
364 up->comp[1] = 1; up->comp[OFFSET + 1] = -1.;
365 up->comp[2] = 3; up->comp[OFFSET + 2] = -3.;
367 for (i = 3; i < OFFSET; i++) {
369 up->comp[OFFSET + i] = -up->comp[i];
H A Drefclock_chu.c227 #define OFFSET 128 /* companded sample offset */ macro
545 up->comp[0] = up->comp[OFFSET] = 0.;
546 up->comp[1] = 1; up->comp[OFFSET + 1] = -1.;
547 up->comp[2] = 3; up->comp[OFFSET + 2] = -3.;
549 for (i = 3; i < OFFSET; i++) {
551 up->comp[OFFSET + i] = -up->comp[i];
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_powerpc.c48 #define OFFSET 4 /* Account for the TOC reload slot */ macro
50 #define OFFSET 0 macro
94 if (pc + OFFSET == (uintptr_t) &trapexit ||
95 pc + OFFSET == (uintptr_t) &asttrapexit)
/freebsd-current/crypto/openssl/ms/
H A Duplink.c107 _asm push OFFSET OPENSSL_UplinkTable \
/freebsd-current/crypto/openssl/crypto/perlasm/
H A Dx86masm.pl26 if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\s+(\(.*\))$/OFFSET $1/) # no []
/freebsd-current/usr.sbin/inetd/
H A Dbuiltins.c698 #define OFFSET ((uint32_t)25567 * 24*60*60) macro
699 return (htonl((uint32_t)(time(NULL) + OFFSET)));
700 #undef OFFSET macro
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dconfig.c2326 #ifdef OFFSET
2327 #undef OFFSET macro
2328 #endif /* OFFSET */
2329 /* OFFSET: Get offset of a variable within the wpa_ssid structure */
2330 #define OFFSET(v) ((void *) &((struct wpa_ssid *) 0)->v) macro
2334 #define _STR(f) #f, wpa_config_parse_str, OFFSET(f)
2335 #define _STRe(f, m) #f, wpa_config_parse_str, OFFSET(eap.m)
2337 #define _STR(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(f)
2339 OFFSET(eap.m)
2349 #define _STR_LEN(f) _STR(f), OFFSET(
2644 #undef OFFSET macro
5067 #undef OFFSET macro
5070 #define OFFSET macro
[all...]

Completed in 418 milliseconds

12