This is the bitfield-schema Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:24:55 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
bitfield-schema
SIMPLE-BIT-VECTOR low level routines and convenient eDSL over it.
swizard
BSD
0.1
iterate
(system).
package.lisp
(file).
routines.lisp
(file).
optimize.lisp
(file).
dsl.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
bitfield-schema/bitfield-schema.asd
bitfield-schema/package.lisp
bitfield-schema/routines.lisp
bitfield-schema/optimize.lisp
bitfield-schema/dsl.lisp
bitfield-schema/bitfield-schema.asd
bitfield-schema
(system).
bitfield-schema/routines.lisp
package.lisp
(file).
bitfield-schema
(system).
get-integer
(function).
get-integer/fixed
(macro).
put-integer
(function).
put-integer/grow
(function).
bitfield-schema/optimize.lisp
package.lisp
(file).
bitfield-schema
(system).
gen-add
(function).
gen-multiply
(function).
gen-noquote
(function).
gen-quasiquote
(function).
power-of-2-p
(function).
bitfield-schema/dsl.lisp
routines.lisp
(file).
optimize.lisp
(file).
bitfield-schema
(system).
defbitfield-schema
(macro).
print-object
(method).
print-object
(method).
*ctx-pool*
(special variable).
bit-field-var
(reader method).
check-context-args
(function).
check-context-decl-args
(function).
check-number-or-ref-valid-p
(function).
const-field-p
(method).
decl-count
(reader method).
(setf decl-count)
(writer method).
decls
(reader method).
(setf decls)
(writer method).
gen-base-param-types
(method).
gen-common-args
(method).
gen-common-base-args
(method).
gen-context
(class).
gen-context-decl
(class).
gen-field-shift
(method).
gen-get
(reader method).
(setf gen-get)
(writer method).
gen-get-value-form
(method).
gen-getter
(function).
gen-getter-args
(method).
gen-getter-body
(method).
gen-getter-def
(method).
gen-getter-id
(method).
gen-getter-name
(method).
gen-make
(reader method).
(setf gen-make)
(writer method).
gen-make-id
(method).
gen-make-proc
(method).
gen-offset-form
(method).
gen-offset-form-adjust
(method).
gen-param-type
(method).
gen-param-types
(method).
gen-resolve-value
(method).
gen-set
(reader method).
(setf gen-set)
(writer method).
gen-set-value-form
(method).
gen-setter
(function).
gen-setter-args
(method).
gen-setter-body
(method).
gen-setter-def
(method).
gen-setter-id
(method).
gen-setter-name
(method).
gen-size
(reader method).
(setf gen-size)
(writer method).
gen-size-id
(method).
gen-size-proc
(method).
gen-toplevel
(function).
index-var
(reader method).
make-context
(function).
name
(reader method).
(setf name)
(writer method).
offset
(reader method).
(setf offset)
(writer method).
offset-var
(reader method).
prefix
(reader method).
(setf prefix)
(writer method).
real-width
(function).
value-var
(reader method).
width
(reader method).
(setf width)
(writer method).
with-bitfield-schema
(macro).
Packages are listed by definition order.
bitfield-schema
common-lisp
.
iterate
.
defbitfield-schema
(macro).
get-integer
(function).
get-integer/fixed
(macro).
put-integer
(function).
put-integer/grow
(function).
*ctx-pool*
(special variable).
bit-field-var
(generic reader).
check-context-args
(function).
check-context-decl-args
(function).
check-number-or-ref-valid-p
(function).
const-field-p
(generic function).
decl-count
(generic reader).
(setf decl-count)
(generic writer).
decls
(generic reader).
(setf decls)
(generic writer).
gen-add
(function).
gen-base-param-types
(generic function).
gen-common-args
(generic function).
gen-common-base-args
(generic function).
gen-context
(class).
gen-context-decl
(class).
gen-field-shift
(generic function).
gen-get
(generic reader).
(setf gen-get)
(generic writer).
gen-get-value-form
(generic function).
gen-getter
(function).
gen-getter-args
(generic function).
gen-getter-body
(generic function).
gen-getter-def
(generic function).
gen-getter-id
(generic function).
gen-getter-name
(generic function).
gen-make
(generic reader).
(setf gen-make)
(generic writer).
gen-make-id
(generic function).
gen-make-proc
(generic function).
gen-multiply
(function).
gen-noquote
(function).
gen-offset-form
(generic function).
gen-offset-form-adjust
(generic function).
gen-param-type
(generic function).
gen-param-types
(generic function).
gen-quasiquote
(function).
gen-resolve-value
(generic function).
gen-set
(generic reader).
(setf gen-set)
(generic writer).
gen-set-value-form
(generic function).
gen-setter
(function).
gen-setter-args
(generic function).
gen-setter-body
(generic function).
gen-setter-def
(generic function).
gen-setter-id
(generic function).
gen-setter-name
(generic function).
gen-size
(generic reader).
(setf gen-size)
(generic writer).
gen-size-id
(generic function).
gen-size-proc
(generic function).
gen-toplevel
(function).
index-var
(generic reader).
make-context
(function).
name
(generic reader).
(setf name)
(generic writer).
offset
(generic reader).
(setf offset)
(generic writer).
offset-var
(generic reader).
power-of-2-p
(function).
prefix
(generic reader).
(setf prefix)
(generic writer).
real-width
(function).
value-var
(generic reader).
width
(generic reader).
(setf width)
(generic writer).
with-bitfield-schema
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Given the virtual markup of a simple-bit-vector bitfield generate effective
accessors for them.
Example:
(defbitfield-schema tree-node (:offset offt)
(disabled-p :width 1)
(values :width 16 :count 10)
(left-child :width 24)
(right-child :width 7))
:OFFSET parameter could be a number constant, a variable or could be omited at all.
Effectively get WIDTH bits of an integer from simple-bit-vector BIT-FIELD starting at OFFFSET (only when WIDTH is a number).
Get WIDTH bits of an integer from simple-bit-vector BIT-FIELD starting at OFFFSET.
Put WIDTH bits of given INTEGER into simple-bit-vector BIT-FIELD starting at OFFSET.
Put WIDTH bits of given INTEGER into BIT-FIELD simple-bit-vector at OFFSET. Twices the BIT-FIELD size of it’s current length less than (+ OFFSET WIDTH) by creating a new simple-bit-vector and copying the old data into it.
gen-context-decl
) stream) ¶gen-context
) stream) ¶gen-context
)) ¶automatically generated reader method
gen-context
) (field symbol
) &optional rec-path) ¶gen-context-decl
)) ¶automatically generated reader method
gen-context-decl
)) ¶automatically generated writer method
gen-context
)) ¶automatically generated reader method
gen-context
)) ¶automatically generated writer method
gen-context
)) ¶gen-context
) (decl gen-context-decl
) &key gen-index gen-value) ¶gen-context
) &key gen-value) ¶gen-context
) (decl gen-context-decl
) adjust-const adjust-form) ¶gen-context-decl
)) ¶automatically generated reader method
gen-context-decl
)) ¶automatically generated writer method
gen-context
) (field symbol
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
)) ¶automatically generated reader method
gen-context
)) ¶automatically generated writer method
gen-context
)) ¶gen-context
)) ¶gen-context
) (decl gen-context-decl
) &key skip-offset) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
) &key set-value) ¶gen-context
) (decl gen-context-decl
) reader) ¶gen-context-decl
)) ¶automatically generated reader method
gen-context-decl
)) ¶automatically generated writer method
gen-context
) (field symbol
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
) (decl gen-context-decl
)) ¶gen-context
)) ¶automatically generated reader method
gen-context
)) ¶automatically generated writer method
gen-context
)) ¶gen-context
)) ¶gen-context
)) ¶automatically generated reader method
gen-context-decl
)) ¶automatically generated reader method
gen-context-decl
)) ¶automatically generated writer method
gen-context
)) ¶automatically generated reader method
gen-context
)) ¶automatically generated writer method
gen-context
)) ¶automatically generated reader method
gen-context
)) ¶automatically generated reader method
gen-context
)) ¶automatically generated writer method
gen-context
)) ¶automatically generated reader method
gen-context-decl
)) ¶automatically generated reader method
gen-context-decl
)) ¶automatically generated writer method
bit-field-var
.
const-field-p
.
(setf decls)
.
decls
.
gen-base-param-types
.
gen-common-args
.
gen-common-base-args
.
gen-field-shift
.
gen-get-value-form
.
gen-getter-args
.
gen-getter-body
.
gen-getter-def
.
gen-getter-id
.
gen-getter-name
.
(setf gen-make)
.
gen-make
.
gen-make-id
.
gen-make-proc
.
gen-offset-form
.
gen-offset-form-adjust
.
gen-param-type
.
gen-param-types
.
gen-resolve-value
.
gen-set-value-form
.
gen-setter-args
.
gen-setter-body
.
gen-setter-def
.
gen-setter-id
.
gen-setter-name
.
(setf gen-size)
.
gen-size
.
gen-size-id
.
gen-size-proc
.
index-var
.
(setf offset)
.
offset
.
offset-var
.
(setf prefix)
.
prefix
.
print-object
.
value-var
.
(or null symbol)
:prefix
(or (member :skip :param) number)
:skip
:offset
(member :skip :macro :proc)
:macro
:gen-size
(member :skip :proc)
:proc
:gen-make
symbol
(gensym "bit-field")
This slot is read-only.
symbol
(gensym "index")
This slot is read-only.
symbol
(gensym "offset")
This slot is read-only.
symbol
(gensym "value")
This slot is read-only.
list
(quote nil)
:decls
(setf decl-count)
.
decl-count
.
gen-common-args
.
gen-field-shift
.
(setf gen-get)
.
gen-get
.
gen-getter-args
.
gen-getter-body
.
gen-getter-def
.
gen-getter-id
.
gen-getter-name
.
gen-offset-form
.
gen-offset-form-adjust
.
gen-param-type
.
gen-param-types
.
gen-resolve-value
.
(setf gen-set)
.
gen-set
.
gen-setter-args
.
gen-setter-body
.
gen-setter-def
.
gen-setter-id
.
gen-setter-name
.
(setf name)
.
name
.
print-object
.
(setf width)
.
width
.
(or number symbol list)
:width
common-lisp
.
(or null number symbol list)
:count
(member :skip :macro :proc)
:macro
:gen-get
(member :skip :proc)
:proc
:gen-set
Jump to: | (
B C D F G I M N O P R V W |
---|
Jump to: | (
B C D F G I M N O P R V W |
---|
Jump to: | *
B C D G I N O P S V W |
---|
Jump to: | *
B C D G I N O P S V W |
---|
Jump to: | B C D F G O P R S |
---|
Jump to: | B C D F G O P R S |
---|