max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_16586_948.asm | ljhsiun2/medusa | 9 | 82627 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x187aa, %rsi
lea addresses_normal_ht+0xb92d, %rdi
nop
nop
nop
sub $54086, %r12
mov $69, %rcx
rep movsq
nop
nop
nop
xor $3751, %r10
lea addresses_A_ht+0x116aa, %r12
nop
cmp $23469, %r14
mov $0x6162636465666768, %r10
movq %r10, (%r12)
nop
add %rdi, %rdi
lea addresses_normal_ht+0x2f02, %rsi
lea addresses_WT_ht+0xe7aa, %rdi
cmp %rdx, %rdx
mov $2, %rcx
rep movsq
cmp %r14, %r14
lea addresses_A_ht+0xe80a, %rdi
nop
nop
nop
nop
xor %rcx, %rcx
mov $0x6162636465666768, %rdx
movq %rdx, (%rdi)
inc %rcx
lea addresses_D_ht+0x353a, %rsi
nop
nop
add %r10, %r10
mov (%rsi), %r12
nop
nop
nop
nop
nop
inc %rcx
lea addresses_A_ht+0x6eaa, %rsi
lea addresses_WT_ht+0xf72a, %rdi
nop
sub $46231, %r13
mov $0, %rcx
rep movsw
nop
nop
nop
nop
inc %rcx
lea addresses_D_ht+0x10eaa, %rcx
add $37515, %r12
vmovups (%rcx), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %r13
nop
sub $45517, %r14
lea addresses_D_ht+0xb442, %rdx
nop
nop
nop
nop
nop
lfence
mov (%rdx), %r12w
nop
inc %rdi
lea addresses_normal_ht+0xaaaa, %rsi
nop
nop
sub $30533, %r13
movw $0x6162, (%rsi)
nop
nop
nop
nop
nop
cmp $24358, %rdx
lea addresses_WT_ht+0x1b0a2, %r14
nop
nop
nop
nop
nop
cmp %r10, %r10
vmovups (%r14), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %r13
nop
nop
nop
add $24008, %rdi
lea addresses_D_ht+0x328a, %r10
nop
nop
nop
nop
xor %rsi, %rsi
movb $0x61, (%r10)
nop
nop
nop
nop
nop
dec %rsi
lea addresses_D_ht+0x7a67, %rdi
nop
nop
nop
nop
xor $20900, %rsi
movups (%rdi), %xmm4
vpextrq $0, %xmm4, %rcx
nop
dec %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r14
pop %r13
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push %r8
push %r9
push %rax
push %rcx
// Store
lea addresses_RW+0xb877, %r11
clflush (%r11)
nop
nop
nop
nop
and $48805, %r9
mov $0x5152535455565758, %r8
movq %r8, %xmm4
vmovups %ymm4, (%r11)
nop
nop
add $10636, %r9
// Load
lea addresses_US+0x132aa, %r10
nop
nop
nop
xor $54303, %rcx
vmovntdqa (%r10), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %rax
nop
nop
nop
dec %r10
// Load
mov $0x603aca000000021a, %rax
nop
cmp $61810, %r8
movb (%rax), %cl
nop
nop
nop
and %rcx, %rcx
// Store
lea addresses_US+0x1b33, %r8
clflush (%r8)
nop
nop
xor $17887, %r14
mov $0x5152535455565758, %rcx
movq %rcx, %xmm7
movntdq %xmm7, (%r8)
nop
nop
nop
nop
nop
inc %rcx
// Store
lea addresses_WT+0x17ff5, %r8
nop
nop
nop
nop
and %rax, %rax
mov $0x5152535455565758, %r9
movq %r9, %xmm3
movups %xmm3, (%r8)
nop
sub $53742, %r8
// Faulty Load
lea addresses_US+0x86aa, %rcx
nop
nop
nop
nop
and $7095, %r8
movb (%rcx), %r9b
lea oracles, %r8
and $0xff, %r9
shlq $12, %r9
mov (%r8,%r9,1), %r9
pop %rcx
pop %rax
pop %r9
pop %r8
pop %r14
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 0, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 10, 'size': 32, 'same': False, 'NT': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 3, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': False, 'NT': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 10, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 4, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 3, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 9, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': True, 'congruent': 2, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': True, 'congruent': 10, 'size': 2, 'same': True, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 3, 'size': 32, 'same': True, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 5, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': False, 'NT': False}}
{'00': 16586}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_8308_2288.asm | ljhsiun2/medusa | 9 | 169254 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_8308_2288.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1c982, %rsi
lea addresses_UC_ht+0x10d45, %rdi
nop
nop
nop
nop
sub %r15, %r15
mov $79, %rcx
rep movsb
nop
nop
nop
dec %rax
lea addresses_WC_ht+0x1e122, %rdx
nop
nop
nop
nop
inc %rbp
mov (%rdx), %eax
nop
sub %rdi, %rdi
lea addresses_A_ht+0x173f2, %rsi
lea addresses_A_ht+0xc4d6, %rdi
nop
nop
nop
nop
nop
lfence
mov $76, %rcx
rep movsl
nop
nop
sub %rdi, %rdi
lea addresses_UC_ht+0xaf82, %rcx
nop
cmp %rbp, %rbp
mov (%rcx), %esi
nop
nop
nop
nop
nop
sub %rbp, %rbp
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r15
push %r8
push %r9
push %rbx
// Load
lea addresses_US+0x2d3d, %r12
nop
nop
and %r15, %r15
mov (%r12), %r10
nop
nop
nop
nop
cmp $57019, %r8
// Load
lea addresses_RW+0x8a92, %r8
nop
nop
nop
nop
dec %r14
movups (%r8), %xmm0
vpextrq $0, %xmm0, %r12
nop
nop
nop
nop
add $26793, %r8
// Store
lea addresses_UC+0x8402, %r15
cmp $3006, %r12
movb $0x51, (%r15)
nop
nop
cmp $58405, %r9
// Store
lea addresses_normal+0x1ce50, %r15
add %rbx, %rbx
movw $0x5152, (%r15)
nop
nop
nop
sub %rbx, %rbx
// Store
lea addresses_PSE+0x4048, %r14
nop
nop
nop
and $45301, %r8
mov $0x5152535455565758, %rbx
movq %rbx, %xmm0
vmovups %ymm0, (%r14)
add $62380, %r9
// Store
lea addresses_WT+0x15d02, %r9
nop
nop
nop
inc %r8
mov $0x5152535455565758, %r15
movq %r15, %xmm3
movups %xmm3, (%r9)
nop
nop
nop
cmp %r12, %r12
// Load
lea addresses_normal+0x6a2a, %r9
nop
add %r10, %r10
mov (%r9), %bx
nop
nop
nop
nop
nop
add $31916, %r12
// Store
mov $0x7d8da2000000058a, %r10
clflush (%r10)
nop
nop
nop
inc %rbx
mov $0x5152535455565758, %r9
movq %r9, %xmm2
movaps %xmm2, (%r10)
nop
nop
nop
xor %r14, %r14
// Store
lea addresses_normal+0x14882, %r8
nop
nop
nop
and %rbx, %rbx
movw $0x5152, (%r8)
nop
nop
nop
and %r12, %r12
// Faulty Load
lea addresses_US+0x15982, %r12
nop
nop
and %r8, %r8
vmovntdqa (%r12), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0, %r9
lea oracles, %r12
and $0xff, %r9
shlq $12, %r9
mov (%r12,%r9,1), %r9
pop %rbx
pop %r9
pop %r8
pop %r15
pop %r14
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_US', 'same': False, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_RW', 'same': False, 'size': 16, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_UC', 'same': False, 'size': 1, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_normal', 'same': False, 'size': 2, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_PSE', 'same': False, 'size': 32, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WT', 'same': False, 'size': 16, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal', 'same': False, 'size': 2, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_NC', 'same': False, 'size': 16, 'congruent': 3, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_normal', 'same': False, 'size': 2, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_US', 'same': True, 'size': 32, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 4, 'congruent': 7, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
{'05': 179, '45': 4441, '00': 3673, '7d': 1, '08': 14}
45 45 45 00 45 00 45 00 00 45 45 00 45 00 00 00 00 45 45 45 45 00 45 45 00 45 00 00 45 45 00 45 45 00 45 00 45 00 45 45 00 45 45 45 45 00 45 45 45 45 45 00 45 08 00 00 00 00 00 05 05 45 45 00 05 45 45 00 45 45 00 00 45 45 45 45 00 00 45 00 45 00 45 00 45 45 00 00 00 00 45 00 45 45 05 45 45 45 00 45 45 45 45 00 00 45 00 00 45 45 00 45 00 00 00 00 00 00 45 45 00 45 45 45 45 00 00 45 45 45 45 45 00 45 00 00 00 00 00 00 00 00 45 00 00 00 00 45 00 45 00 00 00 00 45 00 00 45 45 00 45 45 45 00 45 45 05 45 45 45 00 45 00 00 45 45 45 00 45 00 45 45 00 00 45 45 45 45 45 45 45 00 45 45 00 45 00 45 00 45 45 45 45 00 45 45 45 00 45 00 45 45 45 45 00 00 45 00 45 45 00 45 45 45 45 45 00 45 00 45 00 00 45 00 00 45 00 00 00 45 45 00 45 45 45 00 45 45 00 45 45 00 00 45 00 00 00 45 45 45 45 00 00 45 45 00 45 00 00 45 00 45 45 05 00 45 45 45 45 45 00 45 00 00 00 45 45 45 45 00 00 45 45 00 00 00 45 00 45 45 45 45 00 45 00 45 00 45 45 45 00 45 00 45 00 00 00 00 45 00 00 45 45 45 45 45 45 45 45 00 00 45 45 00 45 00 45 45 00 45 45 00 00 45 00 00 00 45 45 00 45 00 45 45 45 45 45 00 00 00 00 00 45 45 45 00 45 45 45 00 45 00 45 45 00 45 45 45 45 00 00 00 45 45 45 45 00 45 00 00 00 45 45 00 45 00 00 45 45 45 45 00 00 00 00 45 00 45 00 00 00 45 45 00 00 45 45 45 05 45 00 45 45 45 45 00 45 45 05 00 45 00 00 45 45 45 45 00 45 45 45 45 00 00 45 00 45 00 00 45 00 00 45 45 00 00 45 45 00 45 00 00 45 45 45 00 45 45 45 00 00 45 45 45 45 00 00 45 00 00 45 00 45 45 45 00 00 45 45 00 00 00 00 00 45 45 45 45 45 00 45 00 45 00 45 00 00 00 00 00 00 00 00 45 00 00 00 45 00 45 00 45 00 45 45 00 45 00 00 45 45 45 45 45 45 45 00 45 00 45 45 00 00 45 45 45 05 45 00 00 45 00 00 45 45 00 00 45 45 45 45 00 00 45 00 00 00 00 00 45 45 45 00 45 00 00 45 00 00 00 45 00 00 45 00 00 45 00 45 00 00 00 45 00 45 45 00 00 45 00 45 45 45 45 45 45 00 45 00 00 00 45 00 05 45 45 45 00 00 00 00 45 00 00 00 45 00 00 00 00 00 00 45 45 00 45 45 05 45 45 45 05 00 00 45 00 00 45 00 00 45 00 45 45 00 00 45 00 00 45 00 00 45 45 00 00 00 00 45 00 45 00 45 45 00 45 00 00 45 00 45 00 00 45 45 45 45 00 45 45 45 00 45 00 45 00 45 45 45 45 45 00 45 45 00 45 05 00 45 00 45 45 45 45 05 05 45 45 45 45 45 00 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 05 45 45 45 00 45 45 45 45 45 45 45 00 45 00 00 45 00 00 45 00 00 45 45 45 45 45 45 00 45 45 00 45 45 45 45 45 00 45 45 45 00 45 45 45 00 45 00 00 45 00 45 00 00 45 45 00 45 45 45 45 45 00 45 00 45 05 00 45 05 05 45 45 45 00 45 45 00 00 00 45 45 45 00 45 00 45 00 00 45 45 45 45 00 45 00 45 00 45 00 45 00 00 00 05 45 45 45 45 45 00 45 00 45 00 45 45 45 00 45 00 00 45 05 45 45 45 45 45 45 00 00 45 45 00 45 45 45 00 00 00 45 45 00 00 45 00 45 00 45 45 00 45 45 00 00 00 45 45 00 45 00 45 00 45 00 00 00 00 45 00 45 00 45 45 00 00 05 45 45 45 00 45 45 00 00 05 45 00 45 45 45 45 45 45 00 45 00 00 00 00 45 00 00 45 45 45 00 45 45 00 45 05 45 45 45 45 00 45 00 00 45 45 00 00 00 45 00 00 45 00 45 00 45 45 45 00 45 45 00 45 00 45 00 00 45 00 45 00 45 00 45 45 00 45 00 00 00 45 45 45 00
*/
|
programs/oeis/168/A168235.asm | neoneye/loda | 22 | 28060 | ; A168235: 1+5*n+7*n^2.
; 13,39,79,133,201,283,379,489,613,751,903,1069,1249,1443,1651,1873,2109,2359,2623,2901,3193,3499,3819,4153,4501,4863,5239,5629,6033,6451,6883,7329,7789,8263,8751,9253,9769,10299,10843,11401,11973,12559,13159,13773,14401,15043,15699,16369,17053,17751,18463,19189,19929,20683,21451,22233,23029,23839,24663,25501,26353,27219,28099,28993,29901,30823,31759,32709,33673,34651,35643,36649,37669,38703,39751,40813,41889,42979,44083,45201,46333,47479,48639,49813,51001,52203,53419,54649,55893,57151,58423,59709,61009,62323,63651,64993,66349,67719,69103,70501
mov $1,7
mul $1,$0
add $1,19
mul $1,$0
div $1,2
mul $1,2
add $1,13
mov $0,$1
|
i2c/i2c_lib.asm | arhefner/elf-io | 0 | 92400 | INCL "../inc/1802.inc"
INCL "../inc/i2c_io.inc"
ORG $4000
;------------------------------------------------------------------------
;This library contains routines to implement the i2c protocol using two
;bits of a parallel port. The two bits should be connected to open-
;collector or open-drain drivers such that when the output bit is HIGH,
;the corresponding i2c line (SDA or SCL) is pulled LOW.
;
;The current value of the output port is maintained in register RE.1.
;This allows the routines to manipulate the i2c outputs without
;disturbing the values of other bits on the output port.
;
;The routines are meant to be called using SCRT, with X=R2 being the
;stack pointer.
;------------------------------------------------------------------------
;This routine writes a message to the i2c bus.
;
;Parameters:
; 1: i2c_address 7-bit i2c address (1 byte)
; 2: num_bytes number of bytes to write (1 byte)
; 3: address address of message to be written (2 bytes)
;
;Example:
; This call writes a 17 byte message to the i2c device at address 0x70:
;
; CALL I2C_WRBUF
; DB $70,17
; DW BUFFER
;
; BUFFER: DB $00
; DB $06,$00,$5B,$00,$00,$00,$4F,$00
; DB $66,$00,$00,$00,$00,$00,$00,$00
;
;Register usage:
; RE.1 maintains the current state of the output port
;
SHARED I2C_WRBUF
I2C_WRBUF: GHI RA
STXD
GLO RA
STXD
GHI RD
STXD
GLO RD
STXD
GLO RE
STXD
GHI RF
STXD
GLO RF
STXD
; Set up SEP function calls
RLDI RA, I2C_WRITE_BYTE
; Read parameters
LDA R6 ; Get i2c address
SHL ; Add write flag
PHI RF
LDA R6 ; Get count of bytes to write
PLO RF ; and save it.
LDA R6 ; Get high address of buffer
PHI RD
LDA R6 ; Get low address of buffer
PLO RD
INCL "../inc/i2c_start.asm"
SEP RA ; Write address + write flag
.LOOP LDA RD ; Get next byte
PHI RF
SEP RA ; Write data byte
DEC RF
GLO RF
BNZ .LOOP
INCL "../inc/../inc/i2c_stop.asm"
IRX ; Restore registers
LDXA
PLO RF
LDXA
PHI RF
LDXA
PLO RE
LDXA
PLO RD
LDXA
PHI RD
LDXA
PLO RA
LDX
PHI RA
RETN
;------------------------------------------------------------------------
;This routine reads a message from the i2c bus.
;
;Parameters:
; 1: i2c_address 7-bit i2c address (1 byte)
; 2: num_bytes number of bytes to read (1 byte)
; 3: address address of message buffer (2 bytes)
;
;Example:
; This call reads a 2 byte message from the i2c device at address 0x48.
; On completion, the message is at TEMP_DATA:
;
; READ_TEMP: CALL I2C_RDBUF
; DB $48,2
; DW TEMP_DATA
;
; TEMP_DATA: DS 2
;
;Register usage:
; RE.1 maintains the current state of the output port
;
SHARED I2C_RDBUF
I2C_RDBUF: GHI RA
STXD
GLO RA
STXD
GHI RB
STXD
GLO RB
STXD
GHI RD
STXD
GLO RD
STXD
GLO RE
STXD
GHI RF
STXD
GLO RF
STXD
; Set up SEP function calls
RLDI RA, I2C_WRITE_BYTE
RLDI RB, I2C_READ_BYTE
; Read parameters
LDA R6 ; Get i2c address
SHL
ORI $01 ; Add read flag
PHI RF
LDA R6 ; Save count of bytes
SMI $01 ; minus one.
PLO RF
LDA R6 ; Get high address of buffer
PHI RD
LDA R6 ; Get low address of buffer
PLO RD
INCL "../inc/i2c_start.asm"
SEP RA ; Write address + read flag
GLO RF
BZ .LAST
.LOOP: SEP RB ; Read next byte
GHI RF
STR RD
INC RD
; ACK
GHI RE
ORI SDA_LOW ; SDA LOW
STR R2
OUT PORT
DEC R2
ANI SCL_HIGH ; SCL HIGH
STR R2
OUT PORT
DEC R2
ORI SCL_LOW ; SCL LOW
STR R2
OUT PORT
DEC R2
PHI RE
DEC RF
GLO RF
BNZ .LOOP
.LAST: SEP RB ; Read final byte
GHI RF
STR RD
; NAK
GHI RE
ANI SCL_HIGH ; SCL HIGH
STR R2
OUT PORT
DEC R2
ORI SCL_LOW ; SCL LOW
STR R2
OUT PORT
DEC R2
PHI RE
INCL "../inc/../inc/i2c_stop.asm"
IRX ; Restore registers
LDXA
PLO RF
LDXA
PHI RF
LDXA
PLO RE
LDXA
PLO RD
LDXA
PHI RD
LDXA
PLO RB
LDXA
PHI RB
LDXA
PLO RA
LDX
PHI RA
RETN
ALIGN 256
;------------------------------------------------------------------------
;This routine reads a message from the i2c bus.
;
;Parameters:
; 1: i2c_address 7-bit i2c address (1 byte)
; 2: num_bytes number of bytes to read (1 byte)
; 3: address address of message buffer (2 bytes)
;
;Example:
; This call reads a 2 byte message from the i2c device at address 0x48.
; On completion, the message is at TEMP_DATA:
;
; READ_TEMP: CALL I2C_RDBUF
; DB $48,2
; DW TEMP_DATA
;
; TEMP_DATA: DS 2
;
;Register usage:
; RE.1 maintains the current state of the output port
;
SHARED I2C_RDREG
I2C_RDREG: GHI RA
STXD
GLO RA
STXD
GHI RB
STXD
GLO RB
STXD
GLO RC
STXD
GHI RD
STXD
GLO RD
STXD
GLO RE
STXD
GHI RF
STXD
GLO RF
STXD
; Set up SEP function calls
RLDI RA, I2C_WRITE_BYTE
RLDI RB, I2C_READ_BYTE
; Read parameters
LDA R6 ; Get i2c address
SHL ; Add write flag
PLO RC ; Save shifted address
PHI RF
LDA R6 ; Get count of bytes to write
PLO RF ; and save it.
INCL "../inc/i2c_start.asm"
SEP RA ; Write address + write flag
.WLOOP LDA R6 ; Get next byte
PHI RF
SEP RA ; Write next byte
DEC RF
GLO RF
BNZ .WLOOP
LDA R6 ; Save count of bytes
SMI $01 ; minus one.
PLO RF
LDA R6 ; Get high address of buffer
PHI RD
LDA R6 ; Get low address of buffer
PLO RD
; Repeated START
INCL "../inc/i2c_start.asm"
; Rewrite the i2c address with read bit set
GLO RC
ORI $01
PHI RF
SEP RA
GLO RF
BZ .LAST
.RLOOP: SEP RB ; Read next byte
GHI RF
STR RD
INC RD
; ACK
GHI RE
ORI SDA_LOW ; SDA LOW
STR R2
OUT PORT
DEC R2
ANI SCL_HIGH ; SCL HIGH
STR R2
OUT PORT
DEC R2
ORI SCL_LOW ; SCL LOW
STR R2
OUT PORT
DEC R2
PHI RE
DEC RF
GLO RF
BNZ .RLOOP
.LAST: SEP RB ; Read final byte
GHI RF
STR RD
; NAK
GHI RE
ANI SDA_HIGH ; SDA HIGH
STR R2
OUT PORT
DEC R2
ANI SCL_HIGH ; SCL HIGH
STR R2
OUT PORT
DEC R2
ORI SCL_LOW ; SCL LOW
STR R2
OUT PORT
DEC R2
PHI RE
INCL "../inc/../inc/i2c_stop.asm"
IRX ; Restore registers
LDXA
PLO RF
LDXA
PHI RF
LDXA
PLO RE
LDXA
PLO RD
LDXA
PHI RD
LDXA
PLO RC
LDXA
PLO RB
LDXA
PHI RB
LDXA
PLO RA
LDX
PHI RA
RETN
;------------------------------------------------------------------------
;This routine writes one byte of data (MSB first) on the i2c bus.
;
;Register usage:
; R2 points to an available memory location (typically top of stack)
; RE.1 maintains the current state of the output port
; RE.0 bit counter
; RF.1 on entry, contains the value to be written to the bus
;
SHARED I2C_WRITE_BYTE
SEP R3
I2C_WRITE_BYTE:
LDI 8
PLO RE
.NEXT_BIT: GHI RF
SHLC
PHI RF
GHI RE
BDF .ONE_BIT
ORI SDA_LOW ; SDA LOW
LSKP
.ONE_BIT: ANI SDA_HIGH ; SDA HIGH
STR R2
OUT PORT
DEC R2
ANI SCL_HIGH ; SCL HIGH
STR R2
OUT PORT
DEC R2
ORI SCL_LOW ; SCL LOW
STR R2
OUT PORT
DEC R2
PHI RE ; Update port data
DEC RE
GLO RE
BNZ .NEXT_BIT
; ACK/NAK
GHI RE
ANI SDA_HIGH ; SDA HIGH
STR R2
OUT PORT
DEC R2
ANI SCL_HIGH ; SCL HIGH
STR R2
OUT PORT
B1 .ACK
.NAK: DEC R2
PHI RE
LDI $EE
STR R2
OUT 4
DEC R2
SKP
.ACK: DEC R2
GHI RE
ORI SCL_LOW ; SCL LOW
STR R2
OUT PORT
DEC R2
PHI RE
BR I2C_WRITE_BYTE - 1
ALIGN 256
;------------------------------------------------------------------------
;This routine reads one byte of data (MSB first) from the i2c bus.
;
;Register usage:
; R2 points to an available memory location (typically top of stack)
; RE.1 maintains the current state of the output port
; RE.0 bit counter
; RB.0 on output, contains the value read from to the bus
;
SHARED I2C_READ_BYTE
SEP R3
I2C_READ_BYTE:
LDI 8
PLO RE
GHI RE
ANI SDA_HIGH ; SDA HIGH
STR R2
OUT PORT
DEC R2
PHI RE
.NEXT_BIT: GHI RE
ANI SCL_HIGH ; SCL HIGH
STR R2
OUT PORT
DEC R2
PHI RE ; Update port data
GHI RF
SHL
B1 .ZERO_BIT
ORI $01
.ZERO_BIT: PHI RF
GHI RE
ORI SCL_LOW ; SCL LOW
STR R2
OUT PORT
DEC R2
PHI RE ; Update port data
DEC RE
GLO RE
BNZ .NEXT_BIT
PHI RE
BR I2C_READ_BYTE - 1
;------------------------------------------------------------------------
;This routine attempts to clear a condition where a slave is out of
;sync and is holding the SDA line low.
;
;Register usage:
; RE.1 maintains the current state of the output port
;
SHARED I2C_CLEAR
I2C_CLEAR: GHI RE
ANI SDA_HIGH ; SDA HIGH
STR R2
OUT PORT
DEC R2
BN1 .DONE ; If SDA is high, we're done
.TOGGLE: ORI SCL_LOW ; SCL LOW
STR R2
OUT PORT
DEC R2
ANI SCL_HIGH ; SCL HIGH
STR R2
OUT PORT
DEC R2
B1 .TOGGLE ; Keep toggling SCL until SDA is high
.DONE: PHI RE
RETN
END |
models/tests/test08.als | transclosure/Amalgam | 4 | 446 | <filename>models/tests/test08.als
module tests/test
sig Foo {
Foo: one Foo
}
run { some univ } expect 1
|
pixy/src/host/pantilt_in_ada/specs/x86_64_linux_gnu_bits_time_h.ads | GambuzX/Pixy-SIW | 1 | 19023 | <filename>pixy/src/host/pantilt_in_ada/specs/x86_64_linux_gnu_bits_time_h.ads
--
-- Copyright (c) 2015, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above copyright
-- notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
-- TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN
-- NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
-- CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
-- PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-- ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
--
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with x86_64_linux_gnu_bits_types_h;
limited with x86_64_linux_gnu_bits_timex_h;
package x86_64_linux_gnu_bits_time_h is
-- unsupported macro: CLOCKS_PER_SEC 1000000l
-- unsupported macro: CLOCK_REALTIME 0
-- unsupported macro: CLOCK_MONOTONIC 1
-- unsupported macro: CLOCK_PROCESS_CPUTIME_ID 2
-- unsupported macro: CLOCK_THREAD_CPUTIME_ID 3
-- unsupported macro: CLOCK_MONOTONIC_RAW 4
-- unsupported macro: CLOCK_REALTIME_COARSE 5
-- unsupported macro: CLOCK_MONOTONIC_COARSE 6
-- unsupported macro: CLOCK_BOOTTIME 7
-- unsupported macro: CLOCK_REALTIME_ALARM 8
-- unsupported macro: CLOCK_BOOTTIME_ALARM 9
-- unsupported macro: TIMER_ABSTIME 1
type timeval is record
tv_sec : aliased x86_64_linux_gnu_bits_types_h.uu_time_t; -- /usr/include/x86_64-linux-gnu/bits/time.h:32
tv_usec : aliased x86_64_linux_gnu_bits_types_h.uu_suseconds_t; -- /usr/include/x86_64-linux-gnu/bits/time.h:33
end record;
pragma Convention (C_Pass_By_Copy, timeval); -- /usr/include/x86_64-linux-gnu/bits/time.h:30
function clock_adjtime (uu_clock_id : x86_64_linux_gnu_bits_types_h.uu_clockid_t; uu_utx : access x86_64_linux_gnu_bits_timex_h.timex) return int; -- /usr/include/x86_64-linux-gnu/bits/time.h:91
pragma Import (C, clock_adjtime, "clock_adjtime");
end x86_64_linux_gnu_bits_time_h;
|
programs/oeis/063/A063151.asm | neoneye/loda | 22 | 23415 | <gh_stars>10-100
; A063151: Dimension of the space of weight 2n cusp forms for Gamma_0( 83 ).
; 7,20,34,48,62,76,90,104,118,132,146,160,174,188,202,216,230,244,258,272,286,300,314,328,342,356,370,384,398,412,426,440,454,468,482,496,510,524,538,552,566,580,594,608,622,636,650,664,678,692
mul $0,14
trn $0,1
add $0,7
|
Architecture/a6/linker_help/main1.asm | DulceWRLD/College | 2 | 10072 | main: lodd arg1:
push
lodd arg2:
push
call myadd:
stod rslt:
halt
.LOC 10
arg1: 25
arg2: 75
rslt: 0
|
experiments/test-suite/mutation-based/10/2/sll.als | kaiyuanw/AlloyFLCore | 1 | 3963 | <filename>experiments/test-suite/mutation-based/10/2/sll.als<gh_stars>1-10
pred test4 {
some disj List0: List {some disj Node0, Node1, Node2: Node {
List = List0
header = List0->Node0 + List0->Node1 + List0->Node2
Node = Node0 + Node1 + Node2
link = Node0->Node2 + Node1->Node1 + Node2->Node0
}}
}
run test4 for 3 expect 0
pred test3 {
some disj Node0: Node {
no List
no header
Node = Node0
no link
}
}
run test3 for 3 expect 1
|
oeis/020/A020746.asm | neoneye/loda-programs | 11 | 92008 | ; A020746: Pisot sequence T(3,7), a(n) = floor(a(n-1)^2/a(n-2)).
; Submitted by <NAME>(s3)
; 3,7,16,36,81,182,408,914,2047,4584,10265,22986,51471,115255,258081,577899,1294040,2897633,6488421,14528964,32533461,72849384,163125366,365272615,817923579,1831505986,4101133972,9183316890,20563412382,46045882316,103106587509,230877721373,516984641953,1157639283798,2592202171286,5804495572035,12997508149242,29104203111724,65170541079282,145930792479093,326770283641946,731708616512417,1638452228615652,3668845281952533,8215329972896577,18395882458050753,41192318814566457,92238419830645144
mov $1,3
mov $2,4
lpb $0
sub $0,1
add $3,$2
div $3,$2
mov $2,$1
mul $1,2
add $1,$3
add $2,2
mul $3,$1
lpe
mov $0,$1
|
jm-power-50-0.1/main.asm | KittenBot/jacdac-padauk | 4 | 166425 | <filename>jm-power-50-0.1/main.asm
.CHIP PMS150C
// Give package map to writer pcount VDD PA0 PA3 PA4 PA5 PA6 PA7 GND SHORTC_MSK1 SHORTC_MASK1 SHIFT
.writer package 8, 1, 7, 5, 6, 4, 3, 2, 8, 0x000D, 0x000D, 4
//{{PADAUK_CODE_OPTION
.Code_Option Security Disable
.Code_Option Bootup_Time Fast
.Code_Option Drive Normal
.Code_Option LVR 3.0V
//}}PADAUK_CODE_OPTION
#define RELEASE 1
// all pins on PA
#define PIN_LED 5
#define PIN_JACDAC 6
//#define PIN_LOG 7
#define LED_SINK 1
// Cost given in comment: words of flash/bytes of RAM
// #define CFG_T16_32BIT 1 // 1/1
#define CFG_BROADCAST 1 // 20/0
#define CFG_RESET_IN 1 // 24/1
#define CFG_FW_ID 0x3592dcb4 // 24/0
#define PWR_SERVICE 1
#define PIN_SWITCH 4
.include ../jd/jdheader.asm
#define PIN_LIMITER 3
.include ../services/power.asm
main:
.ADJUST_IC SYSCLK=IHRC/2, IHRC=16MHz, VDD=3.3V
PADIER = (1 << PIN_JACDAC) | (1 << PIN_LIMITER)
.include ../jd/jdmain.asm
|
programs/oeis/086/A086299.asm | neoneye/loda | 22 | 240511 | ; A086299: a(n) = if n is 7-smooth then 1 else 0: characteristic function of 7-smooth numbers.
; 1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,0,1,0,1,1,0,0,1,1,0,1,1,0,1,0,1,0,0,1,1,0,0,0,1,0,1,0,0,1,0,0,1,1,1,0,0,0,1,0,1,0,0,0,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,0,0,0,0,1,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,1
seq $0,6530 ; Gpf(n): greatest prime dividing n, for n >= 2; a(1)=1.
div $0,10
cmp $0,0
|
src/vulkan-math/gentype/vulkan-math-gendtype.ads | zrmyers/VulkanAda | 1 | 14032 | <filename>src/vulkan-math/gentype/vulkan-math-gendtype.ads
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-- copies of the Software, and to permit persons to whom the Software is
-- furnished to do so, subject to the following conditions:
--
-- The above copyright notice and this permission notice shall be included in all
-- copies or substantial portions of the Software.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-- SOFTWARE.
--------------------------------------------------------------------------------
with Vulkan.Math.GenType;
with Vulkan.Math.GenBType;
with Vulkan.Math.GenIType;
use Vulkan.Math.GenBType;
use Vulkan.Math.GenIType;
--------------------------------------------------------------------------------
--< @group Vulkan Math GenType
--------------------------------------------------------------------------------
--< @summary
--< This package describes any length vector of Vkm_Double type.
--<
--< @description
--< Provides an instantiation of the generic GenType package with a Base_Type of
--< Vkm_Double. This is used to provide the Vkm_GenDType subtype for the Vulkan Math
--< library.
--------------------------------------------------------------------------------
package Vulkan.Math.GenDType is
pragma Preelaborate;
pragma Pure;
--< @private
--< An instance of the generic GenType package, with Vkm_Double as the Base_Type.
package GDT is new Vulkan.Math.GenType(
Base_Type => Vkm_Double,
Default_Value => 0.0,
Image => Vkm_Double'Image,
Unary_Minus => "-",
Multiply => "*");
--< A subtype of the instantiated Vkm_GenType that represents the GenDType
--< described in the GLSL specification.
subtype Vkm_GenDType is GDT.Vkm_GenType;
----------------------------------------------------------------------------
-- Functions
----------------------------------------------------------------------------
function Image(instance : in Vkm_GenDType) return String is
(GDT.Image(GDT.Vkm_GenType(instance))) with inline;
----------------------------------------------------------------------------
-- Generic Operations
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--< @summary
--< Apply function for parameters of Vkm_Double and Vkm_Bool type to GenDType
--< and GenBType vectors.
--<
--< @description
--< Applies a supplied function component wise on two GenDType vectors and
--< a GenBType vector returning a GenDType vector.
--<
--< RVD := [Func(IVD1.x, IVD2.x, IVB1.x) ... Func(IVD1.w, IVD2.w, IVB1.w)]
--<
--< @param IVD1
--< The first input GenDType parameter.
--<
--< @param IVD2
--< The second input GenDType parameter.
--<
--< @param IVB1
--< The first input GenBType parameter.
--<
--< @return
--< The result GenDType vector, RVD.
----------------------------------------------------------------------------
generic
with function Func(ISD1, ISD2 : in Vkm_Double;
ISB1 : in Vkm_Bool ) return Vkm_Double;
function Apply_Func_IVD_IVD_IVB_RVD(IVD1, IVD2 : in Vkm_GenDType;
IVB1 : in Vkm_GenBType) return Vkm_GenDType;
----------------------------------------------------------------------------
--< @summary
--< Apply function on a Vkm_Double input that returns a VKm_Bool component-wise
--< to a GenDType vector.
--<
--< @description
--< Applies a supplied function component wise on a GenDType vector returning
--< a GenBType vector.
--<
--< RVB := [Func(IVD1.x) ... Func(IVD1.w)]
--<
--< @param IVD1
--< The input GenDType parameter.
--<
--< @return
--< The resulting GenBType vector, RVB.
----------------------------------------------------------------------------
generic
with function Func(ISD : in Vkm_Double) return Vkm_Bool;
function Apply_Func_IVD_RVB(IVD1 : in Vkm_GenDType) return Vkm_GenBType;
----------------------------------------------------------------------------
--< @summary
--< Apply function on a Vkm_Double input and a Vkm_Int outut that returns a Vkm_Double
--< component-wise to the corresponding vector types.
--<
--< @description
--< Applies a supplied function component wise on a GenDType and GenIType
--< vector, returning a GenDType vector.
--<
--< RVD := [Func(IVD.x,OVI.x) ... Func(IVD.w,OVI.w)]
--<
--< @param IVD
--< The input GenDType parameter.
--<
--< @param OVI
--< The output GenIType parameter.
--<
--< @return
--< The resulting GenDType vector, RVD.
----------------------------------------------------------------------------
generic
with function Func (ISD : in Vkm_Double;
ISI : out Vkm_Int) return Vkm_Double;
function Apply_Func_IVD_OVI_RVD(IVD : in Vkm_GenDType;
OVI : out Vkm_GenIType) return Vkm_GenDType;
----------------------------------------------------------------------------
--< @summary
--< Apply function on a Vkm_Double and a Vkm_Int input that returns a Vkm_Double
--< component-wise to the corresponding vector types.
--<
--< @description
--< Applies a supplied function component wise on a GenDType and GenIType
--< vector, returning a GenDType vector.
--<
--< RVD := [Func(IVD.x,IVI.x) ... Func(IVD.w,IVI.w)]
--<
--< @param IVD
--< The input GenDType parameter.
--<
--< @param IVI
--< The input GenIType parameter.
--<
--< @return
--< The resulting GenDType vector, RVD.
----------------------------------------------------------------------------
generic
with function Func (ISD : in Vkm_Double;
ISI : in Vkm_Int) return Vkm_Double;
function Apply_Func_IVD_IVI_RVD(IVD : in Vkm_GenDType;
IVI : in Vkm_GenIType) return Vkm_GenDType;
----------------------------------------------------------------------------
--< @summary
--< Apply function on two Vkm_Double inputs that returns a Vkm_Bool component-wise
--< to two Vkm_GenDType vectors.
--<
--< @description
--< Applies a supplied function component wise on two GenDType vectors,
--< returning a GenBType vector.
--<
--< RVB := [Func(IVD1.x,IVD2.x) ... Func(IVD1.w,IVD2.w)]
--<
--< @param IVD1
--< The first input GenDType parameter.
--<
--< @param IVD2
--< The second input GenDType parameter.
--<
--< @return
--< The resulting GenBType vector, RVB.
----------------------------------------------------------------------------
generic
with function Func (ISD1 : in Vkm_Double;
ISD2 : in Vkm_Double) return Vkm_Bool;
function Apply_Func_IVD_IVD_RVB(IVD1, IVD2 : in Vkm_GenDType) return Vkm_GenBType;
----------------------------------------------------------------------------
-- The Operators for double precision floating point vectors are defined here.
--
-- A summary of operators that can be used with GenDType values of different
-- size:
-- - "&", Concatenation
--
-- A summary of operators that are component-wise Unary:
-- - "+" , Unary plus operator.
-- - "-" , Unary minus operator.
-- - "abs", Absolute value operator.
--
-- A summary of operators that are component-wise on two input vectors of the
-- same length. Additionally, a scalar may appear instead of a vector on the
-- left or right hand side of these operators:
-- - "mod", Modulus operator.
-- - "**", Power operator.
-- - "+", Addition operator.
-- - "-", Subtraction operator.
-- - "rem", Remainder operator.
-- - "*", Multiplication operator.
-- - "/", Division operator.
--
-- A summary of relational operators that are component-wise on two input vecotrs
-- of the same length, and return a vector of booleans of the same length:
-- - "<", Less than operator
-- - ">", Greater than operator
-- - "<=", Less than or equal to operator
-- - ">=", Greater than or equal to operator
--
-- A summary of relational operators which return a scalar boolean value.
-- - "=", Equality operator
-- - "/=", Non-Equality operator
--
----------------------------------------------------------------------------
-- GenDType Concatenation Operators
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--< @summary
--< GenDType concatenation operator.
--<
--< @description
--< Concatenate two GenDType vectors.
--< vector := vector & vector
--<
--< @param left
--< Parameter to the left of the '&' symbol.
--<
--< @param right
--< Parameter to the right of the '&' symbol.
--<
--< @return
--< Append right vector to left vector.
----------------------------------------------------------------------------
function "&" (left, right : in Vkm_GenDType) return Vkm_GenDType renames GDT.Concatenate;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType concatenation operator.
--<
--< @description
--< Concatenate a Vkm_Double and a Vkm_GenDType vector.
--< vector := scalar & vector
--<
--< @param left
--< Parameter to the left of the '&' symbol.
--<
--< @param right
--< Parameter to the right of the '&' symbol.
--<
--< @return
--< Append right vector to left scalar.
----------------------------------------------------------------------------
function "&" (left : in Vkm_Double ;
right : in Vkm_GenDType) return Vkm_GenDType is
(GDT.Make_GenType(left).Concatenate(right)) with Inline;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType concatenation operator.
--<
--< @description
--< Concatenate a Vkm_Double and a Vkm_GenDType vector.
--< vector := vector & scalar
--<
--< @param left
--< Parameter to the left of the '&' symbol.
--<
--< @param right
--< Parameter to the right of the '&' symbol.
--<
--< @return
--< Append right scalar to left vector.
----------------------------------------------------------------------------
function "&" (left : in Vkm_GenDType;
right : in Vkm_Double ) return Vkm_GenDType is
(left.Concatenate(GDT.Make_GenType(right))) with Inline;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType concatenation operator.
--<
--< @description
--< Concatenate two Vkm_Doubles to form a Vkm_GenDType vector.
--< vector := scalar & scalar
--<
--< @param left
--< Parameter to the left of the '&' symbol.
--<
--< @param right
--< Parameter to the right of the '&' symbol.
--<
--< @return
--< Append right scalar to left scalar.
----------------------------------------------------------------------------
function "&" (left, right : in Vkm_Double ) return Vkm_GenDType is
(GDT.Make_GenType(left, right)) with Inline;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType unary plus operator.
--<
--< @description
--< Return the unmodified vector.
--< vector := +vector;
----------------------------------------------------------------------------
function "+" is new GDT.Apply_Func_IV_RV("+");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType unary minus operator.
--<
--< @description
--< Return the negation of the vector.
--< vector := -vector;
----------------------------------------------------------------------------
function "-" is new GDT.Apply_Func_IV_RV("-");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType absolute value operator.
--<
--< @description
--< Return the absolute value for each component of the vector.
--< vector := abs vector;
----------------------------------------------------------------------------
function "abs" is new GDT.Apply_Func_IV_RV("abs");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType modulo operator.
--<
--< @description
--< Return the component-wise modulo of the two vectors.
--< vector := vector mod vector;
----------------------------------------------------------------------------
function "mod" is new GDT.Apply_Func_IV_IV_RV("mod");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType modulo operator.
--<
--< @description
--< Return the component-wise modulo of a vector and a scalar.
--< vector := vector mod scalar;
----------------------------------------------------------------------------
function "mod" is new GDT.Apply_Func_IV_IS_RV("mod");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType modulo operator.
--<
--< @description
--< Return the component-wise modulo of a vector and a scalar.
--< vector := scalar mod vector;
----------------------------------------------------------------------------
function "mod" is new GDT.Apply_Func_IS_IV_RV("mod");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType power operator.
--<
--< @description
--< Apply the power operation component-wise on two vectors.
--< vector := vector ** vector;
----------------------------------------------------------------------------
function "**" is new GDT.Apply_Func_IV_IV_RV("**");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType power operator.
--<
--< @description
--< Apply the power operation component-wise on a vector and a scalar.
--< vector := vector ** scalar;
----------------------------------------------------------------------------
function "**" is new GDT.Apply_Func_IV_IS_RV("**");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType power operator.
--<
--< @description
--< Apply the power operation component-wise on a vector and a scalar.
--< vector := scalar ** vector;
----------------------------------------------------------------------------
function "**" is new GDT.Apply_Func_IS_IV_RV("**");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType addition operator.
--<
--< @description
--< Apply the additon operation component-wise on two vectors.
--< vector := vector + vector;
----------------------------------------------------------------------------
function "+" is new GDT.Apply_Func_IV_IV_RV("+");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType addition operator.
--<
--< @description
--< Apply the additon operation component-wise on a vector and a scalar.
--< vector := vector + scalar;
----------------------------------------------------------------------------
function "+" is new GDT.Apply_Func_IV_IS_RV("+");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType addition operator.
--<
--< @description
--< Apply the additon operation component-wise on a vector and a scalar.
--< vector := scalar + vector;
----------------------------------------------------------------------------
function "+" is new GDT.Apply_Func_IS_IV_RV("+");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType subtraction operator.
--<
--< @description
--< Apply the subtraction operation component-wise on two vectors.
--< vector := vector - vector;
----------------------------------------------------------------------------
function "-" is new GDT.Apply_Func_IV_IV_RV("-");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType subtraction operator.
--<
--< @description
--< Apply the subtraction operation component-wise on a vector and a scalar.
--< vector := vector - scalar;
----------------------------------------------------------------------------
function "-" is new GDT.Apply_Func_IV_IS_RV("-");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType subtraction operator.
--<
--< @description
--< Apply the subtraction operation component-wise on a vector and a scalar.
--< vector := scalar - vector;
----------------------------------------------------------------------------
function "-" is new GDT.Apply_Func_IS_IV_RV("-");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType remainder operator.
--<
--< @description
--< Calculate the remainder of division of left by right:
--< scalar := left rem right;
--<
--< @param left
--< The numerator in the division for which the remainder is returned.
--<
--< @param right
--< The denominator in the division for which the remainder is returned.
--<
--< @return
--< The remainder of left divided by right.
----------------------------------------------------------------------------
function "rem" (left, right : in Vkm_Double) return Vkm_Double renames Vkm_Double'Remainder;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType remainder operator.
--<
--< @description
--< Calculate the remainder of division of for two vectors.
--< vector := vector rem vector;
----------------------------------------------------------------------------
function "rem" is new GDT.Apply_Func_IV_IV_RV("rem");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType remainder operator.
--<
--< @description
--< Calculate the remainder of division of for a vector and a scalar.
--< vector := vector rem scalar;
----------------------------------------------------------------------------
function "rem" is new GDT.Apply_Func_IV_IS_RV("rem");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType remainder operator.
--<
--< @description
--< Calculate the remainder of division of for a vector and a scalar.
--< vector := scalar rem vector;
----------------------------------------------------------------------------
function "rem" is new GDT.Apply_Func_IS_IV_RV("rem");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType multiplication operator.
--<
--< @description
--< Apply the multiplication operation component-wise on two vectors.
--< vector := vector * vector;
----------------------------------------------------------------------------
function "*" is new GDT.Apply_Func_IV_IV_RV("*");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType multiplication operator.
--<
--< @description
--< Apply the multiplication operation component-wise on a vector and a scalar.
--< vector := vector * scalar;
----------------------------------------------------------------------------
function "*" is new GDT.Apply_Func_IV_IS_RV("*");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType multiplication operator.
--<
--< @description
--< Apply the multiplication operation component-wise on a vector and a scalar.
--< vector := scalar * vector;
----------------------------------------------------------------------------
function "*" is new GDT.Apply_Func_IS_IV_RV("*");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType division operator.
--<
--< @description
--< Calculate the component-wise division of two vectors.
--< vector := vector / vector;
----------------------------------------------------------------------------
function "/" is new GDT.Apply_Func_IV_IV_RV("/");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType division operator.
--<
--< @description
--< Calculate the component-wise division of a vector and a scalar.
--< vector := vector / scalar;
----------------------------------------------------------------------------
function "/" is new GDT.Apply_Func_IV_IS_RV("/");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType division operator.
--<
--< @description
--< Calculate the component-wise division of a vector and a scalar.
--< vector := scalar / vector;
----------------------------------------------------------------------------
function "/" is new GDT.Apply_Func_IS_IV_RV("/");
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType less than operator.
--<
--< @description
--< Return the result of the component-wise less than operator on two vectors.
--< bool_vector := vector < vector;
----------------------------------------------------------------------------
function "<" (left, right : in Vkm_GenDType) return Vkm_GenBType;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType less than or equal to operator.
--<
--< @description
--< Return the result of the component-wise less than or equal to operator on
--< two vectors.
--< bool_vector := vector < vector;
----------------------------------------------------------------------------
function "<=" (left, right : in Vkm_GenDType) return Vkm_GenBType;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType greater than operator.
--<
--< @description
--< Return the result of the component-wise greater than operator on
--< two vectors.
--< bool_vector := vector < vector;
----------------------------------------------------------------------------
function ">" (left, right : in Vkm_GenDType) return Vkm_GenBType;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType greater than or equal operator.
--<
--< @description
--< Return the result of the component-wise greater than or equal to operator
--< on two vectors.
--< bool_vector := vector < vector;
----------------------------------------------------------------------------
function ">=" (left, right : in Vkm_GenDType) return Vkm_GenBType;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType equality operator.
--<
--< @description
--< Return true if each component of two vectors are equal to each other.
--< Otherwise return false.
--< is_equal := vector = vector;
--<
--< @param left
--< The left vector in the comparison.
--<
--< @param right
--< The right vector in the comparison.
--<
--< @return
--< Whether the two vectors are equal to each other.
----------------------------------------------------------------------------
function "=" (left, right : in Vkm_GenDType) return Vkm_Bool renames GDT.Equals;
----------------------------------------------------------------------------
--< @summary
--< Vkm_GenDType inequality operator.
--<
--< @description
--< Return true if any component of the two vectors are not equal to each other.
--< Otherwise return false.
--< is_equal := vector /= vector;
--<
--< @param left
--< The left vector in the comparison.
--<
--< @param right
--< The right vector in the comparison.
--<
--< @return
--< Whether the two vectors are equal to each other.
----------------------------------------------------------------------------
function "/=" (left, right : in Vkm_GenDType) return Vkm_Bool is
(not (left = right)) with Inline;
end Vulkan.Math.GenDType;
|
src/main/fragment/mos6502-common/vbsaa_gt_vbsc1_then_la1.asm | jbrandwood/kickc | 2 | 103539 | <reponame>jbrandwood/kickc
sec
sbc #{c1}
beq !e+
bvc !+
eor #$80
!:
bpl {la1}
!e: |
alloy4fun_models/trashltl/models/13/xehHKpnCGwwG3RgM7.als | Kaixi26/org.alloytools.alloy | 0 | 3650 | <reponame>Kaixi26/org.alloytools.alloy<gh_stars>0
open main
pred idxehHKpnCGwwG3RgM7_prop14 {
always some f:File | (f in Trash and f in Protected) implies (f in Trash' and f not in Protected')
}
pred __repair { idxehHKpnCGwwG3RgM7_prop14 }
check __repair { idxehHKpnCGwwG3RgM7_prop14 <=> prop14o } |
programs/oeis/099/A099583.asm | neoneye/loda | 22 | 167540 | <reponame>neoneye/loda<gh_stars>10-100
; A099583: a(n) = Sum_{k=0..floor(n/2)} binomial(n-k, k-1)*2^(n-k-1)*(3/2)^(k-1).
; 0,0,1,2,10,26,91,260,820,2420,7381,22022,66430,198926,597871,1792520,5380840,16139240,48427561,145272842,435848050,1307514626,3922632451,11767808780,35303692060,105910810460,317733228541,953198888462
mov $5,2
mov $6,$0
lpb $5
mov $0,$6
mov $3,0
sub $5,1
add $0,$5
sub $0,1
lpb $0
mov $2,$0
sub $0,2
max $2,0
seq $2,167993 ; Expansion of x^2/((3*x-1)*(3*x^2-1)).
add $3,$2
lpe
mov $4,$5
mul $4,$3
add $1,$4
mov $7,$3
lpe
min $6,1
mul $6,$7
sub $1,$6
mov $0,$1
|
as4b.adb | twinbee/djikstrasStabilizing | 0 | 13596 | ----------------------------csc410/prog4/as4.adb----------------------------
-- Author: <NAME>
-- Class: CSC410 Burgess
-- Date: 10-05-04 Modified: 10-22-04
-- Due: 10-12-04
-- Desc: Assignment 4: DJIKSTRA'S STABILIZING ALGORITHM
--
-- a nonproduction implementation of
-- DJIKSTRA's algorithm which describes
-- mutual exclusion, fairness, and deadlock avoidance
-- n processes (TASKS), and IS self-correcting
--
-- BRIEF: (please read all of this)
-- n processes form a [directed] virtual ring topology, and
-- use an internal integer counter called flag to determine
-- which may go next. IN general, a process may not proceed
-- unless its flag IS not equal to its previous neighbor, except FOR process0
--
-- The algorithm IS ASYMMETRIC. Process0 behaves differently than
-- processes [1..n] IN several respects. Also, since the
-- asymmetrical behavior IS neccessary FOR the algorithm to
-- continue, some other process MUST assume the behavior of
-- Process0 IN case that process IS killed or quits.
--
-- The algorithm IS self-stabilizing, so it should operate on a
-- "dummy resource" FOR several iterations (up to 10) eahc time
-- the tasks are reordered. id will try to add this feature to
-- code soon.
-- !! MUTUAL EXCLUSION IS NOT GUARANTEED UNTIL THE TASKS STABILIZE !!
--
-- DJIKSTRA implemented as described IN
-- "Algorithms FOR Mutual Exclusion", M. Raynal
-- MIT PRESS Cambridge, 1986 ISBN: 0-262-18119-3
-- with minor revisions
----------------------------------------------------------------
-- dependencies
-- style note: the reasons to "with IN" but not "use" packages are
-- (1) to avoid crowding of the namespace
-- (2) to be explicit where abstract data types and methods come from.
-- FOR instance, line randomPool : Ada.Numerics.Float_Random.Generator;
-- IS more explicit than randomPool : Generator;
WITH ADA.TEXT_IO; USE ADA.TEXT_IO;
WITH ADA.INTEGER_TEXT_IO; USE ADA.INTEGER_TEXT_IO;
WITH ADA.NUMERICS.FLOAT_RANDOM; USE ADA.NUMERICS.FLOAT_RANDOM;
--by request only
WITH ADA.CALENDAR;
-- (provides cast: natural -> time FOR input into delay)
WITH ADA.STRINGS; USE ADA.STRINGS;
----------------------------------------------------------------
----------------------------------------------------------------
PROCEDURE AS4B IS
--globals are: randompool, MAX_TASKS, SCALE_FACTOR, SPACES
randomPool : ada.numerics.float_random.Generator;
MAX_TASKS : CONSTANT := 100;
--global constant for mem allocation restriction
SCALE_FACTOR : CONSTANT := 1.0;
--used to increase "spread" of random delays
SPACES : STRING(1..80) := (Others => ' ');
--for convenience in string manipulations
TYPE RX;
TYPE RX_Ptr IS ACCESS RX;
--so that we
---- BEGIN RX declaration and definition ----
TASK TYPE RX IS
ENTRY initvars (
id : Integer;
this : RX_Ptr;
left : RX_Ptr;
right : RX_Ptr;
thisFlag : Integer;
leftFlag : Integer;
rightFlag : Integer;
numTasks_user : Integer;
lowId : Boolean
);
ENTRY Receive (
mesgType : Character;
id : Integer;
flag : Integer;
left : RX_Ptr;
right : RX_Ptr;
lowId : Boolean
);
END RX;
TASK BODY RX IS
procArray : array (0..2) of RX_Ptr;
flagArray : array (0..2) of Integer := (Others => 0);
myId : Integer;
num_count : Integer;
lowestId : Boolean;
ShouldIDie : Boolean := FALSE;
---- BEGIN djikstra declaration and definition ----
TASK TYPE djikstra IS
--gee, that was short
END djikstra;
TASK BODY djikstra IS
BEGIN
LOOP
IF (lowestId) THEN
-- Protocol 0
LOOP null;
EXIT WHEN flagArray(1) = flagArray(0);
END LOOP;
-- BEGIN Critical Section --
Put (myId, (1+(4*myId))); Put (" IN CS"); NEW_Line;
delay (Standard.Duration(random(randomPool) * 4.0));
Put (myId, (1+(4*myId))); Put (" out CS"); NEW_Line;
-- END Critical Section --
flagArray(1) := (flagArray(1) + 1) mod num_count;
procArray(2).Receive('U', myId, flagArray(1), null, null, FALSE);
ELSE
-- Protocol K NOT 0
LOOP null;
EXIT WHEN (flagArray(1) /= flagArray(0));
END LOOP;
-- BEGIN Critical Section
Put (myId, (1+(4*myId))); Put (" IN CS"); NEW_Line;
delay (Standard.Duration(random(randomPool) * 4.0));
Put (myId, (1+(4*myId))); Put (" out CS"); NEW_Line;
-- END Critical Section --
flagArray(1) := flagArray(0);
procArray(2).Receive('U', myId, flagArray(1), null, null, FALSE);
END IF;
END LOOP;
END djikstra;
TYPE djik_ptr IS ACCESS djikstra;
ptr : djik_Ptr;
--so that we can spin off a copy of djikstra's algorithm for each listener task
BEGIN
-- ENTRY Point to initalize our id's from the AS4 PROCEDURE
ACCEPT initvars (id : Integer; this : RX_Ptr; left : RX_Ptr; right : RX_Ptr;
thisFlag : Integer; leftFlag : Integer; rightFlag : Integer;
numTasks_user : Integer; lowId : Boolean) do
procArray(1) := this;
procArray(0) := left;
procArray(2) := right;
flagArray(1) := thisFlag;
flagArray(0) := leftFlag;
flagArray(2) := rightFlag;
num_count := numTasks_user;
myId := id;
lowestId := lowId;
END initvars;
ptr := NEW djikstra;
-- Start our message handling LOOP waiting FOR messages to arrive --
LOOP
SELECT
ACCEPT Receive (
mesgType : Character;
id : Integer;
flag : Integer;
left : RX_Ptr;
right : RX_Ptr;
lowId : Boolean
) DO
case mesgType IS
WHEN 'U' =>
BEGIN
Put(id, (80 - 10 ) );
Put_Line(" update");
NEW_Line;
-- As we always receive update messages from the left neighbour
-- we simply change our local copy of left's NEW flag
flagArray(0) := flag;
END;
WHEN 'N' =>
BEGIN
Put(id, (80 - 10 ) );
Put_Line(" neighbor");
NEW_Line;
IF (left = null) THEN -- Someone IS updating our right neighbour
procArray(2) := right;
flagArray(2) := flag;
ELSE -- Someone IS updating our left neighbour
procArray(0) := left;
flagArray(0) := flag;
lowestId := lowId;
END IF;
END;
WHEN 'R' =>
BEGIN
Put(id, (80 - 10 ) );
Put_Line(" dying...");
procArray(0).Receive('N', myId, flagArray(2),
null, procArray(2), FALSE); -- Tell my left who my right was
-- Also, IF dying, we pass TRUE as the lowest id to the right,
-- as it IS our next lowest, IF we were the lowest already
IF (lowestId) THEN
procArray(2).Receive('N', myId, flagArray(0), procArray(0),
null, TRUE); -- Tell my right who my left was
ELSE
procArray(2).Receive('N', myId, flagArray(0), procArray(0),
null, FALSE); -- Tell my right who my left was
END IF;
ShouldIDie := TRUE; -- Set flag to drop out of LOOP now
END;
WHEN Others => null;
END case;
END Receive;
EXIT WHEN ShouldIDie = TRUE;
END SELECT;
END LOOP;
END RX;
---- END RX declaration and definition ----
PROCEDURE Driver IS
numtasks_user : Integer;
seed_user : Integer; --user defined at runtime by std. input
ptrArray : array (0..MAX_TASKS-1) of RX_Ptr;
killId : Integer; --temp to store which process to kill
RIPArray : array (0..MAX_TASKS-1) of Boolean := (Others => FALSE);
--keep track of which processes have been killed
BEGIN
put("# random seed: ");
get(seed_user); --to ensure a significantly random series, a seed IS needed
-- to generate pseudo-random numbers
Ada.Numerics.Float_Random.Reset(randomPool,seed_user);
--seed the random number pool
LOOP
put("# tasks[1-50]: ");
Get (numTasks_user);
EXIT WHEN (0 < numTasks_user) AND (numTasks_user <= MAX_TASKS);
END LOOP;
-- Create each of our tasks
FOR task_count IN 0 .. numTasks_user-1
LOOP
ptrArray(task_count) := NEW RX;
END LOOP;
FOR task_count IN 0 .. numTasks_user-1
LOOP
ptrArray(task_count).initvars(task_count, ptrArray(task_count),
ptrArray((task_count - 1) mod numTasks_user),
ptrArray((task_count + 1) mod numTasks_user), task_count,
((task_count - 1) mod numTasks_user),((task_count + 1) mod numTasks_user),
numTasks_user, FALSE);
END LOOP;
delay (120.0);
--start randomly killing off processes
FOR kill_index IN REVERSE 0 .. (numTasks_user - 1)
LOOP
delay (3.0);
put ("Going to kill random process ... process ");
-- Delay 60 seconds THEN kill off a process --
LOOP
killID := Integer (random(randomPool)) mod numTasks_user;
EXIT WHEN NOT RIParray(killID);
END LOOP;
RIParray(killID) := TRUE;
Put(killID, 0); Put_line("");
ptrArray(killID).Receive('R', 0, 0, null, null, FALSE);
END LOOP; --kill out all our processes
END Driver;
BEGIN Driver; null; END AS4B;
|
src/schedule-text.asm | ViGrey/airgap2020-nes | 8 | 7244 | ; Copyright (C) 2020, <NAME>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions and the following disclaimer.
; 2. Redistributions in binary form must reproduce the above copyright
; notice, this list of conditions and the following disclaimer in the
; documentation and/or other materials provided with the distribution.
;
; THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
; ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
; OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
; HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
; LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
; OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
; SUCH DAMAGE.
ScheduleStartOffsets:
.byte #<(PresentationsStart), #>(PresentationsStart)
.byte #<(Ch0pp3dStart), #>(Ch0pp3dStart)
.byte #<(Twitch2ShStart), #>(Twitch2ShStart)
.byte #<(StartStart), #>(StartStart)
.byte #<(IncubationStart), #>(IncubationStart)
.byte #<(LuigibloodStart), #>(LuigibloodStart)
.byte #<(MainframeStart), #>(MainframeStart)
.byte #<(ReidStart), #>(ReidStart)
.byte #<(NahamsecStart), #>(NahamsecStart)
.byte #<(IlyaStart), #>(IlyaStart)
.byte #<(MGStart), #>(MGStart)
.byte #<(Twitch2ShellStart), #>(Twitch2ShellStart)
.byte #<(NetspookyStart), #>(NetspookyStart)
.byte #<(CaseyStart), #>(CaseyStart)
.byte #<(SilvioStart), #>(SilvioStart)
.byte #<(SyedStart), #>(SyedStart)
.byte #<(SnyffStart), #>(SnyffStart)
.byte #<(OutbreakStart), #>(OutbreakStart)
.byte #<(YTCrackerStart), #>(YTCrackerStart)
ScheduleEndOffsets:
.byte #<(PresentationsEnd), #>(PresentationsEnd)
.byte #<(Ch0pp3dEnd), #>(Ch0pp3dEnd)
.byte #<(Twitch2ShEnd), #>(Twitch2ShEnd)
.byte #<(StartEnd), #>(StartEnd)
.byte #<(IncubationEnd), #>(IncubationEnd)
.byte #<(LuigibloodEnd), #>(LuigibloodEnd)
.byte #<(MainframeEnd), #>(MainframeEnd)
.byte #<(ReidEnd), #>(ReidEnd)
.byte #<(NahamsecEnd), #>(NahamsecEnd)
.byte #<(IlyaEnd), #>(IlyaEnd)
.byte #<(MGEnd), #>(MGEnd)
.byte #<(Twitch2ShellEnd), #>(Twitch2ShellEnd)
.byte #<(NetspookyEnd), #>(NetspookyEnd)
.byte #<(CaseyEnd), #>(CaseyEnd)
.byte #<(SilvioEnd), #>(SilvioEnd)
.byte #<(SyedEnd), #>(SyedEnd)
.byte #<(SnyffEnd), #>(SnyffEnd)
.byte #<(OutbreakEnd), #>(OutbreakEnd)
.byte #<(YTCrackerEnd), #>(YTCrackerEnd)
ScheduleMMC1CHRBank:
.byte $04, $04, $04
.byte $04, $04, $04
.byte $05
.byte $06, $06, $06
.byte $07, $07, $07
.byte $08, $08, $08
.byte $09, $09, $09
StartStart:
.byte $23, $C8
.byte %01000100, %01000101, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000
.byte %00000100, %00000100, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, $02
.byte $3F, $00
.byte $0F, $08, $18, $30
.byte $0F, $08, $1C, $2C, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $80, $81, $82, $83, $84, $85, $08, $01
.byte $07, $86, $87, $88, $89, $8A, $8B, $08, $01
.byte $07, $8C, $8D, $8E, $8F, $90, $91, $08, $01
.byte $07, $92, $93, $94, $95, $96, $97, $08, $01
.byte $07, $98, $99, $9A, $9B, $9C, $9D, $08, $01
.byte $07, $9E, $9F, $A0, $A1, $A2, $A3, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "11:30-12:00", $02
.byte $21, $62
.byte "THE GAP IS CROSSED", $01, $01
.byte "THE STREAM WILL START AT", $01
.byte "11:30AM. THE TEXT CHAT WILL", $01
.byte "BE SPICY AND THE EVENTS WILL", $01
.byte "BEGIN."
StartEnd:
IncubationStart:
.byte $23, $C8
.byte %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000
.byte %00000000, %00000101, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, $02
.byte $3F, $00
.byte $0F, $16, $27, $30
.byte $0F, $30, $11, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $A4, $A5, $A6, $A7, $A8, $A9, $08, $01
.byte $07, $AA, $AB, $AC, $AD, $AE, $AF, $08, $01
.byte $07, $B0, $B1, $B2, $B3, $B4, $B5, $08, $01
.byte $07, $B6, $B7, $B8, $B9, $BA, $BB, $08, $01
.byte $07, $BC, $BD, $BE, $BF, $C0, $C1, $08, $01
.byte $07, $C2, $C3, $C4, $C5, $C6, $C7, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "12:00-12:30", $02
.byte $21, $62
.byte "INCUBATION PERIOD", $01, $01
.byte "GUESTS WILL BE GR33TZ'D WITH", $01
.byte "A GENERAL CHECKUP. ALL THE", $01
.byte "USUAL DISCLAIMERS AND A FEW", $01
.byte "WORDS FROM THE THUGCROWD", $01
.byte "HOSTS."
IncubationEnd:
LuigibloodStart:
.byte $3F, $00
.byte $0F, $11, $28, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $C8, $C9, $CA, $CB, $CC, $CD, $08, $01
.byte $07, $CE, $CF, $D0, $D1, $D2, $D3, $08, $01
.byte $07, $D4, $D5, $D6, $D7, $D8, $D9, $08, $01
.byte $07, $DA, $DB, $DC, $DD, $DE, $DF, $08, $01
.byte $07, $E0, $E1, $E2, $E3, $E4, $E5, $08, $01
.byte $07, $E6, $E7, $E8, $E9, $EA, $EB, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "12:30-13:00", $02
.byte $21, $62
.byte "LUIGIBLOOD", $01, $01
.byte "SATELLAVIEW REVERSE", $01
.byte "ENGINEERING", $01, $01
.byte "COME HEAR THE TALE OF", $01
.byte "REVERSE ENGINEERING THE", $01
.byte "SATELLAVIEW, A SATELLITE", $01
.byte "ADD-ON FOR THE SUPER FAMICOM", $01
.byte "TO DOWNLOAD GAMES. YOU MAY", $01
.byte "HAVE NEVER HEARD OF IT, BUT", $01
.byte "COME SEE HOW IT WORKS!"
LuigibloodEnd:
MainframeStart:
.byte $23, $F0
.byte %10000000, %10100000, %10000000, %10100000, %11000000, %11110000, %00000000, %00000000
.byte %00001000, %00001010, %00001000, %00001010, %00001100, %00001111, %00000000, %00000000, $02
.byte $2B, $C0
.byte %00001000, %00001010, %00001000, %00001010, %00001100, %00001111, %00000000, %00000000
.byte %01000100, %01010101, %00000000, %00000000, %11001100, %11111111, %00000000, %00000000
.byte %00000100, %00000101, %00000000, %00000000, %00001100, %00001111, %00000000, %00000000, $02
.byte $3F, $00
.byte $0F, $2A, $16, $30
.byte $0F, $11, $27, $30
.byte $0F, $0A, $1A, $2A
.byte $0F, $08, $27, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $00, $00, $00, $00, $00, $00, $08, $01
.byte $07, $00, $00, $00, $00, $00, $00, $08, $01
.byte $07, $50, $00, $51, $52, $00, $53, $08, $01
.byte $07, $00, $00, $00, $00, $00, $54, $08, $01
.byte $07, $55, $00, $56, $57, $00, $58, $08, $01
.byte $07, $59, $00, $5A, $5B, $00, $5C, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte $21, $23, $2A, $20, $20, $1D, $21, $24, $2A, $20, $20, $02
.byte $21, $62
.byte $3D, $31, $39, $3E, $36, $42, $31, $3D, $35, $10, $38, $31, $33, $3B, $35, $42, $10, $43, $3F, $33, $39, $35, $44, $49, $01
.byte $40, $31, $3E, $35, $3C, $01, $01
.byte $3A, $3F, $39, $3E, $10, $44, $38, $35, $10, $3D, $31, $39, $3E, $36, $42, $31, $3D, $35, $10, $43, $3F, $33, $39, $35, $44, $49, $01
.byte $40, $42, $35, $46, $39, $3F, $45, $43, $3C, $49, $10, $3F, $40, $35, $42, $31, $44, $39, $3E, $37, $10, $39, $3E, $01
.byte $43, $35, $33, $42, $35, $44, $10, $44, $3F, $10, $36, $45, $42, $44, $38, $35, $42, $10, $44, $38, $35, $10, $43, $44, $45, $34, $49, $01
.byte $31, $3E, $34, $10, $31, $34, $46, $31, $3E, $33, $35, $3D, $35, $3E, $44, $10, $3F, $36, $10, $3D, $31, $39, $3E, $36, $42, $31, $3D, $35, $01
.byte $43, $35, $33, $45, $42, $39, $44, $49, $10, $31, $42, $3F, $45, $3E, $34, $10, $44, $38, $35, $10, $47, $3F, $42, $3C, $34, $11, $01, $01
.byte $30, $3D, $31, $39, $3E, $36, $42, $31, $3D, $35, $34, $27, $26, $27, $10, $10, $10, $30, $3E, $3F, $37, $3F, $3E, $3F, $43, $31, $01
.byte $30, $32, $39, $37, $35, $3E, $34, $39, $31, $3E, $43, $3D, $31, $3C, $3C, $43, $01
.byte $30, $47, $39, $4A, $31, $42, $34, $3F, $36, $4A, $3F, $43, $10, $10, $10, $10, $10, $30, $4A, $32, $39, $44, $23, $21, $01
.byte $30, $33, $38, $21, $3B, $40, $35, $35, $02
.byte $23, $21
.byte $04, $05, $05, $05, $05, $05, $05, $06, $04, $05, $05, $05, $05, $05, $05, $06, $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $5D, $5E, $5F, $60, $61, $62, $08, $07, $00, $00, $00, $00, $00, $00, $08, $07, $0F, $0F, $0F, $95, $96, $0F, $08, $01
.byte $07, $63, $64, $65, $66, $67, $68, $08, $07, $00, $81, $82, $83, $84, $00, $08, $07, $0F, $0F, $97, $0E, $0E, $98, $08, $01
.byte $07, $69, $6A, $6B, $6C, $6D, $6E, $08, $07, $85, $86, $87, $88, $89, $8A, $08, $07, $0F, $99, $9A, $9B, $9C, $9D, $08, $01
.byte $07, $6F, $70, $71, $72, $73, $74, $08, $07, $8B, $8C, $8D, $8E, $8F, $90, $08, $07, $0F, $9E, $9F, $A0, $A1, $A2, $08, $02
.byte $28, $01
.byte $07, $75, $76, $77, $78, $79, $7A, $08, $07, $00, $91, $92, $93, $94, $00, $08, $07, $A3, $A4, $A5, $A6, $A7, $A8, $08, $01
.byte $07, $7B, $7C, $7D, $7E, $7F, $80, $08, $07, $00, $00, $00, $00, $00, $00, $08, $07, $00, $00, $A9, $AA, $AB, $AC, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $01
.byte $04, $05, $05, $05, $05, $05, $05, $06, $04, $05, $05, $05, $05, $05, $05, $06, $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $0F, $0F, $0F, $AD, $AE, $0F, $08, $07, $C5, $C6, $C7, $C8, $C9, $CA, $08, $07, $0F, $E3, $E4, $E5, $0F, $0F, $08, $01
.byte $07, $0F, $AF, $B0, $B1, $B2, $B3, $08, $07, $CB, $CC, $CD, $CE, $CF, $D0, $08, $07, $0F, $E6, $E7, $E8, $E9, $0F, $08, $01
.byte $07, $B4, $B5, $B6, $B7, $B8, $B9, $08, $07, $D1, $D2, $D3, $D4, $D5, $D6, $08, $07, $0F, $EA, $EB, $EC, $ED, $0F, $08, $01
.byte $07, $0F, $BA, $BB, $BC, $BD, $BE, $08, $07, $00, $D7, $D8, $D9, $DA, $00, $08, $07, $0F, $EE, $EF, $F0, $F1, $0F, $08, $01
.byte $07, $0F, $0F, $BF, $C0, $C1, $0F, $08, $07, $DB, $DC, $DD, $DE, $DF, $00, $08, $07, $F2, $F3, $F4, $F5, $F6, $F7, $08, $01
.byte $07, $0F, $0F, $C2, $C3, $C4, $0F, $08, $07, $00, $E0, $E1, $00, $E2, $00, $08, $07, $0D, $F8, $0F, $0F, $F9, $FA, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B
MainframeEnd:
ReidStart:
.byte $3F, $00
.byte $0F, $08, $27, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $80, $81, $82, $83, $84, $85, $08, $01
.byte $07, $86, $87, $88, $89, $8A, $8B, $08, $01
.byte $07, $8C, $8D, $8E, $8F, $90, $91, $08, $01
.byte $07, $92, $93, $94, $95, $96, $97, $08, $01
.byte $07, $98, $99, $9A, $9B, $9C, $9D, $08, $01
.byte $07, $9E, $9F, $A0, $A1, $A2, $A3, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "14:00-14:30", $02
.byte $21, $62
.byte "REID WIGHTMAN", $01, $01
.byte "SWITCHES GET ROOT CANALS", $01, $01
.byte "COME EXAMINE A TYPICAL LAYER", $01
.byte "2 SWITCH, WITHOUT MANY", $01
.byte "FEATURES, IDENTIFY A 'ROOT'", $01
.byte "LEVEL VULNERABILITY, AND SEE", $01
.byte "WHAT WE CAN ACHIEVE. DROP OR", $01
.byte "EVEN MODIFY PACKETS IN", $01
.byte "TRANSIT? HIDE MALICIOUS", $01
.byte "ACTIVITY?"
ReidEnd:
NahamsecStart:
.byte $3F, $00
.byte $0F, $1C, $27, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $A4, $A5, $A6, $A7, $A8, $A9, $08, $01
.byte $07, $AA, $AB, $AC, $AD, $AE, $AF, $08, $01
.byte $07, $B0, $B1, $B2, $B3, $B4, $B5, $08, $01
.byte $07, $B6, $B7, $B8, $B9, $BA, $BB, $08, $01
.byte $07, $BC, $BD, $BE, $BF, $C0, $C1, $08, $01
.byte $07, $C2, $C3, $C4, $C5, $C6, $C7, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "14:30-15:00", $02
.byte $21, $62
.byte "NAHAMSEC", $01, $01
.byte "OWNING THE CLOUT THROUGH", $01
.byte "SSRF AND PDF GENERATORS", $01, $01
.byte "COME AND DISCUSS A NUMBER OF", $01
.byte "DIFFERENT METHODS TO", $01
.byte "EXFILTRATE DATA SSRF. WE", $01
.byte "WERE ABLE TO HACK SOME OF", $01
.byte "THE MAJOR TRANSPORTATION,", $01
.byte "HOSPITALITY, AND SOCIAL", $01
.byte "MEDIA COMPANIES FOR BIG", $01
.byte "BOUNTIES!"
NahamsecEnd:
IlyaStart:
.byte $23, $C8
.byte %01000100, %01010101, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000
.byte %00000100, %00000101, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, $02
.byte $3F, $00
.byte $0F, $24, $13, $30
.byte $0F, $24, $13, $23, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $C8, $C9, $CA, $CB, $CC, $CD, $08, $01
.byte $07, $CE, $CF, $D0, $D1, $D2, $D3, $08, $01
.byte $07, $D4, $D5, $D6, $D7, $D8, $D9, $08, $01
.byte $07, $DA, $DB, $DC, $DD, $DE, $DF, $08, $01
.byte $07, $E0, $E1, $E2, $E3, $E4, $E5, $08, $01
.byte $07, $E6, $E7, $E8, $E9, $EA, $EB, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "15:00-16:00", $02
.byte $21, $62
.byte "ILYA", $01, $01
.byte "EMULATING IOT FIRMWARE EN", $01
.byte "MASSE WITH DOCKER & QEMU", $01, $01
.byte "COME SEE TECHNIQUES USING", $01
.byte "CONTAINERS AND QEMU USED TO", $01
.byte "EMULATE NON-X86 FIRMWARE TO", $01
.byte "DEMONSTRATE CAPABILITIES AND", $01
.byte "LIMITATIONS WHEN USED FOR", $01
.byte "SECURITY RESEARCH (AND", $01
.byte "TARGET PRACTICE)"
IlyaEnd:
MGStart:
.byte $3F, $00
.byte $0F, $2D, $10, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $80, $81, $82, $83, $84, $85, $08, $01
.byte $07, $86, $87, $88, $89, $8A, $8B, $08, $01
.byte $07, $8C, $8D, $8E, $8F, $90, $91, $08, $01
.byte $07, $92, $93, $94, $95, $96, $97, $08, $01
.byte $07, $98, $99, $9A, $9B, $9C, $9D, $08, $01
.byte $07, $9E, $9F, $A0, $A1, $A2, $A3, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "16:00-16:30", $02
.byte $21, $62
.byte "MG", $01, $01
.byte "RAPID PROTOTYPING CHAOS", $01, $01
.byte "COME SEE HOW RAPID", $01
.byte "PROTOTYPING HAS WORKED FOR", $01
.byte "PROJECTS THAT RESULTED IN", $01
.byte "THE DEMONSEED AND O.MG", $01
.byte "CABLE. MG IS A THUG OF", $01
.byte "CHAOS, AND THIS PRESENTATION", $01
.byte "PROMISES TO BE NOTHING LESS!"
MGEnd:
Twitch2ShellStart:
.byte $3F, $00
.byte $0F, $2D, $27, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $A4, $A5, $A6, $A7, $A8, $A9, $08, $01
.byte $07, $AA, $AB, $AC, $AD, $AE, $AF, $08, $01
.byte $07, $B0, $B1, $B2, $B3, $B4, $B5, $08, $01
.byte $07, $B6, $B7, $B8, $B9, $BA, $BB, $08, $01
.byte $07, $BC, $BD, $BE, $BF, $C0, $C1, $08, $01
.byte $07, $C2, $C3, $C4, $C5, $C6, $C7, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "16:30-17:00", $02
.byte $21, $62
.byte "TWITCH2SHELL", $01, $01
.byte "THE TWITCH2SHELL EVENT WILL", $01
.byte "BEGIN! YOU CAN INTERACT WITH", $01
.byte "A REAL SHELL USING TWITCH", $01
.byte "CHAT COMMANDS. THIS TIME CAN", $01
.byte "BE USED FOR RIGOROUS SCRUB", $01
.byte "DOWNS AND MAINTIANING", $01
.byte "HEALTHY FLUID LEVELS.", $01
Twitch2ShellEnd:
NetspookyStart:
.byte $3F, $00
.byte $0F, $3D, $28, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $C8, $C9, $CA, $CB, $CC, $CD, $08, $01
.byte $07, $CE, $CF, $D0, $D1, $D2, $D3, $08, $01
.byte $07, $D4, $D5, $D6, $D7, $D8, $D9, $08, $01
.byte $07, $DA, $DB, $DC, $DD, $DE, $DF, $08, $01
.byte $07, $E0, $E1, $E2, $E3, $E4, $E5, $08, $01
.byte $07, $E6, $E7, $E8, $E9, $EA, $EB, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "17:00-17:30", $02
.byte $21, $62
.byte "NETSPOOKY", $01, $01
.byte "ADVENTURES IN BINARY GOLF", $01, $01
.byte "HIT THE BACK 9 ON AN", $01
.byte "ADVENTURE OF BINARY MANGLING", $01
.byte "AND MANIPULATION. LOWER YOUR", $01
.byte "PAR WITH APPROACH, RATIONALE", $01
.byte "AND TECHNIQUES FOR ELF AND", $01
.byte "PE FORMATS. ENJOY TIPS,", $01
.byte "TRICKS AND POLYGLOT TREATS", $01
.byte "TO MINIFY YOUR GAME."
NetspookyEnd:
CaseyStart:
.byte $3F, $00
.byte $0F, $11, $16, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $80, $81, $82, $83, $84, $85, $08, $01
.byte $07, $86, $87, $88, $89, $8A, $8B, $08, $01
.byte $07, $8C, $8D, $8E, $8F, $90, $91, $08, $01
.byte $07, $92, $93, $94, $95, $96, $97, $08, $01
.byte $07, $98, $99, $9A, $9B, $9C, $9D, $08, $01
.byte $07, $9E, $9F, $A0, $A1, $A2, $A3, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "17:30-18:00", $02
.byte $21, $62
.byte "CASEY ELLIS", $01, $01
.byte "VIRAL VULNERABILITY", $01
.byte "DISCLOSURE", $01, $01
.byte "WHAT ABOUT DISCLOSURE? DOES", $01
.byte "HACKING IN A SKIMASK MAKE", $01
.byte "YOU A BURGLAR? MEET THE", $01
.byte "GHOSTS OF PAST PRESENT AND", $01
.byte "FUTURE TO CREATE", $01
.byte "CONVERSATION BETWEEN", $01
.byte "BUILDERS AND BREAKERS WITH", $01
.byte "DISCLOSE.IO"
CaseyEnd:
SilvioStart:
.byte $3F, $00
.byte $0F, $08, $27, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $A4, $A5, $A6, $A7, $A8, $A9, $08, $01
.byte $07, $AA, $AB, $AC, $AD, $AE, $AF, $08, $01
.byte $07, $B0, $B1, $B2, $B3, $B4, $B5, $08, $01
.byte $07, $B6, $B7, $B8, $B9, $BA, $BB, $08, $01
.byte $07, $BC, $BD, $BE, $BF, $C0, $C1, $08, $01
.byte $07, $C2, $C3, $C4, $C5, $C6, $C7, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "18:00-18:30", $02
.byte $21, $62
.byte "DR SILVIO CASARE", $01, $01
.byte "MODERN LINUX HEAP", $01
.byte "EXPLOITATION", $01, $01
.byte "A CLASSIC HEAP OVERFLOW", $01
.byte "CAN'T LEAD TO CODE", $01
.byte "EXECUTION! COME SEE HOW WITH", $01
.byte "SOME GROOMING AND A LITTLE", $01
.byte "APPLICATION LOGIN HOW YOU", $01
.byte "CAN DEFEAT ALL CURRENT", $01
.byte "MITIGATIONS IN LINUX", $01
.byte "ALLOCATORS SUCH AS PTMALLOC2"
SilvioEnd:
SyedStart:
.byte $3F, $00
.byte $0F, $1C, $3B, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $C8, $C9, $CA, $CB, $CC, $CD, $08, $01
.byte $07, $CE, $CF, $D0, $D1, $D2, $D3, $08, $01
.byte $07, $D4, $D5, $D6, $D7, $D8, $D9, $08, $01
.byte $07, $DA, $DB, $DC, $DD, $DE, $DF, $08, $01
.byte $07, $E0, $E1, $E2, $E3, $E4, $E5, $08, $01
.byte $07, $E6, $E7, $E8, $E9, $EA, $EB, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "18:30-19:30", $02
.byte $21, $62
.byte "<NAME>", $01, $01
.byte "HAHA V8 ENGINE GO BRRRRR", $01, $01
.byte "V8 IS SO COMPLEX THAT IT HAS", $01
.byte "ITS OWN BUG CLASSES", $01
.byte "YOU'LL BE ABLE TO LEARN", $01
.byte "ABOUT THE GORY INTERNALS OF", $01
.byte "ONE OF THE MOST USED JS", $01
.byte "ENGINES IN THE WORLD AND THE", $01
.byte "BEST APPROACH FOR FINDING JS", $01
.byte "ENGINE VULNS"
SyedEnd:
SnyffStart:
.byte $3F, $00
.byte $0F, $08, $27, $30, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $80, $81, $82, $83, $84, $85, $08, $01
.byte $07, $86, $87, $88, $89, $8A, $8B, $08, $01
.byte $07, $8C, $8D, $8E, $8F, $90, $91, $08, $01
.byte $07, $92, $93, $94, $95, $96, $97, $08, $01
.byte $07, $98, $99, $9A, $9B, $9C, $9D, $08, $01
.byte $07, $9E, $9F, $A0, $A1, $A2, $A3, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "19:30-20:00", $02
.byte $21, $62
.byte "SNYFF", $01, $01
.byte "CODE THAT GETS YOU", $01
.byte "PWN(S['D)", $01, $01
.byte "FROM REGULAR EXPRESSION", $01
.byte "MAGIC TO UNICODE JIU-JITSU,", $01
.byte "WE WILL END MIXING THE TWO", $01
.byte "TO CREATE SOME", $01
.byte "UNICODE/REGULAR EXPRESSION", $01
.byte "KRAV MAGA FOR MAXIMUM DAMAGE", $01
.byte "IN GOLANG, RUBY, PYTHON, C#"
SnyffEnd:
OutbreakStart:
.byte $23, $C8
.byte %01000100, %01000100, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000
.byte %00000100, %00000100, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, $02
.byte $3F, $00
.byte $0F, $2D, $37, $30
.byte $0F, $2D, $08, $14, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $A4, $A5, $A6, $A7, $A8, $A9, $08, $01
.byte $07, $AA, $AB, $AC, $AD, $AE, $AF, $08, $01
.byte $07, $B0, $B1, $B2, $B3, $B4, $B5, $08, $01
.byte $07, $B6, $B7, $B8, $B9, $BA, $BB, $08, $01
.byte $07, $BC, $BD, $BE, $BF, $C0, $C1, $08, $01
.byte $07, $C2, $C3, $C4, $C5, $C6, $C7, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "20:00-20:30", $02
.byte $21, $62
.byte "OUTBREAK CONTAINMENT", $01, $01
.byte "A RECAP OF THE DAYS EVENTS", $01
.byte "WILL BE DISCUSSED. THIS WILL", $01
.byte "INCLUDE ANNOUNCING THE", $01
.byte "WINNERS OF THE CTF AND", $01
.byte "CH0PP3D EVENTS."
OutbreakEnd:
YTCrackerStart:
.byte $23, $C8
.byte %11000100, %10001101, %00000000, %00000100, %00000000, %00000000, %00000000, %00000000
.byte %00000100, %00000100, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, $02
.byte $3F, $00
.byte $0F, $2B, $27, $30
.byte $0F, $11, $27, $30
.byte $0F, $11, $27, $2B
.byte $0F, $11, $30, $2B, $02
.byte $20, $61
.byte $04, $05, $05, $05, $05, $05, $05, $06, $01
.byte $07, $C8, $C9, $CA, $CB, $CC, $CD, $08, $01
.byte $07, $CE, $CF, $D0, $D1, $D2, $D3, $08, $01
.byte $07, $D4, $D5, $D6, $D7, $D8, $D9, $08, $01
.byte $07, $DA, $DB, $DC, $DD, $DE, $DF, $08, $01
.byte $07, $E0, $E1, $E2, $E3, $E4, $E5, $08, $01
.byte $07, $E6, $E7, $E8, $E9, $EA, $EB, $08, $01
.byte $09, $0A, $0A, $0A, $0A, $0A, $0A, $0B, $02
.byte $21, $29
.byte "20:30-22:35", $02
.byte $21, $62
.byte "YTCRACKER", $01, $01
.byte "PANDEMIC PARTY", $01, $01
.byte "TIME TO LET YOUR HAIR DOWN", $01
.byte "WITH COMMUNITY EVENTS AND", $01
.byte "MUSIC. BOOZE AND CHATTER", $01
.byte "OPTIONAL WHILE MAINTAINING A", $01
.byte "SAFE DISTANCE (NOT", $01
.byte "OPTIONAL)."
YTCrackerEnd:
PresentationsStart:
.byte $3F, $00
.byte $0F, $0F, $0F, $30, $02
.byte $20, $62
.byte "PRESENTATIONS", $01, $01
.byte "THE MAIN FOCUS OF THE EVENT", $01
.byte "IS THE PRESENTATIONS, THESE", $01
.byte "WILL BE HELD OVER 8 HOURS IN", $01
.byte "30 AND 60 MINUTE BLOCKS, ", $01
.byte "WITH A 5 MINUTE Q&A OR BREAK", $01
.byte "TIME IN BETWEEN.", $01, $01, $01, $01
.byte "CAPTURE THE FLAG", $01, $01
.byte "A CTF WILL BE TAKING PLACE", $01
.byte "FOR THE DURATION OF THE", $01
.byte "EVENT. IT IS OPEN TO", $01
.byte "INDIVIDUALS AND TEAMS WITH", $01
.byte "WINNERS AND PRIZES TO BE", $01
.byte "ANNOUNCED AT THE END OF THE", $01
.byte "EVENT."
PresentationsEnd:
Ch0pp3dStart:
.byte $3F, $00
.byte $0F, $0F, $0F, $30, $02
.byte $20, $62
.byte "CH0PP3D!", $01, $01
.byte "THE CH0PP3D HACK-A-THON WILL", $01
.byte "RUN FOR THE DURATION FOR THE", $01
.byte "EVENT. IT IS OPEN TO", $01
.byte "INDIVIDUALS AND TEAMS WITH", $01
.byte "WINNERS AND PRIZES TO BE", $01
.byte "ANNOUNCED AT THE END OF THE", $01
.byte "EVENT.", $01, $01, $01, $01
.byte "MAINFRAME PANEL", $01, $01
.byte "A BIG-IRON SECURITY PANEL,", $01
.byte "FEATURING PROMINENT", $01
.byte "MAINFRAME SECURITY EXPERTS", $01
.byte "FROM AROUND THE WORLD (THERE", $01
.byte "ISN'T THAT MANY OF THEM)."
Ch0pp3dEnd:
Twitch2ShStart:
.byte $3F, $00
.byte $0F, $0F, $0F, $30, $02
.byte $20, $62
.BYTE "TWITCH2SHELL", $01, $01
.byte "THE INFAMOUS THUGCROWD", $01
.byte "TWITCH2SHELL EVENT WILL", $01
.byte "RETURN AT AIRGAP2020.", $01
.byte "PARTCIPANTS OF THE TWITCH", $01
.byte "CHAT CAN INTERACT WITH A", $01
.byte "SHELL. THE ONLY PROBLEM IS", $01
.byte "EVERYONE HAS TO SHARE!", $01, $01, $01, $01
.byte "PANDEMIC PARTY", $01, $01
.BYTE "STAY AROUND AFTER TO CHAT", $01
.byte "WITH SPEAKERS AND GUESTS,", $01
.byte "DISCUSS SOLUTIONS TO CH0PP3D", $01
.byte "AND THE CTF, AND ENJOY A", $01
.byte "LIVE DJ SET FROM YTCRACKER!"
Twitch2ShEnd:
|
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_762.asm | ljhsiun2/medusa | 9 | 83919 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x883c, %rsi
lea addresses_WT_ht+0x43b4, %rdi
cmp $35285, %rbp
mov $113, %rcx
rep movsw
sub %rbx, %rbx
lea addresses_normal_ht+0x2ab4, %r8
nop
nop
nop
nop
nop
sub %r9, %r9
movw $0x6162, (%r8)
nop
nop
nop
add $58390, %rcx
lea addresses_A_ht+0x1b8ec, %rsi
lea addresses_D_ht+0xa7b4, %rdi
nop
nop
dec %r13
mov $10, %rcx
rep movsb
nop
nop
nop
nop
nop
dec %rcx
lea addresses_D_ht+0x60b4, %rsi
lea addresses_UC_ht+0x1b914, %rdi
clflush (%rdi)
nop
and %r8, %r8
mov $102, %rcx
rep movsb
nop
nop
nop
nop
inc %rcx
lea addresses_A_ht+0xe1d2, %r13
nop
nop
add $29887, %rdi
movb $0x61, (%r13)
and %rdi, %rdi
lea addresses_A_ht+0xe934, %rsi
add %r8, %r8
mov $0x6162636465666768, %rbx
movq %rbx, %xmm2
and $0xffffffffffffffc0, %rsi
movntdq %xmm2, (%rsi)
nop
nop
cmp $62697, %rsi
lea addresses_normal_ht+0xa8a0, %rsi
lea addresses_UC_ht+0x148b4, %rdi
nop
sub %rbp, %rbp
mov $51, %rcx
rep movsw
nop
nop
nop
nop
nop
sub %r8, %r8
lea addresses_WC_ht+0x1a1b4, %rcx
nop
nop
nop
inc %rbx
mov $0x6162636465666768, %rdi
movq %rdi, (%rcx)
sub $17028, %rsi
lea addresses_normal_ht+0x3eb4, %rsi
and %rdi, %rdi
mov $0x6162636465666768, %r9
movq %r9, (%rsi)
nop
nop
nop
nop
nop
add %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r8
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %rbx
push %rcx
push %rdi
// Faulty Load
mov $0x7298a500000006b4, %rbx
nop
nop
and $24096, %rcx
mov (%rbx), %r11d
lea oracles, %rdi
and $0xff, %r11
shlq $12, %r11
mov (%rdi,%r11,1), %r11
pop %rdi
pop %rcx
pop %rbx
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 4, 'NT': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_WT_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_normal_ht'}}
{'src': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': True, 'type': 'addresses_D_ht'}}
{'src': {'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_A_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 16, 'NT': True, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_normal_ht'}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
orka_simd/src/x86/gnat/orka-simd-sse-singles-swizzle.ads | onox/orka | 52 | 25444 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
package Orka.SIMD.SSE.Singles.Swizzle is
pragma Pure;
function Shuffle (Left, Right : m128; Mask : Unsigned_32) return m128
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_shufps";
-- Shuffle the 32-bit floats in Left and Right using the given Mask. The first
-- and second floats (lower half) are retrieved from Left, the third and fourth
-- floats (upper half) from Right.
--
-- The compiler needs access to the Mask at compile-time, thus construct it
-- as follows:
--
-- Mask_a_b_c_d : constant Unsigned_32 := a or b * 4 or c * 16 or d * 64;
--
-- a and b select the floats to use from Left, c and d from Right.
function Unpack_High (Left, Right : m128) return m128
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_unpckhps";
-- Unpack and interleave the 32-bit floats from the upper halves of
-- Left and Right as follows: Left (3), Right (3), Left (4), Right (4)
function Unpack_Low (Left, Right : m128) return m128
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_unpcklps";
-- Unpack and interleave the 32-bit floats from the lower halves of
-- Left and Right as follows: Left (1), Right (1), Left (2), Right (2)
function Move_LH (Left, Right : m128) return m128
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_movlhps";
-- Move the two lower floats from Right to the two upper floats of Left:
-- Left (1), Left (2), Right (1), Right (2)
function Move_HL (Left, Right : m128) return m128
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_movhlps";
-- Move the two upper floats from Right to the two lower floats of Left:
-- Right (3), Right (4), Left (3), Left (4)
function Duplicate_LH (Elements : m128) return m128 is
(Move_LH (Elements, Elements))
with Inline;
function Duplicate_HL (Elements : m128) return m128 is
(Move_HL (Elements, Elements))
with Inline;
procedure Transpose (Matrix : in out m128_Array)
with Inline;
function Transpose (Matrix : m128_Array) return m128_Array
with Inline;
end Orka.SIMD.SSE.Singles.Swizzle;
|
programs/oeis/322/A322489.asm | karttu/loda | 1 | 105569 | ; A322489: Numbers k such that k^k ends with 4.
; 2,18,22,38,42,58,62,78,82,98,102,118,122,138,142,158,162,178,182,198,202,218,222,238,242,258,262,278,282,298,302,318,322,338,342,358,362,378,382,398,402,418,422,438,442,458,462,478,482,498,502,518,522,538,542,558,562,578,582,598,602,618,622,638,642,658,662,678,682,698,702,718,722,738,742,758,762,778,782,798,802,818,822,838,842,858,862,878,882,898,902,918,922,938,942,958,962,978,982,998,1002,1018,1022,1038,1042,1058,1062,1078,1082,1098,1102,1118,1122,1138,1142,1158,1162,1178,1182,1198,1202,1218,1222,1238,1242,1258,1262,1278,1282,1298,1302,1318,1322,1338,1342,1358,1362,1378,1382,1398,1402,1418,1422,1438,1442,1458,1462,1478,1482,1498,1502,1518,1522,1538,1542,1558,1562,1578,1582,1598,1602,1618,1622,1638,1642,1658,1662,1678,1682,1698,1702,1718,1722,1738,1742,1758,1762,1778,1782,1798,1802,1818,1822,1838,1842,1858,1862,1878,1882,1898,1902,1918,1922,1938,1942,1958,1962,1978,1982,1998,2002,2018,2022,2038,2042,2058,2062,2078,2082,2098,2102,2118,2122,2138,2142,2158,2162,2178,2182,2198,2202,2218,2222,2238,2242,2258,2262,2278,2282,2298,2302,2318,2322,2338,2342,2358,2362,2378,2382,2398,2402,2418,2422,2438,2442,2458,2462,2478,2482,2498
mov $1,$0
add $1,1
div $1,2
mul $1,3
add $1,$0
mul $1,4
add $1,2
|
VM/src/Linux/VPU/x86_64/Control/enable.asm | ozdevguy/Ditto | 0 | 178196 | <reponame>ozdevguy/Ditto
.global _vpu_initialize
.global _vpu_start
#Called from C functions.
protMemCalled:
mov rsp, qword ptr [r14 + 2056]
push r14
mov rax, 4
mov rbx, 1
mov rcx, offset p1msg
mov rdx, 18
int 0x80
pop r14
jmp [r14 + 2072]
privMemCalled:
mov rsp, qword ptr [r14 + 2056]
push r14
mov rax, 4
mov rbx, 1
mov rcx, offset p2msg
mov rdx, 18
int 0x80
pop r14
jmp [r14 + 2072]
IPtest:
mov rsp, qword ptr [r14 + 2056]
push r14
mov rax, 4
mov rbx, 1
mov rcx, offset p3msg
mov rdx, 18
int 0x80
pop r14
jmp [r14 + 2072]
memOutOfBounds:
mov rsp, qword ptr [r14 + 2056]
push r14
mov rax, 4
mov rbx, 1
mov rcx, offset p4msg
mov rdx, 18
int 0x80
pop r14
jmp [r14 + 2072]
enterProtMode:
mov rsp, qword ptr [r14 + 2056]
push r14
mov rax, 4
mov rbx, 1
mov rcx, offset p5msg
mov rdx, 18
int 0x80
pop r14
jmp [r14 + 2072]
memFault:
mov rsp, qword ptr [r14 + 2056]
push r14
mov rax, 4
mov rbx, 1
mov rcx, offset p6msg
mov rdx, 18
int 0x80
pop r14
jmp [r14 + 2072]
hardwareInt:
mov rsp, qword ptr [r14 + 2056]
push r14
mov rax, 4
mov rbx, 1
mov rcx, offset p7msg
mov rdx, 18
int 0x80
pop r14
jmp [r14 + 2072]
instProc:
mov rsp, qword ptr [r14 + 2056]
push r14
mov rax, 4
mov rbx, 1
mov rcx, offset p8msg
mov rdx, 18
int 0x80
pop r14
jmp [r14 + 2072]
_vpu_initialize: #Initialize the VPU Vector (setup opcode mappings).
pop rax #Pop the C function return address from the stack, store it in rax
mov rcx, rdi #Copy the VPU vector pointer into rcx for safe keeping.
#--BEGIN MAPPING READ POINTERS-->
add rdi, 2208
mov qword ptr [rdi], offset ivpu_read_32_0
add rdi, 32
mov qword ptr [rdi], offset ivpu_read_32_4
add rdi, 32
mov qword ptr [rdi], offset ivpu_read_32_8
add rdi, 8
mov qword ptr [rdi], offset ivpu_read_32_9
add rdi, 8
mov qword ptr [rdi], offset ivpu_read_32_10
add rdi, 8
mov qword ptr [rdi], offset ivpu_read_32_11
add rdi, 8
mov qword ptr [rdi], offset ivpu_read_32_12
add rdi, 16
mov qword ptr [rdi], offset ivpu_read_32_14
#--BEGIN MAPPING OPCODES-->
mov rdi, rcx
#DTU
mov qword ptr [rdi], offset __ld #ld opcode, 0x0
add rdi, 8
mov qword ptr [rdi], offset __str #str opcode, 0x1
add rdi, 8
mov qword ptr [rdi], offset __push #push opcode, 0x2
add rdi, 8
mov qword ptr [rdi], offset __pop #pop opcode, 0x3
add rdi, 8
mov qword ptr [rdi], offset __mov
add rdi, 8
mov qword ptr [rdi], offset __add
add rdi, 8
mov qword ptr [rdi], offset __stop
#ALU
mov rcx, rdi
add rdi, 0x40
#-mov qword ptr [rdi], offset __mov #mov opcode, 0x8
add rdi, 8
#-mov qword ptr [rdi], offset __movw #movw opcode, 0x9
add rdi, 8
#-mov qword ptr [rdi], offset __movws #movws opcode, 0xA
add rdi, 8
#-mov qword ptr [rdi], offset __movh #movh opcode, 0xB
add rdi, 8
#-mov qword ptr [rdi], offset __movhs #movhs opcode, 0xC
add rdi, 8
#-mov qword ptr [rdi], offset __movb #movb opcode, 0xD
add rdi, 8
#-mov qword ptr [rdi], offset __movbs #movbs opcode, 0xE
add rdi, 8
#-mov qword ptr [rdi], offset __movn #movn opcode, 0xF
add rdi, 8
#->mov qword ptr [rdi], offset __movne #movne opcode, 0x
add rdi, 8
#->mov qword ptr [rdi], offset __movgt
add rdi, 8
#->mov qword ptr [rdi], offset __movge
add rdi, 8
#->mov qword ptr [rdi], offset __moveq
add rdi, 8
#->mov qword ptr [rdi], offset __movz
add rdi, 8
#->mov qword ptr [rdi], offset __movlt
add rdi, 8
#->mov qword ptr [rdi], offset __movle
add rdi, 8
#->mov qword ptr [rdi], offset __add
add rdi, 8
#->mov qword ptr [rdi], offset __sub
add rdi, 8
#->mov qword ptr [rdi], offset __inc
add rdi, 8
#->mov qword ptr [rdi], offset __dec
add rdi, 8
#->mov qword ptr [rdi], offset __mul
add rdi, 8
#->mov qword ptr [rdi], offset __smul
add rdi, 8
#->mov qword ptr [rdi], offset __div
add rdi, 8
#->mov qword ptr [rdi], offset __sdiv
add rdi, 8
#->mov qword ptr [rdi], offset __neg
add rdi, 8
#->mov qword ptr [rdi], offset __cmp
add rdi, 8
#->mov qword ptr [rdi], offset __and
add rdi, 8
#->mov qword ptr [rdi], offset __or
add rdi, 8
#->mov qword ptr [rdi], offset __not
add rdi, 8
#->mov qword ptr [rdi], offset __nand
add rdi, 8
#->mov qword ptr [rdi], offset __xor
add rdi, 8
#->mov qword ptr [rdi], offset __test
add rdi, 8
#->mov qword ptr [rdi], offset __rotl
add rdi, 8
#->mov qword ptr [rdi], offset __rotr
add rdi, 8
#->mov qword ptr [rdi], offset __shfl
add rdi, 8
#->mov qword ptr [rdi], offset __shfr
add rdi, 8
#->mov qword ptr [rdi], offset __nop
add rdi, 8
#->mov qword ptr [rdi], offset __seo
add rdi, 8
#->mov qword ptr [rdi], offset __lea
add rdi, 136
#Control Unit
#->mov qword ptr [rdi], offset __go
add rdi, 8
#->mov qword ptr [rdi], offset __gone
add rdi, 8
#->mov qword ptr [rdi], offset __gogt
add rdi, 8
#->mov qword ptr [rdi], offset __goge
add rdi, 8
#->mov qword ptr [rdi], offset __goe
add rdi, 8
#->mov qword ptr [rdi], offset __gol
add rdi, 8
#->mov qword ptr [rdi], offset __gole
add rdi, 8
jmp rax #Jump back to the calling function using the return address in RAX.
_vpu_start: #Start the virtual processing unit.
#Check to make sure a valid vpu vector has been passed.
cmp rdi, 0x0
je i_vpu_invalid_start
#Move the VPU vector pointer to the correct register.
mov r14, rdi
#Pop the C return address off the stack and save it.
pop rax
mov qword ptr [r14 + 2072], rax #Save the return address in the VPU vector.
#Save the calling function's last stack address to the VPU vector.
mov qword ptr [r14 + 2056], rsp
#Move the main memory pointer into the r13 register for fast access.
mov r13, qword ptr [r14 + 2040]
#Set the VPU instruction pointer.
mov rdi, 0x0
#Finish prep
mov r12, qword ptr [r14 + 2048]
mov rsi, 0x0
#Begin the fetch, decode, execute cycle.
jmp ivpu_fetch
#A VPU start was requested without a valid VPU vector.
i_vpu_invalid_start:
pop rax
jmp rax
|
libsrc/math/daimath32/c/sccz80/fpclassify.asm | ahjelm/z88dk | 640 | 104686 | <reponame>ahjelm/z88dk<gh_stars>100-1000
SECTION code_fp
PUBLIC fpclassify
EXTERN ___dai32_setup_single
EXTERN ___dai32_fpac
; Return 0 = normal
; 1 = zero
; 2 = nan
; 3 = infinite
fpclassify:
call ___dai32_setup_single
ld a,(___dai32_fpac+0) ;exponent
ld hl,1
and 127
ret z
dec hl
ret
|
oeis/010/A010475.asm | neoneye/loda-programs | 11 | 83751 | <reponame>neoneye/loda-programs<filename>oeis/010/A010475.asm
; A010475: Decimal expansion of square root of 19.
; 4,3,5,8,8,9,8,9,4,3,5,4,0,6,7,3,5,5,2,2,3,6,9,8,1,9,8,3,8,5,9,6,1,5,6,5,9,1,3,7,0,0,3,9,2,5,2,3,2,4,4,4,9,3,6,8,9,0,3,4,4,1,3,8,1,5,9,5,5,7,3,2,8,2,0,3,1,5,8,0,8,5,6,5,6,1,5,9,1,5,5,8,5,1,9,4,4,5,2,6
mov $1,1
mov $2,1
mov $3,$0
add $3,3
mov $4,$0
add $4,5
mul $4,2
mov $7,10
pow $7,$4
mov $9,10
lpb $3
mov $4,$2
pow $4,2
mul $4,19
mov $5,$1
pow $5,2
add $4,$5
mov $6,$1
mov $1,$4
mul $6,$2
mul $6,2
mov $2,$6
mov $8,$4
div $8,$7
max $8,1
div $1,$8
div $2,$8
sub $3,1
lpe
mov $3,$9
pow $3,$0
div $2,$3
div $1,$2
mod $1,$9
mov $0,$1
|
src/Data/Logic.agda | JonathanBrouwer/research-project | 1 | 2494 | <filename>src/Data/Logic.agda
module Data.Logic where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Relation.Nullary.Decidable
open import Data.Nat.DivMod
open import Data.Nat.Properties
open import Agda.Primitive
{-# FOREIGN AGDA2HS
import Data.Nat
#-}
---- Equational reasoning
useEq : {x y : Bool} -> x ≡ y -> .(IsTrue x) -> IsTrue y
useEq {true} {true} eq is = IsTrue.itsTrue
useEqFalse : {x y : Bool} -> x ≡ y -> .(IsFalse x) -> IsFalse y
useEqFalse {false} {false} eq is = IsFalse.itsFalse
isTrueToEquiv : {c : Bool} -> IsTrue c -> c ≡ true
isTrueToEquiv {true} p = refl
isFalseToEquiv : {c : Bool} -> IsFalse c -> c ≡ false
isFalseToEquiv {false} p = refl
-- symmetry of equality
sym : {u : Level} {A : Set u} {x y : A} → x ≡ y → y ≡ x
sym refl = refl
-- transitivity of equality
trans : {u : Level} {A : Set u} {x y z : A} → x ≡ y → y ≡ z → x ≡ z
trans refl refl = refl
-- congruence of equality
cong : {u v : Level} {A : Set u} {B : Set v} {x y : A} → (f : A → B) → x ≡ y → f x ≡ f y
cong f refl = refl
cong2 : {A B T : Set} {a1 a2 : A} {b1 b2 : B} → (f : A → B -> T) → a1 ≡ a2 -> b1 ≡ b2 → f a1 b1 ≡ f a2 b2
cong2 f refl refl = refl
cong3 : {A B C T : Set} {a1 a2 : A} {b1 b2 : B} {c1 c2 : C} → (f : A → B -> C -> T) → a1 ≡ a2 -> b1 ≡ b2 -> c1 ≡ c2 → f a1 b1 c1 ≡ f a2 b2 c2
cong3 f refl refl refl = refl
cong4 : {A B C D T : Set} {a1 a2 : A} {b1 b2 : B} {c1 c2 : C} {d1 d2 : D} → (f : A → B -> C -> D -> T) → a1 ≡ a2 -> b1 ≡ b2 → c1 ≡ c2 -> d1 ≡ d2 -> f a1 b1 c1 d1 ≡ f a2 b2 c2 d2
cong4 f refl refl refl refl = refl
begin_ : {u : Level} {A : Set u} → {x y : A} → x ≡ y → x ≡ y
begin p = p
_end : {u : Level} {A : Set u} → (x : A) → x ≡ x
x end = refl
_=⟨_⟩_ : {u : Level} {A : Set u} → (x : A) → {y z : A}
→ x ≡ y → y ≡ z → x ≡ z
x =⟨ p ⟩ q = trans p q
_=⟨⟩_ : {u : Level} {A : Set u} → (x : A) → {y : A} → x ≡ y → x ≡ y
x =⟨⟩ q = x =⟨ refl ⟩ q
infix 1 begin_
infix 3 _end
infixr 2 _=⟨_⟩_
infixr 2 _=⟨⟩_
---- General purpose proofs
propZeroImpliesLtOne : (x : Nat) -> IsFalse (x == 0) -> IsFalse (x < 1)
propZeroImpliesLtOne Z notZ = notZ
propZeroImpliesLtOne (S x) notZ = IsFalse.itsFalse
propFnIf : {a b : Set} -> {c : Bool} {x y : a} (f : a -> b) -> (if c then f x else f y) ≡ f (if c then x else y)
propFnIf {c = false} f = refl
propFnIf {c = true} f = refl
propMaxSuc : (x y : Nat) -> max (S x) (S y) ≡ S (max x y)
propMaxSuc Z Z = refl
propMaxSuc Z (S y) = refl
propMaxSuc (S x) Z = refl
propMaxSuc (S x) (S y) =
begin
max (S $ S x) (S $ S y)
=⟨⟩
(if x < y then (S $ S y) else (S $ S x))
=⟨ propFnIf S ⟩
(S $ (if x < y then (S y) else (S x)))
=⟨⟩
S (max (S x) (S y))
end
propMaxRefl : (x y : Nat) -> max x y ≡ max y x
propMaxRefl Z Z = refl
propMaxRefl Z (S y) = refl
propMaxRefl (S x) Z = refl
propMaxRefl (S x) (S y) =
begin
max (S x) (S y)
=⟨ propMaxSuc x y ⟩
S (max x y)
=⟨ cong S (propMaxRefl x y) ⟩
S (max y x)
=⟨ sym $ propMaxSuc y x ⟩
max (S y) (S x)
end
propIsTrueCombine2 : {a b : Bool} -> IsTrue a -> IsTrue b -> IsTrue (a && b)
propIsTrueCombine2 {true} {true} ta tb = IsTrue.itsTrue
propIsTrueCombine4 : {a b c d : Bool} -> IsTrue a -> IsTrue b -> IsTrue c -> IsTrue d -> IsTrue ((a && b) && (c && d))
propIsTrueCombine4 {true} {true} {true} {true} ta tb tc td = IsTrue.itsTrue
propIsTrueCombine4Alt : {a b c d : Bool} -> IsTrue a -> IsTrue b -> IsTrue c -> IsTrue d -> IsTrue (a && b && c && d)
propIsTrueCombine4Alt {true} {true} {true} {true} ta tb tc td = IsTrue.itsTrue
andRefl : (a b : Bool) -> (a && b) ≡ (b && a)
andRefl false false = refl
andRefl false true = refl
andRefl true false = refl
andRefl true true = refl
orFst : {a b : Bool} -> IsTrue a -> IsTrue (a || b)
orFst {true} {b} ap = IsTrue.itsTrue
andFst : {a b : Bool} -> IsTrue (a && b) -> IsTrue a
andFst {true} {true} ab = IsTrue.itsTrue
andSnd : {a b : Bool} -> IsTrue (a && b) -> IsTrue b
andSnd {true} {true} ab = IsTrue.itsTrue
andSndI : {a b : Bool} -> .(IsTrue (a && b)) -> IsTrue b
andSndI {true} {true} ab = IsTrue.itsTrue
and1 : {a b c d : Bool} -> IsTrue (a && b && c && d) -> IsTrue a
and1 {true} {true} {true} {true} abcd = IsTrue.itsTrue
and2 : {a b c d : Bool} -> IsTrue (a && b && c && d) -> IsTrue b
and2 {true} {true} {true} {true} abcd = IsTrue.itsTrue
and3 : {a b c d : Bool} -> IsTrue (a && b && c && d) -> IsTrue c
and3 {true} {true} {true} {true} abcd = IsTrue.itsTrue
and4 : {a b c d : Bool} -> IsTrue (a && b && c && d) -> IsTrue d
and4 {true} {true} {true} {true} abcd = IsTrue.itsTrue
andCombine : {a b : Bool} -> IsTrue a -> IsTrue b -> IsTrue (a && b)
andCombine {true} {true} ta tb = IsTrue.itsTrue
boolAndTrue : (a : Bool) -> (a && true) ≡ a
boolAndTrue false = refl
boolAndTrue true = refl
ifTrue : {u : Level} {t : Set u} {a b : t} (c : Bool) -> IsTrue c -> (if c then a else b) ≡ a
ifTrue true tc = refl
ifFalse : {t : Set} {a b : t} (c : Bool) -> IsFalse c -> (if c then a else b) ≡ b
ifFalse false fc = refl
infix -2 ifc_then_else_
ifc_then_else_ : {u : Level} {a : Set u} → (c : Bool) → ({{IsTrue c}} → a) → ({{IsFalse c}} → a) → a
ifc false then x else y = y {{IsFalse.itsFalse}}
ifc true then x else y = x {{IsTrue.itsTrue}}
{-# COMPILE AGDA2HS ifc_then_else_ #-}
ifcTrue : {u : Level} {t : Set u} -> (c : Bool) {a : {{.(IsTrue c)}} -> t} {b : {{.(IsFalse c)}} -> t} -> .(ct : IsTrue c) -> (ifc c then (λ {{p}} -> a) else (λ {{p}} -> b)) ≡ (a {{ct}})
ifcTrue true {a} {b} ct = refl
ifcFalse : {u : Level} {t : Set u} -> (c : Bool) {a : {{.(IsTrue c)}} -> t} {b : {{.(IsFalse c)}} -> t} -> .(ct : IsFalse c) -> (ifc c then (λ {{p}} -> a) else (λ {{p}} -> b)) ≡ (b {{ct}})
ifcFalse false {a} {b} ct = refl
propFnIfc : {a b : Set} -> (c : Bool) {x : {{IsTrue c}} -> a} {y : {{IsFalse c}} -> a} (f : a -> b)
-> (ifc c then f x else f y) ≡ f (ifc c then x else y)
propFnIfc false f = refl
propFnIfc true f = refl
propFnDistributeIfc2 : {a b : Set} -> (c1 c2 : Bool) {w x y z : a} (f : a -> b)
-> f (ifc c1 then (ifc c2 then w else x) else (ifc c2 then y else z))
≡ (ifc c1 then (ifc c2 then f w else f x) else (ifc c2 then f y else f z))
propFnDistributeIfc2 false false f = refl
propFnDistributeIfc2 false true f = refl
propFnDistributeIfc2 true false f = refl
propFnDistributeIfc2 true true f = refl
propIfcBranchesSame : {t : Set} -> {c : Bool} (v : t)
-> (ifc c then v else v) ≡ v
propIfcBranchesSame {c = false} v = refl
propIfcBranchesSame {c = true} v = refl
propIfBranchesSame : {t : Set} -> {c : Bool} (v : t)
-> (if c then v else v) ≡ v
propIfBranchesSame {c = false} v = refl
propIfBranchesSame {c = true} v = refl
ifToIfc : {t : Set} {c : Bool} {a b : t} -> (if c then a else b) ≡ (ifc c then a else b)
ifToIfc {c = false} = refl
ifToIfc {c = true} = refl
ifTrueMap : {t : Set} -> {c : Bool} {a a2 b : t} -> (IsTrue c -> a ≡ a2) -> (if c then a else b) ≡ (if c then a2 else b)
ifTrueMap {c = false} aa2 = refl
ifTrueMap {c = true} {a} {a2} aa2 =
begin
a
=⟨ aa2 IsTrue.itsTrue ⟩
a2
end
ifcTrueMap : {t : Set} -> {c : Bool} {a a2 b : t} -> (IsTrue c -> a ≡ a2) -> (ifc c then a else b) ≡ (ifc c then a2 else b)
ifcTrueMap {c = false} aa2 = refl
ifcTrueMap {c = true} {a} {a2} aa2 =
begin
a
=⟨ aa2 IsTrue.itsTrue ⟩
a2
end
ifTrueNested : {t : Set} -> {c1 c2 : Bool} {a b c : t} -> (c1 ≡ c2) -> (if c1 then (if c2 then a else b) else c) ≡ (if c1 then a else c)
ifTrueNested {t} {false} {false} {a} {b} {c} c1eqc2 = refl
ifTrueNested {t} {true} {true} {a} {b} {c} c1eqc2 = refl
ifFalseNested : {t : Set} -> {c1 c2 : Bool} {a b c : t} -> (c1 ≡ c2) -> (if c1 then a else (if c2 then b else c)) ≡ (if c1 then a else c)
ifFalseNested {t} {false} {false} {a} {b} {c} c1eqc2 = refl
ifFalseNested {t} {true} {true} {a} {b} {c} c1eqc2 = refl
---- Useful functions
div : Nat -> (divisor : Nat) -> {≢0 : False (divisor ≟ 0)} -> Nat
div a b {p} = _/_ a b {p}
-- Does not need compile, since it is already defined in haskell
mod : Nat -> (divisor : Nat) -> {≢0 : False (divisor ≟ 0)} -> Nat
mod a b {p} = _%_ a b {p}
-- Does not need compile, since it is already defined in haskell
addLte : (a b c : Nat) -> IsTrue (c == a + b) -> IsTrue (a <= c)
addLte Z Z Z abc = IsTrue.itsTrue
addLte Z (S b) (S c) abc = IsTrue.itsTrue
addLte (S a) Z (S c) abc = addLte a Z c abc
addLte (S a) (S b) (S c) abc = addLte a (S b) c abc
0+n : (n : Nat) -> IsTrue (n == 0 + n)
0+n Z = IsTrue.itsTrue
0+n (S n) = 0+n n
addSuc : (a b c : Nat) -> IsTrue (c == a + S b) -> IsTrue (c == S a + b)
addSuc Z Z (S c) abc = abc
addSuc Z (S b) (S c) abc = abc
addSuc (S a) Z (S c) abc = addSuc a Z c abc
addSuc (S a) (S b) (S c) abc = addSuc a (S b) c abc
-- m = k + j ==> mod-helper k m n j = (n + k) mod (1 + m).
modHelperLt : (k m n j : Nat)
-> IsTrue (m == k + j)
-> IsTrue (mod-helper k m n j <= m)
modHelperLt k m Z j i1 = addLte k j m i1
modHelperLt k m (S n) Z i1 = modHelperLt 0 m n m (0+n m)
modHelperLt k m (S n) (S j) i1 = modHelperLt (S k) m n j (addSuc k j m i1)
lteToLt : (a b : Nat) -> (a <= b) ≡ (a < S b)
lteToLt Z Z = refl
lteToLt Z (S b) = refl
lteToLt (S a) Z = refl
lteToLt (S a) (S b) = lteToLt a b
modLt : (a b : Nat) {≢0 : False (b ≟ 0)} -> IsTrue ((mod a b {≢0}) < b)
modLt a b@(S bs) =
let
pgoal : IsTrue (mod a b <= bs)
pgoal = modHelperLt 0 bs a bs (0+n bs)
in useEq (lteToLt (mod a b) bs) pgoal
pow : Nat -> Nat -> Nat
pow b Z = 1
pow b (S e) = b * pow b e
{-# COMPILE AGDA2HS pow #-}
mul_not_zero : {a b : Nat} -> IsFalse (a == 0) -> IsFalse (b == 0) -> IsFalse (a * b == 0)
mul_not_zero {S a} {S b} az bz = IsFalse.itsFalse
pow_not_zero : (n : Nat) -> IsFalse (pow 2 n == 0)
pow_not_zero Z = IsFalse.itsFalse
pow_not_zero (S sn) = mul_not_zero {2} {pow 2 sn} IsFalse.itsFalse (pow_not_zero sn)
false_convert : (n : Nat) -> IsFalse (n == 0) -> False (n ≟ 0)
false_convert (S n) if = tt
pow_not_zero_cv : (n : Nat) -> False (pow 2 n ≟ 0)
pow_not_zero_cv n = false_convert (pow 2 n) $ pow_not_zero n
zeroLteAny : (a : Nat) -> IsTrue (0 <= a)
zeroLteAny Z = IsTrue.itsTrue
zeroLteAny (S a) = IsTrue.itsTrue
lteSum : (a b s : Nat) -> (a <= b) ≡ (s + a <= s + b)
lteSum a b Z = refl
lteSum a b (S s) = lteSum a b s
lteSumOne : (a b s : Nat) -> IsTrue (a <= b) -> IsTrue (a <= s + b)
lteSumOne a b Z ab = ab
lteSumOne Z b (S n) ab = IsTrue.itsTrue
lteSumOne (S Z) Z (S Z) ab = IsTrue.itsTrue
lteSumOne (S (S n)) Z (S Z) ab = ab
lteSumOne (S n₁) (S n) (S Z) ab = lteSumOne n₁ n 1 ab
lteSumOne (S n₁) b (S (S n)) ab = lteSumOne n₁ (n + b) 1 (lteSumOne (S n₁) b (S n) ab)
anyGteZero : (a : Nat) -> IsTrue (a >= 0)
anyGteZero Z = IsTrue.itsTrue
anyGteZero (S a) = IsTrue.itsTrue
{-# TERMINATING #-}
log2up : Nat -> Nat
-- UNSAFE: This terminates since x/2 always decreases if x > 1
log2up 0 = 0
log2up 1 = 0
log2up (S (S x)) = S (log2up (div (S (S (S x))) 2))
{-# COMPILE AGDA2HS log2up #-}
divHelperReduce : (x a b c : Nat) -> div-helper (S x) a b c ≡ S (div-helper x a b c)
divHelperReduce x a Z c = refl
divHelperReduce x a (S b) Z =
begin
div-helper (S (S x)) a b a
=⟨ divHelperReduce (S x) a b a ⟩
S (div-helper (S x) a b a)
end
divHelperReduce x a (S b) (S c) = divHelperReduce x a b c
div2Reduce : (x : Nat) -> div (2 + x) 2 ≡ S (div x 2)
div2Reduce Z = refl
div2Reduce x@(S sx) =
begin
div (2 + x) 2
=⟨⟩
div-helper 1 1 sx 0
=⟨ divHelperReduce 0 1 sx 0 ⟩
S (div-helper 0 1 sx 0)
=⟨⟩
S (div x 2)
end
isTrueEquiv : {b : Bool} -> IsTrue b -> true ≡ b
isTrueEquiv {true} t = refl
plusGteOne : (a b : Nat) -> IsTrue (a >= 1) -> IsTrue (a + b >= 1)
plusGteOne (S a) b p = anyGteZero (a + b)
multGteOne : (a b : Nat) -> IsTrue (a >= 1) -> IsTrue (b >= 1) -> IsTrue (a * b >= 1)
multGteOne (S a) (S b) pa pb = plusGteOne (S b) (a * (S b)) pb
powGteOne : (n : Nat) -> IsTrue (pow 2 n >= 1)
powGteOne Z = IsTrue.itsTrue
powGteOne (S n) = multGteOne 2 (pow 2 n) IsTrue.itsTrue (powGteOne n)
add-assoc : (a b c : Nat) → (a + b) + c ≡ a + (b + c)
add-assoc Z b c = refl
add-assoc (S a) b c = cong S (add-assoc a b c)
add-n-zero : (n : Nat) → n + Z ≡ n
add-n-zero Z = refl
add-n-zero (S n) = cong S (add-n-zero n)
add-n-suc : (m n : Nat) → m + (S n) ≡ S (m + n)
add-n-suc Z n = refl
add-n-suc (S m) n = cong S (add-n-suc m n)
add-comm : (m n : Nat) → m + n ≡ n + m
add-comm m Z = add-n-zero m
add-comm m (S n) =
begin
m + (S n)
=⟨ add-n-suc m n ⟩
S (m + n)
=⟨ cong S (add-comm m n) ⟩
(S n) + m
end
mul-n-zero : (a : Nat) -> a * Z ≡ Z
mul-n-zero Z = refl
mul-n-zero (S a) = mul-n-zero a
mul-n-suc : (a b : Nat) -> a * (S b) ≡ a + a * b
mul-n-suc Z b = refl
mul-n-suc (S a) b =
begin
(S a) * (S b)
=⟨⟩
(S b) + a * (S b)
=⟨ cong (λ q -> (S b) + q) (mul-n-suc a b) ⟩
S (b + (a + a * b))
=⟨ cong S (sym $ add-assoc b a (a * b)) ⟩
S ((b + a) + a * b)
=⟨ cong (λ q -> S (q + a * b)) (add-comm b a) ⟩
S ((a + b) + a * b)
=⟨ cong S (add-assoc a b (a * b)) ⟩
S (a + (b + a * b) )
=⟨⟩
(S a) + (S a) * b
end
mul-comm : (a b : Nat) -> a * b ≡ b * a
mul-comm a Z = mul-n-zero a
mul-comm a (S b) =
begin
a * (S b)
=⟨ mul-n-suc a b ⟩
a + a * b
=⟨ cong (λ q -> a + q) (mul-comm a b) ⟩
(S b) * a
end
gteDouble : (a b : Nat) -> (a >= b) ≡ (a + a >= b + b)
gteDouble Z Z = refl
gteDouble Z (S b) = refl
gteDouble (S a) Z = refl
gteDouble (S a) (S b) =
begin
a >= b
=⟨ gteDouble a b ⟩
(S a) + a >= (S b) + b
=⟨ cong (λ q -> q >= (S b) + b) (add-comm (S a) a) ⟩
a + S a >= S b + b
=⟨ cong (λ q -> a + S a >= q) (add-comm (S b) b) ⟩
a + S a >= b + S b
end
gteMultBoth : (a b : Nat) -> (a >= b) ≡ (2 * a >= 2 * b)
gteMultBoth a b =
begin
a >= b
=⟨ gteDouble a b ⟩
a + a >= b + b
=⟨ cong (λ q -> a + q >= b + b) (sym $ add-comm a 0) ⟩
a + (a + 0) >= b + b
=⟨ cong (λ q -> a + (a + 0) >= b + q) (sym $ add-comm b 0) ⟩
a + (a + 0) >= b + (b + 0)
end
gteTransitive : (a b c : Nat) -> IsTrue (a >= b) -> IsTrue (b >= c) -> IsTrue (a >= c)
gteTransitive Z Z Z ab bc = IsTrue.itsTrue
gteTransitive (S a) Z Z ab bc = IsTrue.itsTrue
gteTransitive (S a) (S b) Z ab bc = IsTrue.itsTrue
gteTransitive (S a) (S b) (S c) ab bc = gteTransitive a b c ab bc
mul-div : (x : Nat) -> IsTrue (2 * (div (1 + x) 2) >= x)
mul-div Z = IsTrue.itsTrue
mul-div (S Z) = IsTrue.itsTrue
mul-div (S (S x)) =
let
p1 : IsTrue (2 + 2 * (div (1 + x) 2) >= 2 + x)
p1 = mul-div x
p2 : IsTrue (S (div (1 + x) 2) * 2 >= 2 + x)
p2 = useEq (cong (λ q -> 2 + q >= 2 + x) (mul-comm 2 (div (1 + x) 2))) p1
p3 : IsTrue (2 * S (div (1 + x) 2) >= 2 + x)
p3 = useEq (cong (λ q -> q >= 2 + x) (mul-comm (S (div (1 + x) 2)) 2)) p2
goal : IsTrue (2 * (div (3 + x) 2) >= 2 + x)
goal = useEq (cong (λ q -> 2 * q >= 2 + x) (sym $ div2Reduce (1 + x))) p3
in goal
log2upPow : (a b : Nat) -> .(IsTrue (a >= log2up b)) -> IsTrue (pow 2 a >= b)
log2upPow Z Z p = IsTrue.itsTrue
log2upPow Z (S Z) p = IsTrue.itsTrue
log2upPow (S a) Z p = anyGteZero (pow 2 (S a))
log2upPow (S a) (S Z) p = useEq
(begin
(S a) >= 0
=⟨ isTrueEquiv $ anyGteZero (S a) ⟩
true
=⟨ isTrueEquiv $ powGteOne (S a) ⟩
pow 2 (S a) >= 1
end) p
log2upPow (S a) (S (S b)) p =
let
p1 : IsTrue ( pow 2 a >= div (3 + b) 2 )
p1 = log2upPow a (div (3 + b) 2) p
p2 : IsTrue ( pow 2 (S a) >= 2 * (div (3 + b) 2) )
p2 = useEq (gteMultBoth (pow 2 a) (div (3 + b) 2)) p1
in gteTransitive (pow 2 (S a)) (2 * (div (3 + b) 2)) (2 + b) p2 ((mul-div (2 + b)))
eqToGte : (a b : Nat) -> IsTrue (a == b) -> IsTrue (a >= b)
eqToGte Z b ab = ab
eqToGte (S a) (S b) ab = eqToGte a b ab
gteInvert : (a b : Nat) -> IsTrue (a >= b) -> IsTrue (b <= a)
gteInvert Z Z ab = IsTrue.itsTrue
gteInvert (S a) Z ab = IsTrue.itsTrue
gteInvert (S a) (S b) ab = gteInvert a b ab
ltLteTransitive : (a b c : Nat) -> IsTrue (a < b) -> IsTrue (b <= c) -> IsTrue (a < c)
ltLteTransitive Z (S b) (S c) ab bc = IsTrue.itsTrue
ltLteTransitive (S a) (S b) (S c) ab bc = ltLteTransitive a b c ab bc
lteTransitive : (a b c : Nat) -> IsTrue (a <= b) -> IsTrue (b <= c) -> IsTrue (a <= c)
lteTransitive Z Z c ab bc = bc
lteTransitive Z (S b) (S c) ab bc = IsTrue.itsTrue
lteTransitive (S a) (S b) (S c) ab bc = lteTransitive a b c ab bc
incrLte : (a b : Nat) -> IsTrue (a <= b) -> IsTrue (a <= S b)
incrLte Z Z altb = IsTrue.itsTrue
incrLte Z (S b) altb = IsTrue.itsTrue
incrLte (S a) (S b) altb = incrLte a b altb
natPlusMinNat : (x : Nat) -> {{p : IsFalse (x < 1)}} -> x ≡ (S (x - 1))
natPlusMinNat (S x) = refl
transformLteRight : {a b c : Nat} -> b ≡ c -> IsTrue (a <= b) -> IsTrue (a <= c)
transformLteRight {a} {b} {.b} refl ab = ab
lteSelf : (v : Nat) -> IsTrue (v <= v)
lteSelf Z = IsTrue.itsTrue
lteSelf (S v) = lteSelf v
falseToNotTrue : {b : Bool} -> IsFalse (b) -> IsTrue (not b)
falseToNotTrue {false} if = IsTrue.itsTrue
notFalseToTrue : {b : Bool} -> IsFalse (not b) -> IsTrue b
notFalseToTrue {true} if = IsTrue.itsTrue
trueToNotFalse : {b : Bool} -> IsTrue (b) -> IsFalse (not b)
trueToNotFalse {true} if = IsFalse.itsFalse
notTrueToFalse : {b : Bool} -> IsTrue (not b) -> IsFalse (b)
notTrueToFalse {false} if = IsFalse.itsFalse
-- Law of reflexivity for equality
postulate
eqReflexivity : {t : Set} {{eqT : Eq t}} (v : t) -> IsTrue (v == v)
eqToEquiv : {t : Set} {{eqT : Eq t}} (a b : t) -> IsTrue (a == b) -> a ≡ b
botToAny : {t : Set} -> ⊥ -> t
botToAny ()
max4 : (a b c d : Nat) -> Nat
max4 a b c d = max (max a b) (max c d)
{-# COMPILE AGDA2HS max4 #-}
sub : (a b : Nat) -> {{ .( IsTrue (b <= a) ) }} -> Nat
sub a Z {{ab}} = a
sub (S a) (S b) {{ab}} = sub a b
{-# COMPILE AGDA2HS sub #-}
diff : (a b : Nat) -> Nat
diff a Z = a
diff Z b = b
diff (S a) (S b) = diff a b
{-# COMPILE AGDA2HS diff #-} |
src/port_byte_out.asm | I8087/libm | 13 | 3533 | <reponame>I8087/libm<filename>src/port_byte_out.asm
global _port_byte_out
_port_byte_out:
push bp
mov bp, sp
mov dx, [bp+4]
mov al, byte [bp+6]
call os_port_byte_out
pop bp
ret
|
programs/oeis/024/A024076.asm | karttu/loda | 1 | 20623 | <reponame>karttu/loda
; A024076: 7^n-n.
; 1,6,47,340,2397,16802,117643,823536,5764793,40353598,282475239,1977326732,13841287189,96889010394,678223072835,4747561509928,33232930569585,232630513987190,1628413597910431,11398895185373124
mov $1,7
pow $1,$0
sub $1,$0
|
ada_gui-gnoga-gui-element.ads | jrcarter/Ada_GUI | 19 | 5897 | <gh_stars>10-100
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A . G U I . E L E M E N T --
-- --
-- S p e c --
-- --
-- --
-- Copyright (C) 2014 <NAME> --
-- --
-- This library is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This library is distributed in the hope that it will be --
-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are --
-- granted additional permissions described in the GCC Runtime Library --
-- Exception, version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- For more information please go to http://www.gnoga.com --
------------------------------------------------------------------------------
with Ada.Containers.Vectors;
with Ada.Containers.Indefinite_Hashed_Maps;
with Ada.Strings.Hash;
with Ada_GUI.Gnoga.Colors;
package Ada_GUI.Gnoga.Gui.Element is
-------------------------------------------------------------------------
-- Element_Type
-------------------------------------------------------------------------
type Element_Type is new Gnoga.Gui.Base_Type with private;
type Element_Access is access all Element_Type;
type Pointer_To_Element_Class is access all Element_Type'Class;
-- Element_Type is the parent class of all Gnoga GUI elements.
-- It is generally used internally to create and bind Gnoga elements to
-- HTML5 DOM elements.
package Element_Type_Arrays is
new Ada.Containers.Vectors
(Index_Type => Positive,
Element_Type => Pointer_To_Element_Class,
"=" => Element."=");
package Element_Type_Maps is
new Ada.Containers.Indefinite_Hashed_Maps (String,
Pointer_To_Element_Class,
Ada.Strings.Hash,
Equivalent_Keys => "=");
subtype Element_Type_Array is Element_Type_Arrays.Vector;
-- Arrays of Base_Types
subtype Element_Type_Map is Element_Type_Maps.Map;
-- String to Base_Type associative array
-------------------------------------------------------------------------
-- Element_Type - Creation Methods
-------------------------------------------------------------------------
procedure Create_From_HTML (Element : in out Element_Type;
Parent : in out Gnoga.Gui.Base_Type'Class;
HTML : in String;
ID : in String := "");
-- Create a Gnoga element with HTML not attached to the DOM. If ID is blank
-- Gnoga will generate a unique one for it. The created object will be
-- stored on the browser but will not be inserted in to the DOM until
-- Place_Inside_Top_Of, Place_Inside_Bottom_Of, Place_Before, Place_After
-- is called. This is done automatically if Parent is a child type of
-- Gnoga_Gui.View.View_Base_Type unless the Auto_Place property is
-- set to False _before_ any creation method is called.
-- Quotes in HTML have to be escaped if any.
--
-- Note: All IDs _must_ be unique for use in Gnoga.
HTML_Namespace : constant String := "http://www.w3.org/1999/xhtml";
MathML_Namespace : constant String := "http://www.w3.org/1998/Math/MathML";
SVG_Namespace : constant String := "http://www.w3.org/2000/svg";
XLink_Namespace : constant String := "http://www.w3.org/1999/xlink";
XMLNS_Namespace : constant String := "http://www.w3.org/2000/xmlns/";
XML_Namespace : constant String :=
"http://www.w3.org/XML/1998/namespace";
procedure Create_XML_Element
(Element : in out Element_Type;
Parent : in out Gnoga.Gui.Base_Type'Class;
Namespace : in String;
Element_Type : in String;
ID : in String := "");
-- Create an XML element using XML Namespace.
-------------------------------------------------------------------------
-- Element_Type - Properties
-------------------------------------------------------------------------
-- Element Properties --
procedure Access_Key (Element : in out Element_Type; Value : String);
function Access_Key (Element : Element_Type) return String;
-- Used for hot key access to element. [special key] + Access_Key
-- The [special key] per browser and platform is:
--
-- Browser Windows Linux Mac
-- ----------------- ------- ----- ---
-- Internet Explorer [Alt] N/A N/A
-- Chrome [Alt] [Alt] [Control][Alt]
-- Firefox [Alt][Shift] [Alt][Shift] [Control][Alt]
-- Safari [Alt] N/A [Control][Alt]
-- Opera 15+ [Alt] [Alt] [Alt]
procedure Advisory_Title (Element : in out Element_Type; Value : in String);
function Advisory_Title (Element : Element_Type) return String;
-- Advisory_Title of Element, usually used for body and image maps
procedure Class_Name (Element : in out Element_Type; Value : in String);
function Class_Name (Element : Element_Type) return String;
-- CSS Class name, can be multiple separated by <space>
-- See Add_Class, Remove_Class and Toggle_Class Methods for adding and
-- removing individual or groups of classes in an easier way.
procedure Editable (Element : in out Element_Type;
Value : in Boolean := True);
function Editable (Element : Element_Type) return Boolean;
-- Note: This will make almost any element with content editable, even
-- non form types in most browsers.
procedure Draggable (Element : in out Element_Type;
Value : in Boolean := True);
function Draggable (Element : Element_Type) return Boolean;
-- In order to make an object draggable in addition to Draggable being true
-- the On_Drag_Start event _must_ be bound as well to set the Drag_Text.
-- To receive a drop, you need to bind On_Drop. See Gnoga.Gui
procedure Inner_HTML (Element : in out Element_Type; Value : in String);
function Inner_HTML (Element : Element_Type) return String;
-- This will completely replace the inner html of an element. This will
-- remove any Elements within Element from the DOM. If those elements
-- have ID_Types of Gnoga_ID they are still available and can be placed
-- in the DOM again using the Element.Place_* methods. However if they
-- were of ID_Type DOM_ID they are lost forever.
function Outer_HTML (Element : Element_Type) return String;
-- Returns the HTML for Element and all its contents.
-- Text Content Properties --
-- <tag>Text Content</tag> - Text content is the content contained by the
-- tag. This should not be confused with the
-- "Value" of a Form Tag.
-- (See. Gnoga.Gui.Element.Form.Value)
procedure Language_Code (Element : in out Element_Type; Value : in String);
function Language_Code (Element : Element_Type) return String;
procedure Tab_Index (Element : in out Element_Type; Value : in Natural);
function Tab_Index (Element : Element_Type) return Natural;
procedure Spell_Check (Element : in out Element_Type;
Value : in Boolean := True);
function Spell_Check (Element : Element_Type) return Boolean;
-- If true Element is subject to browser spell checking if Editable is
-- also true.
procedure Text (Element : in out Element_Type; Value : in String);
function Text (Element : Element_Type) return String;
-- Text content of element.
type Text_Direction_Type is (Left_To_Right, Right_To_Left);
procedure Text_Direction (Element : in out Element_Type;
Value : in Text_Direction_Type);
function Text_Direction (Element : Element_Type) return Text_Direction_Type;
-- BiDi text direction
-- Visibility and Layout Properties --
procedure Hidden (Element : in out Element_Type;
Value : in Boolean := True);
function Hidden (Element : Element_Type) return Boolean;
-- The hidden property will make an element invisible, however unlike
-- the property Visible which uses CSS to hide the Element, Hidden implies
-- the element is semantically not relevant not just visually and will
-- _also_ remove it from layout similar to setting Element.Display (None).
procedure Visible (Element : in out Element_Type;
Value : in Boolean := True);
function Visible (Element : Element_Type) return Boolean;
-- This will cause the Element to no longer be visible but it will still
-- take up space where it was in the layout. Use Element.Hidden to also
-- remove from layout.
-- Note: that each property, Visible, Hidden and Display (None) all work
-- independently and do not reflect the actual client side visual state
-- but the property state. To check if an object is for sure not visible
-- would require checking all three properties.
procedure Display (Element : in out Element_Type;
Value : in String);
function Display (Element : Element_Type) return String;
-- Display sets the CSS Display property that handles how elements are
-- treated by the browser layout engine.
--
-- Common Values:
--
-- none - Remove Element from layout but remain in the DOM this is
-- similar to Element.Hidden, but not like Element.Visible
-- that makes the element not visible but still take up
-- space in layout.
--
-- block - Displays an element starting on a new line and stretches
-- out to the left and right as far as it can. e.g. <div> by
-- default
--
-- inline - Wraps with text in a paragraph. e.g. <span> by default
--
-- inline-block - Flows with paragraph but will always fill from left to
-- right.
--
-- flex - Use the "flexbox" model
-- Box Properties --
type Clear_Side_Type is (Left, Right, Both);
procedure Clear_Side (Element : in out Element_Type;
Value : in Clear_Side_Type);
-- When using "float" for layout sets if the right or left side
-- of Block should be clear of any "floated" Element.
type Float_Type is (None, Left, Right);
procedure Layout_Float (Element : in out Element_Type;
Value : in Float_Type);
-- Sets if Element should "float" to the left or right until touching
-- the closest element.
type Overflow_Type is (Visible, Hidden, Scroll, Auto);
procedure Overflow (Element : in out Element_Type;
Value : in Overflow_Type);
function Overflow (Element : Element_Type) return Overflow_Type;
-- How to handle overflow of contents of an element's box
-- The default is Visible - no clipping.
procedure Overflow_X (Element : in out Element_Type;
Value : in Overflow_Type);
procedure Overflow_Y (Element : in out Element_Type;
Value : in Overflow_Type);
-- How to handle overflow of contents of an element's box for X or Y
-- The default is Visible - no clipping.
type Resizable_Type is (None, Both, Horizontal, Vertical);
procedure Resizable (Element : in out Element_Type;
Value : in Resizable_Type);
function Resizable (Element : Element_Type) return Resizable_Type;
-- If overflow is not set to visible, sets if element can be resized
-- by user.
type Position_Type is (Static, Absolute, Fixed, Relative);
procedure Position (Element : in out Element_Type;
Value : in Position_Type);
function Position (Element : Element_Type) return Position_Type;
-- Determines how the properties left, right, top and bottom are
-- interpreted.
--
-- Static - According to document flow, position properties have no
-- affect.
-- Absolute - Position properties are relative to the first non-static
-- element in the DOM before Element
-- Fixed - Position properties are relative to browser window
-- Relative - Position properties are relative to where the static position
-- of the element would in the normal document flow.
type Vertical_Align_Type is (Baseline, Sub, Super, Top, Middle, Bottom,
Text_Top, Text_Bottom);
procedure Vertical_Align (Element : in out Element_Type;
Value : in Vertical_Align_Type);
-- Vertical alignment of Element
type Box_Sizing_Type is (Content_Box, Border_Box);
procedure Box_Sizing (Element : in out Element_Type;
Value : in Box_Sizing_Type);
function Box_Sizing (Element : Element_Type) return Box_Sizing_Type;
-- Affects if height and width properties represent just the content or
-- the border, margin, padding, scroll and content area as a whole.
-- The default is Content_Box
procedure Z_Index (Element : in out Element_Type;
Value : in Integer);
-- Set stack order of element
-- Note: Z_Index only works on Elements with Position Type of absolute,
-- relative and fixed.
procedure Margin (Element : in out Element_Type;
Top : in String := "0";
Right : in String := "0";
Bottom : in String := "0";
Left : in String := "0");
-- Each can be - length|auto|initial|inherit
procedure Padding (Element : in out Element_Type;
Top : in String := "0";
Right : in String := "0";
Bottom : in String := "0";
Left : in String := "0");
-- Each can be - length|initial|inherit
function Position_Top (Element : Element_Type) return Integer;
function Position_Left (Element : Element_Type) return Integer;
-- Position in pixels relative to Element's parent in the DOM
function Offset_From_Top (Element : Element_Type) return Integer;
function Offset_From_Left (Element : Element_Type) return Integer;
-- Position in pixels relative to the document
procedure Left (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Left (Element : in out Element_Type;
Value : in String);
function Left (Element : Element_Type) return String;
procedure Right (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Right (Element : in out Element_Type;
Value : in String);
function Right (Element : Element_Type) return String;
procedure Top (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Top (Element : in out Element_Type;
Value : in String);
function Top (Element : Element_Type) return String;
procedure Bottom (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Bottom (Element : in out Element_Type;
Value : in String);
function Bottom (Element : Element_Type) return String;
procedure Box_Height (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Box_Height (Element : in out Element_Type;
Value : in String);
function Box_Height (Element : Element_Type) return String;
-- Box height based on Box_Sizing
procedure Box_Width (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Box_Width (Element : in out Element_Type;
Value : in String);
function Box_Width (Element : Element_Type) return String;
-- Box with based on Box_Sizing
procedure Minimum_Height (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Minimum_Height (Element : in out Element_Type;
Value : in String);
function Minimum_Height (Element : Element_Type) return String;
procedure Maximum_Height (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Maximum_Height (Element : in out Element_Type;
Value : in String);
function Maximum_Height (Element : Element_Type) return String;
procedure Minimum_Width (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Minimum_Width (Element : in out Element_Type;
Value : in String);
function Minimum_Width (Element : Element_Type) return String;
procedure Maximum_Width (Element : in out Element_Type;
Value : in Integer;
Unit : in String := "px");
procedure Maximum_Width (Element : in out Element_Type;
Value : in String);
function Maximum_Width (Element : Element_Type) return String;
-- For reference:
-- | Margin | Border | Padding | Scroll | [Element] | Scroll | Padding ...
-- Height and Width of Element are in Base_Type
-- All the following have the advantage of the CSS related size properties
-- in that the results are always pixels and numeric.
procedure Inner_Height (Element : in out Element_Type; Value : in Integer);
function Inner_Height (Element : Element_Type) return Integer;
-- Includes padding but not border
procedure Inner_Width (Element : in out Element_Type; Value : in Integer);
function Inner_Width (Element : Element_Type) return Integer;
-- Includes padding but not border
function Outer_Height (Element : Element_Type) return Integer;
-- Includes padding and border but not margin
function Outer_Width (Element : Element_Type) return Integer;
-- Includes padding and border but not margin
function Outer_Height_To_Margin (Element : Element_Type) return Integer;
-- Includes padding and border and margin
function Outer_Width_To_Margin
(Element : Element_Type) return Integer;
-- Includes padding and border and margin
function Client_Width (Element : Element_Type) return Natural;
-- Inner width of an element in pixels.
-- CSS width + CSS padding - width of vertical scrollbar (if present)
-- Does not include the border or margin.
function Client_Height (Element : Element_Type) return Natural;
-- Inner height of an element in pixels.
-- CSS height + CSS padding - height of horizontal scrollbar (if present)
-- Does not include the border or margin.
function Client_Left (Element : Element_Type) return Natural;
-- The width of the left border of an element in pixels.
--. It does not include the margin or padding.
function Client_Top (Element : Element_Type) return Natural;
-- The width of the top border of an element in pixels.
--. It does not include the margin or padding.
function Offset_Width (Element : Element_Type) return Integer;
-- CSS width + CSS padding + width of vertical scrollbar (if present) +
-- Border
function Offset_Height (Element : Element_Type) return Integer;
-- CSS height + CSS padding + height of horizontal scrollbar (if present) +
-- Border
function Offset_Left (Element : Element_Type) return Integer;
-- The width from parent element border to child border left
function Offset_Top (Element : Element_Type) return Integer;
-- The width from parent element border to child border top
function Scroll_Width (Element : Element_Type) return Natural;
-- Either the width in pixels of the content of an element or the width of
-- the element itself, whichever is greater
function Scroll_Height (Element : Element_Type) return Natural;
-- Height of an element's content, including content not visible on the
-- screen due to overflow.
procedure Scroll_Left (Element : in out Element_Type; Value : Integer);
function Scroll_Left (Element : Element_Type) return Integer;
-- The number of pixels that an element's content is scrolled to the left.
-- For RTL languages is negative.
procedure Scroll_Top (Element : in out Element_Type; Value : Integer);
function Scroll_Top (Element : Element_Type) return Integer;
-- The number of pixels that an element's content has been scrolled
-- upward.
-- Style Properties --
-- Color --
procedure Color (Element : in out Element_Type; Value : String);
procedure Color (Element : in out Element_Type;
RGBA : in Gnoga.RGBA_Type);
procedure Color (Element : in out Element_Type;
Enum : Gnoga.Colors.Color_Enumeration);
function Color (Element : Element_Type) return Gnoga.RGBA_Type;
procedure Opacity (Element : in out Element_Type;
Alpha : in Gnoga.Alpha_Type);
function Opacity (Element : Element_Type) return Gnoga.Alpha_Type;
-- Background --
type Background_Attachment_Type is (Scroll, Fixed, Local);
procedure Background_Attachment
(Element : in out Element_Type;
Value : in Background_Attachment_Type);
function Background_Attachment (Element : Element_Type)
return Background_Attachment_Type;
procedure Background_Color (Element : in out Element_Type;
Value : in String);
procedure Background_Color (Element : in out Element_Type;
RGBA : in Gnoga.RGBA_Type);
procedure Background_Color
(Element : in out Element_Type;
Enum : in Gnoga.Colors.Color_Enumeration);
function Background_Color (Element : Element_Type)
return Gnoga.RGBA_Type;
procedure Background_Image (Element : in out Element_Type;
Value : in String);
function Background_Image (Element : Element_Type) return String;
-- proper syntax is "url(...)" | "" to clear
procedure Background_Position (Element : in out Element_Type;
Value : in String);
function Background_Position (Element : Element_Type) return String;
-- combination of 2 - left/right/center/top/bottom | %x %y | x y
procedure Background_Origin (Element : in out Element_Type;
Value : in String);
function Background_Origin (Element : Element_Type) return String;
-- Background position property is relative to origin of:
-- padding-box|border-box|content-box
procedure Background_Repeat (Element : in out Element_Type;
Value : in String);
function Background_Repeat (Element : Element_Type) return String;
-- repeat|repeat-x|repeat-y|no-repeat
procedure Background_Clip (Element : in out Element_Type;
Value : in String);
function Background_Clip (Element : Element_Type) return String;
-- border-box|padding-box|content-box
procedure Background_Size (Element : in out Element_Type;
Value : in String);
function Background_Size (Element : Element_Type) return String;
-- auto| w h | % = cover of parent | contain
-- Border --
type Border_Style is (None, Hidden, Dotted, Dashed, Solid, Double, Groove,
Ridge, Inset, Outset);
procedure Border (Element : in out Element_Type;
Width : in String := "medium";
Style : in Border_Style := Solid;
Color : in Gnoga.Colors.Color_Enumeration :=
Gnoga.Colors.Black);
-- Width = medium|thin|thick|length|initial|inherit;
-- If Color is "" then border is same as Element.Color
procedure Border_Radius (Element : in out Element_Type;
Radius : in String := "0");
-- Curve of borders
-- Radius = length|%|initial|inherit
procedure Shadow (Element : in out Element_Type;
Horizontal_Position : in String;
Vertical_Position : in String;
Blur : in String := "";
Spread : in String := "";
Color : in Gnoga.Colors.Color_Enumeration := Gnoga.Colors.Black;
Inset_Shadow : in Boolean := False);
procedure Shadow_None (Element : in out Element_Type);
type Outline_Style_Type is (None, Hidden, Dotted, Dashed, Solid, Double,
Groove, Ridge, Inset, Outset);
procedure Outline (Element : in out Element_Type;
Color : in String := "invert";
Style : in Outline_Style_Type := None;
Width : in String := "medium");
procedure Cursor (Element : in out Element_Type;
Value : in String);
function Cursor (Element : Element_Type) return String;
-- Sets the cursor to a standard type or an image
-- if set to url(url_to_image). When using a url is best
-- to suggest an alternate cursor, e.g. "url(url_to_image),auto"
-- A list of standard cursor types can be found at:
-- http://www.w3schools.com/cssref/pr_class_cursor.asp
-- Text --
type Font_Style_Type is (Normal, Italic, Oblique);
type Font_Weight_Type is (Weight_Normal, Weight_Bold,
Weight_Bolder, Weight_Lighter,
Weight_100, Weight_200, Weight_300,
Weight_400, Weight_500, Weight_600,
Weight_700, Weight_800, Weight_900);
function Image (Value : in Gnoga.Gui.Element.Font_Weight_Type) return String;
function Value (Value : in String) return Gnoga.Gui.Element.Font_Weight_Type;
type Font_Variant_Type is (Normal, Small_Caps);
type System_Font_Type is (Caption, Icon, Menu, Message_Box, Small_Caption,
Status_Bar);
procedure Font (Element : in out Element_Type;
Family : in String := "sans-serif";
Height : in String := "medium";
Style : in Font_Style_Type := Normal;
Weight : in Font_Weight_Type := Weight_Normal;
Variant : in Font_Variant_Type := Normal);
procedure Font (Element : in out Element_Type;
System_Font : in System_Font_Type);
-- Sets or returns the current font properties for text content
type Alignment_Type is (Left, Right, Center, At_Start, To_End);
procedure Text_Alignment (Element : in out Element_Type;
Value : in Alignment_Type);
-- Text Alignment, At_Start = Left, and To_End = Right in ltr languages
-- in rtl languages At_Start = Right, and To_End = Left.
-- Framework Properties --
procedure Auto_Place (Element : in out Element_Type; Value : Boolean);
function Auto_Place (Element : Element_Type) return Boolean;
-- Elements by default are created outside the DOM and therefore not
-- visible. If Auto_Place is set to false _before_ Create is called on
-- an Element, View's will not place the Element in to the DOM as is
-- the View's default behavior. Custom widgets that have child widgets
-- should be designed to respect this property. Auto_Place if set to
-- False will also prevent Auto_Set_View if Element's Parent is a Window
-- General Access to Element --
procedure Style (Element : in out Element_Type;
Name : in String;
Value : in String);
procedure Style (Element : in out Element_Type;
Name : in String;
Value : in Integer);
function Style (Element : Element_Type; Name : String) return String;
function Style (Element : Element_Type; Name : String) return Integer;
-- General access to style Name
procedure Attribute (Element : in out Element_Type;
Name : in String;
Value : in String);
function Attribute (Element : Element_Type; Name : String) return String;
-- General access to attribute Name
-- Traversal Properties --
procedure First_Child (Element : in out Element_Type;
Child : in out Element_Type'Class);
-- If Child does not have an html id than Element_Type will have an
-- ID of undefined and therefore attached to no actual HTML element.
procedure Next_Sibling (Element : in out Element_Type;
Sibling : in out Element_Type'Class);
-- If Sibling does not have an html id than Element_Type will have an
-- ID of undefined and therefore attached to no actual HTML element.
-- Internal Properties --
function HTML_Tag (Element : Element_Type) return String;
-------------------------------------------------------------------------
-- Element_Type - Methods
-------------------------------------------------------------------------
-- Element Methods --
procedure Click (Element : in out Element_Type);
-- Simulate click on element
procedure Add_Class (Element : in out Element_Type; Class_Name : in String);
-- Adds one or more Class_Name(s) to Element
procedure Remove_Class (Element : in out Element_Type;
Class_Name : in String);
-- Removes one or more Class_Name(s) to Element
procedure Toggle_Class (Element : in out Element_Type;
Class_Name : in String);
-- Toggles on and off one or more Class_Name(s) to Element
-- DOM Placement Methods --
procedure Place_Inside_Top_Of (Element : in out Element_Type;
Target : in out Element_Type'Class);
procedure Place_Inside_Bottom_Of (Element : in out Element_Type;
Target : in out Element_Type'Class);
procedure Place_Before (Element : in out Element_Type;
Target : in out Element_Type'Class);
procedure Place_After (Element : in out Element_Type;
Target : in out Element_Type'Class);
procedure Remove (Element : in out Element_Type);
-- Removes an element from the DOM, if the ID_Type is DOM_ID, the ID
-- will be changed to a unique Gnoga_ID before removal.
private
type Element_Type is new Gnoga.Gui.Base_Type with
record
Auto_Place : Boolean := True;
end record;
end Ada_GUI.Gnoga.Gui.Element;
|
library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_AccessRecord_GetCalc.applescript | NYHTC/applescript-fm-helper | 1 | 4448 | <filename>library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_AccessRecord_GetCalc.applescript
-- fmGUI_ManageSecurity_AccessRecord_GetCalc({})
-- <NAME>, NYHTC
-- get the field-level access for the currently opened table of manage security
(*
HISTORY:
2020-03-04 ( dshockley ): Standardized version.
1.0.1 - 2017-09-22 ( eshagdar ): 'calc' renamed to 'calcValue'.
1.0 - 2017-07-06 ( eshagdar ):created
REQUIRES:
fmGUI_AppFrontMost
fmGUI_ManageSecurity_AccessRecord_GetFieldPriv
fmGUI_ManageSecurity_AccessRecord_OpenCalc
*)
on run
fmGUI_ManageSecurity_AccessRecord_GetCalc({calcFor:"view"})
end run
--------------------
-- START OF CODE
--------------------
on fmGUI_ManageSecurity_AccessRecord_GetCalc(prefs)
-- version 2020-03-04-1531
set defaultPrefs to {calcFor:null}
set prefs to prefs & defaultPrefs
try
fmGUI_AppFrontMost()
fmGUI_ManageSecurity_AccessRecord_OpenCalc(prefs)
tell application "System Events"
tell process "FileMaker Pro Advanced"
if calcFor of prefs is equal to "field" then
if name of window 1 is not "Custom Field Privileges" then error "must be on specify calculation window" number -1024
set calcValue to my fmGUI_ManageSecurity_AccessRecord_GetFieldPriv({})
else
if name of window 1 is not "Specify Calculation" then error "must be on specify calculation window" number -1024
set calcValue to value of text area 1 of scroll area 1 of splitter group 1 of window 1
end if
click button "Cancel" of window 1
end tell
end tell
return calcValue
on error errMsg number errNum
error "unable to fmGUI_ManageSecurity_AccessRecord_GetCalc - " & errMsg number errNum
end try
end fmGUI_ManageSecurity_AccessRecord_GetCalc
--------------------
-- END OF CODE
--------------------
on fmGUI_AppFrontMost()
tell application "htcLib" to fmGUI_AppFrontMost()
end fmGUI_AppFrontMost
on fmGUI_ManageSecurity_AccessRecord_GetFieldPriv(prefs)
tell application "htcLib" to fmGUI_ManageSecurity_AccessRecord_GetFieldPriv(prefs)
end fmGUI_ManageSecurity_AccessRecord_GetFieldPriv
on fmGUI_ManageSecurity_AccessRecord_OpenCalc(prefs)
tell application "htcLib" to fmGUI_ManageSecurity_AccessRecord_OpenCalc(prefs)
end fmGUI_ManageSecurity_AccessRecord_OpenCalc
|
test/Succeed/Issue1634.agda | cruhland/agda | 1,989 | 2793 | -- Andreas, 2015-08-27, issue reported by <NAME>
-- {-# OPTIONS -v tc.lhs:10 #-}
-- {-# OPTIONS -v tc:10 #-}
-- {-# OPTIONS -v tc.lhs.imp:100 #-}
data Bool : Set where true false : Bool
T : Set → Bool → Set
T A true = {x : A} → A
T A false = (x : A) → A
test : (A : Set) (b : Bool) → T A b
test A true {x} = x
test A false x = x
|
src/main/antlr/R.g4 | jrshust/ipsum | 0 | 6901 | <reponame>jrshust/ipsum
/*
[The "BSD licence"]
Copyright (c) 2013 <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/**
derived from http://svn.r-project.org/R/trunk/src/main/gram.y
http://cran.r-project.org/doc/manuals/R-lang.html#Parser
I'm no R genius but this seems to work.
Requires RFilter.g4 to strip away NL that are really whitespace,
not end-of-command. See TestR.java
Usage:
$ antlr4 R.g4 RFilter.g4
$ javac *.java
$ java TestR sample.R
... prints parse tree ...
*/
grammar R;
prog: ( expr (';'|NL)
| NL
)*
EOF
;
/*
expr_or_assign
: expr ('<-'|'='|'<<-') expr_or_assign
| expr
;
*/
expr: expr '[[' sublist ']' ']' // '[[' follows R's yacc grammar
| expr '[' sublist ']'
| expr ('::'|':::') expr
| expr (DOLLAR_SIGN|'@') expr
| <assoc=right> expr '^' expr
| ('-'|'+') expr
| expr ':' expr
| expr USER_OP expr // anything wrappedin %: '%' .* '%'
| expr ('*'|'/') expr
| expr ('+'|'-') expr
| expr ('>'|'>='|'<'|'<='|'=='|'!=') expr
| '!' expr
| expr ('&'|'&&') expr
| expr ('|'|'||') expr
| '~' expr
| expr '~' expr
| expr (LEFT_ASSIGNMENT|RIGHT_ASSIGNMENT) expr
| 'function' '(' formlist? ')' expr // define function
| expr '(' sublist ')' // call function
| '{' exprlist '}' // compound statement
| 'if' '(' expr ')' expr
| 'if' '(' expr ')' expr 'else' expr
| 'for' '(' ID 'in' expr ')' expr
| 'while' '(' expr ')' expr
| 'repeat' expr
| '?' expr // get help on expr, usually string or ID
| 'next'
| 'break'
| '(' expr ')'
| ID
| STRING
| HEX
| INT
| FLOAT
| COMPLEX
| 'NULL'
| 'NA'
| 'Inf'
| 'NaN'
| 'TRUE'
| 'FALSE'
;
exprlist
: expr ((';'|NL) expr?)*
|
;
formlist : form (',' form)* ;
form: ID
| ID '=' expr
| '...'
;
sublist : sub (',' sub)* ;
sub : expr
| ID '='
| ID '=' expr
| STRING '='
| STRING '=' expr
| 'NULL' '='
| 'NULL' '=' expr
| '...'
|
;
HEX : '0' ('x'|'X') HEXDIGIT+ [Ll]? ;
INT : DIGIT+ [Ll]? ;
fragment
HEXDIGIT : ('0'..'9'|'a'..'f'|'A'..'F') ;
FLOAT: DIGIT+ '.' DIGIT* EXP? [Ll]?
| DIGIT+ EXP? [Ll]?
| '.' DIGIT+ EXP? [Ll]?
;
fragment
DIGIT: '0'..'9' ;
fragment
EXP : ('E' | 'e') ('+' | '-')? INT ;
COMPLEX
: INT 'i'
| FLOAT 'i'
;
STRING
: '"' ( ESC | ~[\\"] )*? '"'
| '\'' ( ESC | ~[\\'] )*? '\''
| '`' ( ESC | ~[\\'] )*? '`'
;
fragment
ESC : '\\' [abtnfrv"'\\]
| UNICODE_ESCAPE
| HEX_ESCAPE
| OCTAL_ESCAPE
;
fragment
UNICODE_ESCAPE
: '\\' 'u' HEXDIGIT HEXDIGIT HEXDIGIT HEXDIGIT
| '\\' 'u' '{' HEXDIGIT HEXDIGIT HEXDIGIT HEXDIGIT '}'
;
fragment
OCTAL_ESCAPE
: '\\' [0-3] [0-7] [0-7]
| '\\' [0-7] [0-7]
| '\\' [0-7]
;
fragment
HEX_ESCAPE
: '\\' HEXDIGIT HEXDIGIT?
;
ID : '.' (LETTER|'_'|'.') (LETTER|DIGIT|'_'|'.')*
| LETTER (LETTER|DIGIT|'_'|'.')*
;
fragment LETTER : [a-zA-Z] ;
LEFT_ASSIGNMENT : '<-'|'<<-'|'=' ;
RIGHT_ASSIGNMENT: '->'|'->>'|':=';
DOLLAR_SIGN: '$';
USER_OP : '%' .*? '%' ;
COMMENT : '#' .*? '\r'? '\n' -> type(NL) ;
// Match both UNIX and Windows newlines
NL : '\r'? '\n' ;
WS : [ \t\u000C]+ -> skip ;
|
computer-architecture/labs/lab7/10.asm | vampy/university | 6 | 92505 | <filename>computer-architecture/labs/lab7/10.asm<gh_stars>1-10
ASSUME CS: code, DS:data
; 10. A string of bytes is given. Obtain the mirror image of the binary representation of this string of bytes.
; Ex: The byte string is given: s db 01011100b, 10001001b, 11100101b
; The result is the string: d db 10100111b, 10010001b, 00111010b.
data SEGMENT
x1 DB 01011100b
x2 DB 10001001b
x3 DB 11100101b
temp DB 0
data ENDS
code SEGMENT
start:
mov AX, data
mov DS, AX
;MOV AX, 65535
mov AX, 0
mov AL, x2
mov AH, AL
; isolate low 4 bits
and AL, 00001111b
; isolate high 4 bits
and AH, 11110000b
rol AL, 5
ror AH, 5
or temp, AL
or temp, AH
;rol x1, 4
;rol x2, 4
mov AX, 4C00h
int 21h
code ENDS
END start
|
programs/oeis/163/A163832.asm | karttu/loda | 1 | 83516 | ; A163832: a(n) = n*(2*n^2 + 5*n + 1).
; 0,8,38,102,212,380,618,938,1352,1872,2510,3278,4188,5252,6482,7890,9488,11288,13302,15542,18020,20748,23738,27002,30552,34400,38558,43038,47852,53012,58530,64418,70688,77352,84422,91910,99828,108188,117002,126282,136040,146288,157038,168302,180092,192420,205298,218738,232752,247352,262550,278358,294788,311852,329562,347930,366968,386688,407102,428222,450060,472628,495938,520002,544832,570440,596838,624038,652052,680892,710570,741098,772488,804752,837902,871950,906908,942788,979602,1017362,1056080,1095768,1136438,1178102,1220772,1264460,1309178,1354938,1401752,1449632,1498590,1548638,1599788,1652052,1705442,1759970,1815648,1872488,1930502,1989702,2050100,2111708,2174538,2238602,2303912,2370480,2438318,2507438,2577852,2649572,2722610,2796978,2872688,2949752,3028182,3107990,3189188,3271788,3355802,3441242,3528120,3616448,3706238,3797502,3890252,3984500,4080258,4177538,4276352,4376712,4478630,4582118,4687188,4793852,4902122,5012010,5123528,5236688,5351502,5467982,5586140,5705988,5827538,5950802,6075792,6202520,6330998,6461238,6593252,6727052,6862650,7000058,7139288,7280352,7423262,7568030,7714668,7863188,8013602,8165922,8320160,8476328,8634438,8794502,8956532,9120540,9286538,9454538,9624552,9796592,9970670,10146798,10324988,10505252,10687602,10872050,11058608,11247288,11438102,11631062,11826180,12023468,12222938,12424602,12628472,12834560,13042878,13253438,13466252,13681332,13898690,14118338,14340288,14564552,14791142,15020070,15251348,15484988,15721002,15959402,16200200,16443408,16689038,16937102,17187612,17440580,17696018,17953938,18214352,18477272,18742710,19010678,19281188,19554252,19829882,20108090,20388888,20672288,20958302,21246942,21538220,21832148,22128738,22428002,22729952,23034600,23341958,23652038,23964852,24280412,24598730,24919818,25243688,25570352,25899822,26232110,26567228,26905188,27246002,27589682,27936240,28285688,28638038,28993302,29351492,29712620,30076698,30443738,30813752,31186752
mov $1,$0
mul $0,2
add $0,3
bin $0,2
sub $0,2
mul $1,$0
|
programs/oeis/069/A069131.asm | neoneye/loda | 22 | 241736 | ; A069131: Centered 18-gonal numbers.
; 1,19,55,109,181,271,379,505,649,811,991,1189,1405,1639,1891,2161,2449,2755,3079,3421,3781,4159,4555,4969,5401,5851,6319,6805,7309,7831,8371,8929,9505,10099,10711,11341,11989,12655,13339,14041,14761,15499,16255,17029,17821,18631,19459,20305,21169,22051,22951,23869,24805,25759,26731,27721,28729,29755,30799,31861,32941,34039,35155,36289,37441,38611,39799,41005,42229,43471,44731,46009,47305,48619,49951,51301,52669,54055,55459,56881,58321,59779,61255,62749,64261,65791,67339,68905,70489,72091,73711,75349,77005,78679,80371,82081,83809,85555,87319,89101
sub $1,$0
bin $1,2
mul $1,18
add $1,1
mov $0,$1
|
Layer2Graphics/layer2_plot_pixel.asm | ped7g/EliteNext | 0 | 96383 | l2_plot_pixel:
; ">l2_plot_pixel b= row number, c = column number, a = pixel col"
push af
ld a,b
l2_pp_row_valid:
JumpIfAGTENusng ScreenHeight,l2_pp_dont_plot
push bc ; bank select destroys bc so need to save it
; ld a,b
call asm_l2_row_bank_select
pop bc
ld b,a
ld h,b ; hl now holds ram address after bank select
ld l,c
pop af ; a = colour to plott
ld (hl),a
ret
l2_pp_dont_plot:
pop af
ret
l2_plot_pixel_no_bank:
; ">l2_plot_pixel_no_bank b= row number, c = column number, a = pixel col"
; This version assues pixel is in the same bank as previously plotted ones. optimised for horizontal lines
push hl
ld h,b ; hl now holds ram address after bank select
ld l,c
ld (hl),a
pop hl
ret
l2_plot_pixel_y_test:
push af
ld a,b
cp 192
jr nc,.clearup
pop af
jr l2_plot_pixel
.clearup:
pop af
ret
l2_point_pixel_y_safe: MACRO
push hl
push bc
call l2_plot_pixel
pop bc
pop hl
ENDM
|
programs/oeis/010/A010993.asm | karttu/loda | 1 | 14850 | ; A010993: Binomial coefficient C(n,40).
; 1,41,861,12341,135751,1221759,9366819,62891499,377348994,2054455634,10272278170,47626016970,206379406870,841392966470,3245372870670,11899700525790,41648951840265,139646485582065,449972009097765,1397281501935165,4191844505805495
add $0,40
mov $1,$0
bin $1,40
|
src/base/files/util-files.adb | RREE/ada-util | 60 | 15694 | -----------------------------------------------------------------------
-- util-files -- Various File Utility Packages
-- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2011, 2012, 2015, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Interfaces.C.Strings;
with Ada.Directories;
with Ada.IO_Exceptions;
with Ada.Strings.Fixed;
with Ada.Streams;
with Ada.Streams.Stream_IO;
with Ada.Text_IO;
with Util.Strings.Tokenizers;
package body Util.Files is
-- ------------------------------
-- Read a complete file into a string.
-- The <b>Max_Size</b> parameter indicates the maximum size that is read.
-- ------------------------------
procedure Read_File (Path : in String;
Into : out Unbounded_String;
Max_Size : in Natural := 0) is
use Ada.Streams;
use Ada.Streams.Stream_IO;
F : File_Type;
Buffer : Stream_Element_Array (1 .. 10_000);
Pos : Positive_Count := 1;
Last : Stream_Element_Offset;
Space : Natural;
begin
if Max_Size = 0 then
Space := Natural'Last;
else
Space := Max_Size;
end if;
Open (Name => Path, File => F, Mode => In_File);
loop
Read (File => F, Item => Buffer, From => Pos, Last => Last);
if Natural (Last) > Space then
Last := Stream_Element_Offset (Space);
end if;
for I in 1 .. Last loop
Append (Into, Character'Val (Buffer (I)));
end loop;
exit when Last < Buffer'Length;
Pos := Pos + Positive_Count (Last);
end loop;
Close (F);
exception
when others =>
if Is_Open (F) then
Close (F);
end if;
raise;
end Read_File;
-- ------------------------------
-- Read the file with the given path, one line at a time and execute the <b>Process</b>
-- procedure with each line as argument.
-- ------------------------------
procedure Read_File (Path : in String;
Process : not null access procedure (Line : in String)) is
File : Ada.Text_IO.File_Type;
begin
Ada.Text_IO.Open (File => File,
Mode => Ada.Text_IO.In_File,
Name => Path);
while not Ada.Text_IO.End_Of_File (File) loop
Process (Ada.Text_IO.Get_Line (File));
end loop;
Ada.Text_IO.Close (File);
end Read_File;
-- ------------------------------
-- Read the file with the given path, one line at a time and append each line to
-- the <b>Into</b> vector.
-- ------------------------------
procedure Read_File (Path : in String;
Into : in out Util.Strings.Vectors.Vector) is
procedure Append (Line : in String);
procedure Append (Line : in String) is
begin
Into.Append (Line);
end Append;
begin
Read_File (Path, Append'Access);
end Read_File;
-- ------------------------------
-- Save the string into a file creating the file if necessary
-- ------------------------------
procedure Write_File (Path : in String;
Content : in String) is
use Ada.Streams;
use Ada.Streams.Stream_IO;
use Ada.Directories;
F : File_Type;
Buffer : Stream_Element_Array (Stream_Element_Offset (Content'First)
.. Stream_Element_Offset (Content'Last));
Dir : constant String := Containing_Directory (Path);
begin
if not Exists (Dir) then
Create_Path (Dir);
end if;
Create (File => F, Name => Path);
for I in Content'Range loop
Buffer (Stream_Element_Offset (I))
:= Stream_Element (Character'Pos (Content (I)));
end loop;
Write (F, Buffer);
Close (F);
exception
when others =>
if Is_Open (F) then
Close (F);
end if;
raise;
end Write_File;
-- ------------------------------
-- Save the string into a file creating the file if necessary
-- ------------------------------
procedure Write_File (Path : in String;
Content : in Unbounded_String) is
begin
Write_File (Path, Ada.Strings.Unbounded.To_String (Content));
end Write_File;
-- ------------------------------
-- Iterate over the search directories defined in <b>Paths</b> and execute
-- <b>Process</b> with each directory until it returns <b>True</b> in <b>Done</b>
-- or the last search directory is found. Each search directory
-- is separated by ';' (yes, even on Unix). When <b>Going</b> is set to Backward, the
-- directories are searched in reverse order.
-- ------------------------------
procedure Iterate_Path (Path : in String;
Process : not null access procedure (Dir : in String;
Done : out Boolean);
Going : in Direction := Ada.Strings.Forward) is
begin
Util.Strings.Tokenizers.Iterate_Tokens (Content => Path,
Pattern => ";",
Process => Process,
Going => Going);
end Iterate_Path;
-- ------------------------------
-- Find the file in one of the search directories. Each search directory
-- is separated by ';' (yes, even on Unix).
-- Returns the path to be used for reading the file.
-- ------------------------------
function Find_File_Path (Name : String;
Paths : String) return String is
use Ada.Strings.Fixed;
Sep_Pos : Natural;
Pos : Positive := Paths'First;
Last : constant Natural := Paths'Last;
begin
while Pos <= Last loop
Sep_Pos := Index (Paths, ";", Pos);
if Sep_Pos = 0 then
Sep_Pos := Last;
else
Sep_Pos := Sep_Pos - 1;
end if;
declare
use Ada.Directories;
Path : constant String := Util.Files.Compose (Paths (Pos .. Sep_Pos), Name);
begin
if Exists (Path) and then Kind (Path) = Ordinary_File then
return Path;
end if;
exception
when Name_Error =>
null;
end;
Pos := Sep_Pos + 2;
end loop;
return Name;
end Find_File_Path;
-- ------------------------------
-- Iterate over the search directories defined in <b>Path</b> and search
-- for files matching the pattern defined by <b>Pattern</b>. For each file,
-- execute <b>Process</b> with the file basename and the full file path.
-- Stop iterating when the <b>Process</b> procedure returns True.
-- Each search directory is separated by ';'. When <b>Going</b> is set to Backward, the
-- directories are searched in reverse order.
-- ------------------------------
procedure Iterate_Files_Path (Pattern : in String;
Path : in String;
Process : not null access procedure (Name : in String;
File : in String;
Done : out Boolean);
Going : in Direction := Ada.Strings.Forward) is
procedure Find_Files (Dir : in String;
Done : out Boolean);
-- ------------------------------
-- Find the files matching the pattern in <b>Dir</b>.
-- ------------------------------
procedure Find_Files (Dir : in String;
Done : out Boolean) is
use Ada.Directories;
Filter : constant Filter_Type := (Ordinary_File => True, others => False);
Ent : Directory_Entry_Type;
Search : Search_Type;
begin
Done := False;
Start_Search (Search, Directory => Dir,
Pattern => Pattern, Filter => Filter);
while More_Entries (Search) loop
Get_Next_Entry (Search, Ent);
declare
Name : constant String := Simple_Name (Ent);
File_Path : constant String := Full_Name (Ent);
begin
Process (Name, File_Path, Done);
exit when Done;
end;
end loop;
end Find_Files;
begin
Iterate_Path (Path => Path, Process => Find_Files'Access, Going => Going);
end Iterate_Files_Path;
-- ------------------------------
-- Find the files which match the pattern in the directories specified in the
-- search path <b>Path</b>. Each search directory is separated by ';'.
-- File names are added to the string set in <b>Into</b>.
-- ------------------------------
procedure Find_Files_Path (Pattern : in String;
Path : in String;
Into : in out Util.Strings.Maps.Map) is
procedure Add_File (Name : in String;
File_Path : in String;
Done : out Boolean);
-- ------------------------------
-- Find the files matching the pattern in <b>Dir</b>.
-- ------------------------------
procedure Add_File (Name : in String;
File_Path : in String;
Done : out Boolean) is
begin
if not Into.Contains (Name) then
Into.Insert (Name, File_Path);
end if;
Done := False;
end Add_File;
begin
Iterate_Files_Path (Pattern => Pattern, Path => Path, Process => Add_File'Access);
end Find_Files_Path;
-- ------------------------------
-- Compose an existing path by adding the specified name to each path component
-- and return a new paths having only existing directories. Each directory is
-- separated by ';'.
-- If the composed path exists, it is added to the result path.
-- Example:
-- paths = 'web;regtests' name = 'info'
-- result = 'web/info;regtests/info'
-- Returns the composed path.
-- ------------------------------
function Compose_Path (Paths : in String;
Name : in String) return String is
procedure Compose (Dir : in String;
Done : out Boolean);
Result : Unbounded_String;
-- ------------------------------
-- Build the new path by checking if <b>Name</b> exists in <b>Dir</b>
-- and appending the new path in the <b>Result</b>.
-- ------------------------------
procedure Compose (Dir : in String;
Done : out Boolean) is
use Ada.Directories;
Path : constant String := Util.Files.Compose (Dir, Name);
begin
Done := False;
if Exists (Path) and then Kind (Path) = Directory then
if Length (Result) > 0 then
Append (Result, ';');
end if;
Append (Result, Path);
end if;
exception
when Name_Error =>
null;
end Compose;
begin
Iterate_Path (Path => Paths, Process => Compose'Access);
return To_String (Result);
end Compose_Path;
-- ------------------------------
-- Returns the name of the external file with the specified directory
-- and the name. Unlike the Ada.Directories.Compose, the name can represent
-- a relative path and thus include directory separators.
-- ------------------------------
function Compose (Directory : in String;
Name : in String) return String is
begin
if Name'Length = 0 then
return Directory;
elsif Directory'Length = 0 then
return Name;
elsif Directory = "." or else Directory = "./" then
if Name (Name'First) = '/' then
return Compose (Directory, Name (Name'First + 1 .. Name'Last));
else
return Name;
end if;
elsif Directory (Directory'Last) = '/' and then Name (Name'First) = '/' then
return Directory & Name (Name'First + 1 .. Name'Last);
elsif Directory (Directory'Last) = '/' or else Name (Name'First) = '/' then
return Directory & Name;
else
return Directory & "/" & Name;
end if;
end Compose;
-- ------------------------------
-- Returns a relative path whose origin is defined by <b>From</b> and which refers
-- to the absolute path referenced by <b>To</b>. Both <b>From</b> and <b>To</b> are
-- assumed to be absolute pathes. Returns the absolute path <b>To</b> if the relative
-- path could not be found. Both paths must have at least one root component in common.
-- ------------------------------
function Get_Relative_Path (From : in String;
To : in String) return String is
Result : Unbounded_String;
Last : Natural := 0;
begin
for I in From'Range loop
if I > To'Last or else From (I) /= To (I) then
-- Nothing in common, return the absolute path <b>To</b>.
if Last <= From'First + 1 then
return To;
end if;
for J in Last .. From'Last - 1 loop
if From (J) = '/' or From (J) = '\' then
Append (Result, "../");
end if;
end loop;
if Last <= To'Last and From (I) /= '/' and From (I) /= '\' then
Append (Result, "../");
Append (Result, To (Last .. To'Last));
end if;
return To_String (Result);
elsif I < From'Last and then (From (I) = '/' or From (I) = '\') then
Last := I + 1;
end if;
end loop;
if To'Last = From'Last or (To'Last = From'Last + 1
and (To (To'Last) = '/' or To (To'Last) = '\'))
then
return ".";
elsif Last = 0 then
return To;
elsif To (From'Last + 1) = '/' or To (From'Last + 1) = '\' then
return To (From'Last + 2 .. To'Last);
else
return To (Last .. To'Last);
end if;
end Get_Relative_Path;
-- ------------------------------
-- Rename the old name into a new name.
-- ------------------------------
procedure Rename (Old_Name, New_Name : in String) is
-- Rename a file (the Ada.Directories.Rename does not allow to use the
-- Unix atomic file rename!)
function Sys_Rename (Oldpath : in Interfaces.C.Strings.chars_ptr;
Newpath : in Interfaces.C.Strings.chars_ptr) return Integer;
pragma Import (C, Sys_Rename, "rename");
Old_Path : Interfaces.C.Strings.chars_ptr;
New_Path : Interfaces.C.Strings.chars_ptr;
Result : Integer;
begin
-- Do a system atomic rename of old file in the new file.
-- Ada.Directories.Rename does not allow this.
Old_Path := Interfaces.C.Strings.New_String (Old_Name);
New_Path := Interfaces.C.Strings.New_String (New_Name);
Result := Sys_Rename (Old_Path, New_Path);
Interfaces.C.Strings.Free (Old_Path);
Interfaces.C.Strings.Free (New_Path);
if Result /= 0 then
raise Ada.IO_Exceptions.Use_Error with "Cannot rename file";
end if;
end Rename;
end Util.Files;
|
oeis/089/A089462.asm | neoneye/loda-programs | 11 | 178236 | <filename>oeis/089/A089462.asm
; A089462: 2nd hyperbinomial transform of A001858.
; Submitted by <NAME>
; 1,3,14,93,822,9193,125292,2022555,37829468,805712859,19270873704,511742870653,14946235170120,476314240239633,16451368229689808,612254102183085627,24428043107239133712,1040281158638494489075,47099991161353951685088,2259385832026088747509341,114474864134855121555968096,6108946981614795852130433913,342500979462929482920960388800,20127967685783197263592723382683,1237290394989112313789515858587072,79404394691040444492965200241204043,5310722491409844916369273643841299072
lpb $0
sub $0,1
add $3,1
mov $1,$3
mul $1,$0
add $2,$3
add $2,$3
add $2,$1
add $4,1
mul $3,$4
add $3,$2
lpe
mov $0,$2
add $0,1
|
src/main/asm/HPDP.asm | hpdporg/hpdp | 1 | 84870 | <reponame>hpdporg/hpdp
include 'format/format.inc'
format MS64 COFF
include 'Exports.inc'
include 'HPDP.inc'
public startHPDP as 'startHPDP'
section '.data' data readable writeable align 16
dataSecInitVal2 db 0 ; Define arbitrary value. Placeholder if this section is needed.
section '.text' code readable writeable executable align 16
align 16
startHPDP:
push rbp
mov rbp, rsp
and rsp, -32
sub rsp, 8*12;8;7;8;9
and rsp, -32
mov rcx, 0
sub rsp, 8*4
call [ExitProcess]
add rsp, 8*4
|
robozonky-strategy-natural/src/main/antlr4/imports/CommonFilters.g4 | liry/robozonky | 0 | 4245 | grammar CommonFilters;
import Tokens;
@header {
import java.util.Collection;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import com.github.robozonky.strategy.natural.conditions.*;
}
relativeProfitCondition returns [MarketplaceFilterCondition result]:
'dosažený výnos ' (
(c1 = relativeProfitConditionRangeOpen { $result = $c1.result; })
| (c2 = relativeProfitConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = relativeProfitConditionRangeClosedRight { $result = $c3.result; })
) ' % původní jistiny'
;
relativeProfitConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = RelativeProfitCondition.exact(Ratio.fromPercentage($min.result), Ratio.fromPercentage($max.result)); }
;
relativeProfitConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=intExpr
{ $result = RelativeProfitCondition.moreThan(Ratio.fromPercentage($min.result)); }
;
relativeProfitConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=intExpr
{ $result = RelativeProfitCondition.lessThan(Ratio.fromPercentage($max.result)); }
;
relativeSaleDiscountCondition returns [MarketplaceFilterCondition result]:
(
'sleva ' (
(c1 = relativeSaleDiscountConditionRangeOpen { $result = $c1.result; })
| (c2 = relativeSaleDiscountConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = relativeSaleDiscountConditionRangeClosedRight { $result = $c3.result; })
) ' % zbývající jistiny'
) | (
'se slevou' { $result = RelativeDiscountCondition.moreThan(Ratio.fromPercentage(0)); }
) | (
'bez slevy' { $result = RelativeDiscountCondition.exact(Ratio.fromPercentage(0), Ratio.fromPercentage(0)); }
)
;
relativeSaleDiscountConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = RelativeDiscountCondition.exact(Ratio.fromPercentage($min.result), Ratio.fromPercentage($max.result)); }
;
relativeSaleDiscountConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=intExpr
{ $result = RelativeDiscountCondition.moreThan(Ratio.fromPercentage($min.result)); }
;
relativeSaleDiscountConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=intExpr
{ $result = RelativeDiscountCondition.lessThan(Ratio.fromPercentage($max.result)); }
;
healthCondition returns [MarketplaceFilterCondition result]:
{ HealthCondition c = new HealthCondition(); }
(
(
r1=healthExpression OR_COMMA { c.add($r1.result); }
)*
r2=healthExpression OR { c.add($r2.result); }
)?
r3=healthExpression { c.add($r3.result); }
' po splatnosti'
{ $result = c; }
;
saleFeeCondition returns [MarketplaceFilterCondition result]:
'prodej '
(
( IS { $result = SmpFeePresenceCondition.PRESENT; } ) |
( 'není ' { $result = SmpFeePresenceCondition.NOT_PRESENT; } )
)
'zpoplatněn'
;
regionCondition returns [MarketplaceFilterCondition result]:
{ BorrowerRegionCondition c = new BorrowerRegionCondition(); }
'kraj klienta ' IS (
(
r1=regionExpression OR_COMMA { c.add($r1.result); }
)*
r2=regionExpression OR { c.add($r2.result); }
)?
r3=regionExpression { c.add($r3.result); }
{ $result = c; }
;
incomeCondition returns [MarketplaceFilterCondition result]:
{ final BorrowerIncomeCondition c = new BorrowerIncomeCondition(); }
'klient ' IS (
(
i1=incomeExpression OR_COMMA { c.add($i1.result); }
)*
i2=incomeExpression OR { c.add($i2.result); }
)?
i3=incomeExpression { c.add($i3.result); }
{ $result = c; }
;
purposeCondition returns [MarketplaceFilterCondition result]:
{ final LoanPurposeCondition c = new LoanPurposeCondition(); }
'účel ' IS (
(
p1=purposeExpression OR_COMMA { c.add($p1.result); }
)*
p2=purposeExpression OR { c.add($p2.result); }
)?
p3=purposeExpression { c.add($p3.result); }
{ $result = c; }
;
storyCondition returns [MarketplaceFilterCondition result]:
'příběh ' IS (
'velmi krátký' { $result = new VeryShortStoryCondition(); }
| 'kratší než průměrný' { $result = new ShortStoryCondition(); }
| 'průměrně dlouhý' { $result = new AverageStoryCondition(); }
| 'delší než průměrný' { $result = new LongStoryCondition(); }
)
;
insuranceCondition returns [MarketplaceFilterCondition result]:
'pojištění ' (
( IS { $result = InsuranceCondition.ACTIVE; })
| ('není ' { $result = InsuranceCondition.INACTIVE; })
) 'aktivní'
;
originalTermCondition returns [MarketplaceFilterCondition result]:
'původní délka ' (
(c1 = originalTermConditionRangeOpen { $result = $c1.result; })
| (c2 = originalTermConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = originalTermConditionRangeClosedRight { $result = $c3.result; })
) MONTHS
;
originalTermConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = OriginalLoanTermCondition.exact($min.result, $max.result); }
;
originalTermConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=intExpr
{ $result = OriginalLoanTermCondition.moreThan($min.result); }
;
originalTermConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=intExpr
{ $result = OriginalLoanTermCondition.lessThan($max.result); }
;
remainingTermCondition returns [MarketplaceFilterCondition result]:
'délka ' (
(c1 = remainingTermConditionRangeOpen { $result = $c1.result; })
| (c2 = remainingTermConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = remainingTermConditionRangeClosedRight { $result = $c3.result; })
) MONTHS
;
remainingTermConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = LoanTermCondition.exact($min.result, $max.result); }
;
remainingTermConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=intExpr
{ $result = LoanTermCondition.moreThan($min.result); }
;
remainingTermConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=intExpr
{ $result = LoanTermCondition.lessThan($max.result); }
;
relativeTermCondition returns [MarketplaceFilterCondition result]:
'délka ' (
(c1 = relativeTermConditionRangeOpen { $result = $c1.result; })
| (c2 = relativeTermConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = relativeTermConditionRangeClosedRight { $result = $c3.result; })
) ' % původní délky'
;
relativeTermConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = RelativeLoanTermCondition.exact(Ratio.fromPercentage($min.result), Ratio.fromPercentage($max.result)); }
;
relativeTermConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=intExpr
{ $result = RelativeLoanTermCondition.moreThan(Ratio.fromPercentage($min.result)); }
;
relativeTermConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=intExpr
{ $result = RelativeLoanTermCondition.lessThan(Ratio.fromPercentage($max.result)); }
;
elapsedTermCondition returns [MarketplaceFilterCondition result]:
'uhrazeno ' (
(c1 = elapsedTermConditionRangeOpen { $result = $c1.result; })
| (c2 = elapsedTermConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = elapsedTermConditionRangeClosedRight { $result = $c3.result; })
) ' splátek'
;
elapsedTermConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = ElapsedLoanTermCondition.exact($min.result, $max.result); }
;
elapsedTermConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
'více než' min=intExpr
{ $result = ElapsedLoanTermCondition.moreThan($min.result); }
;
elapsedTermConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
'méně než' max=intExpr
{ $result = ElapsedLoanTermCondition.lessThan($max.result); }
;
elapsedRelativeTermCondition returns [MarketplaceFilterCondition result]:
'uhrazeno ' (
(c1 = elapsedRelativeTermConditionRangeOpen { $result = $c1.result; })
| (c2 = elapsedRelativeTermConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = elapsedRelativeTermConditionRangeClosedRight { $result = $c3.result; })
) ' % splátek'
;
elapsedRelativeTermConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = RelativeElapsedLoanTermCondition.exact(Ratio.fromPercentage($min.result), Ratio.fromPercentage($max.result)); }
;
elapsedRelativeTermConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
'více než' min=intExpr
{ $result = RelativeElapsedLoanTermCondition.moreThan(Ratio.fromPercentage($min.result)); }
;
elapsedRelativeTermConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
'méně než' max=intExpr
{ $result = RelativeElapsedLoanTermCondition.lessThan(Ratio.fromPercentage($max.result)); }
;
amountCondition returns [MarketplaceFilterCondition result]:
'výše ' (
(c1 = amountConditionRangeOpen { $result = $c1.result; })
| (c2 = amountConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = amountConditionRangeClosedRight { $result = $c3.result; })
) KC
;
amountConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = LoanAmountCondition.exact($min.result, $max.result); }
;
amountConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=intExpr
{ $result = LoanAmountCondition.moreThan($min.result); }
;
amountConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=intExpr
{ $result = LoanAmountCondition.lessThan($max.result); }
;
remainingPrincipalCondition returns [MarketplaceFilterCondition result]:
'zbývající jistina ' (
(c1 = remainingPrincipalConditionRangeOpen { $result = $c1.result; })
| (c2 = remainingPrincipalConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = remainingPrincipalConditionRangeClosedRight { $result = $c3.result; })
) KC
;
remainingPrincipalConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = RemainingPrincipalCondition.exact($min.result, $max.result); }
;
remainingPrincipalConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=intExpr
{ $result = RemainingPrincipalCondition.moreThan($min.result); }
;
remainingPrincipalConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=intExpr
{ $result = RemainingPrincipalCondition.lessThan($max.result); }
;
annuityCondition returns [MarketplaceFilterCondition result]:
'měsíční splátka ' (
(c1 = annuityConditionRangeOpen { $result = $c1.result; })
| (c2 = annuityConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = annuityConditionRangeClosedRight { $result = $c3.result; })
) KC
;
annuityConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=intExpr UP_TO max=intExpr
{ $result = LoanAnnuityCondition.exact($min.result, $max.result); }
;
annuityConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=intExpr
{ $result = LoanAnnuityCondition.moreThan($min.result); }
;
annuityConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=intExpr
{ $result = LoanAnnuityCondition.lessThan($max.result); }
;
revenueRateCondition returns [MarketplaceFilterCondition result]:
'optimální výnos ' (
(c1 = revenueRateConditionRangeOpen { $result = $c1.result; })
| (c2 = revenueRateConditionRangeClosedLeft { $result = $c2.result; })
| (c3 = revenueRateConditionRangeClosedRight { $result = $c3.result; })
) ' % p.a' DOT?
;
revenueRateConditionRangeOpen returns [MarketplaceFilterCondition result]:
IS min=floatExpr UP_TO max=floatExpr {
$result = RevenueRateCondition.exact(Ratio.fromPercentage($min.result), Ratio.fromPercentage($max.result));
}
;
revenueRateConditionRangeClosedLeft returns [MarketplaceFilterCondition result]:
MORE_THAN min=floatExpr
{ $result = RevenueRateCondition.moreThan(Ratio.fromPercentage($min.result)); }
;
revenueRateConditionRangeClosedRight returns [MarketplaceFilterCondition result]:
LESS_THAN max=floatExpr
{ $result = RevenueRateCondition.lessThan(Ratio.fromPercentage($max.result)); }
;
|
agda/Function/Biconditional.agda | oisdk/combinatorics-paper | 4 | 10982 | {-# OPTIONS --cubical --safe #-}
module Function.Biconditional where
open import Level
open import Relation.Binary
open import Path as ≡ using (_;_; cong)
open import Function
infix 4 _↔_
record _↔_ {a b} (A : Type a) (B : Type b) : Type (a ℓ⊔ b) where
constructor _iff_
field
fun : A → B
inv : B → A
open _↔_ public
sym-↔ : (A ↔ B) → (B ↔ A)
fun (sym-↔ A↔B) = inv A↔B
inv (sym-↔ A↔B) = fun A↔B
refl-↔ : A ↔ A
fun refl-↔ = id
inv refl-↔ = id
trans-↔ : A ↔ B → B ↔ C → A ↔ C
fun (trans-↔ A↔B B↔C) = fun B↔C ∘ fun A↔B
inv (trans-↔ A↔B B↔C) = inv A↔B ∘ inv B↔C
|
oeis/142/A142383.asm | neoneye/loda-programs | 11 | 15248 | ; A142383: Primes congruent to 32 mod 47.
; Submitted by <NAME>
; 79,173,643,1019,1301,1489,1583,2053,2617,2711,3181,3463,3557,4027,4591,4967,5437,5531,5813,6659,7129,7411,8069,8539,8821,9103,9479,9949,10513,10607,10889,11171,11923,12487,13709,14461,15307,15401,15683,16529,16811,17093,17657,17939,18127,18503,18691,18973,19819,19913,20101,20477,20759,20947,21323,22639,22921,23203,23297,23767,24049,24989,25741,26399,26681,27527,27809,27997,28279,28843,29501,30253,30347,30817,30911,31193,31663,32321,32603,33073,33637,34483,35141,35423,36269,36457,36551,36739
mov $1,39
mov $2,$0
add $2,2
pow $2,2
lpb $2
sub $2,2
mov $3,$1
mul $3,2
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,47
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
mul $0,2
sub $0,93
|
oeis/120/A120881.asm | neoneye/loda-programs | 11 | 99870 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A120881: a(n) = number of k's, for 1 <= k <= n, where GCD(k,floor(n/k)) > 1.
; Submitted by <NAME>
; 0,0,0,1,1,0,0,2,3,2,2,2,2,1,1,4,4,4,4,5,4,3,3,5,6,5,7,8,8,3,3,7,7,6,6,8,8,7,6,9,9,6,6,7,9,8,8,11,12,12,12,13,13,14,13,15,14,13,13,11,11,10,11,16,16,12,12,13,13,10,10,15,15,14,15,16,16,13,13,17,20,19,19,18,18,17,17,20,20,17,17,18,17,16,16,21,21,21,23,26
mov $1,$0
seq $1,120882 ; a(n) is the number of k's, for 1 <= k <= n, where gcd(k,floor(n/k)) = 1.
sub $0,$1
add $0,1
|
scripts/neteasemusic_control.scpt | lroolle/ohmyalfred | 8 | 2604 | <reponame>lroolle/ohmyalfred
-- Global Control Netease Cloud Music
-- Inspired by https://github.com/z4jst/AW_NeteaseAlfredController
-- Script Version 0.1.2
-- Alfred Version 4.0.9
-- NeteaseMusic Version 2.3.2 (832)
set Q to "{query}"
set BLANK to ""
set APP_NAME to "NeteaseMusic"
set PLAY_PAUSE to "p"
set NEXT to "n"
set LIKE to "l"
set SHUFFLE to "s"
set HIDE to "h"
set QUIT_ to "q"
set SHOW_HIDE_LYRIC to "ly"
set PREVIOUS to "pr"
-- TODO: v++ v+++
set INCREASE_VOLUME to "v+"
set DECREASE_VOLUME to "v-"
set REPEAT_ALL to "a"
set REPEAT_ONE to "1"
set REPEAT_OFF to ">"
set NOTIFICATION_TITLE to "Alfred 网易云音乐"
if application APP_NAME is not running
display notification "正在打开..." with title NOTIFICATION_TITLE
tell application APP_NAME
reopen
activate
end tell
delay 3
end if
if Q is equal to BLANK
tell application APP_NAME
activate
reopen
end tell
else if Q is equal to PLAY_PAUSE
display notification "...播放/暂停" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 1 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to NEXT
tell application "System Events" to tell process APP_NAME
click menu item 2 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to PREVIOUS
tell application "System Events" to tell process APP_NAME
click menu item 3 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to INCREASE_VOLUME
display notification "音量++" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 4 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to DECREASE_VOLUME
display notification "音量--" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 5 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to LIKE
display notification "“正中”红心" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 6 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to REPEAT_OFF
display notification "顺序播放" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 1 of menu of menu item 7 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to REPEAT_ONE
display notification "单曲循环" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 2 of menu of menu item 7 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to REPEAT_ALL
display notification "列表循环" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 3 of menu of menu item 7 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to SHUFFLE
display notification "随机播放" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 8 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to SHOW_HIDE_LYRIC
display notification "...显示/隐藏歌词" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 9 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if Q is equal to HIDE
display notification "隐藏网易云音乐窗口" with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 7 of menu 1 of menu bar item 2 of menu bar 1
end tell
else if Q is equal to QUIT_
display notification "退出网易云音乐..." with title NOTIFICATION_TITLE
tell application "System Events" to tell process APP_NAME
click menu item 11 of menu 1 of menu bar item 2 of menu bar 1
end tell
end if
|
oeis/082/A082297.asm | neoneye/loda-programs | 11 | 243867 | ; A082297: Main diagonal of array A083861.
; Submitted by <NAME>
; 0,1,5,22,105,551,3125,18901,120785,809956,5669525,41253125,310968905,2421594449,19434554165,160416509794,1359425390625,11809173506531,105013666399445,954781355707373,8865807366284825,83996265859375000,811222567266570805,7980019803318567233
mov $2,$0
mov $3,1
lpb $0
sub $0,1
mul $1,3
add $1,$3
mul $3,2
mul $4,$2
add $3,$4
mov $4,$1
lpe
mov $0,$4
|
programs/oeis/010/A010950.asm | jmorken/loda | 1 | 80585 | ; A010950: Binomial coefficient C(34,n).
; 1,34,561,5984,46376,278256,1344904,5379616,18156204,52451256,131128140,286097760,548354040,927983760,1391975640,1855967520,2203961430,2333606220,2203961430,1855967520,1391975640,927983760,548354040,286097760,131128140,52451256
mov $1,34
bin $1,$0
|
programs/oeis/335/A335691.asm | neoneye/loda | 22 | 240786 | ; A335691: A000166(n)^2.
; 1,0,1,4,81,1936,70225,3437316,220017889,17821182016,1782120871521,215636596084900,31051670188655281,5247732257301156624,1028555522495168900401,231424992560450869558756,59244798095490816735545025,17121746649596584336387952896
seq $0,166 ; Subfactorial or rencontres numbers, or derangements: number of permutations of n elements with no fixed points.
pow $0,2
|
source/vampire-r3-register_page.adb | ytomino/vampire | 1 | 29798 | <gh_stars>1-10
-- The Village of Vampire by YT, このソースコードはNYSLです
with Web.HTML;
procedure Vampire.R3.Register_Page (
Output : not null access Ada.Streams.Root_Stream_Type'Class;
Form : in Forms.Root_Form_Type'Class;
Template : in String;
Base_Page : in Forms.Base_Page;
Village_Id : in Tabula.Villages.Village_Id :=
Tabula.Villages.Invalid_Village_Id;
New_User_Id : in String;
New_User_Password : in String)
is
procedure Handle (
Output : not null access Ada.Streams.Root_Stream_Type'Class;
Tag : in String;
Contents : in Web.Producers.Template) is
begin
if Tag = "action_cgi" then
Forms.Write_Attribute_Name (Output, "action");
Forms.Write_Link (
Output,
Form,
Current_Directory => ".",
Resource => Forms.Self);
elsif Tag = "action_page" then
Forms.Write_Attribute_Name (Output, "action");
Forms.Write_Link (
Output,
Form,
Current_Directory => ".",
Resource => Forms.Self,
Parameters =>
Form.Parameters_To_Base_Page (
Base_Page => Base_Page,
Village_Id => Village_Id,
User_Id => "",
User_Password => ""));
elsif Tag = "id" then
Forms.Write_In_HTML (Output, Form, New_User_Id);
elsif Tag = "parameters" then
Web.HTML.Write_Query_In_HTML (
Output,
Form.HTML_Version,
Form.Parameters_To_Base_Page (
Base_Page => Base_Page,
Village_Id => Village_Id,
User_Id => "",
User_Password => ""));
elsif Tag = "value_newid" then
Forms.Write_Attribute_Name (Output, "value");
Forms.Write_Attribute_Open (Output);
Forms.Write_In_Attribute (Output, Form, New_User_Id);
Forms.Write_Attribute_Close (Output);
elsif Tag = "value_newpassword" then
Forms.Write_Attribute_Name (Output, "value");
Forms.Write_Attribute_Open (Output);
Forms.Write_In_Attribute (Output, Form, New_User_Password);
Forms.Write_Attribute_Close (Output);
else
Raise_Unknown_Tag (Tag);
end if;
end Handle;
begin
Web.Producers.Produce (Output, Read (Template), Handler => Handle'Access);
end Vampire.R3.Register_Page;
|
libsrc/target/fp1100/graphics/textpixl.asm | Frodevan/z88dk | 640 | 178576 | ;
;
; .. X. .X XX
; .. .. .. ..
;
; .. X. .X XX
; X. X. X. X.
;
; .. X. .X XX
; .X .X .X .X
;
; .. X. .X XX
; XX XX XX XX
SECTION rodata_clib
PUBLIC textpixl
EXTERN __fp1100_lores_graphics
.textpixl
defb 0, 1, 2, 3
defb 4, 5, 6, 7
defb 8, 9, 10, 11
defb 12, 13, 14, 15
lores:
;0
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
;1
defb @11110000
defb @11110000
defb @11110000
defb @11110000
defb @00000000
defb @00000000
defb @00000000
defb @00000000
;2
defb @00001111
defb @00001111
defb @00001111
defb @00001111
defb @00000000
defb @00000000
defb @00000000
defb @00000000
;3
defb @11111111
defb @11111111
defb @11111111
defb @11111111
defb @00000000
defb @00000000
defb @00000000
defb @00000000
;4
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @11110000
defb @11110000
defb @11110000
defb @11110000
;5
defb @11110000
defb @11110000
defb @11110000
defb @11110000
defb @11110000
defb @11110000
defb @11110000
defb @11110000
;6
defb @00001111
defb @00001111
defb @00001111
defb @00001111
defb @11110000
defb @11110000
defb @11110000
defb @11110000
;7
defb @11111111
defb @11111111
defb @11111111
defb @11111111
defb @11110000
defb @11110000
defb @11110000
defb @11110000
;8
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @00001111
defb @00001111
defb @00001111
defb @00001111
;9
defb @11110000
defb @11110000
defb @11110000
defb @11110000
defb @00001111
defb @00001111
defb @00001111
defb @00001111
;10
defb @00001111
defb @00001111
defb @00001111
defb @00001111
defb @00001111
defb @00001111
defb @00001111
defb @00001111
;11
defb @11111111
defb @11111111
defb @11111111
defb @11111111
defb @00001111
defb @00001111
defb @00001111
defb @00001111
;12
defb @00000000
defb @00000000
defb @00000000
defb @00000000
defb @11111111
defb @11111111
defb @11111111
defb @11111111
;13
defb @11110000
defb @11110000
defb @11110000
defb @11110000
defb @11111111
defb @11111111
defb @11111111
defb @11111111
;14
defb @00001111
defb @00001111
defb @00001111
defb @00001111
defb @11111111
defb @11111111
defb @11111111
defb @11111111
;15
defb @11111111
defb @11111111
defb @11111111
defb @11111111
defb @11111111
defb @11111111
defb @11111111
defb @11111111
SECTION code_crt_init
ld hl,lores
ld (__fp1100_lores_graphics),hl
|
src/day7/bags.g4 | LaurentJeanpierre1/aoc2020 | 0 | 3822 | grammar bags;
start : fichier EOF;
WS: [ ,] -> skip;
BAGS: 'bag''s'?;
CONTAIN: 'contain';
NO_OTHER_BAGS : 'no other bags' ;
INT : [0-9]+;
COLOR: [a-z][a-z]*;
fichier : ligne*;
ligne: bag_name CONTAIN content '.' '\n'? { System.out.printf("%s -> %s\n", $bag_name.name, $content.res.toString()); };
content returns [List<Content> res]: NO_OTHER_BAGS { $res = new ArrayList<Content>(); }
| l+=bag + { $res = ($l).stream().map(b->b.aBag).collect(Collectors.toList()); }
;
bag_name returns [String name] : l+=COLOR + BAGS { $name = $l.stream().map(c->c.getText()).collect(Collectors.joining()); };
bag returns [Content aBag]: INT bag_name { $aBag = new Content($bag_name.name, $INT.int); };
|
src/asf-helpers-beans.ads | jquorning/ada-asf | 12 | 12362 | <gh_stars>10-100
-----------------------------------------------------------------------
-- asf-helpers-beans -- Helper packages to write ASF applications
-- Copyright (C) 2012, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Beans.Basic;
with ASF.Requests;
package ASF.Helpers.Beans is
-- Get a bean instance associated under the given name from the current faces context.
-- A null value is returned if the bean does not exist or is not of the good type.
generic
type Element_Type is new Util.Beans.Basic.Readonly_Bean with private;
type Element_Access is access all Element_Type'Class;
function Get_Bean (Name : in String) return Element_Access;
-- Get a bean instance associated under the given name from the request.
-- A null value is returned if the bean does not exist or is not of the good type.
generic
type Element_Type is new Util.Beans.Basic.Readonly_Bean with private;
type Element_Access is access all Element_Type'Class;
function Get_Request_Bean (Request : in ASF.Requests.Request'Class;
Name : in String) return Element_Access;
end ASF.Helpers.Beans;
|
array_utils/src/array_utils.adb | jgrivera67/projects-with-amy | 0 | 30725 | --
-- Copyright (c) 2022, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
-- this list of conditions and the following disclaimer.
--
-- * Redistributions in binary form must reproduce the above copyright notice,
-- this list of conditions and the following disclaimer in the documentation
-- and/or other materials provided with the distribution.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-- POSSIBILITY OF SUCH DAMAGE.
--
package body Array_Utils is
function Linear_Search (A : Array_Type; Value : Element_Type) return Natural is
begin
for I in A'Range loop
if A (I) = Value then
return I;
end if;
end loop;
return 0;
end Linear_Search;
function Binary_Search (A : Array_Type; Value : Element_Type) return Natural is
begin
-- TODO: Implement the binary search algorithm
return 0;
end Binary_Search;
end Array_Utils; |
Library/Parse/parseParse.asm | steakknife/pcgeos | 504 | 5993 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: parseParse.asm
AUTHOR: <NAME>, Jan 16, 1991
ROUTINES:
Name Description
---- -----------
ParserParseString Parse a string
REVISION HISTORY:
Name Date Description
---- ---- -----------
John 1/16/91 Initial revision
DESCRIPTION:
Parsing routines.
$Id: parseParse.asm,v 1.1 97/04/05 01:27:20 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParserCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParserParseString
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse a string.
CALLED BY: Global
PASS: ds:si = Pointer to text to scan
es:di = Buffer to put parsed data in
ss:bp = Pointer to ParserParameters structure on the stack
RETURN: carry set on error
al = Error code (ParserScannerEvaluatorError)
cx,dx = Range of text where the error was encountered
es:di = Pointer past the last token written
DESTROYED: ah
PSEUDO CODE/STRATEGY:
The parser is too complicated to document completely here.
The README, GRAMMAR, and THOUGHTS files contains a description of
the language, tokens, errors, etc.
The parser is a recursive descent parser. Each node corresponds
to an item in the GRAMMAR file.
The functions for each node should make pretty good sense
individually. You will want the complete language definition
to get the overall view though.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/16/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParserParseString proc far
uses bx, si, bp
.enter
if FULL_EXECUTE_IN_PLACE
;
; Make sure the fptr passed in is valid
;
EC < pushdw bxsi >
EC < movdw bxsi, ss:[bp].EP_common.CP_callback >
EC < call ECAssertValidFarPointerXIP >
EC < popdw bxsi >
endif
EC < call ECCheckPointer >
EC < call ECCheckPointerESDI >
EC < call ECCheckParserParameters >
mov dx, di ; Save ptr to start of tokens
call ScannerInit ; Init the scanner
jc quit ; Quit if error
call ParseFullExpression ; Do the parsing
jc quit ; Quit if error
;
; If we get here we should be staring at the end of the
; expression. If we grab the next token and it's not the end of
; the text, we flag an error (bad expression).
;
call ScannerGetNextToken ; Grab next token
jc quit ; Quit on error
cmp ss:[bp].PP_currentToken.ST_type,
SCANNER_TOKEN_END_OF_EXPRESSION
jne errorBadExpr ; Branch on error
call WriteEndOfExpression ; Write the EOE marker
jc quit ; Quit if error
;
; Since we know it parsed, we now want to resolve all the name
; references.
;
call CountNameReferences ; cx <- # of name references
jcxz noNames ; jump if no name references
call CheckNameSpace ; Make sure there's space
jc quit ; Branch on error
noNames:
;
; Now turn the names into something meaningful.
;
call ResolveNameReferences
;;; Carry is set correctly here
quit:
mov al, ss:[bp].PP_error ; al <- error code
mov cx, ss:[bp].PP_tokenStart ; cx <- start of token
mov dx, ss:[bp].PP_tokenEnd ; dx <- end of token
DBCS < pushf >
DBCS < shr cx, 1 ; char offset -> byte offset>
DBCS < shr dx, 1 ; char offset -> byte offset>
DBCS < popf >
.leave
ret
errorBadExpr:
mov al, PSEE_EXPECTED_END_OF_EXPRESSION
call ParserReportError
jmp quit
ParserParseString endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseFullExpression
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse an expression (as defined by our language)
CALLED BY: ParserParseString, ParseFullExpression (recursively),
ParseMoreExpression, ParseArgList
PASS: ds:si = Pointer to the text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error.
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
t = GetNextToken()
if (t == OPEN_PAREN) then
Parse( fullExpr )
t = GetNextToken()
if (t != CLOSE_PAREN) then
error()
endif
Parse( moreExpr )
else if (t == '-') then
Parse( fullExpr )
else if (t == IDENTIFIER) then
l = LookAhead()
if (l == OPEN_PAREN) then
Parse( function )
else
Parse( moreExpr )
endif
else if (isExprStarter( t )) then
Parse( moreExpr )
endif
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseFullExpression proc near
call ScannerGetNextToken ; Grab next token
jc quit ; Quit if error
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_OPEN_PAREN
jne checkNegation
;
; Token is an open paren. That means it contains an expression.
;
call WriteSingleToken ; Write an open paren
jc quit ; Quit if error
call ParseFullExpression ; Parse it recursively
jc quit ; Quit if error
call ScannerGetNextToken ; Grab next token
jc quit ; Quit if error
;
; The next token MUST be a close-paren to finish off the
; parenthesized expression.
;
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_CLOSE_PAREN
jne missingCloseParen
call WriteSingleToken ; Write a close paren
jmp parseMoreIfNoError ; Branch to parse more
checkNegation:
;
; Check for an expression led by a "-"
;
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_OPERATOR
jne checkFunction
cmp ss:[bp].PP_currentToken.ST_data.STD_operator.STOD_operatorID,
OP_SUBTRACTION_NEGATION
jne errorBadExpression ; If operator, must be "-"
;
; Found an operator that is "-", parse a full expression after it
;
call WriteNegationOp ; Write a negation operator
jc quit ; Quit if error
call ParseFullExpression ; Parse recursively
jmp quit ; Quit, error code set correctly
checkFunction:
;
; Check for an expression led off by a function invocation
;
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_IDENTIFIER
jne checkSingle
;
; It may be a function call, check for an open-paren following the
; identifier.
;
call ScannerLookAheadToken ; Grab the lookahead token
jc quit ; Quit on error
cmp ss:[bp].PP_lookAheadToken.ST_type, SCANNER_TOKEN_OPEN_PAREN
jne checkSingle ; Branch if not function invocation
call WriteFunctionCall ; Write out a function invocation
jc quit ; Quit on error
call ParseFunctionArgs ; Parse the function call
jmp parseMoreIfNoError ; Parse the rest of the expr
checkSingle:
;
; Check for a single item leading the expression
;
call IsExprStartToken
jnc errorBadExpression ; Branch if error
;
; Is the start of an expression, fall thru to parse more expression
;
call WriteSingleToken ; Write the current token
;;; Carry set if error. Fall thru
parseMoreIfNoError:
;
; Carry set if error
;
jc quit ; Quit if error
call ParseMoreExpression
;;; Carry is set correctly for returning here
quit:
ret
;------------------------------------------------------------
missingCloseParen:
;
; Error, close-paren missing from parenthesized expression
;
mov al, PSEE_MISSING_CLOSE_PAREN
call ParserReportError
jmp quit
errorBadExpression:
;
; Error, the expression starts with something meaningless
;
mov al, PSEE_BAD_EXPRESSION
call ParserReportError
jmp quit
ParseFullExpression endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseMoreExpression
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse more of an expression. Assumes that we have encountered
the first part of an expression already.
CALLED BY: ParseMoreExpression(recursively), ParseFullExpression,
ParseArgList
PASS: ds:si = Pointer to text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error.
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
l = LookAhead()
if (l == OPERATOR) then
t = GetNextToken() /* grab the token */
if (t.opType == '+', '*', '/', '^') then
/* Normal binary operator */
Parse( fullExpr )
else if (t.opType == '%') then
l = LookAhead()
if (isExprStarter( l )) then
/* current operator must be a binary operator */
Parse( fullExpr )
else
/* current operator must be a left unary operator */
Parse( moreExpr )
endif
endif
endif
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseMoreExpression proc near
;
; Check for the "rest" of an expression
;
call ScannerLookAheadToken
jc quit ; Quit if error
;
; If there is no operator, then there can't be more expression.
; This isn't an error. Just a reason to stop.
;
cmp ss:[bp].PP_lookAheadToken.ST_type, SCANNER_TOKEN_OPERATOR
jne quitNoError
;
; OK. We know it's an operator. Scarf it up and see what we want
; to do about it.
;
call ScannerGetNextToken
jc quit ; Quit if error
;
; Assume it's a binary operator (since there are more of these).
; This means we only need to check for the PERCENT_MODULO operator
; since it is the only left-associative unary operator.
;
cmp ss:[bp].PP_currentToken.ST_data.STD_operator.STOD_operatorID,
OP_PERCENT_MODULO
jne parseBinary
;
; The operator is either a percent or a modulo. We need to look
; ahead and see if what ever is after us is more expression.
; If it is, then we are looking at a binary operator (modulo).
;
call ScannerLookAheadToken
jc quit ; Quit if error
call IsExprStartLookAhead ; Check for more expression
jc parseBinary ; Branch if more expression
;
; Looks like a unary operator to me... Write it out.
; Then parse whatever follows... It must be more expression.
; Otherwise we would have branched.
;
call WritePercentOp ; Write out the operator
jc quit ; Quit if error
call ParseMoreExpression ; Parse more of it
jmp quit ; Quit (carry already set)
parseBinary:
;
; We have a binary operator, write it out.
;
call WriteBinaryOp ; Write operator
jc quit ; Quit if error
call ParseFullExpression ; Parse the rest.
;;; Carry is set correctly by ParseFullExpression()
quit:
ret
quitNoError:
clc ; Signal: no error
jmp quit
ParseMoreExpression endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseFunctionArgs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse a function call. Assumes that the function name has
been encountered and we are about to grab the open-paren.
CALLED BY: ParseFullExpression
PASS: ds:si = Pointer to text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error.
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
t = GetNextToken()
if (t != OPEN_PAREN) then
error()
endif
l = LookAhead()
if (l != CLOSE_PAREN) then
Parse( argList )
endif
t = GetNextToken()
if (t != CLOSE_PAREN) then
error()
endif
WriteOutput( EVAL )
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseFunctionArgs proc near
call ScannerGetNextToken ; Grab next token
jc quit ; Quit on error
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_OPEN_PAREN
jne expectedOpenParen ; Error if next isn't "("
call ScannerLookAheadToken
jc quit ; Quit on error
;
; Check for a close-paren (no arguments).
;
cmp ss:[bp].PP_lookAheadToken.ST_type, SCANNER_TOKEN_CLOSE_PAREN
je closeFunc ; Branch if ")"
;
; No close paren, Parse the arg-list
;
call ParseArgList
jc quit ; Quit on error
closeFunc:
;
; Discard the close-paren.
;
call ScannerGetNextToken
jc quit ; Quit on error
cmp ss:[bp].PP_currentToken.ST_type, SCANNER_TOKEN_CLOSE_PAREN
jne expectedCloseParen ; Branch if not close-paren
;
; was a close-paren. Mark that the function call was o'tay.
;
call WriteCloseFunction ; Note that the function closed
;;; Carry set correctly for return
quit:
ret
expectedOpenParen:
;
; No open-paren was found
;
push ax
mov al, PSEE_EXPECTED_OPEN_PAREN
call ParserReportError
pop ax
jmp quit
expectedCloseParen:
;
; No close-paren was found
;
push ax
mov al, PSEE_EXPECTED_CLOSE_PAREN
call ParserReportError
pop ax
jmp quit
ParseFunctionArgs endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseArgList
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse an argument list. Assumes we are at the beginning.
(ie: right after the open-paren of the function call).
CALLED BY: ParseFunctionArgs
PASS: ds:si = Pointer to text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
Parse(fullExpression)
Parse( moreArgs )
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseArgList proc near
call ParseFullExpression ; Parse the whole thing
jc quit ; Carry set if error
call WriteArgEnd ; Signal done with this arg
jc quit ; Quit if error
call ParseMoreArgs ; Parse more args.
;;; Carry is set correctly here by ParseMoreArgs()
quit:
ret
ParseArgList endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParseMoreArgs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Parse more of an argument list. Assumes that the start of
arg-list has been found.
CALLED BY: ParseArgList
PASS: ds:si = Pointer to text to parse
ss:bp = Pointer to ParserParameters
es:di = Pointer to place to put parser tokens
RETURN: ds:si = Pointer past parsed text
es:di = Pointer past inserted parser tokens
carry set on error
PP_error holds the error code
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
l = LookAhead()
if (l == ARGUMENT_SEPARATOR) then
GetNextToken();
Parse( argList );
endif
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParseMoreArgs proc near
;
; Check the next token (which should be the argument separator).
;
call ScannerLookAheadToken
jc quit
;
; If there is a list-separator, we're in business. We can call
; back to parse more arguments. Otherwise we can just return.
;
;
cmp ss:[bp].PP_lookAheadToken.ST_type, SCANNER_TOKEN_LIST_SEPARATOR
jne quitNoError ; Quit if no separator
call ScannerGetNextToken ; Discard separator
jc quit
call ParseArgList ; Parse more arguments
;;; carry set correctly here by ParseArgList()
quit:
ret
quitNoError:
clc ; Signal: no error
jmp quit
ParseMoreArgs endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IsExprStartToken
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check to see if the current token could be the start
or more of an expression
CALLED BY: ParseFullExpression, ParseArgList
PASS: ss:bp = Pointer to ParserParameters (PP_currentToken)
RETURN: carry set if the token is more expression
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
The current token type must be one of:
Function name
Constant
String Constant
Cell Reference
Right associated unary operator
This function basically asks the question "Does the current
expression stop here, or does it continue?".
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/21/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IsExprStartToken proc near
uses di
.enter
mov di, offset PP_currentToken
call IsExprStart
.leave
ret
IsExprStartToken endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IsExprStartLookAhead
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check to see if the look-ahead token could be the start
of an expression.
CALLED BY: ParseMoreExpression
PASS: ss:bp = Pointer to ParserParameters (PP_lookAheadToken)
RETURN: carry set if the token is more expression
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/22/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IsExprStartLookAhead proc near
uses di
.enter
mov di, offset PP_lookAheadToken
call IsExprStart ; Check other types
.leave
ret
IsExprStartLookAhead endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IsExprStart
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check a token to see if could be the start of an expression
CALLED BY: IsExprStartLookAhead, IsExprStartToken
PASS: ss:bp.di = Pointer to the token to check
RETURN: carry set if the token is more expression
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
A "-" isn't considered to be the start of an expression. This
isn't really true, but it makes other code simpler.
We only get here from two places. One is ParseFullExpression.
In that case we have already checked for the existence of a
"-".
The other case is from ParseMoreExpression. In that case we
don't want to allow the "-" to be considered the start of an
expression anyway.
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/22/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IsExprStart proc near
uses ax
.enter
mov al, ss:[bp][di].ST_type
cmp al, SCANNER_TOKEN_NUMBER
je moreExpr
cmp al, SCANNER_TOKEN_STRING
je moreExpr
cmp al, SCANNER_TOKEN_CELL
je moreExpr
cmp al, SCANNER_TOKEN_IDENTIFIER
je moreExpr
cmp al, SCANNER_TOKEN_OPEN_PAREN
jne noMoreExpr
moreExpr:
stc ; Signal: More expression
done:
.leave
ret
noMoreExpr:
clc ; Signal: No more expression
jmp done
IsExprStart endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ParserReportError
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Signal a parser error
CALLED BY: Utility
PASS: al = Error code (ParserScannerEvaluatorError)
RETURN: carry set always
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/22/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ParserReportError proc near
mov ss:[bp].PP_error, al
stc
ret
ParserReportError endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CountNameReferences
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Count the number of references to new names
CALLED BY: ParserParseString
PASS: es:dx = Pointer to a stream of tokens
ss:bp = Pointer to ParserParameters
RETURN: cx = # of references to new names
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
This code doesn't entirely work. It doesn't know if a name has been
referenced more than once. This means that the count returned may
be too high. This is ok (I guess) since it means that we will definitely
make sure to have enough name space. The problem is that a user might
hit the limit earlier than they might expect. I doubt it will be a
serious problem.
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
CountNameReferences proc near
uses di
.enter
clr cx ; No new names yet
mov di, offset cs:CountNamesCallback
call ProcessTokenStream ; Process the list of tokens
;
; cx = # of new names
;
.leave
ret
CountNameReferences endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CountNamesCallback
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check for an undefined name.
CALLED BY: ProcessTokenStream
PASS: ss:bp = Pointer to ParserParameters
ds:si = Pointer to token data
al = Token type
cx = # of new names found so far
RETURN: cx incremented if this name is also a new one
carry clear always
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
CountNamesCallback proc near
uses ax, si
.enter
cmp al, PARSER_TOKEN_NAME
jne quitContinue
;
; It's a name, call back to the application to find out if it's a new
; one.
;
; In the first pass, we simply saved the offset of the name
; in the text we were parsing. In the second pass, we get back
; the pointer to the string, and call back to the application
; to ask it to resolve the name for us, if it can.
;
push cx, ds ; Save name count, token segment
mov si, ds:[si].PTND_name ; si <- offset to the name
add si, ss:[bp].PP_textPtr.offset
mov ds, ss:[bp].PP_textPtr.segment
call FindIdentifierLength ; cx <- length of the string
mov al, CT_CHECK_NAME_EXISTS
if FULL_EXECUTE_IN_PLACE
push bx
mov ss:[TPD_dataBX], bx
mov ss:[TPD_dataAX], ax
movdw bxax, ss:[bp].CP_callback
call ProcCallFixedOrMovable ; ds:si = token data
pop bx
else
call ss:[bp].CP_callback ; Does it exist?
endif
pop cx, ds ; Restore name count, token segment
jc quitContinue ; Branch if it exists
;
; It's a brand new name, add one to the name count.
;
inc cx ; One more new name
quitContinue:
clc ; Please continue
.leave
ret
CountNamesCallback endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CheckNameSpace
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check to see that there is enough name space to parse
this expression.
CALLED BY: ParserParseString
PASS: ss:bp = Pointer to ParserParameters
cx = # of new names this expression references
RETURN: carry set on error
al = Error code (ParserScannerEvaluatorError)
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
CheckNameSpace proc near
mov al, CT_CHECK_NAME_SPACE
if FULL_EXECUTE_IN_PLACE
pushdw ss:[bp].CP_callback
call PROCCALLFIXEDORMOVABLE_PASCAL
else
call ss:[bp].CP_callback ; Check for enough name space
endif
jnc quit ; Branch if no error
call ParserReportError ; Otherwise save the error
quit:
ret
CheckNameSpace endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ResolveNameReferences
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Resolve references to names made in the expression
CALLED BY: ParserParseString
PASS: ss:bp = Pointer to ParserParameters on the stack
es:dx = Pointer to start of stream of tokens
RETURN: carry set on error
al = Error code (ParserScannerEvaluatorError)
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
Run through the parsed expression, calling back for each name
and for each function.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 2/15/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ResolveNameReferences proc near
uses di
.enter
mov di, offset cs:ResolveNameCallback
call ProcessTokenStream ; Resolve the references
jnc quit ; Branch if no error
mov al, cl ; al <- error code (if any)
call ParserReportError ; Report an error
quit:
.leave
ret
ResolveNameReferences endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ResolveNameCallback
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Resolve a single name
CALLED BY: ResolveNameReferences via ProcessTokenStream
PASS: al = Token type
ds:si = Token data
ss:bp = Pointer to ParserParameters
RETURN: carry set on error
cl = Error code (ParserScannerEvaluatorError)
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ResolveNameCallback proc near
uses bx, dx, di, si, ds, es
.enter
cmp al, PARSER_TOKEN_NAME ; Check for a name
je resolveThing ; Branch to resolve the item
cmp al, PARSER_TOKEN_FUNCTION
jne nextToken ; Skip to next token
resolveThing:
;
; It's a name or function. Call the application and ask it to
; resolve it.
;
push ds, si ; Save ptr to token stream
mov si, ds:[si].PTND_name ; si <- offset to the name
mov dx, si ; dx <- position of token start
add si, ss:[bp].PP_textPtr.offset
mov ds, ss:[bp].PP_textPtr.segment
call FindIdentifierLength ; cx <- length of the string
;
; Save the position of the identifier and the end of the identifier
; so that if there's an error we can show the user where it is.
;
mov ss:[bp].PP_tokenStart, dx
add dx, cx ; dx <- end of the token
DBCS< add dx, cx ; char count to byte offset >
mov ss:[bp].PP_tokenEnd, dx
mov dx, ax ; Save token in dx
;
; Now that we have a pointer and a length we need to decide whether
; we are resolving a name or function.
;
cmp al, PARSER_TOKEN_FUNCTION
jne resolveName ; Branch if it's a name
;
; It should be a function. Check to see if it's a built-in function.
;
call IsFunction ; Check if it's a function
; carry set if it's a function
mov al, PSEE_ILLEGAL_TOKEN ; This is the code if there is an error
cmc ; Reverse the carry
jc popAndQuitOrSaveID ; Quit if not a function
;
; Is a function, di holds the ID of the function.
;
mov cx, di ; Want the value in cx
jmp popAndQuitOrSaveID ; Branch to save it
resolveName:
;
; Don't resolve names if they aren't allowed
;
test ss:[bp].PP_flags, mask PF_NAMES
jz illegalToken ; Branch if names are not allowed
mov al, CT_NAME_TO_TOKEN ; Convert name to a token
if FULL_EXECUTE_IN_PLACE
pushdw ss:[bp].CP_callback
call PROCCALLFIXEDORMOVABLE_PASCAL
else
call ss:[bp].CP_callback ; Call the application
endif
popAndQuitOrSaveID:
;
; If the carry is set here, we quit. Otherwise we save the token or
; function id (in cx).
;
pop ds, si ; Restore ptr to token stream
jc reportError ; Branch on error
mov ax, dx ; Restore token
mov ds:[si].PTND_name, cx ; Save the name token
nextToken:
clc
quit:
.leave
ret
illegalToken:
mov al, PSEE_ILLEGAL_TOKEN
stc
jmp popAndQuitOrSaveID
reportError:
call ParserReportError
mov cl, al ; Return error in cl
jmp quit
ResolveNameCallback endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IsFunction
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check to see if a string is a function name
CALLED BY: ScanIdentifier
PASS: ss:bp = Pointer to ParserParameters
ds:si = Pointer to the string
cx = Length of the string
RETURN: carry set if the string is a function name
di = Function ID
PP_flags with the PF_CONTAINS_DISPLAY_FUNC bit set if the
function is one of the "display only" types.
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
All string lengths in the table are bytes. For DBCS
only the strings themselves are 'wchar's.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 1/17/91 Initial version
witt 10/21/93 DBCS-ized table searching.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IsFunction proc near
uses ax, bx, cx, es
.enter
test ss:[bp].PP_flags, mask PF_FUNCTIONS
jz done ; functions not allowed (carry clear)
tst ch ; Function names are <256 characters
jnz notFunction ; Branch if larger than 256 characters
NOFXIP< segmov es, dgroup, ax ; es:di <- ptr to array of pointers >
FXIP < mov_tr ax, bx >
FXIP < mov bx, handle dgroup >
FXIP < call MemDerefES ; es = dgroup >
FXIP < mov_tr bx, ax >
mov di, offset funcTable
mov bx, length funcTable ; bx <- size of the table
stringCompareLoop:
;
; ds:si = Pointer to string to check
; cx = Length of the string
; bx = # of strings to check
; es:di = Pointer to pointer to string to check against
;
push di ; Save ptr
mov di, es:[di] ; es:di <- ptr to string to check
mov al, es:[di] ; al <- length of the string
cmp cl, al ; Make sure the lengths are the same
jne nextFunction ; Branch if lengths differ
inc di ; Skip the length byte
;
; ds:si = Pointer to the string to check
; es:di = Pointer to string to compare it to (always ASCII)
; cx = # of characters to check
;
SBCS< call LocalCmpStringsNoCase >
DBCS< call ParseCmpStringsDBCSToSBCSNoCase >
je isFunction ; Strings matched
nextFunction:
pop di ; Restore ptr
add di, 2 ; Move to next ptr
dec bx ; One less to check
jnz stringCompareLoop ; Loop to check next one
jmp notFunction ; Branch if no functions matched
isFunction:
pop di ; Restore ptr
sub di, offset funcTable ; di <- offset into the table
mov di, es:funcIDTable[di] ; di <- function identifier
;
; Now we run through the displayOnly list to see if the function is
; included there.
; di = Function id.
; es = segment address of dgroup.
;
mov cx, length displayOnlyTable
clr bx ; Use bx as an index
displayOnlyLoop:
cmp di, es:displayOnlyTable[bx]
jne checkNext ; Branch if not found yet
;
; We found it, set the flag and quit.
;
or ss:[bp].PP_flags, mask PF_CONTAINS_DISPLAY_FUNC
jmp endDisplayLoop
checkNext:
add bx, 2 ; Move to next table entry
loop displayOnlyLoop ; Loop to check it out.
endDisplayLoop:
;
; Signal: We've found a function.
; di = Function id.
;
stc ; Signal: Is a function
done:
.leave
ret
notFunction:
;
; Call the application, perhaps this is an externally defined
; function.
;
mov al, CT_FUNCTION_TO_TOKEN
if FULL_EXECUTE_IN_PLACE
push bx
mov ss:[TPD_dataBX], bx
mov ss:[TPD_dataAX], ax
movdw bxax, ss:[bp].CP_callback
call ProcCallFixedOrMovable ; ds:si = token data
pop bx
else
call ss:[bp].CP_callback ; Call the application
endif
jmp done ; Quit
IsFunction endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ProcessTokenStream
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Run through a stream of tokens calling a callback for each one.
CALLED BY: CountNameReferences, ResolveNameReferences
PASS: es:dx = Pointer to token stream
ss:bp = Pointer to ParserParameters
di = Callback routine (near ptr)
cx = Parameters for the callback
RETURN: cx set by the callback
carry set by the callback
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
The callback should be defined as:
Pass:
ss:bp = Pointer to ParserParameters
al = Token type
ds:si = Pointer to token data
cx = Data from caller
Return:
cx = Data to return
carry set to abort
Destroyed:
nothing
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 5/20/91 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ProcessTokenStream proc near
uses ax, dx, si, ds, es
.enter
segmov ds, es, si ; ds:si <- ptr to token stream
mov si, dx
NOFXIP< segmov es, dgroup, dx ; es <- parserTokenSizeTable segment >
FXIP < mov_tr ax, bx ; ax = bx >
FXIP < mov bx, handle dgroup >
FXIP < call MemDerefES ; es = dgroup >
FXIP < mov_tr bx, ax ; restore bx >
tokenLoop:
;
; ds:si = Pointer to next token
;
clr ah
lodsb ; ax <- token
EC< cmp ax, ParserTokenType ; ax within range? >
EC< ERROR_AE EVAL_ILLEGAL_PARSER_TOKEN >
cmp al, PARSER_TOKEN_END_OF_EXPRESSION
je quitNoError ; Quit if end of expression
;
; Call the callback...
;
call di ; Call the callback
jc quit ; Branch on error
;
; es = Segment address of parserTokenSizeTable
; di = Callback
;
push di ; Save callback routine
mov di, ax
clr dh ; dx <- size of the token data
mov dl, es:parserTokenSizeTable[di]
pop di ;Restore callback routine
;
; al = Parser token type
; ds:si = Pointer to token data
; dx = size of `base' token
;
cmp al, PARSER_TOKEN_STRING
jne notString ; Branch if not a string
if DBCS_PCGEOS
mov ax, ds:[si].PTSD_length ; ax <- length of string
shl ax, 1 ; ax <- size of string
add dx, ax ; dx <- token size + string size
else
add dx, ds:[si].PTSD_length ; dx <- token size + length of string
endif
notString:
add si, dx ; ds:si <- next token
jmp tokenLoop ; Loop to do next token
quitNoError:
clc
quit:
.leave
ret
ProcessTokenStream endp
ParserCode ends
|
hrm/32_inventory_report.asm | glupmjoed/puzzles | 0 | 6015 | <filename>hrm/32_inventory_report.asm
-- HUMAN RESOURCE MACHINE PROGRAM --
-- count([FLOOR[1], FLOOR[2] .. ~\0], in1), ... -> out
JUMP b
a:
COPYFROM 18
OUTBOX
b:
COPYFROM 14
COPYTO 19
COPYTO 18
INBOX
COPYTO 17
JUMP e
c:
BUMPUP 18
d:
BUMPUP 19
e:
COPYFROM [19]
JUMPZ a
SUB 17
JUMPZ c
JUMP d
|
src/ada-xcb/src/xcb-xkb.ads | mstewartgallus/linted | 0 | 2358 | <filename>src/ada-xcb/src/xcb-xkb.ads
-- Copyright 2015 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-- implied. See the License for the specific language governing
-- permissions and limitations under the License.
with Interfaces.C; use Interfaces.C;
with Libc.Stdint;
with XCB.XProto;
with System;
with Interfaces.C.Strings;
package XCB.XKB with
Spark_Mode => Off is
pragma Preelaborate;
pragma Link_With ("-lxcb -lxcb-xkb");
XCB_XKB_MAJOR_VERSION : constant := 1;
XCB_XKB_MINOR_VERSION : constant := 0;
XCB_XKB_KEYBOARD : constant := 0;
-- XCB_XKB_USE_EXTENSION : constant := 0;
-- XCB_XKB_SELECT_EVENTS : constant := 1;
-- XCB_XKB_BELL : constant := 3;
-- XCB_XKB_GET_STATE : constant := 4;
-- XCB_XKB_LATCH_LOCK_STATE : constant := 5;
-- XCB_XKB_GET_CONTROLS : constant := 6;
-- XCB_XKB_SET_CONTROLS : constant := 7;
-- XCB_XKB_GET_MAP : constant := 8;
-- XCB_XKB_SET_MAP : constant := 9;
-- XCB_XKB_GET_COMPAT_MAP : constant := 10;
-- XCB_XKB_SET_COMPAT_MAP : constant := 11;
-- XCB_XKB_GET_INDICATOR_STATE : constant := 12;
-- XCB_XKB_GET_INDICATOR_MAP : constant := 13;
-- XCB_XKB_SET_INDICATOR_MAP : constant := 14;
-- XCB_XKB_GET_NAMED_INDICATOR : constant := 15;
-- XCB_XKB_SET_NAMED_INDICATOR : constant := 16;
-- XCB_XKB_GET_NAMES : constant := 17;
-- XCB_XKB_SET_NAMES : constant := 18;
-- XCB_XKB_PER_CLIENT_FLAGS : constant := 21;
-- XCB_XKB_LIST_COMPONENTS : constant := 22;
-- XCB_XKB_GET_KBD_BY_NAME : constant := 23;
-- XCB_XKB_GET_DEVICE_INFO : constant := 24;
-- XCB_XKB_SET_DEVICE_INFO : constant := 25;
-- XCB_XKB_SET_DEBUGGING_FLAGS : constant := 101;
XCB_XKB_NEW_KEYBOARD_NOTIFY : constant := 0;
XCB_XKB_MAP_NOTIFY : constant := 1;
XCB_XKB_STATE_NOTIFY : constant := 2;
XCB_XKB_CONTROLS_NOTIFY : constant := 3;
XCB_XKB_INDICATOR_STATE_NOTIFY : constant := 4;
XCB_XKB_INDICATOR_MAP_NOTIFY : constant := 5;
XCB_XKB_NAMES_NOTIFY : constant := 6;
XCB_XKB_COMPAT_MAP_NOTIFY : constant := 7;
XCB_XKB_BELL_NOTIFY : constant := 8;
XCB_XKB_ACTION_MESSAGE : constant := 9;
XCB_XKB_ACCESS_X_NOTIFY : constant := 10;
XCB_XKB_EXTENSION_DEVICE_NOTIFY : constant := 11;
xcb_xkb_id : aliased XCB
.xcb_extension_t_access; -- /usr/include/xcb/xkb.h:25
pragma Import (C, xcb_xkb_id, "xcb_xkb_id");
subtype xcb_xkb_const_t is unsigned;
XCB_XKB_CONST_MAX_LEGAL_KEY_CODE : constant xcb_xkb_const_t := 255;
XCB_XKB_CONST_PER_KEY_BIT_ARRAY_SIZE : constant xcb_xkb_const_t := 32;
XCB_XKB_CONST_KEY_NAME_LENGTH : constant xcb_xkb_const_t :=
4; -- /usr/include/xcb/xkb.h:27
subtype xcb_xkb_event_type_t is unsigned;
XCB_XKB_EVENT_TYPE_NEW_KEYBOARD_NOTIFY : constant xcb_xkb_event_type_t := 1;
XCB_XKB_EVENT_TYPE_MAP_NOTIFY : constant xcb_xkb_event_type_t := 2;
XCB_XKB_EVENT_TYPE_STATE_NOTIFY : constant xcb_xkb_event_type_t := 4;
XCB_XKB_EVENT_TYPE_CONTROLS_NOTIFY : constant xcb_xkb_event_type_t := 8;
XCB_XKB_EVENT_TYPE_INDICATOR_STATE_NOTIFY : constant xcb_xkb_event_type_t :=
16;
XCB_XKB_EVENT_TYPE_INDICATOR_MAP_NOTIFY : constant xcb_xkb_event_type_t :=
32;
XCB_XKB_EVENT_TYPE_NAMES_NOTIFY : constant xcb_xkb_event_type_t := 64;
XCB_XKB_EVENT_TYPE_COMPAT_MAP_NOTIFY : constant xcb_xkb_event_type_t := 128;
XCB_XKB_EVENT_TYPE_BELL_NOTIFY : constant xcb_xkb_event_type_t := 256;
XCB_XKB_EVENT_TYPE_ACTION_MESSAGE : constant xcb_xkb_event_type_t := 512;
XCB_XKB_EVENT_TYPE_ACCESS_X_NOTIFY : constant xcb_xkb_event_type_t := 1024;
XCB_XKB_EVENT_TYPE_EXTENSION_DEVICE_NOTIFY : constant xcb_xkb_event_type_t :=
2048; -- /usr/include/xcb/xkb.h:33
subtype xcb_xkb_nkn_detail_t is unsigned;
XCB_XKB_NKN_DETAIL_KEYCODES : constant xcb_xkb_nkn_detail_t := 1;
XCB_XKB_NKN_DETAIL_GEOMETRY : constant xcb_xkb_nkn_detail_t := 2;
XCB_XKB_NKN_DETAIL_DEVICE_ID : constant xcb_xkb_nkn_detail_t :=
4; -- /usr/include/xcb/xkb.h:48
subtype xcb_xkb_axn_detail_t is unsigned;
XCB_XKB_AXN_DETAIL_SK_PRESS : constant xcb_xkb_axn_detail_t := 1;
XCB_XKB_AXN_DETAIL_SK_ACCEPT : constant xcb_xkb_axn_detail_t := 2;
XCB_XKB_AXN_DETAIL_SK_REJECT : constant xcb_xkb_axn_detail_t := 4;
XCB_XKB_AXN_DETAIL_SK_RELEASE : constant xcb_xkb_axn_detail_t := 8;
XCB_XKB_AXN_DETAIL_BK_ACCEPT : constant xcb_xkb_axn_detail_t := 16;
XCB_XKB_AXN_DETAIL_BK_REJECT : constant xcb_xkb_axn_detail_t := 32;
XCB_XKB_AXN_DETAIL_AXK_WARNING : constant xcb_xkb_axn_detail_t :=
64; -- /usr/include/xcb/xkb.h:54
subtype xcb_xkb_map_part_t is unsigned;
XCB_XKB_MAP_PART_KEY_TYPES : constant xcb_xkb_map_part_t := 1;
XCB_XKB_MAP_PART_KEY_SYMS : constant xcb_xkb_map_part_t := 2;
XCB_XKB_MAP_PART_MODIFIER_MAP : constant xcb_xkb_map_part_t := 4;
XCB_XKB_MAP_PART_EXPLICIT_COMPONENTS : constant xcb_xkb_map_part_t := 8;
XCB_XKB_MAP_PART_KEY_ACTIONS : constant xcb_xkb_map_part_t := 16;
XCB_XKB_MAP_PART_KEY_BEHAVIORS : constant xcb_xkb_map_part_t := 32;
XCB_XKB_MAP_PART_VIRTUAL_MODS : constant xcb_xkb_map_part_t := 64;
XCB_XKB_MAP_PART_VIRTUAL_MOD_MAP : constant xcb_xkb_map_part_t :=
128; -- /usr/include/xcb/xkb.h:64
subtype xcb_xkb_set_map_flags_t is unsigned;
XCB_XKB_SET_MAP_FLAGS_RESIZE_TYPES : constant xcb_xkb_set_map_flags_t := 1;
XCB_XKB_SET_MAP_FLAGS_RECOMPUTE_ACTIONS : constant xcb_xkb_set_map_flags_t :=
2; -- /usr/include/xcb/xkb.h:75
subtype xcb_xkb_state_part_t is unsigned;
XCB_XKB_STATE_PART_MODIFIER_STATE : constant xcb_xkb_state_part_t := 1;
XCB_XKB_STATE_PART_MODIFIER_BASE : constant xcb_xkb_state_part_t := 2;
XCB_XKB_STATE_PART_MODIFIER_LATCH : constant xcb_xkb_state_part_t := 4;
XCB_XKB_STATE_PART_MODIFIER_LOCK : constant xcb_xkb_state_part_t := 8;
XCB_XKB_STATE_PART_GROUP_STATE : constant xcb_xkb_state_part_t := 16;
XCB_XKB_STATE_PART_GROUP_BASE : constant xcb_xkb_state_part_t := 32;
XCB_XKB_STATE_PART_GROUP_LATCH : constant xcb_xkb_state_part_t := 64;
XCB_XKB_STATE_PART_GROUP_LOCK : constant xcb_xkb_state_part_t := 128;
XCB_XKB_STATE_PART_COMPAT_STATE : constant xcb_xkb_state_part_t := 256;
XCB_XKB_STATE_PART_GRAB_MODS : constant xcb_xkb_state_part_t := 512;
XCB_XKB_STATE_PART_COMPAT_GRAB_MODS : constant xcb_xkb_state_part_t := 1024;
XCB_XKB_STATE_PART_LOOKUP_MODS : constant xcb_xkb_state_part_t := 2048;
XCB_XKB_STATE_PART_COMPAT_LOOKUP_MODS : constant xcb_xkb_state_part_t :=
4096;
XCB_XKB_STATE_PART_POINTER_BUTTONS : constant xcb_xkb_state_part_t :=
8192; -- /usr/include/xcb/xkb.h:80
subtype xcb_xkb_bool_ctrl_t is unsigned;
XCB_XKB_BOOL_CTRL_REPEAT_KEYS : constant xcb_xkb_bool_ctrl_t := 1;
XCB_XKB_BOOL_CTRL_SLOW_KEYS : constant xcb_xkb_bool_ctrl_t := 2;
XCB_XKB_BOOL_CTRL_BOUNCE_KEYS : constant xcb_xkb_bool_ctrl_t := 4;
XCB_XKB_BOOL_CTRL_STICKY_KEYS : constant xcb_xkb_bool_ctrl_t := 8;
XCB_XKB_BOOL_CTRL_MOUSE_KEYS : constant xcb_xkb_bool_ctrl_t := 16;
XCB_XKB_BOOL_CTRL_MOUSE_KEYS_ACCEL : constant xcb_xkb_bool_ctrl_t := 32;
XCB_XKB_BOOL_CTRL_ACCESS_X_KEYS : constant xcb_xkb_bool_ctrl_t := 64;
XCB_XKB_BOOL_CTRL_ACCESS_X_TIMEOUT_MASK : constant xcb_xkb_bool_ctrl_t :=
128;
XCB_XKB_BOOL_CTRL_ACCESS_X_FEEDBACK_MASK : constant xcb_xkb_bool_ctrl_t :=
256;
XCB_XKB_BOOL_CTRL_AUDIBLE_BELL_MASK : constant xcb_xkb_bool_ctrl_t := 512;
XCB_XKB_BOOL_CTRL_OVERLAY_1_MASK : constant xcb_xkb_bool_ctrl_t := 1024;
XCB_XKB_BOOL_CTRL_OVERLAY_2_MASK : constant xcb_xkb_bool_ctrl_t := 2048;
XCB_XKB_BOOL_CTRL_IGNORE_GROUP_LOCK_MASK : constant xcb_xkb_bool_ctrl_t :=
4096; -- /usr/include/xcb/xkb.h:97
subtype xcb_xkb_control_t is unsigned;
XCB_XKB_CONTROL_GROUPS_WRAP : constant xcb_xkb_control_t := 134217728;
XCB_XKB_CONTROL_INTERNAL_MODS : constant xcb_xkb_control_t := 268435456;
XCB_XKB_CONTROL_IGNORE_LOCK_MODS : constant xcb_xkb_control_t := 536870912;
XCB_XKB_CONTROL_PER_KEY_REPEAT : constant xcb_xkb_control_t := 1073741824;
XCB_XKB_CONTROL_CONTROLS_ENABLED : constant xcb_xkb_control_t :=
2147483648; -- /usr/include/xcb/xkb.h:113
subtype xcb_xkb_ax_option_t is unsigned;
XCB_XKB_AX_OPTION_SK_PRESS_FB : constant xcb_xkb_ax_option_t := 1;
XCB_XKB_AX_OPTION_SK_ACCEPT_FB : constant xcb_xkb_ax_option_t := 2;
XCB_XKB_AX_OPTION_FEATURE_FB : constant xcb_xkb_ax_option_t := 4;
XCB_XKB_AX_OPTION_SLOW_WARN_FB : constant xcb_xkb_ax_option_t := 8;
XCB_XKB_AX_OPTION_INDICATOR_FB : constant xcb_xkb_ax_option_t := 16;
XCB_XKB_AX_OPTION_STICKY_KEYS_FB : constant xcb_xkb_ax_option_t := 32;
XCB_XKB_AX_OPTION_TWO_KEYS : constant xcb_xkb_ax_option_t := 64;
XCB_XKB_AX_OPTION_LATCH_TO_LOCK : constant xcb_xkb_ax_option_t := 128;
XCB_XKB_AX_OPTION_SK_RELEASE_FB : constant xcb_xkb_ax_option_t := 256;
XCB_XKB_AX_OPTION_SK_REJECT_FB : constant xcb_xkb_ax_option_t := 512;
XCB_XKB_AX_OPTION_BK_REJECT_FB : constant xcb_xkb_ax_option_t := 1024;
XCB_XKB_AX_OPTION_DUMB_BELL : constant xcb_xkb_ax_option_t :=
2048; -- /usr/include/xcb/xkb.h:121
subtype xcb_xkb_device_spec_t is
Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:136
type xcb_xkb_device_spec_iterator_t is record
data : access xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:142
c_rem : aliased int; -- /usr/include/xcb/xkb.h:143
index : aliased int; -- /usr/include/xcb/xkb.h:144
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_device_spec_iterator_t); -- /usr/include/xcb/xkb.h:141
subtype xcb_xkb_led_class_result_t is unsigned;
XCB_XKB_LED_CLASS_RESULT_KBD_FEEDBACK_CLASS : constant xcb_xkb_led_class_result_t :=
0;
XCB_XKB_LED_CLASS_RESULT_LED_FEEDBACK_CLASS : constant xcb_xkb_led_class_result_t :=
4; -- /usr/include/xcb/xkb.h:147
subtype xcb_xkb_led_class_t is unsigned;
XCB_XKB_LED_CLASS_KBD_FEEDBACK_CLASS : constant xcb_xkb_led_class_t := 0;
XCB_XKB_LED_CLASS_LED_FEEDBACK_CLASS : constant xcb_xkb_led_class_t := 4;
XCB_XKB_LED_CLASS_DFLT_XI_CLASS : constant xcb_xkb_led_class_t := 768;
XCB_XKB_LED_CLASS_ALL_XI_CLASSES : constant xcb_xkb_led_class_t :=
1280; -- /usr/include/xcb/xkb.h:152
subtype xcb_xkb_led_class_spec_t is
Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:159
type xcb_xkb_led_class_spec_iterator_t is record
data : access xcb_xkb_led_class_spec_t; -- /usr/include/xcb/xkb.h:165
c_rem : aliased int; -- /usr/include/xcb/xkb.h:166
index : aliased int; -- /usr/include/xcb/xkb.h:167
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_led_class_spec_iterator_t); -- /usr/include/xcb/xkb.h:164
subtype xcb_xkb_bell_class_result_t is unsigned;
XCB_XKB_BELL_CLASS_RESULT_KBD_FEEDBACK_CLASS : constant xcb_xkb_bell_class_result_t :=
0;
XCB_XKB_BELL_CLASS_RESULT_BELL_FEEDBACK_CLASS : constant xcb_xkb_bell_class_result_t :=
5; -- /usr/include/xcb/xkb.h:170
subtype xcb_xkb_bell_class_t is unsigned;
XCB_XKB_BELL_CLASS_KBD_FEEDBACK_CLASS : constant xcb_xkb_bell_class_t := 0;
XCB_XKB_BELL_CLASS_BELL_FEEDBACK_CLASS : constant xcb_xkb_bell_class_t := 5;
XCB_XKB_BELL_CLASS_DFLT_XI_CLASS : constant xcb_xkb_bell_class_t :=
768; -- /usr/include/xcb/xkb.h:175
subtype xcb_xkb_bell_class_spec_t is
Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:181
type xcb_xkb_bell_class_spec_iterator_t is record
data : access xcb_xkb_bell_class_spec_t; -- /usr/include/xcb/xkb.h:187
c_rem : aliased int; -- /usr/include/xcb/xkb.h:188
index : aliased int; -- /usr/include/xcb/xkb.h:189
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_bell_class_spec_iterator_t); -- /usr/include/xcb/xkb.h:186
subtype xcb_xkb_id_t is unsigned;
XCB_XKB_ID_USE_CORE_KBD : constant xcb_xkb_id_t := 256;
XCB_XKB_ID_USE_CORE_PTR : constant xcb_xkb_id_t := 512;
XCB_XKB_ID_DFLT_XI_CLASS : constant xcb_xkb_id_t := 768;
XCB_XKB_ID_DFLT_XI_ID : constant xcb_xkb_id_t := 1024;
XCB_XKB_ID_ALL_XI_CLASS : constant xcb_xkb_id_t := 1280;
XCB_XKB_ID_ALL_XI_ID : constant xcb_xkb_id_t := 1536;
XCB_XKB_ID_XI_NONE : constant xcb_xkb_id_t :=
65280; -- /usr/include/xcb/xkb.h:192
subtype xcb_xkb_id_spec_t is
Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:202
type xcb_xkb_id_spec_iterator_t is record
data : access xcb_xkb_id_spec_t; -- /usr/include/xcb/xkb.h:208
c_rem : aliased int; -- /usr/include/xcb/xkb.h:209
index : aliased int; -- /usr/include/xcb/xkb.h:210
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_id_spec_iterator_t); -- /usr/include/xcb/xkb.h:207
type xcb_xkb_group_t is
(XCB_XKB_GROUP_1, XCB_XKB_GROUP_2, XCB_XKB_GROUP_3, XCB_XKB_GROUP_4);
pragma Convention (C, xcb_xkb_group_t); -- /usr/include/xcb/xkb.h:213
subtype xcb_xkb_groups_t is unsigned;
XCB_XKB_GROUPS_ANY : constant xcb_xkb_groups_t := 254;
XCB_XKB_GROUPS_ALL : constant xcb_xkb_groups_t :=
255; -- /usr/include/xcb/xkb.h:220
subtype xcb_xkb_set_of_group_t is unsigned;
XCB_XKB_SET_OF_GROUP_GROUP_1 : constant xcb_xkb_set_of_group_t := 1;
XCB_XKB_SET_OF_GROUP_GROUP_2 : constant xcb_xkb_set_of_group_t := 2;
XCB_XKB_SET_OF_GROUP_GROUP_3 : constant xcb_xkb_set_of_group_t := 4;
XCB_XKB_SET_OF_GROUP_GROUP_4 : constant xcb_xkb_set_of_group_t :=
8; -- /usr/include/xcb/xkb.h:225
subtype xcb_xkb_set_of_groups_t is unsigned;
XCB_XKB_SET_OF_GROUPS_ANY : constant xcb_xkb_set_of_groups_t :=
128; -- /usr/include/xcb/xkb.h:232
subtype xcb_xkb_groups_wrap_t is unsigned;
XCB_XKB_GROUPS_WRAP_WRAP_INTO_RANGE : constant xcb_xkb_groups_wrap_t := 0;
XCB_XKB_GROUPS_WRAP_CLAMP_INTO_RANGE : constant xcb_xkb_groups_wrap_t := 64;
XCB_XKB_GROUPS_WRAP_REDIRECT_INTO_RANGE : constant xcb_xkb_groups_wrap_t :=
128; -- /usr/include/xcb/xkb.h:236
subtype xcb_xkb_v_mods_high_t is unsigned;
XCB_XKB_V_MODS_HIGH_15 : constant xcb_xkb_v_mods_high_t := 128;
XCB_XKB_V_MODS_HIGH_14 : constant xcb_xkb_v_mods_high_t := 64;
XCB_XKB_V_MODS_HIGH_13 : constant xcb_xkb_v_mods_high_t := 32;
XCB_XKB_V_MODS_HIGH_12 : constant xcb_xkb_v_mods_high_t := 16;
XCB_XKB_V_MODS_HIGH_11 : constant xcb_xkb_v_mods_high_t := 8;
XCB_XKB_V_MODS_HIGH_10 : constant xcb_xkb_v_mods_high_t := 4;
XCB_XKB_V_MODS_HIGH_9 : constant xcb_xkb_v_mods_high_t := 2;
XCB_XKB_V_MODS_HIGH_8 : constant xcb_xkb_v_mods_high_t :=
1; -- /usr/include/xcb/xkb.h:242
subtype xcb_xkb_v_mods_low_t is unsigned;
XCB_XKB_V_MODS_LOW_7 : constant xcb_xkb_v_mods_low_t := 128;
XCB_XKB_V_MODS_LOW_6 : constant xcb_xkb_v_mods_low_t := 64;
XCB_XKB_V_MODS_LOW_5 : constant xcb_xkb_v_mods_low_t := 32;
XCB_XKB_V_MODS_LOW_4 : constant xcb_xkb_v_mods_low_t := 16;
XCB_XKB_V_MODS_LOW_3 : constant xcb_xkb_v_mods_low_t := 8;
XCB_XKB_V_MODS_LOW_2 : constant xcb_xkb_v_mods_low_t := 4;
XCB_XKB_V_MODS_LOW_1 : constant xcb_xkb_v_mods_low_t := 2;
XCB_XKB_V_MODS_LOW_0 : constant xcb_xkb_v_mods_low_t :=
1; -- /usr/include/xcb/xkb.h:253
subtype xcb_xkb_v_mod_t is unsigned;
XCB_XKB_V_MOD_15 : constant xcb_xkb_v_mod_t := 32768;
XCB_XKB_V_MOD_14 : constant xcb_xkb_v_mod_t := 16384;
XCB_XKB_V_MOD_13 : constant xcb_xkb_v_mod_t := 8192;
XCB_XKB_V_MOD_12 : constant xcb_xkb_v_mod_t := 4096;
XCB_XKB_V_MOD_11 : constant xcb_xkb_v_mod_t := 2048;
XCB_XKB_V_MOD_10 : constant xcb_xkb_v_mod_t := 1024;
XCB_XKB_V_MOD_9 : constant xcb_xkb_v_mod_t := 512;
XCB_XKB_V_MOD_8 : constant xcb_xkb_v_mod_t := 256;
XCB_XKB_V_MOD_7 : constant xcb_xkb_v_mod_t := 128;
XCB_XKB_V_MOD_6 : constant xcb_xkb_v_mod_t := 64;
XCB_XKB_V_MOD_5 : constant xcb_xkb_v_mod_t := 32;
XCB_XKB_V_MOD_4 : constant xcb_xkb_v_mod_t := 16;
XCB_XKB_V_MOD_3 : constant xcb_xkb_v_mod_t := 8;
XCB_XKB_V_MOD_2 : constant xcb_xkb_v_mod_t := 4;
XCB_XKB_V_MOD_1 : constant xcb_xkb_v_mod_t := 2;
XCB_XKB_V_MOD_0 : constant xcb_xkb_v_mod_t :=
1; -- /usr/include/xcb/xkb.h:264
subtype xcb_xkb_explicit_t is unsigned;
XCB_XKB_EXPLICIT_V_MOD_MAP : constant xcb_xkb_explicit_t := 128;
XCB_XKB_EXPLICIT_BEHAVIOR : constant xcb_xkb_explicit_t := 64;
XCB_XKB_EXPLICIT_AUTO_REPEAT : constant xcb_xkb_explicit_t := 32;
XCB_XKB_EXPLICIT_INTERPRET : constant xcb_xkb_explicit_t := 16;
XCB_XKB_EXPLICIT_KEY_TYPE_4 : constant xcb_xkb_explicit_t := 8;
XCB_XKB_EXPLICIT_KEY_TYPE_3 : constant xcb_xkb_explicit_t := 4;
XCB_XKB_EXPLICIT_KEY_TYPE_2 : constant xcb_xkb_explicit_t := 2;
XCB_XKB_EXPLICIT_KEY_TYPE_1 : constant xcb_xkb_explicit_t :=
1; -- /usr/include/xcb/xkb.h:283
type xcb_xkb_sym_interpret_match_t is
(XCB_XKB_SYM_INTERPRET_MATCH_NONE_OF,
XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF_OR_NONE,
XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF,
XCB_XKB_SYM_INTERPRET_MATCH_ALL_OF,
XCB_XKB_SYM_INTERPRET_MATCH_EXACTLY);
pragma Convention
(C,
xcb_xkb_sym_interpret_match_t); -- /usr/include/xcb/xkb.h:294
subtype xcb_xkb_sym_interp_match_t is unsigned;
XCB_XKB_SYM_INTERP_MATCH_LEVEL_ONE_ONLY : constant xcb_xkb_sym_interp_match_t :=
128;
XCB_XKB_SYM_INTERP_MATCH_OP_MASK : constant xcb_xkb_sym_interp_match_t :=
127; -- /usr/include/xcb/xkb.h:302
subtype xcb_xkb_im_flag_t is unsigned;
XCB_XKB_IM_FLAG_NO_EXPLICIT : constant xcb_xkb_im_flag_t := 128;
XCB_XKB_IM_FLAG_NO_AUTOMATIC : constant xcb_xkb_im_flag_t := 64;
XCB_XKB_IM_FLAG_LED_DRIVES_KB : constant xcb_xkb_im_flag_t :=
32; -- /usr/include/xcb/xkb.h:307
subtype xcb_xkb_im_mods_which_t is unsigned;
XCB_XKB_IM_MODS_WHICH_USE_COMPAT : constant xcb_xkb_im_mods_which_t := 16;
XCB_XKB_IM_MODS_WHICH_USE_EFFECTIVE : constant xcb_xkb_im_mods_which_t := 8;
XCB_XKB_IM_MODS_WHICH_USE_LOCKED : constant xcb_xkb_im_mods_which_t := 4;
XCB_XKB_IM_MODS_WHICH_USE_LATCHED : constant xcb_xkb_im_mods_which_t := 2;
XCB_XKB_IM_MODS_WHICH_USE_BASE : constant xcb_xkb_im_mods_which_t :=
1; -- /usr/include/xcb/xkb.h:313
subtype xcb_xkb_im_groups_which_t is unsigned;
XCB_XKB_IM_GROUPS_WHICH_USE_COMPAT : constant xcb_xkb_im_groups_which_t :=
16;
XCB_XKB_IM_GROUPS_WHICH_USE_EFFECTIVE : constant xcb_xkb_im_groups_which_t :=
8;
XCB_XKB_IM_GROUPS_WHICH_USE_LOCKED : constant xcb_xkb_im_groups_which_t :=
4;
XCB_XKB_IM_GROUPS_WHICH_USE_LATCHED : constant xcb_xkb_im_groups_which_t :=
2;
XCB_XKB_IM_GROUPS_WHICH_USE_BASE : constant xcb_xkb_im_groups_which_t :=
1; -- /usr/include/xcb/xkb.h:321
type xcb_xkb_indicator_map_t is record
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:333
whichGroups : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:334
groups : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:335
whichMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:336
mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:337
realMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:338
vmods : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:339
ctrls : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:340
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_indicator_map_t); -- /usr/include/xcb/xkb.h:332
type xcb_xkb_indicator_map_iterator_t is record
data : access xcb_xkb_indicator_map_t; -- /usr/include/xcb/xkb.h:347
c_rem : aliased int; -- /usr/include/xcb/xkb.h:348
index : aliased int; -- /usr/include/xcb/xkb.h:349
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_indicator_map_iterator_t); -- /usr/include/xcb/xkb.h:346
subtype xcb_xkb_cm_detail_t is unsigned;
XCB_XKB_CM_DETAIL_SYM_INTERP : constant xcb_xkb_cm_detail_t := 1;
XCB_XKB_CM_DETAIL_GROUP_COMPAT : constant xcb_xkb_cm_detail_t :=
2; -- /usr/include/xcb/xkb.h:352
subtype xcb_xkb_name_detail_t is unsigned;
XCB_XKB_NAME_DETAIL_KEYCODES : constant xcb_xkb_name_detail_t := 1;
XCB_XKB_NAME_DETAIL_GEOMETRY : constant xcb_xkb_name_detail_t := 2;
XCB_XKB_NAME_DETAIL_SYMBOLS : constant xcb_xkb_name_detail_t := 4;
XCB_XKB_NAME_DETAIL_PHYS_SYMBOLS : constant xcb_xkb_name_detail_t := 8;
XCB_XKB_NAME_DETAIL_TYPES : constant xcb_xkb_name_detail_t := 16;
XCB_XKB_NAME_DETAIL_COMPAT : constant xcb_xkb_name_detail_t := 32;
XCB_XKB_NAME_DETAIL_KEY_TYPE_NAMES : constant xcb_xkb_name_detail_t := 64;
XCB_XKB_NAME_DETAIL_KT_LEVEL_NAMES : constant xcb_xkb_name_detail_t := 128;
XCB_XKB_NAME_DETAIL_INDICATOR_NAMES : constant xcb_xkb_name_detail_t := 256;
XCB_XKB_NAME_DETAIL_KEY_NAMES : constant xcb_xkb_name_detail_t := 512;
XCB_XKB_NAME_DETAIL_KEY_ALIASES : constant xcb_xkb_name_detail_t := 1024;
XCB_XKB_NAME_DETAIL_VIRTUAL_MOD_NAMES : constant xcb_xkb_name_detail_t :=
2048;
XCB_XKB_NAME_DETAIL_GROUP_NAMES : constant xcb_xkb_name_detail_t := 4096;
XCB_XKB_NAME_DETAIL_RG_NAMES : constant xcb_xkb_name_detail_t :=
8192; -- /usr/include/xcb/xkb.h:357
subtype xcb_xkb_gbn_detail_t is unsigned;
XCB_XKB_GBN_DETAIL_TYPES : constant xcb_xkb_gbn_detail_t := 1;
XCB_XKB_GBN_DETAIL_COMPAT_MAP : constant xcb_xkb_gbn_detail_t := 2;
XCB_XKB_GBN_DETAIL_CLIENT_SYMBOLS : constant xcb_xkb_gbn_detail_t := 4;
XCB_XKB_GBN_DETAIL_SERVER_SYMBOLS : constant xcb_xkb_gbn_detail_t := 8;
XCB_XKB_GBN_DETAIL_INDICATOR_MAPS : constant xcb_xkb_gbn_detail_t := 16;
XCB_XKB_GBN_DETAIL_KEY_NAMES : constant xcb_xkb_gbn_detail_t := 32;
XCB_XKB_GBN_DETAIL_GEOMETRY : constant xcb_xkb_gbn_detail_t := 64;
XCB_XKB_GBN_DETAIL_OTHER_NAMES : constant xcb_xkb_gbn_detail_t :=
128; -- /usr/include/xcb/xkb.h:374
subtype xcb_xkb_xi_feature_t is unsigned;
XCB_XKB_XI_FEATURE_KEYBOARDS : constant xcb_xkb_xi_feature_t := 1;
XCB_XKB_XI_FEATURE_BUTTON_ACTIONS : constant xcb_xkb_xi_feature_t := 2;
XCB_XKB_XI_FEATURE_INDICATOR_NAMES : constant xcb_xkb_xi_feature_t := 4;
XCB_XKB_XI_FEATURE_INDICATOR_MAPS : constant xcb_xkb_xi_feature_t := 8;
XCB_XKB_XI_FEATURE_INDICATOR_STATE : constant xcb_xkb_xi_feature_t :=
16; -- /usr/include/xcb/xkb.h:385
subtype xcb_xkb_per_client_flag_t is unsigned;
XCB_XKB_PER_CLIENT_FLAG_DETECTABLE_AUTO_REPEAT : constant xcb_xkb_per_client_flag_t :=
1;
XCB_XKB_PER_CLIENT_FLAG_GRABS_USE_XKB_STATE : constant xcb_xkb_per_client_flag_t :=
2;
XCB_XKB_PER_CLIENT_FLAG_AUTO_RESET_CONTROLS : constant xcb_xkb_per_client_flag_t :=
4;
XCB_XKB_PER_CLIENT_FLAG_LOOKUP_STATE_WHEN_GRABBED : constant xcb_xkb_per_client_flag_t :=
8;
XCB_XKB_PER_CLIENT_FLAG_SEND_EVENT_USES_XKB_STATE : constant xcb_xkb_per_client_flag_t :=
16; -- /usr/include/xcb/xkb.h:393
type xcb_xkb_mod_def_t is record
mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:405
realMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:406
vmods : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:407
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_mod_def_t); -- /usr/include/xcb/xkb.h:404
type xcb_xkb_mod_def_iterator_t is record
data : access xcb_xkb_mod_def_t; -- /usr/include/xcb/xkb.h:414
c_rem : aliased int; -- /usr/include/xcb/xkb.h:415
index : aliased int; -- /usr/include/xcb/xkb.h:416
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_mod_def_iterator_t); -- /usr/include/xcb/xkb.h:413
subtype xcb_xkb_key_name_t_name_array is Interfaces.C.char_array (0 .. 3);
type xcb_xkb_key_name_t is record
name : aliased xcb_xkb_key_name_t_name_array; -- /usr/include/xcb/xkb.h:423
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_name_t); -- /usr/include/xcb/xkb.h:422
type xcb_xkb_key_name_iterator_t is record
data : access xcb_xkb_key_name_t; -- /usr/include/xcb/xkb.h:430
c_rem : aliased int; -- /usr/include/xcb/xkb.h:431
index : aliased int; -- /usr/include/xcb/xkb.h:432
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_name_iterator_t); -- /usr/include/xcb/xkb.h:429
subtype xcb_xkb_key_alias_t_real_array is Interfaces.C.char_array (0 .. 3);
subtype xcb_xkb_key_alias_t_alias_array is Interfaces.C.char_array (0 .. 3);
type xcb_xkb_key_alias_t is record
real : aliased xcb_xkb_key_alias_t_real_array; -- /usr/include/xcb/xkb.h:439
alias : aliased xcb_xkb_key_alias_t_alias_array; -- /usr/include/xcb/xkb.h:440
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_alias_t); -- /usr/include/xcb/xkb.h:438
type xcb_xkb_key_alias_iterator_t is record
data : access xcb_xkb_key_alias_t; -- /usr/include/xcb/xkb.h:447
c_rem : aliased int; -- /usr/include/xcb/xkb.h:448
index : aliased int; -- /usr/include/xcb/xkb.h:449
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_alias_iterator_t); -- /usr/include/xcb/xkb.h:446
type xcb_xkb_counted_string_16_t is record
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:456
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_counted_string_16_t); -- /usr/include/xcb/xkb.h:455
type xcb_xkb_counted_string_16_iterator_t is record
data : access xcb_xkb_counted_string_16_t; -- /usr/include/xcb/xkb.h:463
c_rem : aliased int; -- /usr/include/xcb/xkb.h:464
index : aliased int; -- /usr/include/xcb/xkb.h:465
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_counted_string_16_iterator_t); -- /usr/include/xcb/xkb.h:462
type xcb_xkb_kt_map_entry_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_kt_map_entry_t is record
active : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:472
mods_mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:473
level : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:474
mods_mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:475
mods_vmods : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:476
pad0 : aliased xcb_xkb_kt_map_entry_t_pad0_array; -- /usr/include/xcb/xkb.h:477
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_kt_map_entry_t); -- /usr/include/xcb/xkb.h:471
type xcb_xkb_kt_map_entry_iterator_t is record
data : access xcb_xkb_kt_map_entry_t; -- /usr/include/xcb/xkb.h:484
c_rem : aliased int; -- /usr/include/xcb/xkb.h:485
index : aliased int; -- /usr/include/xcb/xkb.h:486
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_kt_map_entry_iterator_t); -- /usr/include/xcb/xkb.h:483
type xcb_xkb_key_type_t is record
mods_mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:493
mods_mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:494
mods_vmods : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:495
numLevels : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:496
nMapEntries : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:497
hasPreserve : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:498
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:499
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_type_t); -- /usr/include/xcb/xkb.h:492
type xcb_xkb_key_type_iterator_t is record
data : access xcb_xkb_key_type_t; -- /usr/include/xcb/xkb.h:506
c_rem : aliased int; -- /usr/include/xcb/xkb.h:507
index : aliased int; -- /usr/include/xcb/xkb.h:508
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_type_iterator_t); -- /usr/include/xcb/xkb.h:505
type xcb_xkb_key_sym_map_t_kt_index_array is
array (0 .. 3) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_key_sym_map_t is record
kt_index : aliased xcb_xkb_key_sym_map_t_kt_index_array; -- /usr/include/xcb/xkb.h:515
groupInfo : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:516
width : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:517
nSyms : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:518
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_sym_map_t); -- /usr/include/xcb/xkb.h:514
type xcb_xkb_key_sym_map_iterator_t is record
data : access xcb_xkb_key_sym_map_t; -- /usr/include/xcb/xkb.h:525
c_rem : aliased int; -- /usr/include/xcb/xkb.h:526
index : aliased int; -- /usr/include/xcb/xkb.h:527
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_sym_map_iterator_t); -- /usr/include/xcb/xkb.h:524
type xcb_xkb_common_behavior_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:534
data : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:535
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_common_behavior_t); -- /usr/include/xcb/xkb.h:533
type xcb_xkb_common_behavior_iterator_t is record
data : access xcb_xkb_common_behavior_t; -- /usr/include/xcb/xkb.h:542
c_rem : aliased int; -- /usr/include/xcb/xkb.h:543
index : aliased int; -- /usr/include/xcb/xkb.h:544
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_common_behavior_iterator_t); -- /usr/include/xcb/xkb.h:541
type xcb_xkb_default_behavior_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:551
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:552
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_default_behavior_t); -- /usr/include/xcb/xkb.h:550
type xcb_xkb_default_behavior_iterator_t is record
data : access xcb_xkb_default_behavior_t; -- /usr/include/xcb/xkb.h:559
c_rem : aliased int; -- /usr/include/xcb/xkb.h:560
index : aliased int; -- /usr/include/xcb/xkb.h:561
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_default_behavior_iterator_t); -- /usr/include/xcb/xkb.h:558
type xcb_xkb_lock_behavior_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:568
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:569
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_lock_behavior_t); -- /usr/include/xcb/xkb.h:567
type xcb_xkb_lock_behavior_iterator_t is record
data : access xcb_xkb_lock_behavior_t; -- /usr/include/xcb/xkb.h:576
c_rem : aliased int; -- /usr/include/xcb/xkb.h:577
index : aliased int; -- /usr/include/xcb/xkb.h:578
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_lock_behavior_iterator_t); -- /usr/include/xcb/xkb.h:575
type xcb_xkb_radio_group_behavior_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:585
group : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:586
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_radio_group_behavior_t); -- /usr/include/xcb/xkb.h:584
type xcb_xkb_radio_group_behavior_iterator_t is record
data : access xcb_xkb_radio_group_behavior_t; -- /usr/include/xcb/xkb.h:593
c_rem : aliased int; -- /usr/include/xcb/xkb.h:594
index : aliased int; -- /usr/include/xcb/xkb.h:595
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_radio_group_behavior_iterator_t); -- /usr/include/xcb/xkb.h:592
type xcb_xkb_overlay_behavior_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:602
key : aliased XCB.XProto.xcb_keycode_t; -- /usr/include/xcb/xkb.h:603
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_overlay_behavior_t); -- /usr/include/xcb/xkb.h:601
type xcb_xkb_overlay_behavior_iterator_t is record
data : access xcb_xkb_overlay_behavior_t; -- /usr/include/xcb/xkb.h:610
c_rem : aliased int; -- /usr/include/xcb/xkb.h:611
index : aliased int; -- /usr/include/xcb/xkb.h:612
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_overlay_behavior_iterator_t); -- /usr/include/xcb/xkb.h:609
type xcb_xkb_permament_lock_behavior_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:619
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:620
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_permament_lock_behavior_t); -- /usr/include/xcb/xkb.h:618
type xcb_xkb_permament_lock_behavior_iterator_t is record
data : access xcb_xkb_permament_lock_behavior_t; -- /usr/include/xcb/xkb.h:627
c_rem : aliased int; -- /usr/include/xcb/xkb.h:628
index : aliased int; -- /usr/include/xcb/xkb.h:629
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_permament_lock_behavior_iterator_t); -- /usr/include/xcb/xkb.h:626
type xcb_xkb_permament_radio_group_behavior_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:636
group : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:637
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_permament_radio_group_behavior_t); -- /usr/include/xcb/xkb.h:635
type xcb_xkb_permament_radio_group_behavior_iterator_t is record
data : access xcb_xkb_permament_radio_group_behavior_t; -- /usr/include/xcb/xkb.h:644
c_rem : aliased int; -- /usr/include/xcb/xkb.h:645
index : aliased int; -- /usr/include/xcb/xkb.h:646
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_permament_radio_group_behavior_iterator_t); -- /usr/include/xcb/xkb.h:643
type xcb_xkb_permament_overlay_behavior_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:653
key : aliased XCB.XProto.xcb_keycode_t; -- /usr/include/xcb/xkb.h:654
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_permament_overlay_behavior_t); -- /usr/include/xcb/xkb.h:652
type xcb_xkb_permament_overlay_behavior_iterator_t is record
data : access xcb_xkb_permament_overlay_behavior_t; -- /usr/include/xcb/xkb.h:661
c_rem : aliased int; -- /usr/include/xcb/xkb.h:662
index : aliased int; -- /usr/include/xcb/xkb.h:663
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_permament_overlay_behavior_iterator_t); -- /usr/include/xcb/xkb.h:660
type xcb_xkb_behavior_t (discr : unsigned := 0) is record
case discr is
when 0 =>
common : aliased xcb_xkb_common_behavior_t; -- /usr/include/xcb/xkb.h:670
when 1 =>
u_default : aliased xcb_xkb_default_behavior_t; -- /usr/include/xcb/xkb.h:671
when 2 =>
lock : aliased xcb_xkb_lock_behavior_t; -- /usr/include/xcb/xkb.h:672
when 3 =>
radioGroup : aliased xcb_xkb_radio_group_behavior_t; -- /usr/include/xcb/xkb.h:673
when 4 =>
overlay1 : aliased xcb_xkb_overlay_behavior_t; -- /usr/include/xcb/xkb.h:674
when 5 =>
overlay2 : aliased xcb_xkb_overlay_behavior_t; -- /usr/include/xcb/xkb.h:675
when 6 =>
permamentLock : aliased xcb_xkb_permament_lock_behavior_t; -- /usr/include/xcb/xkb.h:676
when 7 =>
permamentRadioGroup : aliased xcb_xkb_permament_radio_group_behavior_t; -- /usr/include/xcb/xkb.h:677
when 8 =>
permamentOverlay1 : aliased xcb_xkb_permament_overlay_behavior_t; -- /usr/include/xcb/xkb.h:678
when 9 =>
permamentOverlay2 : aliased xcb_xkb_permament_overlay_behavior_t; -- /usr/include/xcb/xkb.h:679
when others =>
c_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:680
end case;
end record;
pragma Convention (C_Pass_By_Copy, xcb_xkb_behavior_t);
pragma Unchecked_Union (xcb_xkb_behavior_t); -- /usr/include/xcb/xkb.h:669
type xcb_xkb_behavior_iterator_t is record
data : access xcb_xkb_behavior_t; -- /usr/include/xcb/xkb.h:687
c_rem : aliased int; -- /usr/include/xcb/xkb.h:688
index : aliased int; -- /usr/include/xcb/xkb.h:689
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_behavior_iterator_t); -- /usr/include/xcb/xkb.h:686
subtype xcb_xkb_behavior_type_t is unsigned;
XCB_XKB_BEHAVIOR_TYPE_DEFAULT : constant xcb_xkb_behavior_type_t := 0;
XCB_XKB_BEHAVIOR_TYPE_LOCK : constant xcb_xkb_behavior_type_t := 1;
XCB_XKB_BEHAVIOR_TYPE_RADIO_GROUP : constant xcb_xkb_behavior_type_t := 2;
XCB_XKB_BEHAVIOR_TYPE_OVERLAY_1 : constant xcb_xkb_behavior_type_t := 3;
XCB_XKB_BEHAVIOR_TYPE_OVERLAY_2 : constant xcb_xkb_behavior_type_t := 4;
XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_LOCK : constant xcb_xkb_behavior_type_t :=
129;
XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_RADIO_GROUP : constant xcb_xkb_behavior_type_t :=
130;
XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_OVERLAY_1 : constant xcb_xkb_behavior_type_t :=
131;
XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_OVERLAY_2 : constant xcb_xkb_behavior_type_t :=
132; -- /usr/include/xcb/xkb.h:692
type xcb_xkb_set_behavior_t is record
keycode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:708
behavior : xcb_xkb_behavior_t; -- /usr/include/xcb/xkb.h:709
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:710
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_behavior_t); -- /usr/include/xcb/xkb.h:707
type xcb_xkb_set_behavior_iterator_t is record
data : access xcb_xkb_set_behavior_t; -- /usr/include/xcb/xkb.h:717
c_rem : aliased int; -- /usr/include/xcb/xkb.h:718
index : aliased int; -- /usr/include/xcb/xkb.h:719
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_behavior_iterator_t); -- /usr/include/xcb/xkb.h:716
type xcb_xkb_set_explicit_t is record
keycode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:726
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_explicit_t); -- /usr/include/xcb/xkb.h:725
type xcb_xkb_set_explicit_iterator_t is record
data : access xcb_xkb_set_explicit_t; -- /usr/include/xcb/xkb.h:734
c_rem : aliased int; -- /usr/include/xcb/xkb.h:735
index : aliased int; -- /usr/include/xcb/xkb.h:736
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_explicit_iterator_t); -- /usr/include/xcb/xkb.h:733
type xcb_xkb_key_mod_map_t is record
keycode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:743
mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:744
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_mod_map_t); -- /usr/include/xcb/xkb.h:742
type xcb_xkb_key_mod_map_iterator_t is record
data : access xcb_xkb_key_mod_map_t; -- /usr/include/xcb/xkb.h:751
c_rem : aliased int; -- /usr/include/xcb/xkb.h:752
index : aliased int; -- /usr/include/xcb/xkb.h:753
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_mod_map_iterator_t); -- /usr/include/xcb/xkb.h:750
type xcb_xkb_key_v_mod_map_t is record
keycode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:760
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:761
vmods : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:762
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_v_mod_map_t); -- /usr/include/xcb/xkb.h:759
type xcb_xkb_key_v_mod_map_iterator_t is record
data : access xcb_xkb_key_v_mod_map_t; -- /usr/include/xcb/xkb.h:769
c_rem : aliased int; -- /usr/include/xcb/xkb.h:770
index : aliased int; -- /usr/include/xcb/xkb.h:771
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_v_mod_map_iterator_t); -- /usr/include/xcb/xkb.h:768
type xcb_xkb_kt_set_map_entry_t is record
level : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:778
realMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:779
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:780
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_kt_set_map_entry_t); -- /usr/include/xcb/xkb.h:777
type xcb_xkb_kt_set_map_entry_iterator_t is record
data : access xcb_xkb_kt_set_map_entry_t; -- /usr/include/xcb/xkb.h:787
c_rem : aliased int; -- /usr/include/xcb/xkb.h:788
index : aliased int; -- /usr/include/xcb/xkb.h:789
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_kt_set_map_entry_iterator_t); -- /usr/include/xcb/xkb.h:786
type xcb_xkb_set_key_type_t is record
mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:796
realMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:797
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:798
numLevels : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:799
nMapEntries : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:800
preserve : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:801
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:802
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_key_type_t); -- /usr/include/xcb/xkb.h:795
type xcb_xkb_set_key_type_iterator_t is record
data : access xcb_xkb_set_key_type_t; -- /usr/include/xcb/xkb.h:809
c_rem : aliased int; -- /usr/include/xcb/xkb.h:810
index : aliased int; -- /usr/include/xcb/xkb.h:811
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_key_type_iterator_t); -- /usr/include/xcb/xkb.h:808
subtype xcb_xkb_string8_t is char; -- /usr/include/xcb/xkb.h:814
type xcb_xkb_string8_iterator_t is record
data : access xcb_xkb_string8_t; -- /usr/include/xcb/xkb.h:820
c_rem : aliased int; -- /usr/include/xcb/xkb.h:821
index : aliased int; -- /usr/include/xcb/xkb.h:822
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_string8_iterator_t); -- /usr/include/xcb/xkb.h:819
type xcb_xkb_outline_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_outline_t is record
nPoints : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:829
cornerRadius : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:830
pad0 : aliased xcb_xkb_outline_t_pad0_array; -- /usr/include/xcb/xkb.h:831
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_outline_t); -- /usr/include/xcb/xkb.h:828
type xcb_xkb_outline_iterator_t is record
data : access xcb_xkb_outline_t; -- /usr/include/xcb/xkb.h:838
c_rem : aliased int; -- /usr/include/xcb/xkb.h:839
index : aliased int; -- /usr/include/xcb/xkb.h:840
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_outline_iterator_t); -- /usr/include/xcb/xkb.h:837
type xcb_xkb_shape_t is record
name : aliased XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:847
nOutlines : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:848
primaryNdx : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:849
approxNdx : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:850
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:851
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_shape_t); -- /usr/include/xcb/xkb.h:846
type xcb_xkb_shape_iterator_t is record
data : access xcb_xkb_shape_t; -- /usr/include/xcb/xkb.h:858
c_rem : aliased int; -- /usr/include/xcb/xkb.h:859
index : aliased int; -- /usr/include/xcb/xkb.h:860
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_shape_iterator_t); -- /usr/include/xcb/xkb.h:857
type xcb_xkb_key_t_name_array is
array (0 .. 3) of aliased xcb_xkb_string8_t;
type xcb_xkb_key_t is record
name : aliased xcb_xkb_key_t_name_array; -- /usr/include/xcb/xkb.h:867
gap : aliased Libc.Stdint.int16_t; -- /usr/include/xcb/xkb.h:868
shapeNdx : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:869
colorNdx : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:870
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_t); -- /usr/include/xcb/xkb.h:866
type xcb_xkb_key_iterator_t is record
data : access xcb_xkb_key_t; -- /usr/include/xcb/xkb.h:877
c_rem : aliased int; -- /usr/include/xcb/xkb.h:878
index : aliased int; -- /usr/include/xcb/xkb.h:879
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_key_iterator_t); -- /usr/include/xcb/xkb.h:876
type xcb_xkb_overlay_key_t_over_array is
array (0 .. 3) of aliased xcb_xkb_string8_t;
type xcb_xkb_overlay_key_t_under_array is
array (0 .. 3) of aliased xcb_xkb_string8_t;
type xcb_xkb_overlay_key_t is record
over : aliased xcb_xkb_overlay_key_t_over_array; -- /usr/include/xcb/xkb.h:886
under : aliased xcb_xkb_overlay_key_t_under_array; -- /usr/include/xcb/xkb.h:887
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_overlay_key_t); -- /usr/include/xcb/xkb.h:885
type xcb_xkb_overlay_key_iterator_t is record
data : access xcb_xkb_overlay_key_t; -- /usr/include/xcb/xkb.h:894
c_rem : aliased int; -- /usr/include/xcb/xkb.h:895
index : aliased int; -- /usr/include/xcb/xkb.h:896
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_overlay_key_iterator_t); -- /usr/include/xcb/xkb.h:893
type xcb_xkb_overlay_row_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_overlay_row_t is record
rowUnder : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:903
nKeys : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:904
pad0 : aliased xcb_xkb_overlay_row_t_pad0_array; -- /usr/include/xcb/xkb.h:905
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_overlay_row_t); -- /usr/include/xcb/xkb.h:902
type xcb_xkb_overlay_row_iterator_t is record
data : access xcb_xkb_overlay_row_t; -- /usr/include/xcb/xkb.h:912
c_rem : aliased int; -- /usr/include/xcb/xkb.h:913
index : aliased int; -- /usr/include/xcb/xkb.h:914
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_overlay_row_iterator_t); -- /usr/include/xcb/xkb.h:911
type xcb_xkb_overlay_t_pad0_array is
array (0 .. 2) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_overlay_t is record
name : aliased XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:921
nRows : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:922
pad0 : aliased xcb_xkb_overlay_t_pad0_array; -- /usr/include/xcb/xkb.h:923
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_overlay_t); -- /usr/include/xcb/xkb.h:920
type xcb_xkb_overlay_iterator_t is record
data : access xcb_xkb_overlay_t; -- /usr/include/xcb/xkb.h:930
c_rem : aliased int; -- /usr/include/xcb/xkb.h:931
index : aliased int; -- /usr/include/xcb/xkb.h:932
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_overlay_iterator_t); -- /usr/include/xcb/xkb.h:929
type xcb_xkb_row_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_row_t is record
top : aliased Libc.Stdint.int16_t; -- /usr/include/xcb/xkb.h:939
left : aliased Libc.Stdint.int16_t; -- /usr/include/xcb/xkb.h:940
nKeys : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:941
vertical : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:942
pad0 : aliased xcb_xkb_row_t_pad0_array; -- /usr/include/xcb/xkb.h:943
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_row_t); -- /usr/include/xcb/xkb.h:938
type xcb_xkb_row_iterator_t is record
data : access xcb_xkb_row_t; -- /usr/include/xcb/xkb.h:950
c_rem : aliased int; -- /usr/include/xcb/xkb.h:951
index : aliased int; -- /usr/include/xcb/xkb.h:952
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_row_iterator_t); -- /usr/include/xcb/xkb.h:949
subtype xcb_xkb_doodad_type_t is unsigned;
XCB_XKB_DOODAD_TYPE_OUTLINE : constant xcb_xkb_doodad_type_t := 1;
XCB_XKB_DOODAD_TYPE_SOLID : constant xcb_xkb_doodad_type_t := 2;
XCB_XKB_DOODAD_TYPE_TEXT : constant xcb_xkb_doodad_type_t := 3;
XCB_XKB_DOODAD_TYPE_INDICATOR : constant xcb_xkb_doodad_type_t := 4;
XCB_XKB_DOODAD_TYPE_LOGO : constant xcb_xkb_doodad_type_t :=
5; -- /usr/include/xcb/xkb.h:955
type xcb_xkb_listing_t is record
flags : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:967
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:968
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_listing_t); -- /usr/include/xcb/xkb.h:966
type xcb_xkb_listing_iterator_t is record
data : access xcb_xkb_listing_t; -- /usr/include/xcb/xkb.h:975
c_rem : aliased int; -- /usr/include/xcb/xkb.h:976
index : aliased int; -- /usr/include/xcb/xkb.h:977
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_listing_iterator_t); -- /usr/include/xcb/xkb.h:974
type xcb_xkb_device_led_info_t is record
ledClass : aliased xcb_xkb_led_class_spec_t; -- /usr/include/xcb/xkb.h:984
ledID : aliased xcb_xkb_id_spec_t; -- /usr/include/xcb/xkb.h:985
namesPresent : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:986
mapsPresent : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:987
physIndicators : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:988
state : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:989
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_device_led_info_t); -- /usr/include/xcb/xkb.h:983
type xcb_xkb_device_led_info_iterator_t is record
data : access xcb_xkb_device_led_info_t; -- /usr/include/xcb/xkb.h:996
c_rem : aliased int; -- /usr/include/xcb/xkb.h:997
index : aliased int; -- /usr/include/xcb/xkb.h:998
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_device_led_info_iterator_t); -- /usr/include/xcb/xkb.h:995
subtype xcb_xkb_error_t is unsigned;
XCB_XKB_ERROR_BAD_DEVICE : constant xcb_xkb_error_t := 255;
XCB_XKB_ERROR_BAD_CLASS : constant xcb_xkb_error_t := 254;
XCB_XKB_ERROR_BAD_ID : constant xcb_xkb_error_t :=
253; -- /usr/include/xcb/xkb.h:1001
type xcb_xkb_keyboard_error_t_pad0_array is
array (0 .. 20) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_keyboard_error_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1014
error_code : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1015
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1016
value : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:1017
minorOpcode : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1018
majorOpcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1019
pad0 : aliased xcb_xkb_keyboard_error_t_pad0_array; -- /usr/include/xcb/xkb.h:1020
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_keyboard_error_t); -- /usr/include/xcb/xkb.h:1013
subtype xcb_xkb_sa_t is unsigned;
XCB_XKB_SA_CLEAR_LOCKS : constant xcb_xkb_sa_t := 1;
XCB_XKB_SA_LATCH_TO_LOCK : constant xcb_xkb_sa_t := 2;
XCB_XKB_SA_USE_MOD_MAP_MODS : constant xcb_xkb_sa_t := 4;
XCB_XKB_SA_GROUP_ABSOLUTE : constant xcb_xkb_sa_t :=
4; -- /usr/include/xcb/xkb.h:1023
type xcb_xkb_sa_type_t is
(XCB_XKB_SA_TYPE_NO_ACTION,
XCB_XKB_SA_TYPE_SET_MODS,
XCB_XKB_SA_TYPE_LATCH_MODS,
XCB_XKB_SA_TYPE_LOCK_MODS,
XCB_XKB_SA_TYPE_SET_GROUP,
XCB_XKB_SA_TYPE_LATCH_GROUP,
XCB_XKB_SA_TYPE_LOCK_GROUP,
XCB_XKB_SA_TYPE_MOVE_PTR,
XCB_XKB_SA_TYPE_PTR_BTN,
XCB_XKB_SA_TYPE_LOCK_PTR_BTN,
XCB_XKB_SA_TYPE_SET_PTR_DFLT,
XCB_XKB_SA_TYPE_ISO_LOCK,
XCB_XKB_SA_TYPE_TERMINATE,
XCB_XKB_SA_TYPE_SWITCH_SCREEN,
XCB_XKB_SA_TYPE_SET_CONTROLS,
XCB_XKB_SA_TYPE_LOCK_CONTROLS,
XCB_XKB_SA_TYPE_ACTION_MESSAGE,
XCB_XKB_SA_TYPE_REDIRECT_KEY,
XCB_XKB_SA_TYPE_DEVICE_BTN,
XCB_XKB_SA_TYPE_LOCK_DEVICE_BTN,
XCB_XKB_SA_TYPE_DEVICE_VALUATOR);
pragma Convention (C, xcb_xkb_sa_type_t); -- /usr/include/xcb/xkb.h:1030
type xcb_xkb_sa_no_action_t_pad0_array is
array (0 .. 6) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_no_action_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1058
pad0 : aliased xcb_xkb_sa_no_action_t_pad0_array; -- /usr/include/xcb/xkb.h:1059
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_no_action_t); -- /usr/include/xcb/xkb.h:1057
type xcb_xkb_sa_no_action_iterator_t is record
data : access xcb_xkb_sa_no_action_t; -- /usr/include/xcb/xkb.h:1066
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1067
index : aliased int; -- /usr/include/xcb/xkb.h:1068
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_no_action_iterator_t); -- /usr/include/xcb/xkb.h:1065
type xcb_xkb_sa_set_mods_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_set_mods_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1075
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1076
mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1077
realMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1078
vmodsHigh : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1079
vmodsLow : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1080
pad0 : aliased xcb_xkb_sa_set_mods_t_pad0_array; -- /usr/include/xcb/xkb.h:1081
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_set_mods_t); -- /usr/include/xcb/xkb.h:1074
type xcb_xkb_sa_set_mods_iterator_t is record
data : access xcb_xkb_sa_set_mods_t; -- /usr/include/xcb/xkb.h:1088
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1089
index : aliased int; -- /usr/include/xcb/xkb.h:1090
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_set_mods_iterator_t); -- /usr/include/xcb/xkb.h:1087
type xcb_xkb_sa_latch_mods_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_latch_mods_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1097
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1098
mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1099
realMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1100
vmodsHigh : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1101
vmodsLow : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1102
pad0 : aliased xcb_xkb_sa_latch_mods_t_pad0_array; -- /usr/include/xcb/xkb.h:1103
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_latch_mods_t); -- /usr/include/xcb/xkb.h:1096
type xcb_xkb_sa_latch_mods_iterator_t is record
data : access xcb_xkb_sa_latch_mods_t; -- /usr/include/xcb/xkb.h:1110
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1111
index : aliased int; -- /usr/include/xcb/xkb.h:1112
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_latch_mods_iterator_t); -- /usr/include/xcb/xkb.h:1109
type xcb_xkb_sa_lock_mods_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_lock_mods_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1119
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1120
mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1121
realMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1122
vmodsHigh : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1123
vmodsLow : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1124
pad0 : aliased xcb_xkb_sa_lock_mods_t_pad0_array; -- /usr/include/xcb/xkb.h:1125
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_mods_t); -- /usr/include/xcb/xkb.h:1118
type xcb_xkb_sa_lock_mods_iterator_t is record
data : access xcb_xkb_sa_lock_mods_t; -- /usr/include/xcb/xkb.h:1132
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1133
index : aliased int; -- /usr/include/xcb/xkb.h:1134
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_mods_iterator_t); -- /usr/include/xcb/xkb.h:1131
type xcb_xkb_sa_set_group_t_pad0_array is
array (0 .. 4) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_set_group_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1141
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1142
group : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1143
pad0 : aliased xcb_xkb_sa_set_group_t_pad0_array; -- /usr/include/xcb/xkb.h:1144
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_set_group_t); -- /usr/include/xcb/xkb.h:1140
type xcb_xkb_sa_set_group_iterator_t is record
data : access xcb_xkb_sa_set_group_t; -- /usr/include/xcb/xkb.h:1151
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1152
index : aliased int; -- /usr/include/xcb/xkb.h:1153
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_set_group_iterator_t); -- /usr/include/xcb/xkb.h:1150
type xcb_xkb_sa_latch_group_t_pad0_array is
array (0 .. 4) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_latch_group_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1160
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1161
group : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1162
pad0 : aliased xcb_xkb_sa_latch_group_t_pad0_array; -- /usr/include/xcb/xkb.h:1163
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_latch_group_t); -- /usr/include/xcb/xkb.h:1159
type xcb_xkb_sa_latch_group_iterator_t is record
data : access xcb_xkb_sa_latch_group_t; -- /usr/include/xcb/xkb.h:1170
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1171
index : aliased int; -- /usr/include/xcb/xkb.h:1172
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_latch_group_iterator_t); -- /usr/include/xcb/xkb.h:1169
type xcb_xkb_sa_lock_group_t_pad0_array is
array (0 .. 4) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_lock_group_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1179
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1180
group : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1181
pad0 : aliased xcb_xkb_sa_lock_group_t_pad0_array; -- /usr/include/xcb/xkb.h:1182
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_group_t); -- /usr/include/xcb/xkb.h:1178
type xcb_xkb_sa_lock_group_iterator_t is record
data : access xcb_xkb_sa_lock_group_t; -- /usr/include/xcb/xkb.h:1189
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1190
index : aliased int; -- /usr/include/xcb/xkb.h:1191
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_group_iterator_t); -- /usr/include/xcb/xkb.h:1188
subtype xcb_xkb_sa_move_ptr_flag_t is unsigned;
XCB_XKB_SA_MOVE_PTR_FLAG_NO_ACCELERATION : constant xcb_xkb_sa_move_ptr_flag_t :=
1;
XCB_XKB_SA_MOVE_PTR_FLAG_MOVE_ABSOLUTE_X : constant xcb_xkb_sa_move_ptr_flag_t :=
2;
XCB_XKB_SA_MOVE_PTR_FLAG_MOVE_ABSOLUTE_Y : constant xcb_xkb_sa_move_ptr_flag_t :=
4; -- /usr/include/xcb/xkb.h:1194
type xcb_xkb_sa_move_ptr_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_move_ptr_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1204
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1205
xHigh : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1206
xLow : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1207
yHigh : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1208
yLow : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1209
pad0 : aliased xcb_xkb_sa_move_ptr_t_pad0_array; -- /usr/include/xcb/xkb.h:1210
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_move_ptr_t); -- /usr/include/xcb/xkb.h:1203
type xcb_xkb_sa_move_ptr_iterator_t is record
data : access xcb_xkb_sa_move_ptr_t; -- /usr/include/xcb/xkb.h:1217
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1218
index : aliased int; -- /usr/include/xcb/xkb.h:1219
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_move_ptr_iterator_t); -- /usr/include/xcb/xkb.h:1216
type xcb_xkb_sa_ptr_btn_t_pad0_array is
array (0 .. 3) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_ptr_btn_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1226
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1227
count : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1228
button : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1229
pad0 : aliased xcb_xkb_sa_ptr_btn_t_pad0_array; -- /usr/include/xcb/xkb.h:1230
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_ptr_btn_t); -- /usr/include/xcb/xkb.h:1225
type xcb_xkb_sa_ptr_btn_iterator_t is record
data : access xcb_xkb_sa_ptr_btn_t; -- /usr/include/xcb/xkb.h:1237
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1238
index : aliased int; -- /usr/include/xcb/xkb.h:1239
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_ptr_btn_iterator_t); -- /usr/include/xcb/xkb.h:1236
type xcb_xkb_sa_lock_ptr_btn_t_pad1_array is
array (0 .. 3) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_lock_ptr_btn_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1246
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1247
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1248
button : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1249
pad1 : aliased xcb_xkb_sa_lock_ptr_btn_t_pad1_array; -- /usr/include/xcb/xkb.h:1250
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_ptr_btn_t); -- /usr/include/xcb/xkb.h:1245
type xcb_xkb_sa_lock_ptr_btn_iterator_t is record
data : access xcb_xkb_sa_lock_ptr_btn_t; -- /usr/include/xcb/xkb.h:1257
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1258
index : aliased int; -- /usr/include/xcb/xkb.h:1259
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_ptr_btn_iterator_t); -- /usr/include/xcb/xkb.h:1256
subtype xcb_xkb_sa_set_ptr_dflt_flag_t is unsigned;
XCB_XKB_SA_SET_PTR_DFLT_FLAG_DFLT_BTN_ABSOLUTE : constant xcb_xkb_sa_set_ptr_dflt_flag_t :=
4;
XCB_XKB_SA_SET_PTR_DFLT_FLAG_AFFECT_DFLT_BUTTON : constant xcb_xkb_sa_set_ptr_dflt_flag_t :=
1; -- /usr/include/xcb/xkb.h:1262
type xcb_xkb_sa_set_ptr_dflt_t_pad0_array is
array (0 .. 3) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_set_ptr_dflt_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1271
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1272
affect : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1273
value : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1274
pad0 : aliased xcb_xkb_sa_set_ptr_dflt_t_pad0_array; -- /usr/include/xcb/xkb.h:1275
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_set_ptr_dflt_t); -- /usr/include/xcb/xkb.h:1270
type xcb_xkb_sa_set_ptr_dflt_iterator_t is record
data : access xcb_xkb_sa_set_ptr_dflt_t; -- /usr/include/xcb/xkb.h:1282
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1283
index : aliased int; -- /usr/include/xcb/xkb.h:1284
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_set_ptr_dflt_iterator_t); -- /usr/include/xcb/xkb.h:1281
subtype xcb_xkb_sa_iso_lock_flag_t is unsigned;
XCB_XKB_SA_ISO_LOCK_FLAG_NO_LOCK : constant xcb_xkb_sa_iso_lock_flag_t := 1;
XCB_XKB_SA_ISO_LOCK_FLAG_NO_UNLOCK : constant xcb_xkb_sa_iso_lock_flag_t :=
2;
XCB_XKB_SA_ISO_LOCK_FLAG_USE_MOD_MAP_MODS : constant xcb_xkb_sa_iso_lock_flag_t :=
4;
XCB_XKB_SA_ISO_LOCK_FLAG_GROUP_ABSOLUTE : constant xcb_xkb_sa_iso_lock_flag_t :=
4;
XCB_XKB_SA_ISO_LOCK_FLAG_ISO_DFLT_IS_GROUP : constant xcb_xkb_sa_iso_lock_flag_t :=
8; -- /usr/include/xcb/xkb.h:1287
subtype xcb_xkb_sa_iso_lock_no_affect_t is unsigned;
XCB_XKB_SA_ISO_LOCK_NO_AFFECT_CTRLS : constant xcb_xkb_sa_iso_lock_no_affect_t :=
8;
XCB_XKB_SA_ISO_LOCK_NO_AFFECT_PTR : constant xcb_xkb_sa_iso_lock_no_affect_t :=
16;
XCB_XKB_SA_ISO_LOCK_NO_AFFECT_GROUP : constant xcb_xkb_sa_iso_lock_no_affect_t :=
32;
XCB_XKB_SA_ISO_LOCK_NO_AFFECT_MODS : constant xcb_xkb_sa_iso_lock_no_affect_t :=
64; -- /usr/include/xcb/xkb.h:1295
type xcb_xkb_sa_iso_lock_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1306
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1307
mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1308
realMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1309
group : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1310
affect : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1311
vmodsHigh : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1312
vmodsLow : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1313
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_iso_lock_t); -- /usr/include/xcb/xkb.h:1305
type xcb_xkb_sa_iso_lock_iterator_t is record
data : access xcb_xkb_sa_iso_lock_t; -- /usr/include/xcb/xkb.h:1320
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1321
index : aliased int; -- /usr/include/xcb/xkb.h:1322
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_iso_lock_iterator_t); -- /usr/include/xcb/xkb.h:1319
type xcb_xkb_sa_terminate_t_pad0_array is
array (0 .. 6) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_terminate_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1329
pad0 : aliased xcb_xkb_sa_terminate_t_pad0_array; -- /usr/include/xcb/xkb.h:1330
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_terminate_t); -- /usr/include/xcb/xkb.h:1328
type xcb_xkb_sa_terminate_iterator_t is record
data : access xcb_xkb_sa_terminate_t; -- /usr/include/xcb/xkb.h:1337
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1338
index : aliased int; -- /usr/include/xcb/xkb.h:1339
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_terminate_iterator_t); -- /usr/include/xcb/xkb.h:1336
subtype xcb_xkb_switch_screen_flag_t is unsigned;
XCB_XKB_SWITCH_SCREEN_FLAG_APPLICATION : constant xcb_xkb_switch_screen_flag_t :=
1;
XCB_XKB_SWITCH_SCREEN_FLAG_ABSOLUTE : constant xcb_xkb_switch_screen_flag_t :=
4; -- /usr/include/xcb/xkb.h:1342
type xcb_xkb_sa_switch_screen_t_pad0_array is
array (0 .. 4) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_switch_screen_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1351
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1352
newScreen : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1353
pad0 : aliased xcb_xkb_sa_switch_screen_t_pad0_array; -- /usr/include/xcb/xkb.h:1354
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_switch_screen_t); -- /usr/include/xcb/xkb.h:1350
type xcb_xkb_sa_switch_screen_iterator_t is record
data : access xcb_xkb_sa_switch_screen_t; -- /usr/include/xcb/xkb.h:1361
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1362
index : aliased int; -- /usr/include/xcb/xkb.h:1363
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_switch_screen_iterator_t); -- /usr/include/xcb/xkb.h:1360
subtype xcb_xkb_bool_ctrls_high_t is unsigned;
XCB_XKB_BOOL_CTRLS_HIGH_ACCESS_X_FEEDBACK : constant xcb_xkb_bool_ctrls_high_t :=
1;
XCB_XKB_BOOL_CTRLS_HIGH_AUDIBLE_BELL : constant xcb_xkb_bool_ctrls_high_t :=
2;
XCB_XKB_BOOL_CTRLS_HIGH_OVERLAY_1 : constant xcb_xkb_bool_ctrls_high_t := 4;
XCB_XKB_BOOL_CTRLS_HIGH_OVERLAY_2 : constant xcb_xkb_bool_ctrls_high_t := 8;
XCB_XKB_BOOL_CTRLS_HIGH_IGNORE_GROUP_LOCK : constant xcb_xkb_bool_ctrls_high_t :=
16; -- /usr/include/xcb/xkb.h:1366
subtype xcb_xkb_bool_ctrls_low_t is unsigned;
XCB_XKB_BOOL_CTRLS_LOW_REPEAT_KEYS : constant xcb_xkb_bool_ctrls_low_t := 1;
XCB_XKB_BOOL_CTRLS_LOW_SLOW_KEYS : constant xcb_xkb_bool_ctrls_low_t := 2;
XCB_XKB_BOOL_CTRLS_LOW_BOUNCE_KEYS : constant xcb_xkb_bool_ctrls_low_t := 4;
XCB_XKB_BOOL_CTRLS_LOW_STICKY_KEYS : constant xcb_xkb_bool_ctrls_low_t := 8;
XCB_XKB_BOOL_CTRLS_LOW_MOUSE_KEYS : constant xcb_xkb_bool_ctrls_low_t := 16;
XCB_XKB_BOOL_CTRLS_LOW_MOUSE_KEYS_ACCEL : constant xcb_xkb_bool_ctrls_low_t :=
32;
XCB_XKB_BOOL_CTRLS_LOW_ACCESS_X_KEYS : constant xcb_xkb_bool_ctrls_low_t :=
64;
XCB_XKB_BOOL_CTRLS_LOW_ACCESS_X_TIMEOUT : constant xcb_xkb_bool_ctrls_low_t :=
128; -- /usr/include/xcb/xkb.h:1374
type xcb_xkb_sa_set_controls_t_pad0_array is
array (0 .. 2) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_set_controls_t_pad1_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_set_controls_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1389
pad0 : aliased xcb_xkb_sa_set_controls_t_pad0_array; -- /usr/include/xcb/xkb.h:1390
boolCtrlsHigh : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1391
boolCtrlsLow : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1392
pad1 : aliased xcb_xkb_sa_set_controls_t_pad1_array; -- /usr/include/xcb/xkb.h:1393
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_set_controls_t); -- /usr/include/xcb/xkb.h:1388
type xcb_xkb_sa_set_controls_iterator_t is record
data : access xcb_xkb_sa_set_controls_t; -- /usr/include/xcb/xkb.h:1400
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1401
index : aliased int; -- /usr/include/xcb/xkb.h:1402
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_set_controls_iterator_t); -- /usr/include/xcb/xkb.h:1399
type xcb_xkb_sa_lock_controls_t_pad0_array is
array (0 .. 2) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_lock_controls_t_pad1_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_lock_controls_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1409
pad0 : aliased xcb_xkb_sa_lock_controls_t_pad0_array; -- /usr/include/xcb/xkb.h:1410
boolCtrlsHigh : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1411
boolCtrlsLow : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1412
pad1 : aliased xcb_xkb_sa_lock_controls_t_pad1_array; -- /usr/include/xcb/xkb.h:1413
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_controls_t); -- /usr/include/xcb/xkb.h:1408
type xcb_xkb_sa_lock_controls_iterator_t is record
data : access xcb_xkb_sa_lock_controls_t; -- /usr/include/xcb/xkb.h:1420
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1421
index : aliased int; -- /usr/include/xcb/xkb.h:1422
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_controls_iterator_t); -- /usr/include/xcb/xkb.h:1419
subtype xcb_xkb_action_message_flag_t is unsigned;
XCB_XKB_ACTION_MESSAGE_FLAG_ON_PRESS : constant xcb_xkb_action_message_flag_t :=
1;
XCB_XKB_ACTION_MESSAGE_FLAG_ON_RELEASE : constant xcb_xkb_action_message_flag_t :=
2;
XCB_XKB_ACTION_MESSAGE_FLAG_GEN_KEY_EVENT : constant xcb_xkb_action_message_flag_t :=
4; -- /usr/include/xcb/xkb.h:1425
type xcb_xkb_sa_action_message_t_message_array is
array (0 .. 5) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_action_message_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1435
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1436
message : aliased xcb_xkb_sa_action_message_t_message_array; -- /usr/include/xcb/xkb.h:1437
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_action_message_t); -- /usr/include/xcb/xkb.h:1434
type xcb_xkb_sa_action_message_iterator_t is record
data : access xcb_xkb_sa_action_message_t; -- /usr/include/xcb/xkb.h:1444
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1445
index : aliased int; -- /usr/include/xcb/xkb.h:1446
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_action_message_iterator_t); -- /usr/include/xcb/xkb.h:1443
type xcb_xkb_sa_redirect_key_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1453
newkey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1454
mask : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1455
realModifiers : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1456
vmodsMaskHigh : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1457
vmodsMaskLow : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1458
vmodsHigh : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1459
vmodsLow : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1460
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_redirect_key_t); -- /usr/include/xcb/xkb.h:1452
type xcb_xkb_sa_redirect_key_iterator_t is record
data : access xcb_xkb_sa_redirect_key_t; -- /usr/include/xcb/xkb.h:1467
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1468
index : aliased int; -- /usr/include/xcb/xkb.h:1469
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_redirect_key_iterator_t); -- /usr/include/xcb/xkb.h:1466
type xcb_xkb_sa_device_btn_t_pad0_array is
array (0 .. 2) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_device_btn_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1476
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1477
count : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1478
button : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1479
device : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1480
pad0 : aliased xcb_xkb_sa_device_btn_t_pad0_array; -- /usr/include/xcb/xkb.h:1481
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_device_btn_t); -- /usr/include/xcb/xkb.h:1475
type xcb_xkb_sa_device_btn_iterator_t is record
data : access xcb_xkb_sa_device_btn_t; -- /usr/include/xcb/xkb.h:1488
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1489
index : aliased int; -- /usr/include/xcb/xkb.h:1490
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_device_btn_iterator_t); -- /usr/include/xcb/xkb.h:1487
subtype xcb_xkb_lock_device_flags_t is unsigned;
XCB_XKB_LOCK_DEVICE_FLAGS_NO_LOCK : constant xcb_xkb_lock_device_flags_t :=
1;
XCB_XKB_LOCK_DEVICE_FLAGS_NO_UNLOCK : constant xcb_xkb_lock_device_flags_t :=
2; -- /usr/include/xcb/xkb.h:1493
type xcb_xkb_sa_lock_device_btn_t_pad1_array is
array (0 .. 2) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_sa_lock_device_btn_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1502
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1503
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1504
button : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1505
device : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1506
pad1 : aliased xcb_xkb_sa_lock_device_btn_t_pad1_array; -- /usr/include/xcb/xkb.h:1507
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_device_btn_t); -- /usr/include/xcb/xkb.h:1501
type xcb_xkb_sa_lock_device_btn_iterator_t is record
data : access xcb_xkb_sa_lock_device_btn_t; -- /usr/include/xcb/xkb.h:1514
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1515
index : aliased int; -- /usr/include/xcb/xkb.h:1516
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_lock_device_btn_iterator_t); -- /usr/include/xcb/xkb.h:1513
type xcb_xkb_sa_val_what_t is
(XCB_XKB_SA_VAL_WHAT_IGNORE_VAL,
XCB_XKB_SA_VAL_WHAT_SET_VAL_MIN,
XCB_XKB_SA_VAL_WHAT_SET_VAL_CENTER,
XCB_XKB_SA_VAL_WHAT_SET_VAL_MAX,
XCB_XKB_SA_VAL_WHAT_SET_VAL_RELATIVE,
XCB_XKB_SA_VAL_WHAT_SET_VAL_ABSOLUTE);
pragma Convention
(C,
xcb_xkb_sa_val_what_t); -- /usr/include/xcb/xkb.h:1519
type xcb_xkb_sa_device_valuator_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1532
device : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1533
val1what : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1534
val1index : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1535
val1value : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1536
val2what : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1537
val2index : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1538
val2value : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1539
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_device_valuator_t); -- /usr/include/xcb/xkb.h:1531
type xcb_xkb_sa_device_valuator_iterator_t is record
data : access xcb_xkb_sa_device_valuator_t; -- /usr/include/xcb/xkb.h:1546
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1547
index : aliased int; -- /usr/include/xcb/xkb.h:1548
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sa_device_valuator_iterator_t); -- /usr/include/xcb/xkb.h:1545
type xcb_xkb_si_action_t_data_array is
array (0 .. 6) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_si_action_t is record
c_type : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1555
data : aliased xcb_xkb_si_action_t_data_array; -- /usr/include/xcb/xkb.h:1556
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_si_action_t); -- /usr/include/xcb/xkb.h:1554
type xcb_xkb_si_action_iterator_t is record
data : access xcb_xkb_si_action_t; -- /usr/include/xcb/xkb.h:1563
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1564
index : aliased int; -- /usr/include/xcb/xkb.h:1565
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_si_action_iterator_t); -- /usr/include/xcb/xkb.h:1562
type xcb_xkb_sym_interpret_t is record
sym : aliased XCB.XProto.xcb_keysym_t; -- /usr/include/xcb/xkb.h:1572
mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1573
match : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1574
virtualMod : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1575
flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1576
action : aliased xcb_xkb_si_action_t; -- /usr/include/xcb/xkb.h:1577
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sym_interpret_t); -- /usr/include/xcb/xkb.h:1571
type xcb_xkb_sym_interpret_iterator_t is record
data : access xcb_xkb_sym_interpret_t; -- /usr/include/xcb/xkb.h:1584
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1585
index : aliased int; -- /usr/include/xcb/xkb.h:1586
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_sym_interpret_iterator_t); -- /usr/include/xcb/xkb.h:1583
type xcb_xkb_action_t (discr : unsigned := 0) is record
case discr is
when 0 =>
noaction : aliased xcb_xkb_sa_no_action_t; -- /usr/include/xcb/xkb.h:1593
when 1 =>
setmods : aliased xcb_xkb_sa_set_mods_t; -- /usr/include/xcb/xkb.h:1594
when 2 =>
latchmods : aliased xcb_xkb_sa_latch_mods_t; -- /usr/include/xcb/xkb.h:1595
when 3 =>
lockmods : aliased xcb_xkb_sa_lock_mods_t; -- /usr/include/xcb/xkb.h:1596
when 4 =>
setgroup : aliased xcb_xkb_sa_set_group_t; -- /usr/include/xcb/xkb.h:1597
when 5 =>
latchgroup : aliased xcb_xkb_sa_latch_group_t; -- /usr/include/xcb/xkb.h:1598
when 6 =>
lockgroup : aliased xcb_xkb_sa_lock_group_t; -- /usr/include/xcb/xkb.h:1599
when 7 =>
moveptr : aliased xcb_xkb_sa_move_ptr_t; -- /usr/include/xcb/xkb.h:1600
when 8 =>
ptrbtn : aliased xcb_xkb_sa_ptr_btn_t; -- /usr/include/xcb/xkb.h:1601
when 9 =>
lockptrbtn : aliased xcb_xkb_sa_lock_ptr_btn_t; -- /usr/include/xcb/xkb.h:1602
when 10 =>
setptrdflt : aliased xcb_xkb_sa_set_ptr_dflt_t; -- /usr/include/xcb/xkb.h:1603
when 11 =>
isolock : aliased xcb_xkb_sa_iso_lock_t; -- /usr/include/xcb/xkb.h:1604
when 12 =>
c_terminate : aliased xcb_xkb_sa_terminate_t; -- /usr/include/xcb/xkb.h:1605
when 13 =>
switchscreen : aliased xcb_xkb_sa_switch_screen_t; -- /usr/include/xcb/xkb.h:1606
when 14 =>
setcontrols : aliased xcb_xkb_sa_set_controls_t; -- /usr/include/xcb/xkb.h:1607
when 15 =>
lockcontrols : aliased xcb_xkb_sa_lock_controls_t; -- /usr/include/xcb/xkb.h:1608
when 16 =>
message : aliased xcb_xkb_sa_action_message_t; -- /usr/include/xcb/xkb.h:1609
when 17 =>
redirect : aliased xcb_xkb_sa_redirect_key_t; -- /usr/include/xcb/xkb.h:1610
when 18 =>
devbtn : aliased xcb_xkb_sa_device_btn_t; -- /usr/include/xcb/xkb.h:1611
when 19 =>
lockdevbtn : aliased xcb_xkb_sa_lock_device_btn_t; -- /usr/include/xcb/xkb.h:1612
when 20 =>
devval : aliased xcb_xkb_sa_device_valuator_t; -- /usr/include/xcb/xkb.h:1613
when others =>
c_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1614
end case;
end record;
pragma Convention (C_Pass_By_Copy, xcb_xkb_action_t);
pragma Unchecked_Union (xcb_xkb_action_t); -- /usr/include/xcb/xkb.h:1592
type xcb_xkb_action_iterator_t is record
data : access xcb_xkb_action_t; -- /usr/include/xcb/xkb.h:1621
c_rem : aliased int; -- /usr/include/xcb/xkb.h:1622
index : aliased int; -- /usr/include/xcb/xkb.h:1623
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_action_iterator_t); -- /usr/include/xcb/xkb.h:1620
type xcb_xkb_use_extension_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:1630
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_use_extension_cookie_t); -- /usr/include/xcb/xkb.h:1629
type xcb_xkb_use_extension_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1640
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1641
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1642
wantedMajor : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1643
wantedMinor : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1644
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_use_extension_request_t); -- /usr/include/xcb/xkb.h:1639
type xcb_xkb_use_extension_reply_t_pad0_array is
array (0 .. 19) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_use_extension_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1651
supported : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1652
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1653
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:1654
serverMajor : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1655
serverMinor : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1656
pad0 : aliased xcb_xkb_use_extension_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:1657
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_use_extension_reply_t); -- /usr/include/xcb/xkb.h:1650
type xcb_xkb_select_events_details_t is record
affectNewKeyboard : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1664
newKeyboardDetails : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1665
affectState : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1666
stateDetails : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1667
affectCtrls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1668
ctrlDetails : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1669
affectIndicatorState : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1670
indicatorStateDetails : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1671
affectIndicatorMap : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1672
indicatorMapDetails : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1673
affectNames : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1674
namesDetails : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1675
affectCompat : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1676
compatDetails : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1677
affectBell : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1678
bellDetails : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1679
affectMsgDetails : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1680
msgDetails : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1681
affectAccessX : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1682
accessXDetails : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1683
affectExtDev : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1684
extdevDetails : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1685
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_select_events_details_t); -- /usr/include/xcb/xkb.h:1663
type xcb_xkb_select_events_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1695
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1696
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1697
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:1698
affectWhich : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1699
clear : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1700
selectAll : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1701
affectMap : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1702
map : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1703
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_select_events_request_t); -- /usr/include/xcb/xkb.h:1694
type xcb_xkb_bell_request_t_pad1_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_bell_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1713
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1714
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1715
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:1716
bellClass : aliased xcb_xkb_bell_class_spec_t; -- /usr/include/xcb/xkb.h:1717
bellID : aliased xcb_xkb_id_spec_t; -- /usr/include/xcb/xkb.h:1718
percent : aliased Libc.Stdint.int8_t; -- /usr/include/xcb/xkb.h:1719
forceSound : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1720
eventOnly : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1721
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1722
pitch : aliased Libc.Stdint.int16_t; -- /usr/include/xcb/xkb.h:1723
duration : aliased Libc.Stdint.int16_t; -- /usr/include/xcb/xkb.h:1724
pad1 : aliased xcb_xkb_bell_request_t_pad1_array; -- /usr/include/xcb/xkb.h:1725
name : aliased XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:1726
window : aliased XCB.XProto.xcb_window_t; -- /usr/include/xcb/xkb.h:1727
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_bell_request_t); -- /usr/include/xcb/xkb.h:1712
type xcb_xkb_get_state_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:1734
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_state_cookie_t); -- /usr/include/xcb/xkb.h:1733
type xcb_xkb_get_state_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_state_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1744
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1745
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1746
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:1747
pad0 : aliased xcb_xkb_get_state_request_t_pad0_array; -- /usr/include/xcb/xkb.h:1748
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_state_request_t); -- /usr/include/xcb/xkb.h:1743
type xcb_xkb_get_state_reply_t_pad1_array is
array (0 .. 5) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_state_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1755
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1756
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1757
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:1758
mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1759
baseMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1760
latchedMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1761
lockedMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1762
group : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1763
lockedGroup : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1764
baseGroup : aliased Libc.Stdint.int16_t; -- /usr/include/xcb/xkb.h:1765
latchedGroup : aliased Libc.Stdint
.int16_t; -- /usr/include/xcb/xkb.h:1766
compatState : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1767
grabMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1768
compatGrabMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1769
lookupMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1770
compatLookupMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1771
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1772
ptrBtnState : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1773
pad1 : aliased xcb_xkb_get_state_reply_t_pad1_array; -- /usr/include/xcb/xkb.h:1774
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_state_reply_t); -- /usr/include/xcb/xkb.h:1754
type xcb_xkb_latch_lock_state_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1784
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1785
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1786
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:1787
affectModLocks : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1788
modLocks : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1789
lockGroup : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1790
groupLock : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1791
affectModLatches : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1792
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1793
latchGroup : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1794
groupLatch : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1795
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_latch_lock_state_request_t); -- /usr/include/xcb/xkb.h:1783
type xcb_xkb_get_controls_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:1802
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_controls_cookie_t); -- /usr/include/xcb/xkb.h:1801
type xcb_xkb_get_controls_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_controls_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1812
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1813
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1814
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:1815
pad0 : aliased xcb_xkb_get_controls_request_t_pad0_array; -- /usr/include/xcb/xkb.h:1816
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_controls_request_t); -- /usr/include/xcb/xkb.h:1811
type xcb_xkb_get_controls_reply_t_pad1_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_controls_reply_t_perKeyRepeat_array is
array (0 .. 31) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_controls_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1823
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1824
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1825
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:1826
mouseKeysDfltBtn : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1827
numGroups : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1828
groupsWrap : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1829
internalModsMask : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1830
ignoreLockModsMask : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1831
internalModsRealMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1832
ignoreLockModsRealMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1833
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1834
internalModsVmods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1835
ignoreLockModsVmods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1836
repeatDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1837
repeatInterval : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1838
slowKeysDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1839
debounceDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1840
mouseKeysDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1841
mouseKeysInterval : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1842
mouseKeysTimeToMax : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1843
mouseKeysMaxSpeed : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1844
mouseKeysCurve : aliased Libc.Stdint
.int16_t; -- /usr/include/xcb/xkb.h:1845
accessXOption : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1846
accessXTimeout : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1847
accessXTimeoutOptionsMask : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1848
accessXTimeoutOptionsValues : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1849
pad1 : aliased xcb_xkb_get_controls_reply_t_pad1_array; -- /usr/include/xcb/xkb.h:1850
accessXTimeoutMask : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1851
accessXTimeoutValues : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1852
enabledControls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1853
perKeyRepeat : aliased xcb_xkb_get_controls_reply_t_perKeyRepeat_array; -- /usr/include/xcb/xkb.h:1854
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_controls_reply_t); -- /usr/include/xcb/xkb.h:1822
type xcb_xkb_set_controls_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_set_controls_request_t_perKeyRepeat_array is
array (0 .. 31) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_set_controls_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1864
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1865
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1866
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:1867
affectInternalRealMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1868
internalRealMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1869
affectIgnoreLockRealMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1870
ignoreLockRealMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1871
affectInternalVirtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1872
internalVirtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1873
affectIgnoreLockVirtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1874
ignoreLockVirtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1875
mouseKeysDfltBtn : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1876
groupsWrap : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1877
accessXOptions : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1878
pad0 : aliased xcb_xkb_set_controls_request_t_pad0_array; -- /usr/include/xcb/xkb.h:1879
affectEnabledControls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1880
enabledControls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1881
changeControls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1882
repeatDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1883
repeatInterval : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1884
slowKeysDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1885
debounceDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1886
mouseKeysDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1887
mouseKeysInterval : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1888
mouseKeysTimeToMax : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1889
mouseKeysMaxSpeed : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1890
mouseKeysCurve : aliased Libc.Stdint
.int16_t; -- /usr/include/xcb/xkb.h:1891
accessXTimeout : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1892
accessXTimeoutMask : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1893
accessXTimeoutValues : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:1894
accessXTimeoutOptionsMask : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1895
accessXTimeoutOptionsValues : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1896
perKeyRepeat : aliased xcb_xkb_set_controls_request_t_perKeyRepeat_array; -- /usr/include/xcb/xkb.h:1897
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_controls_request_t); -- /usr/include/xcb/xkb.h:1863
type xcb_xkb_get_map_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:1904
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_map_cookie_t); -- /usr/include/xcb/xkb.h:1903
type xcb_xkb_get_map_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_map_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1914
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1915
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1916
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:1917
full : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1918
partial : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1919
firstType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1920
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1921
firstKeySym : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1922
nKeySyms : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1923
firstKeyAction : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1924
nKeyActions : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1925
firstKeyBehavior : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1926
nKeyBehaviors : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1927
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1928
firstKeyExplicit : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1929
nKeyExplicit : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1930
firstModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1931
nModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1932
firstVModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1933
nVModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1934
pad0 : aliased xcb_xkb_get_map_request_t_pad0_array; -- /usr/include/xcb/xkb.h:1935
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_map_request_t); -- /usr/include/xcb/xkb.h:1913
type xcb_xkb_get_map_map_t is record
types_rtrn : access xcb_xkb_key_type_t; -- /usr/include/xcb/xkb.h:1942
syms_rtrn : access xcb_xkb_key_sym_map_t; -- /usr/include/xcb/xkb.h:1943
acts_rtrn_count : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1944
alignment_pad : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1945
acts_rtrn_acts : access xcb_xkb_action_t; -- /usr/include/xcb/xkb.h:1946
behaviors_rtrn : access xcb_xkb_set_behavior_t; -- /usr/include/xcb/xkb.h:1947
vmods_rtrn : access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1948
alignment_pad2 : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1949
explicit_rtrn : access xcb_xkb_set_explicit_t; -- /usr/include/xcb/xkb.h:1950
alignment_pad3 : access Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1951
modmap_rtrn : access xcb_xkb_key_mod_map_t; -- /usr/include/xcb/xkb.h:1952
alignment_pad4 : access Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1953
vmodmap_rtrn : access xcb_xkb_key_v_mod_map_t; -- /usr/include/xcb/xkb.h:1954
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_map_map_t); -- /usr/include/xcb/xkb.h:1941
type xcb_xkb_get_map_reply_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_map_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1961
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1962
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1963
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:1964
pad0 : aliased xcb_xkb_get_map_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:1965
minKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1966
maxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1967
present : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1968
firstType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1969
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1970
totalTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1971
firstKeySym : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1972
totalSyms : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:1973
nKeySyms : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1974
firstKeyAction : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1975
totalActions : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1976
nKeyActions : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1977
firstKeyBehavior : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1978
nKeyBehaviors : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1979
totalKeyBehaviors : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1980
firstKeyExplicit : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1981
nKeyExplicit : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1982
totalKeyExplicit : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1983
firstModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1984
nModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1985
totalModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1986
firstVModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:1987
nVModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1988
totalVModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:1989
pad1 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:1990
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:1991
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_map_reply_t); -- /usr/include/xcb/xkb.h:1960
type xcb_xkb_set_map_values_t is record
types : access xcb_xkb_set_key_type_t; -- /usr/include/xcb/xkb.h:1998
syms : access xcb_xkb_key_sym_map_t; -- /usr/include/xcb/xkb.h:1999
actionsCount : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2000
actions : access xcb_xkb_action_t; -- /usr/include/xcb/xkb.h:2001
behaviors : access xcb_xkb_set_behavior_t; -- /usr/include/xcb/xkb.h:2002
vmods : access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2003
modmap : access xcb_xkb_key_mod_map_t; -- /usr/include/xcb/xkb.h:2005
vmodmap : access xcb_xkb_key_v_mod_map_t; -- /usr/include/xcb/xkb.h:2006
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_map_values_t); -- /usr/include/xcb/xkb.h:1997
type xcb_xkb_set_map_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2016
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2017
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2018
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2019
present : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2020
flags : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2021
minKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2022
maxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2023
firstType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2024
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2025
firstKeySym : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2026
nKeySyms : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2027
totalSyms : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2028
firstKeyAction : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2029
nKeyActions : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2030
totalActions : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2031
firstKeyBehavior : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2032
nKeyBehaviors : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2033
totalKeyBehaviors : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2034
firstKeyExplicit : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2035
nKeyExplicit : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2036
totalKeyExplicit : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2037
firstModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2038
nModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2039
totalModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2040
firstVModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2041
nVModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2042
totalVModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2043
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2044
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_map_request_t); -- /usr/include/xcb/xkb.h:2015
type xcb_xkb_get_compat_map_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2051
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_compat_map_cookie_t); -- /usr/include/xcb/xkb.h:2050
type xcb_xkb_get_compat_map_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2061
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2062
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2063
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2064
groups : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2065
getAllSI : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2066
firstSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2067
nSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2068
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_compat_map_request_t); -- /usr/include/xcb/xkb.h:2060
type xcb_xkb_get_compat_map_reply_t_pad1_array is
array (0 .. 15) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_compat_map_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2075
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2076
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2077
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2078
groupsRtrn : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2079
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2080
firstSIRtrn : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2081
nSIRtrn : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2082
nTotalSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2083
pad1 : aliased xcb_xkb_get_compat_map_reply_t_pad1_array; -- /usr/include/xcb/xkb.h:2084
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_compat_map_reply_t); -- /usr/include/xcb/xkb.h:2074
type xcb_xkb_set_compat_map_request_t_pad1_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_set_compat_map_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2094
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2095
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2096
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2097
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2098
recomputeActions : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2099
truncateSI : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2100
groups : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2101
firstSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2102
nSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2103
pad1 : aliased xcb_xkb_set_compat_map_request_t_pad1_array; -- /usr/include/xcb/xkb.h:2104
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_compat_map_request_t); -- /usr/include/xcb/xkb.h:2093
type xcb_xkb_get_indicator_state_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2111
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_indicator_state_cookie_t); -- /usr/include/xcb/xkb.h:2110
type xcb_xkb_get_indicator_state_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_indicator_state_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2121
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2122
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2123
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2124
pad0 : aliased xcb_xkb_get_indicator_state_request_t_pad0_array; -- /usr/include/xcb/xkb.h:2125
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_indicator_state_request_t); -- /usr/include/xcb/xkb.h:2120
type xcb_xkb_get_indicator_state_reply_t_pad0_array is
array (0 .. 19) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_indicator_state_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2132
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2133
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2134
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2135
state : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2136
pad0 : aliased xcb_xkb_get_indicator_state_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:2137
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_indicator_state_reply_t); -- /usr/include/xcb/xkb.h:2131
type xcb_xkb_get_indicator_map_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2144
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_indicator_map_cookie_t); -- /usr/include/xcb/xkb.h:2143
type xcb_xkb_get_indicator_map_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_indicator_map_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2154
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2155
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2156
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2157
pad0 : aliased xcb_xkb_get_indicator_map_request_t_pad0_array; -- /usr/include/xcb/xkb.h:2158
which : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2159
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_indicator_map_request_t); -- /usr/include/xcb/xkb.h:2153
type xcb_xkb_get_indicator_map_reply_t_pad0_array is
array (0 .. 14) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_indicator_map_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2166
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2167
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2168
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2169
which : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2170
realIndicators : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2171
nIndicators : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2172
pad0 : aliased xcb_xkb_get_indicator_map_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:2173
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_indicator_map_reply_t); -- /usr/include/xcb/xkb.h:2165
type xcb_xkb_set_indicator_map_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_set_indicator_map_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2183
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2184
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2185
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2186
pad0 : aliased xcb_xkb_set_indicator_map_request_t_pad0_array; -- /usr/include/xcb/xkb.h:2187
which : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2188
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_indicator_map_request_t); -- /usr/include/xcb/xkb.h:2182
type xcb_xkb_get_named_indicator_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2195
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_named_indicator_cookie_t); -- /usr/include/xcb/xkb.h:2194
type xcb_xkb_get_named_indicator_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_named_indicator_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2205
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2206
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2207
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2208
ledClass : aliased xcb_xkb_led_class_spec_t; -- /usr/include/xcb/xkb.h:2209
ledID : aliased xcb_xkb_id_spec_t; -- /usr/include/xcb/xkb.h:2210
pad0 : aliased xcb_xkb_get_named_indicator_request_t_pad0_array; -- /usr/include/xcb/xkb.h:2211
indicator : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2212
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_named_indicator_request_t); -- /usr/include/xcb/xkb.h:2204
type xcb_xkb_get_named_indicator_reply_t_pad0_array is
array (0 .. 2) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_named_indicator_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2219
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2220
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2221
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2222
indicator : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2223
found : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2224
on : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2225
realIndicator : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2226
ndx : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2227
map_flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2228
map_whichGroups : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2229
map_groups : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2230
map_whichMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2231
map_mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2232
map_realMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2233
map_vmod : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2234
map_ctrls : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2235
supported : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2236
pad0 : aliased xcb_xkb_get_named_indicator_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:2237
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_named_indicator_reply_t); -- /usr/include/xcb/xkb.h:2218
type xcb_xkb_set_named_indicator_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_set_named_indicator_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2247
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2248
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2249
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2250
ledClass : aliased xcb_xkb_led_class_spec_t; -- /usr/include/xcb/xkb.h:2251
ledID : aliased xcb_xkb_id_spec_t; -- /usr/include/xcb/xkb.h:2252
pad0 : aliased xcb_xkb_set_named_indicator_request_t_pad0_array; -- /usr/include/xcb/xkb.h:2253
indicator : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2254
setState : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2255
on : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2256
setMap : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2257
createMap : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2258
pad1 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2259
map_flags : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2260
map_whichGroups : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2261
map_groups : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2262
map_whichMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2263
map_realMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2264
map_vmods : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2265
map_ctrls : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2266
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_named_indicator_request_t); -- /usr/include/xcb/xkb.h:2246
type xcb_xkb_get_names_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2273
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_names_cookie_t); -- /usr/include/xcb/xkb.h:2272
type xcb_xkb_get_names_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_names_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2283
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2284
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2285
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2286
pad0 : aliased xcb_xkb_get_names_request_t_pad0_array; -- /usr/include/xcb/xkb.h:2287
which : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2288
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_names_request_t); -- /usr/include/xcb/xkb.h:2282
type xcb_xkb_get_names_value_list_t is record
keycodesName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2295
geometryName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2296
symbolsName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2297
physSymbolsName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2298
typesName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2299
compatName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2300
typeNames : access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2301
nLevelsPerType : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2302
alignment_pad : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2303
ktLevelNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2304
indicatorNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2305
virtualModNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2306
groups : access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2307
keyNames : access xcb_xkb_key_name_t; -- /usr/include/xcb/xkb.h:2308
keyAliases : access xcb_xkb_key_alias_t; -- /usr/include/xcb/xkb.h:2309
radioGroupNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2310
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_names_value_list_t); -- /usr/include/xcb/xkb.h:2294
type xcb_xkb_get_names_reply_t_pad0_array is
array (0 .. 3) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_names_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2317
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2318
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2319
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2320
which : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2321
minKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2322
maxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2323
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2324
groupNames : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2325
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2326
firstKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2327
nKeys : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2328
indicators : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2329
nRadioGroups : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2330
nKeyAliases : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2331
nKTLevels : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2332
pad0 : aliased xcb_xkb_get_names_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:2333
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_names_reply_t); -- /usr/include/xcb/xkb.h:2316
type xcb_xkb_set_names_values_t is record
keycodesName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2340
geometryName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2341
symbolsName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2342
physSymbolsName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2343
typesName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2344
compatName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2345
typeNames : access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2346
nLevelsPerType : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2347
ktLevelNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2348
indicatorNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2349
virtualModNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2350
groups : access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2351
keyNames : access xcb_xkb_key_name_t; -- /usr/include/xcb/xkb.h:2352
keyAliases : access xcb_xkb_key_alias_t; -- /usr/include/xcb/xkb.h:2353
radioGroupNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2354
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_names_values_t); -- /usr/include/xcb/xkb.h:2339
type xcb_xkb_set_names_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2364
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2365
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2366
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2367
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2368
which : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2369
firstType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2370
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2371
firstKTLevelt : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2372
nKTLevels : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2373
indicators : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2374
groupNames : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2375
nRadioGroups : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2376
firstKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2377
nKeys : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2378
nKeyAliases : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2379
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2380
totalKTLevelNames : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2381
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_names_request_t); -- /usr/include/xcb/xkb.h:2363
type xcb_xkb_per_client_flags_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2388
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_per_client_flags_cookie_t); -- /usr/include/xcb/xkb.h:2387
type xcb_xkb_per_client_flags_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_per_client_flags_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2398
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2399
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2400
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2401
pad0 : aliased xcb_xkb_per_client_flags_request_t_pad0_array; -- /usr/include/xcb/xkb.h:2402
change : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2403
value : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2404
ctrlsToChange : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2405
autoCtrls : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2406
autoCtrlsValues : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2407
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_per_client_flags_request_t); -- /usr/include/xcb/xkb.h:2397
type xcb_xkb_per_client_flags_reply_t_pad0_array is
array (0 .. 7) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_per_client_flags_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2414
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2415
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2416
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2417
supported : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2418
value : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2419
autoCtrls : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2420
autoCtrlsValues : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2421
pad0 : aliased xcb_xkb_per_client_flags_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:2422
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_per_client_flags_reply_t); -- /usr/include/xcb/xkb.h:2413
type xcb_xkb_list_components_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2429
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_list_components_cookie_t); -- /usr/include/xcb/xkb.h:2428
type xcb_xkb_list_components_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2439
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2440
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2441
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2442
maxNames : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2443
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_list_components_request_t); -- /usr/include/xcb/xkb.h:2438
type xcb_xkb_list_components_reply_t_pad0_array is
array (0 .. 9) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_list_components_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2450
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2451
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2452
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2453
nKeymaps : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2454
nKeycodes : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2455
nTypes : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2456
nCompatMaps : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2457
nSymbols : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2458
nGeometries : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2459
extra : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2460
pad0 : aliased xcb_xkb_list_components_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:2461
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_list_components_reply_t); -- /usr/include/xcb/xkb.h:2449
type xcb_xkb_get_kbd_by_name_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2468
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_kbd_by_name_cookie_t); -- /usr/include/xcb/xkb.h:2467
type xcb_xkb_get_kbd_by_name_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2478
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2479
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2480
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2481
need : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2482
want : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2483
load : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2484
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2485
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_kbd_by_name_request_t); -- /usr/include/xcb/xkb.h:2477
type xcb_xkb_get_kbd_by_name_replies_types_map_t is record
types_rtrn : access xcb_xkb_key_type_t; -- /usr/include/xcb/xkb.h:2492
syms_rtrn : access xcb_xkb_key_sym_map_t; -- /usr/include/xcb/xkb.h:2493
acts_rtrn_count : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2494
acts_rtrn_acts : access xcb_xkb_action_t; -- /usr/include/xcb/xkb.h:2495
behaviors_rtrn : access xcb_xkb_set_behavior_t; -- /usr/include/xcb/xkb.h:2496
vmods_rtrn : access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2497
explicit_rtrn : access xcb_xkb_set_explicit_t; -- /usr/include/xcb/xkb.h:2498
modmap_rtrn : access xcb_xkb_key_mod_map_t; -- /usr/include/xcb/xkb.h:2499
vmodmap_rtrn : access xcb_xkb_key_v_mod_map_t; -- /usr/include/xcb/xkb.h:2500
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_kbd_by_name_replies_types_map_t); -- /usr/include/xcb/xkb.h:2491
type xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t is record
keycodesName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2507
geometryName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2508
symbolsName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2509
physSymbolsName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2510
typesName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2511
compatName : aliased XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2512
typeNames : access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2513
nLevelsPerType : access Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2514
ktLevelNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2515
indicatorNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2516
virtualModNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2517
groups : access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2518
keyNames : access xcb_xkb_key_name_t; -- /usr/include/xcb/xkb.h:2519
keyAliases : access xcb_xkb_key_alias_t; -- /usr/include/xcb/xkb.h:2520
radioGroupNames : access XCB.XProto
.xcb_atom_t; -- /usr/include/xcb/xkb.h:2521
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t); -- /usr/include/xcb/xkb.h:2506
type xcb_xkb_get_kbd_by_name_replies_t;
type xcb_xkb_get_kbd_by_name_replies_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type u_types is record
getmap_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2529
typeDeviceID : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2530
getmap_sequence : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2531
getmap_length : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2532
pad0 : aliased xcb_xkb_get_kbd_by_name_replies_t_pad0_array; -- /usr/include/xcb/xkb.h:2533
typeMinKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2534
typeMaxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2535
present : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2536
firstType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2537
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2538
totalTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2539
firstKeySym : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2540
totalSyms : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2541
nKeySyms : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2542
firstKeyAction : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2543
totalActions : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2544
nKeyActions : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2545
firstKeyBehavior : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2546
nKeyBehaviors : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2547
totalKeyBehaviors : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2548
firstKeyExplicit : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2549
nKeyExplicit : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2550
totalKeyExplicit : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2551
firstModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2552
nModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2553
totalModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2554
firstVModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2555
nVModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2556
totalVModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2557
pad1 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2558
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2559
map : aliased xcb_xkb_get_kbd_by_name_replies_types_map_t; -- /usr/include/xcb/xkb.h:2560
end record;
pragma Convention (C_Pass_By_Copy, u_types);
type xcb_xkb_get_kbd_by_name_replies_t_pad1_array is
array (0 .. 15) of aliased Libc.Stdint.uint8_t;
type u_compat_map is record
compatmap_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2563
compatDeviceID : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2564
compatmap_sequence : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2565
compatmap_length : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2566
groupsRtrn : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2567
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2568
firstSIRtrn : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2569
nSIRtrn : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2570
nTotalSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2571
pad1 : aliased xcb_xkb_get_kbd_by_name_replies_t_pad1_array; -- /usr/include/xcb/xkb.h:2572
si_rtrn : access xcb_xkb_sym_interpret_t; -- /usr/include/xcb/xkb.h:2573
group_rtrn : access xcb_xkb_mod_def_t; -- /usr/include/xcb/xkb.h:2574
end record;
pragma Convention (C_Pass_By_Copy, u_compat_map);
type Xcb_Xkb_Get_Kbd_By_Name_Replies_T_Pad0_Array_1 is
array (0 .. 14) of aliased Libc.Stdint.uint8_t;
type u_indicator_maps is record
indicatormap_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2577
indicatorDeviceID : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2578
indicatormap_sequence : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2579
indicatormap_length : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2580
which : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2581
realIndicators : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2582
nIndicators : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2583
pad0 : aliased Xcb_Xkb_Get_Kbd_By_Name_Replies_T_Pad0_Array_1; -- /usr/include/xcb/xkb.h:2584
maps : access xcb_xkb_indicator_map_t; -- /usr/include/xcb/xkb.h:2585
end record;
pragma Convention (C_Pass_By_Copy, u_indicator_maps);
type Xcb_Xkb_Get_Kbd_By_Name_Replies_T_Pad0_Array_2 is
array (0 .. 3) of aliased Libc.Stdint.uint8_t;
type u_key_names is record
keyname_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2588
keyDeviceID : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2589
keyname_sequence : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2590
keyname_length : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2591
which : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2592
keyMinKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2593
keyMaxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2594
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2595
groupNames : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2596
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2597
firstKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2598
nKeys : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2599
indicators : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2600
nRadioGroups : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2601
nKeyAliases : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2602
nKTLevels : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2603
pad0 : aliased Xcb_Xkb_Get_Kbd_By_Name_Replies_T_Pad0_Array_2; -- /usr/include/xcb/xkb.h:2604
valueList : aliased xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t; -- /usr/include/xcb/xkb.h:2605
end record;
pragma Convention (C_Pass_By_Copy, u_key_names);
type u_geometry is record
geometry_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2608
geometryDeviceID : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2609
geometry_sequence : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2610
geometry_length : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2611
name : aliased XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2612
geometryFound : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2613
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2614
widthMM : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2615
heightMM : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2616
nProperties : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2617
nColors : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2618
nShapes : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2619
nSections : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2620
nDoodads : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2621
nKeyAliases : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2622
baseColorNdx : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2623
labelColorNdx : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2624
labelFont : access xcb_xkb_counted_string_16_t; -- /usr/include/xcb/xkb.h:2625
end record;
pragma Convention (C_Pass_By_Copy, u_geometry);
type xcb_xkb_get_kbd_by_name_replies_t is record
types : aliased u_types; -- /usr/include/xcb/xkb.h:2561
compat_map : aliased u_compat_map; -- /usr/include/xcb/xkb.h:2575
indicator_maps : aliased u_indicator_maps; -- /usr/include/xcb/xkb.h:2586
key_names : aliased u_key_names; -- /usr/include/xcb/xkb.h:2606
geometry : aliased u_geometry; -- /usr/include/xcb/xkb.h:2626
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_kbd_by_name_replies_t); -- /usr/include/xcb/xkb.h:2527
function xcb_xkb_get_kbd_by_name_replies_types_map
(R : access xcb_xkb_get_kbd_by_name_replies_t)
return access xcb_xkb_get_kbd_by_name_replies_types_map_t; -- /usr/include/xcb/xkb.h:2640
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map,
"xcb_xkb_get_kbd_by_name_replies_types_map");
type xcb_xkb_get_kbd_by_name_reply_t_pad0_array is
array (0 .. 15) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_kbd_by_name_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2646
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2647
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2648
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2649
minKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2650
maxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2651
loaded : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2652
newKeyboard : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2653
found : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2654
reported : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2655
pad0 : aliased xcb_xkb_get_kbd_by_name_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:2656
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_kbd_by_name_reply_t); -- /usr/include/xcb/xkb.h:2645
type xcb_xkb_get_device_info_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2663
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_device_info_cookie_t); -- /usr/include/xcb/xkb.h:2662
type xcb_xkb_get_device_info_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2673
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2674
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2675
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2676
wanted : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2677
allButtons : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2678
firstButton : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2679
nButtons : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2680
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2681
ledClass : aliased xcb_xkb_led_class_spec_t; -- /usr/include/xcb/xkb.h:2682
ledID : aliased xcb_xkb_id_spec_t; -- /usr/include/xcb/xkb.h:2683
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_device_info_request_t); -- /usr/include/xcb/xkb.h:2672
type xcb_xkb_get_device_info_reply_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_get_device_info_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2690
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2691
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2692
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2693
present : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2694
supported : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2695
unsupported : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2696
nDeviceLedFBs : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2697
firstBtnWanted : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2698
nBtnsWanted : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2699
firstBtnRtrn : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2700
nBtnsRtrn : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2701
totalBtns : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2702
hasOwnState : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2703
dfltKbdFB : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2704
dfltLedFB : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2705
pad0 : aliased xcb_xkb_get_device_info_reply_t_pad0_array; -- /usr/include/xcb/xkb.h:2706
devType : aliased XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2707
nameLen : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2708
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_get_device_info_reply_t); -- /usr/include/xcb/xkb.h:2689
type xcb_xkb_set_device_info_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2718
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2719
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2720
deviceSpec : aliased xcb_xkb_device_spec_t; -- /usr/include/xcb/xkb.h:2721
firstBtn : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2722
nBtns : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2723
change : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2724
nDeviceLedFBs : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2725
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_device_info_request_t); -- /usr/include/xcb/xkb.h:2717
type xcb_xkb_set_debugging_flags_cookie_t is record
sequence : aliased unsigned; -- /usr/include/xcb/xkb.h:2732
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_debugging_flags_cookie_t); -- /usr/include/xcb/xkb.h:2731
type xcb_xkb_set_debugging_flags_request_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_set_debugging_flags_request_t is record
major_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2742
minor_opcode : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2743
length : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2744
msgLength : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2745
pad0 : aliased xcb_xkb_set_debugging_flags_request_t_pad0_array; -- /usr/include/xcb/xkb.h:2746
affectFlags : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2747
flags : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2748
affectCtrls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2749
ctrls : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2750
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_debugging_flags_request_t); -- /usr/include/xcb/xkb.h:2741
type xcb_xkb_set_debugging_flags_reply_t_pad1_array is
array (0 .. 7) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_set_debugging_flags_reply_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2757
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2758
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2759
length : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2760
currentFlags : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2761
currentCtrls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2762
supportedFlags : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2763
supportedCtrls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2764
pad1 : aliased xcb_xkb_set_debugging_flags_reply_t_pad1_array; -- /usr/include/xcb/xkb.h:2765
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_set_debugging_flags_reply_t); -- /usr/include/xcb/xkb.h:2756
type xcb_xkb_new_keyboard_notify_event_t_pad0_array is
array (0 .. 13) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_new_keyboard_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2775
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2776
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2777
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2778
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2779
oldDeviceID : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2780
minKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2781
maxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2782
oldMinKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2783
oldMaxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2784
requestMajor : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2785
requestMinor : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2786
changed : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2787
pad0 : aliased xcb_xkb_new_keyboard_notify_event_t_pad0_array; -- /usr/include/xcb/xkb.h:2788
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_new_keyboard_notify_event_t); -- /usr/include/xcb/xkb.h:2774
type xcb_xkb_map_notify_event_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_map_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2798
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2799
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2800
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2801
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2802
ptrBtnActions : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2803
changed : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2804
minKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2805
maxKeyCode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2806
firstType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2807
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2808
firstKeySym : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2809
nKeySyms : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2810
firstKeyAct : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2811
nKeyActs : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2812
firstKeyBehavior : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2813
nKeyBehavior : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2814
firstKeyExplicit : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2815
nKeyExplicit : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2816
firstModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2817
nModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2818
firstVModMapKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2819
nVModMapKeys : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2820
virtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2821
pad0 : aliased xcb_xkb_map_notify_event_t_pad0_array; -- /usr/include/xcb/xkb.h:2822
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_map_notify_event_t); -- /usr/include/xcb/xkb.h:2797
type xcb_xkb_state_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2832
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2833
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2834
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2835
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2836
mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2837
baseMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2838
latchedMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2839
lockedMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2840
group : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2841
baseGroup : aliased Libc.Stdint.int16_t; -- /usr/include/xcb/xkb.h:2842
latchedGroup : aliased Libc.Stdint
.int16_t; -- /usr/include/xcb/xkb.h:2843
lockedGroup : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2844
compatState : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2845
grabMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2846
compatGrabMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2847
lookupMods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2848
compatLoockupMods : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2849
ptrBtnState : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2850
changed : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2851
keycode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2852
eventType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2853
requestMajor : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2854
requestMinor : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2855
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_state_notify_event_t); -- /usr/include/xcb/xkb.h:2831
type xcb_xkb_controls_notify_event_t_pad0_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_controls_notify_event_t_pad1_array is
array (0 .. 3) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_controls_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2865
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2866
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2867
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2868
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2869
numGroups : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2870
pad0 : aliased xcb_xkb_controls_notify_event_t_pad0_array; -- /usr/include/xcb/xkb.h:2871
changedControls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2872
enabledControls : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2873
enabledControlChanges : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2874
keycode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2875
eventType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2876
requestMajor : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2877
requestMinor : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2878
pad1 : aliased xcb_xkb_controls_notify_event_t_pad1_array; -- /usr/include/xcb/xkb.h:2879
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_controls_notify_event_t); -- /usr/include/xcb/xkb.h:2864
type xcb_xkb_indicator_state_notify_event_t_pad0_array is
array (0 .. 2) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_indicator_state_notify_event_t_pad1_array is
array (0 .. 11) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_indicator_state_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2889
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2890
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2891
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2892
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2893
pad0 : aliased xcb_xkb_indicator_state_notify_event_t_pad0_array; -- /usr/include/xcb/xkb.h:2894
state : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2895
stateChanged : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2896
pad1 : aliased xcb_xkb_indicator_state_notify_event_t_pad1_array; -- /usr/include/xcb/xkb.h:2897
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_indicator_state_notify_event_t); -- /usr/include/xcb/xkb.h:2888
type xcb_xkb_indicator_map_notify_event_t_pad0_array is
array (0 .. 2) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_indicator_map_notify_event_t_pad1_array is
array (0 .. 11) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_indicator_map_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2907
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2908
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2909
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2910
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2911
pad0 : aliased xcb_xkb_indicator_map_notify_event_t_pad0_array; -- /usr/include/xcb/xkb.h:2912
state : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:2913
mapChanged : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2914
pad1 : aliased xcb_xkb_indicator_map_notify_event_t_pad1_array; -- /usr/include/xcb/xkb.h:2915
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_indicator_map_notify_event_t); -- /usr/include/xcb/xkb.h:2906
type xcb_xkb_names_notify_event_t_pad2_array is
array (0 .. 3) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_names_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2925
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2926
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2927
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2928
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2929
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2930
changed : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2931
firstType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2932
nTypes : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2933
firstLevelName : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2934
nLevelNames : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2935
pad1 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2936
nRadioGroups : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2937
nKeyAliases : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2938
changedGroupNames : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2939
changedVirtualMods : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:2940
firstKey : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:2941
nKeys : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2942
changedIndicators : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:2943
pad2 : aliased xcb_xkb_names_notify_event_t_pad2_array; -- /usr/include/xcb/xkb.h:2944
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_names_notify_event_t); -- /usr/include/xcb/xkb.h:2924
type xcb_xkb_compat_map_notify_event_t_pad0_array is
array (0 .. 15) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_compat_map_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2954
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2955
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2956
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2957
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2958
changedGroups : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2959
firstSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2960
nSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2961
nTotalSI : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2962
pad0 : aliased xcb_xkb_compat_map_notify_event_t_pad0_array; -- /usr/include/xcb/xkb.h:2963
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_compat_map_notify_event_t); -- /usr/include/xcb/xkb.h:2953
type xcb_xkb_bell_notify_event_t_pad0_array is
array (0 .. 6) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_bell_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2973
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2974
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2975
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2976
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2977
bellClass : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2978
bellID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2979
percent : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2980
pitch : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2981
duration : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2982
name : aliased XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:2983
window : aliased XCB.XProto.xcb_window_t; -- /usr/include/xcb/xkb.h:2984
eventOnly : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2985
pad0 : aliased xcb_xkb_bell_notify_event_t_pad0_array; -- /usr/include/xcb/xkb.h:2986
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_bell_notify_event_t); -- /usr/include/xcb/xkb.h:2972
type xcb_xkb_action_message_event_t_message_array is
array (0 .. 7) of aliased xcb_xkb_string8_t;
type xcb_xkb_action_message_event_t_pad0_array is
array (0 .. 9) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_action_message_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:2996
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:2997
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:2998
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:2999
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3000
keycode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:3001
press : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3002
keyEventFollows : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:3003
mods : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3004
group : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3005
message : aliased xcb_xkb_action_message_event_t_message_array; -- /usr/include/xcb/xkb.h:3006
pad0 : aliased xcb_xkb_action_message_event_t_pad0_array; -- /usr/include/xcb/xkb.h:3007
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_action_message_event_t); -- /usr/include/xcb/xkb.h:2995
type xcb_xkb_access_x_notify_event_t_pad0_array is
array (0 .. 15) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_access_x_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:3017
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3018
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:3019
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:3020
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3021
keycode : aliased XCB.XProto
.xcb_keycode_t; -- /usr/include/xcb/xkb.h:3022
detailt : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:3023
slowKeysDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:3024
debounceDelay : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:3025
pad0 : aliased xcb_xkb_access_x_notify_event_t_pad0_array; -- /usr/include/xcb/xkb.h:3026
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_access_x_notify_event_t); -- /usr/include/xcb/xkb.h:3016
type xcb_xkb_extension_device_notify_event_t_pad1_array is
array (0 .. 1) of aliased Libc.Stdint.uint8_t;
type xcb_xkb_extension_device_notify_event_t is record
response_type : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:3036
xkbType : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3037
sequence : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:3038
time : aliased XCB.XProto
.xcb_timestamp_t; -- /usr/include/xcb/xkb.h:3039
deviceID : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3040
pad0 : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3041
reason : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:3042
ledClass : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:3043
ledID : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:3044
ledsDefined : aliased Libc.Stdint
.uint32_t; -- /usr/include/xcb/xkb.h:3045
ledState : aliased Libc.Stdint.uint32_t; -- /usr/include/xcb/xkb.h:3046
firstButton : aliased Libc.Stdint
.uint8_t; -- /usr/include/xcb/xkb.h:3047
nButtons : aliased Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:3048
supported : aliased Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:3049
unsupported : aliased Libc.Stdint
.uint16_t; -- /usr/include/xcb/xkb.h:3050
pad1 : aliased xcb_xkb_extension_device_notify_event_t_pad1_array; -- /usr/include/xcb/xkb.h:3051
end record;
pragma Convention
(C_Pass_By_Copy,
xcb_xkb_extension_device_notify_event_t); -- /usr/include/xcb/xkb.h:3035
procedure xcb_xkb_device_spec_next
(i : access xcb_xkb_device_spec_iterator_t); -- /usr/include/xcb/xkb.h:3073
pragma Import (C, xcb_xkb_device_spec_next, "xcb_xkb_device_spec_next");
function xcb_xkb_device_spec_end
(i : xcb_xkb_device_spec_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3095
pragma Import (C, xcb_xkb_device_spec_end, "xcb_xkb_device_spec_end");
procedure xcb_xkb_led_class_spec_next
(i : access xcb_xkb_led_class_spec_iterator_t); -- /usr/include/xcb/xkb.h:3116
pragma Import
(C,
xcb_xkb_led_class_spec_next,
"xcb_xkb_led_class_spec_next");
function xcb_xkb_led_class_spec_end
(i : xcb_xkb_led_class_spec_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3138
pragma Import (C, xcb_xkb_led_class_spec_end, "xcb_xkb_led_class_spec_end");
procedure xcb_xkb_bell_class_spec_next
(i : access xcb_xkb_bell_class_spec_iterator_t); -- /usr/include/xcb/xkb.h:3159
pragma Import
(C,
xcb_xkb_bell_class_spec_next,
"xcb_xkb_bell_class_spec_next");
function xcb_xkb_bell_class_spec_end
(i : xcb_xkb_bell_class_spec_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3181
pragma Import
(C,
xcb_xkb_bell_class_spec_end,
"xcb_xkb_bell_class_spec_end");
procedure xcb_xkb_id_spec_next
(i : access xcb_xkb_id_spec_iterator_t); -- /usr/include/xcb/xkb.h:3202
pragma Import (C, xcb_xkb_id_spec_next, "xcb_xkb_id_spec_next");
function xcb_xkb_id_spec_end
(i : xcb_xkb_id_spec_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3224
pragma Import (C, xcb_xkb_id_spec_end, "xcb_xkb_id_spec_end");
procedure xcb_xkb_indicator_map_next
(i : access xcb_xkb_indicator_map_iterator_t); -- /usr/include/xcb/xkb.h:3245
pragma Import (C, xcb_xkb_indicator_map_next, "xcb_xkb_indicator_map_next");
function xcb_xkb_indicator_map_end
(i : xcb_xkb_indicator_map_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3267
pragma Import (C, xcb_xkb_indicator_map_end, "xcb_xkb_indicator_map_end");
procedure xcb_xkb_mod_def_next
(i : access xcb_xkb_mod_def_iterator_t); -- /usr/include/xcb/xkb.h:3288
pragma Import (C, xcb_xkb_mod_def_next, "xcb_xkb_mod_def_next");
function xcb_xkb_mod_def_end
(i : xcb_xkb_mod_def_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3310
pragma Import (C, xcb_xkb_mod_def_end, "xcb_xkb_mod_def_end");
procedure xcb_xkb_key_name_next
(i : access xcb_xkb_key_name_iterator_t); -- /usr/include/xcb/xkb.h:3331
pragma Import (C, xcb_xkb_key_name_next, "xcb_xkb_key_name_next");
function xcb_xkb_key_name_end
(i : xcb_xkb_key_name_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3353
pragma Import (C, xcb_xkb_key_name_end, "xcb_xkb_key_name_end");
procedure xcb_xkb_key_alias_next
(i : access xcb_xkb_key_alias_iterator_t); -- /usr/include/xcb/xkb.h:3374
pragma Import (C, xcb_xkb_key_alias_next, "xcb_xkb_key_alias_next");
function xcb_xkb_key_alias_end
(i : xcb_xkb_key_alias_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3396
pragma Import (C, xcb_xkb_key_alias_end, "xcb_xkb_key_alias_end");
function xcb_xkb_counted_string_16_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:3399
pragma Import
(C,
xcb_xkb_counted_string_16_sizeof,
"xcb_xkb_counted_string_16_sizeof");
function xcb_xkb_counted_string_16_string
(R : access xcb_xkb_counted_string_16_t)
return Interfaces.C.Strings.chars_ptr; -- /usr/include/xcb/xkb.h:3412
pragma Import
(C,
xcb_xkb_counted_string_16_string,
"xcb_xkb_counted_string_16_string");
function xcb_xkb_counted_string_16_string_length
(R : access xcb_xkb_counted_string_16_t)
return int; -- /usr/include/xcb/xkb.h:3425
pragma Import
(C,
xcb_xkb_counted_string_16_string_length,
"xcb_xkb_counted_string_16_string_length");
function xcb_xkb_counted_string_16_string_end
(R : access xcb_xkb_counted_string_16_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3438
pragma Import
(C,
xcb_xkb_counted_string_16_string_end,
"xcb_xkb_counted_string_16_string_end");
function xcb_xkb_counted_string_16_alignment_pad
(R : access xcb_xkb_counted_string_16_t)
return System.Address; -- /usr/include/xcb/xkb.h:3451
pragma Import
(C,
xcb_xkb_counted_string_16_alignment_pad,
"xcb_xkb_counted_string_16_alignment_pad");
function xcb_xkb_counted_string_16_alignment_pad_length
(R : access xcb_xkb_counted_string_16_t)
return int; -- /usr/include/xcb/xkb.h:3464
pragma Import
(C,
xcb_xkb_counted_string_16_alignment_pad_length,
"xcb_xkb_counted_string_16_alignment_pad_length");
function xcb_xkb_counted_string_16_alignment_pad_end
(R : access xcb_xkb_counted_string_16_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3477
pragma Import
(C,
xcb_xkb_counted_string_16_alignment_pad_end,
"xcb_xkb_counted_string_16_alignment_pad_end");
procedure xcb_xkb_counted_string_16_next
(i : access xcb_xkb_counted_string_16_iterator_t); -- /usr/include/xcb/xkb.h:3498
pragma Import
(C,
xcb_xkb_counted_string_16_next,
"xcb_xkb_counted_string_16_next");
function xcb_xkb_counted_string_16_end
(i : xcb_xkb_counted_string_16_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3520
pragma Import
(C,
xcb_xkb_counted_string_16_end,
"xcb_xkb_counted_string_16_end");
procedure xcb_xkb_kt_map_entry_next
(i : access xcb_xkb_kt_map_entry_iterator_t); -- /usr/include/xcb/xkb.h:3541
pragma Import (C, xcb_xkb_kt_map_entry_next, "xcb_xkb_kt_map_entry_next");
function xcb_xkb_kt_map_entry_end
(i : xcb_xkb_kt_map_entry_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3563
pragma Import (C, xcb_xkb_kt_map_entry_end, "xcb_xkb_kt_map_entry_end");
function xcb_xkb_key_type_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:3566
pragma Import (C, xcb_xkb_key_type_sizeof, "xcb_xkb_key_type_sizeof");
function xcb_xkb_key_type_map
(R : access xcb_xkb_key_type_t)
return access xcb_xkb_kt_map_entry_t; -- /usr/include/xcb/xkb.h:3579
pragma Import (C, xcb_xkb_key_type_map, "xcb_xkb_key_type_map");
function xcb_xkb_key_type_map_length
(R : access xcb_xkb_key_type_t)
return int; -- /usr/include/xcb/xkb.h:3592
pragma Import
(C,
xcb_xkb_key_type_map_length,
"xcb_xkb_key_type_map_length");
function xcb_xkb_key_type_map_iterator
(R : access xcb_xkb_key_type_t)
return xcb_xkb_kt_map_entry_iterator_t; -- /usr/include/xcb/xkb.h:3605
pragma Import
(C,
xcb_xkb_key_type_map_iterator,
"xcb_xkb_key_type_map_iterator");
function xcb_xkb_key_type_preserve
(R : access xcb_xkb_key_type_t)
return access xcb_xkb_mod_def_t; -- /usr/include/xcb/xkb.h:3618
pragma Import (C, xcb_xkb_key_type_preserve, "xcb_xkb_key_type_preserve");
function xcb_xkb_key_type_preserve_length
(R : access xcb_xkb_key_type_t)
return int; -- /usr/include/xcb/xkb.h:3631
pragma Import
(C,
xcb_xkb_key_type_preserve_length,
"xcb_xkb_key_type_preserve_length");
function xcb_xkb_key_type_preserve_iterator
(R : access xcb_xkb_key_type_t)
return xcb_xkb_mod_def_iterator_t; -- /usr/include/xcb/xkb.h:3644
pragma Import
(C,
xcb_xkb_key_type_preserve_iterator,
"xcb_xkb_key_type_preserve_iterator");
procedure xcb_xkb_key_type_next
(i : access xcb_xkb_key_type_iterator_t); -- /usr/include/xcb/xkb.h:3665
pragma Import (C, xcb_xkb_key_type_next, "xcb_xkb_key_type_next");
function xcb_xkb_key_type_end
(i : xcb_xkb_key_type_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3687
pragma Import (C, xcb_xkb_key_type_end, "xcb_xkb_key_type_end");
function xcb_xkb_key_sym_map_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:3690
pragma Import (C, xcb_xkb_key_sym_map_sizeof, "xcb_xkb_key_sym_map_sizeof");
function xcb_xkb_key_sym_map_syms
(R : access xcb_xkb_key_sym_map_t)
return access XCB.XProto.xcb_keysym_t; -- /usr/include/xcb/xkb.h:3703
pragma Import (C, xcb_xkb_key_sym_map_syms, "xcb_xkb_key_sym_map_syms");
function xcb_xkb_key_sym_map_syms_length
(R : access xcb_xkb_key_sym_map_t)
return int; -- /usr/include/xcb/xkb.h:3716
pragma Import
(C,
xcb_xkb_key_sym_map_syms_length,
"xcb_xkb_key_sym_map_syms_length");
function xcb_xkb_key_sym_map_syms_end
(R : access xcb_xkb_key_sym_map_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3729
pragma Import
(C,
xcb_xkb_key_sym_map_syms_end,
"xcb_xkb_key_sym_map_syms_end");
procedure xcb_xkb_key_sym_map_next
(i : access xcb_xkb_key_sym_map_iterator_t); -- /usr/include/xcb/xkb.h:3750
pragma Import (C, xcb_xkb_key_sym_map_next, "xcb_xkb_key_sym_map_next");
function xcb_xkb_key_sym_map_end
(i : xcb_xkb_key_sym_map_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3772
pragma Import (C, xcb_xkb_key_sym_map_end, "xcb_xkb_key_sym_map_end");
procedure xcb_xkb_common_behavior_next
(i : access xcb_xkb_common_behavior_iterator_t); -- /usr/include/xcb/xkb.h:3793
pragma Import
(C,
xcb_xkb_common_behavior_next,
"xcb_xkb_common_behavior_next");
function xcb_xkb_common_behavior_end
(i : xcb_xkb_common_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3815
pragma Import
(C,
xcb_xkb_common_behavior_end,
"xcb_xkb_common_behavior_end");
procedure xcb_xkb_default_behavior_next
(i : access xcb_xkb_default_behavior_iterator_t); -- /usr/include/xcb/xkb.h:3836
pragma Import
(C,
xcb_xkb_default_behavior_next,
"xcb_xkb_default_behavior_next");
function xcb_xkb_default_behavior_end
(i : xcb_xkb_default_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3858
pragma Import
(C,
xcb_xkb_default_behavior_end,
"xcb_xkb_default_behavior_end");
procedure xcb_xkb_lock_behavior_next
(i : access xcb_xkb_lock_behavior_iterator_t); -- /usr/include/xcb/xkb.h:3879
pragma Import (C, xcb_xkb_lock_behavior_next, "xcb_xkb_lock_behavior_next");
function xcb_xkb_lock_behavior_end
(i : xcb_xkb_lock_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3901
pragma Import (C, xcb_xkb_lock_behavior_end, "xcb_xkb_lock_behavior_end");
procedure xcb_xkb_radio_group_behavior_next
(i : access xcb_xkb_radio_group_behavior_iterator_t); -- /usr/include/xcb/xkb.h:3922
pragma Import
(C,
xcb_xkb_radio_group_behavior_next,
"xcb_xkb_radio_group_behavior_next");
function xcb_xkb_radio_group_behavior_end
(i : xcb_xkb_radio_group_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3944
pragma Import
(C,
xcb_xkb_radio_group_behavior_end,
"xcb_xkb_radio_group_behavior_end");
procedure xcb_xkb_overlay_behavior_next
(i : access xcb_xkb_overlay_behavior_iterator_t); -- /usr/include/xcb/xkb.h:3965
pragma Import
(C,
xcb_xkb_overlay_behavior_next,
"xcb_xkb_overlay_behavior_next");
function xcb_xkb_overlay_behavior_end
(i : xcb_xkb_overlay_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:3987
pragma Import
(C,
xcb_xkb_overlay_behavior_end,
"xcb_xkb_overlay_behavior_end");
procedure xcb_xkb_permament_lock_behavior_next
(i : access xcb_xkb_permament_lock_behavior_iterator_t); -- /usr/include/xcb/xkb.h:4008
pragma Import
(C,
xcb_xkb_permament_lock_behavior_next,
"xcb_xkb_permament_lock_behavior_next");
function xcb_xkb_permament_lock_behavior_end
(i : xcb_xkb_permament_lock_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4030
pragma Import
(C,
xcb_xkb_permament_lock_behavior_end,
"xcb_xkb_permament_lock_behavior_end");
procedure xcb_xkb_permament_radio_group_behavior_next
(i : access xcb_xkb_permament_radio_group_behavior_iterator_t); -- /usr/include/xcb/xkb.h:4051
pragma Import
(C,
xcb_xkb_permament_radio_group_behavior_next,
"xcb_xkb_permament_radio_group_behavior_next");
function xcb_xkb_permament_radio_group_behavior_end
(i : xcb_xkb_permament_radio_group_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4073
pragma Import
(C,
xcb_xkb_permament_radio_group_behavior_end,
"xcb_xkb_permament_radio_group_behavior_end");
procedure xcb_xkb_permament_overlay_behavior_next
(i : access xcb_xkb_permament_overlay_behavior_iterator_t); -- /usr/include/xcb/xkb.h:4094
pragma Import
(C,
xcb_xkb_permament_overlay_behavior_next,
"xcb_xkb_permament_overlay_behavior_next");
function xcb_xkb_permament_overlay_behavior_end
(i : xcb_xkb_permament_overlay_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4116
pragma Import
(C,
xcb_xkb_permament_overlay_behavior_end,
"xcb_xkb_permament_overlay_behavior_end");
procedure xcb_xkb_behavior_next
(i : access xcb_xkb_behavior_iterator_t); -- /usr/include/xcb/xkb.h:4137
pragma Import (C, xcb_xkb_behavior_next, "xcb_xkb_behavior_next");
function xcb_xkb_behavior_end
(i : xcb_xkb_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4159
pragma Import (C, xcb_xkb_behavior_end, "xcb_xkb_behavior_end");
procedure xcb_xkb_set_behavior_next
(i : access xcb_xkb_set_behavior_iterator_t); -- /usr/include/xcb/xkb.h:4180
pragma Import (C, xcb_xkb_set_behavior_next, "xcb_xkb_set_behavior_next");
function xcb_xkb_set_behavior_end
(i : xcb_xkb_set_behavior_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4202
pragma Import (C, xcb_xkb_set_behavior_end, "xcb_xkb_set_behavior_end");
procedure xcb_xkb_set_explicit_next
(i : access xcb_xkb_set_explicit_iterator_t); -- /usr/include/xcb/xkb.h:4223
pragma Import (C, xcb_xkb_set_explicit_next, "xcb_xkb_set_explicit_next");
function xcb_xkb_set_explicit_end
(i : xcb_xkb_set_explicit_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4245
pragma Import (C, xcb_xkb_set_explicit_end, "xcb_xkb_set_explicit_end");
procedure xcb_xkb_key_mod_map_next
(i : access xcb_xkb_key_mod_map_iterator_t); -- /usr/include/xcb/xkb.h:4266
pragma Import (C, xcb_xkb_key_mod_map_next, "xcb_xkb_key_mod_map_next");
function xcb_xkb_key_mod_map_end
(i : xcb_xkb_key_mod_map_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4288
pragma Import (C, xcb_xkb_key_mod_map_end, "xcb_xkb_key_mod_map_end");
procedure xcb_xkb_key_v_mod_map_next
(i : access xcb_xkb_key_v_mod_map_iterator_t); -- /usr/include/xcb/xkb.h:4309
pragma Import (C, xcb_xkb_key_v_mod_map_next, "xcb_xkb_key_v_mod_map_next");
function xcb_xkb_key_v_mod_map_end
(i : xcb_xkb_key_v_mod_map_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4331
pragma Import (C, xcb_xkb_key_v_mod_map_end, "xcb_xkb_key_v_mod_map_end");
procedure xcb_xkb_kt_set_map_entry_next
(i : access xcb_xkb_kt_set_map_entry_iterator_t); -- /usr/include/xcb/xkb.h:4352
pragma Import
(C,
xcb_xkb_kt_set_map_entry_next,
"xcb_xkb_kt_set_map_entry_next");
function xcb_xkb_kt_set_map_entry_end
(i : xcb_xkb_kt_set_map_entry_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4374
pragma Import
(C,
xcb_xkb_kt_set_map_entry_end,
"xcb_xkb_kt_set_map_entry_end");
function xcb_xkb_set_key_type_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:4377
pragma Import
(C,
xcb_xkb_set_key_type_sizeof,
"xcb_xkb_set_key_type_sizeof");
function xcb_xkb_set_key_type_entries
(R : access xcb_xkb_set_key_type_t)
return access xcb_xkb_kt_set_map_entry_t; -- /usr/include/xcb/xkb.h:4390
pragma Import
(C,
xcb_xkb_set_key_type_entries,
"xcb_xkb_set_key_type_entries");
function xcb_xkb_set_key_type_entries_length
(R : access xcb_xkb_set_key_type_t)
return int; -- /usr/include/xcb/xkb.h:4403
pragma Import
(C,
xcb_xkb_set_key_type_entries_length,
"xcb_xkb_set_key_type_entries_length");
function xcb_xkb_set_key_type_entries_iterator
(R : access xcb_xkb_set_key_type_t)
return xcb_xkb_kt_set_map_entry_iterator_t; -- /usr/include/xcb/xkb.h:4416
pragma Import
(C,
xcb_xkb_set_key_type_entries_iterator,
"xcb_xkb_set_key_type_entries_iterator");
function xcb_xkb_set_key_type_preserve_entries
(R : access xcb_xkb_set_key_type_t)
return access xcb_xkb_kt_set_map_entry_t; -- /usr/include/xcb/xkb.h:4429
pragma Import
(C,
xcb_xkb_set_key_type_preserve_entries,
"xcb_xkb_set_key_type_preserve_entries");
function xcb_xkb_set_key_type_preserve_entries_length
(R : access xcb_xkb_set_key_type_t)
return int; -- /usr/include/xcb/xkb.h:4442
pragma Import
(C,
xcb_xkb_set_key_type_preserve_entries_length,
"xcb_xkb_set_key_type_preserve_entries_length");
function xcb_xkb_set_key_type_preserve_entries_iterator
(R : access xcb_xkb_set_key_type_t)
return xcb_xkb_kt_set_map_entry_iterator_t; -- /usr/include/xcb/xkb.h:4455
pragma Import
(C,
xcb_xkb_set_key_type_preserve_entries_iterator,
"xcb_xkb_set_key_type_preserve_entries_iterator");
procedure xcb_xkb_set_key_type_next
(i : access xcb_xkb_set_key_type_iterator_t); -- /usr/include/xcb/xkb.h:4476
pragma Import (C, xcb_xkb_set_key_type_next, "xcb_xkb_set_key_type_next");
function xcb_xkb_set_key_type_end
(i : xcb_xkb_set_key_type_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4498
pragma Import (C, xcb_xkb_set_key_type_end, "xcb_xkb_set_key_type_end");
procedure xcb_xkb_string8_next
(i : access xcb_xkb_string8_iterator_t); -- /usr/include/xcb/xkb.h:4519
pragma Import (C, xcb_xkb_string8_next, "xcb_xkb_string8_next");
function xcb_xkb_string8_end
(i : xcb_xkb_string8_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4541
pragma Import (C, xcb_xkb_string8_end, "xcb_xkb_string8_end");
function xcb_xkb_outline_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:4544
pragma Import (C, xcb_xkb_outline_sizeof, "xcb_xkb_outline_sizeof");
function xcb_xkb_outline_points
(R : access xcb_xkb_outline_t)
return access XCB.XProto.xcb_point_t; -- /usr/include/xcb/xkb.h:4557
pragma Import (C, xcb_xkb_outline_points, "xcb_xkb_outline_points");
function xcb_xkb_outline_points_length
(R : access xcb_xkb_outline_t) return int; -- /usr/include/xcb/xkb.h:4570
pragma Import
(C,
xcb_xkb_outline_points_length,
"xcb_xkb_outline_points_length");
function xcb_xkb_outline_points_iterator
(R : access xcb_xkb_outline_t)
return XCB.XProto.xcb_point_iterator_t; -- /usr/include/xcb/xkb.h:4583
pragma Import
(C,
xcb_xkb_outline_points_iterator,
"xcb_xkb_outline_points_iterator");
procedure xcb_xkb_outline_next
(i : access xcb_xkb_outline_iterator_t); -- /usr/include/xcb/xkb.h:4604
pragma Import (C, xcb_xkb_outline_next, "xcb_xkb_outline_next");
function xcb_xkb_outline_end
(i : xcb_xkb_outline_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4626
pragma Import (C, xcb_xkb_outline_end, "xcb_xkb_outline_end");
function xcb_xkb_shape_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:4629
pragma Import (C, xcb_xkb_shape_sizeof, "xcb_xkb_shape_sizeof");
function xcb_xkb_shape_outlines_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:4642
pragma Import
(C,
xcb_xkb_shape_outlines_length,
"xcb_xkb_shape_outlines_length");
function xcb_xkb_shape_outlines_iterator
(R : System.Address)
return xcb_xkb_outline_iterator_t; -- /usr/include/xcb/xkb.h:4655
pragma Import
(C,
xcb_xkb_shape_outlines_iterator,
"xcb_xkb_shape_outlines_iterator");
procedure xcb_xkb_shape_next
(i : access xcb_xkb_shape_iterator_t); -- /usr/include/xcb/xkb.h:4676
pragma Import (C, xcb_xkb_shape_next, "xcb_xkb_shape_next");
function xcb_xkb_shape_end
(i : xcb_xkb_shape_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4698
pragma Import (C, xcb_xkb_shape_end, "xcb_xkb_shape_end");
procedure xcb_xkb_key_next
(i : access xcb_xkb_key_iterator_t); -- /usr/include/xcb/xkb.h:4719
pragma Import (C, xcb_xkb_key_next, "xcb_xkb_key_next");
function xcb_xkb_key_end
(i : xcb_xkb_key_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4741
pragma Import (C, xcb_xkb_key_end, "xcb_xkb_key_end");
procedure xcb_xkb_overlay_key_next
(i : access xcb_xkb_overlay_key_iterator_t); -- /usr/include/xcb/xkb.h:4762
pragma Import (C, xcb_xkb_overlay_key_next, "xcb_xkb_overlay_key_next");
function xcb_xkb_overlay_key_end
(i : xcb_xkb_overlay_key_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4784
pragma Import (C, xcb_xkb_overlay_key_end, "xcb_xkb_overlay_key_end");
function xcb_xkb_overlay_row_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:4787
pragma Import (C, xcb_xkb_overlay_row_sizeof, "xcb_xkb_overlay_row_sizeof");
function xcb_xkb_overlay_row_keys
(R : System.Address)
return access xcb_xkb_overlay_key_t; -- /usr/include/xcb/xkb.h:4800
pragma Import (C, xcb_xkb_overlay_row_keys, "xcb_xkb_overlay_row_keys");
function xcb_xkb_overlay_row_keys_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:4813
pragma Import
(C,
xcb_xkb_overlay_row_keys_length,
"xcb_xkb_overlay_row_keys_length");
function xcb_xkb_overlay_row_keys_iterator
(R : System.Address)
return xcb_xkb_overlay_key_iterator_t; -- /usr/include/xcb/xkb.h:4826
pragma Import
(C,
xcb_xkb_overlay_row_keys_iterator,
"xcb_xkb_overlay_row_keys_iterator");
procedure xcb_xkb_overlay_row_next
(i : access xcb_xkb_overlay_row_iterator_t); -- /usr/include/xcb/xkb.h:4847
pragma Import (C, xcb_xkb_overlay_row_next, "xcb_xkb_overlay_row_next");
function xcb_xkb_overlay_row_end
(i : xcb_xkb_overlay_row_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4869
pragma Import (C, xcb_xkb_overlay_row_end, "xcb_xkb_overlay_row_end");
function xcb_xkb_overlay_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:4872
pragma Import (C, xcb_xkb_overlay_sizeof, "xcb_xkb_overlay_sizeof");
function xcb_xkb_overlay_rows_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:4885
pragma Import
(C,
xcb_xkb_overlay_rows_length,
"xcb_xkb_overlay_rows_length");
function xcb_xkb_overlay_rows_iterator
(R : System.Address)
return xcb_xkb_overlay_row_iterator_t; -- /usr/include/xcb/xkb.h:4898
pragma Import
(C,
xcb_xkb_overlay_rows_iterator,
"xcb_xkb_overlay_rows_iterator");
procedure xcb_xkb_overlay_next
(i : access xcb_xkb_overlay_iterator_t); -- /usr/include/xcb/xkb.h:4919
pragma Import (C, xcb_xkb_overlay_next, "xcb_xkb_overlay_next");
function xcb_xkb_overlay_end
(i : xcb_xkb_overlay_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:4941
pragma Import (C, xcb_xkb_overlay_end, "xcb_xkb_overlay_end");
function xcb_xkb_row_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:4944
pragma Import (C, xcb_xkb_row_sizeof, "xcb_xkb_row_sizeof");
function xcb_xkb_row_keys
(R : System.Address)
return access xcb_xkb_key_t; -- /usr/include/xcb/xkb.h:4957
pragma Import (C, xcb_xkb_row_keys, "xcb_xkb_row_keys");
function xcb_xkb_row_keys_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:4970
pragma Import (C, xcb_xkb_row_keys_length, "xcb_xkb_row_keys_length");
function xcb_xkb_row_keys_iterator
(R : System.Address)
return xcb_xkb_key_iterator_t; -- /usr/include/xcb/xkb.h:4983
pragma Import (C, xcb_xkb_row_keys_iterator, "xcb_xkb_row_keys_iterator");
procedure xcb_xkb_row_next
(i : access xcb_xkb_row_iterator_t); -- /usr/include/xcb/xkb.h:5004
pragma Import (C, xcb_xkb_row_next, "xcb_xkb_row_next");
function xcb_xkb_row_end
(i : xcb_xkb_row_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5026
pragma Import (C, xcb_xkb_row_end, "xcb_xkb_row_end");
function xcb_xkb_listing_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:5029
pragma Import (C, xcb_xkb_listing_sizeof, "xcb_xkb_listing_sizeof");
function xcb_xkb_listing_string
(R : System.Address)
return access xcb_xkb_string8_t; -- /usr/include/xcb/xkb.h:5042
pragma Import (C, xcb_xkb_listing_string, "xcb_xkb_listing_string");
function xcb_xkb_listing_string_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:5055
pragma Import
(C,
xcb_xkb_listing_string_length,
"xcb_xkb_listing_string_length");
function xcb_xkb_listing_string_end
(R : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5068
pragma Import (C, xcb_xkb_listing_string_end, "xcb_xkb_listing_string_end");
procedure xcb_xkb_listing_next
(i : access xcb_xkb_listing_iterator_t); -- /usr/include/xcb/xkb.h:5089
pragma Import (C, xcb_xkb_listing_next, "xcb_xkb_listing_next");
function xcb_xkb_listing_end
(i : xcb_xkb_listing_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5111
pragma Import (C, xcb_xkb_listing_end, "xcb_xkb_listing_end");
function xcb_xkb_device_led_info_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:5114
pragma Import
(C,
xcb_xkb_device_led_info_sizeof,
"xcb_xkb_device_led_info_sizeof");
function xcb_xkb_device_led_info_names
(R : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:5127
pragma Import
(C,
xcb_xkb_device_led_info_names,
"xcb_xkb_device_led_info_names");
function xcb_xkb_device_led_info_names_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:5140
pragma Import
(C,
xcb_xkb_device_led_info_names_length,
"xcb_xkb_device_led_info_names_length");
function xcb_xkb_device_led_info_names_end
(R : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5153
pragma Import
(C,
xcb_xkb_device_led_info_names_end,
"xcb_xkb_device_led_info_names_end");
function xcb_xkb_device_led_info_maps
(R : System.Address)
return access xcb_xkb_indicator_map_t; -- /usr/include/xcb/xkb.h:5166
pragma Import
(C,
xcb_xkb_device_led_info_maps,
"xcb_xkb_device_led_info_maps");
function xcb_xkb_device_led_info_maps_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:5179
pragma Import
(C,
xcb_xkb_device_led_info_maps_length,
"xcb_xkb_device_led_info_maps_length");
function xcb_xkb_device_led_info_maps_iterator
(R : System.Address)
return xcb_xkb_indicator_map_iterator_t; -- /usr/include/xcb/xkb.h:5192
pragma Import
(C,
xcb_xkb_device_led_info_maps_iterator,
"xcb_xkb_device_led_info_maps_iterator");
procedure xcb_xkb_device_led_info_next
(i : access xcb_xkb_device_led_info_iterator_t); -- /usr/include/xcb/xkb.h:5213
pragma Import
(C,
xcb_xkb_device_led_info_next,
"xcb_xkb_device_led_info_next");
function xcb_xkb_device_led_info_end
(i : xcb_xkb_device_led_info_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5235
pragma Import
(C,
xcb_xkb_device_led_info_end,
"xcb_xkb_device_led_info_end");
procedure xcb_xkb_sa_no_action_next
(i : access xcb_xkb_sa_no_action_iterator_t); -- /usr/include/xcb/xkb.h:5256
pragma Import (C, xcb_xkb_sa_no_action_next, "xcb_xkb_sa_no_action_next");
function xcb_xkb_sa_no_action_end
(i : xcb_xkb_sa_no_action_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5278
pragma Import (C, xcb_xkb_sa_no_action_end, "xcb_xkb_sa_no_action_end");
procedure xcb_xkb_sa_set_mods_next
(i : access xcb_xkb_sa_set_mods_iterator_t); -- /usr/include/xcb/xkb.h:5299
pragma Import (C, xcb_xkb_sa_set_mods_next, "xcb_xkb_sa_set_mods_next");
function xcb_xkb_sa_set_mods_end
(i : xcb_xkb_sa_set_mods_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5321
pragma Import (C, xcb_xkb_sa_set_mods_end, "xcb_xkb_sa_set_mods_end");
procedure xcb_xkb_sa_latch_mods_next
(i : access xcb_xkb_sa_latch_mods_iterator_t); -- /usr/include/xcb/xkb.h:5342
pragma Import (C, xcb_xkb_sa_latch_mods_next, "xcb_xkb_sa_latch_mods_next");
function xcb_xkb_sa_latch_mods_end
(i : xcb_xkb_sa_latch_mods_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5364
pragma Import (C, xcb_xkb_sa_latch_mods_end, "xcb_xkb_sa_latch_mods_end");
procedure xcb_xkb_sa_lock_mods_next
(i : access xcb_xkb_sa_lock_mods_iterator_t); -- /usr/include/xcb/xkb.h:5385
pragma Import (C, xcb_xkb_sa_lock_mods_next, "xcb_xkb_sa_lock_mods_next");
function xcb_xkb_sa_lock_mods_end
(i : xcb_xkb_sa_lock_mods_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5407
pragma Import (C, xcb_xkb_sa_lock_mods_end, "xcb_xkb_sa_lock_mods_end");
procedure xcb_xkb_sa_set_group_next
(i : access xcb_xkb_sa_set_group_iterator_t); -- /usr/include/xcb/xkb.h:5428
pragma Import (C, xcb_xkb_sa_set_group_next, "xcb_xkb_sa_set_group_next");
function xcb_xkb_sa_set_group_end
(i : xcb_xkb_sa_set_group_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5450
pragma Import (C, xcb_xkb_sa_set_group_end, "xcb_xkb_sa_set_group_end");
procedure xcb_xkb_sa_latch_group_next
(i : access xcb_xkb_sa_latch_group_iterator_t); -- /usr/include/xcb/xkb.h:5471
pragma Import
(C,
xcb_xkb_sa_latch_group_next,
"xcb_xkb_sa_latch_group_next");
function xcb_xkb_sa_latch_group_end
(i : xcb_xkb_sa_latch_group_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5493
pragma Import (C, xcb_xkb_sa_latch_group_end, "xcb_xkb_sa_latch_group_end");
procedure xcb_xkb_sa_lock_group_next
(i : access xcb_xkb_sa_lock_group_iterator_t); -- /usr/include/xcb/xkb.h:5514
pragma Import (C, xcb_xkb_sa_lock_group_next, "xcb_xkb_sa_lock_group_next");
function xcb_xkb_sa_lock_group_end
(i : xcb_xkb_sa_lock_group_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5536
pragma Import (C, xcb_xkb_sa_lock_group_end, "xcb_xkb_sa_lock_group_end");
procedure xcb_xkb_sa_move_ptr_next
(i : access xcb_xkb_sa_move_ptr_iterator_t); -- /usr/include/xcb/xkb.h:5557
pragma Import (C, xcb_xkb_sa_move_ptr_next, "xcb_xkb_sa_move_ptr_next");
function xcb_xkb_sa_move_ptr_end
(i : xcb_xkb_sa_move_ptr_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5579
pragma Import (C, xcb_xkb_sa_move_ptr_end, "xcb_xkb_sa_move_ptr_end");
procedure xcb_xkb_sa_ptr_btn_next
(i : access xcb_xkb_sa_ptr_btn_iterator_t); -- /usr/include/xcb/xkb.h:5600
pragma Import (C, xcb_xkb_sa_ptr_btn_next, "xcb_xkb_sa_ptr_btn_next");
function xcb_xkb_sa_ptr_btn_end
(i : xcb_xkb_sa_ptr_btn_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5622
pragma Import (C, xcb_xkb_sa_ptr_btn_end, "xcb_xkb_sa_ptr_btn_end");
procedure xcb_xkb_sa_lock_ptr_btn_next
(i : access xcb_xkb_sa_lock_ptr_btn_iterator_t); -- /usr/include/xcb/xkb.h:5643
pragma Import
(C,
xcb_xkb_sa_lock_ptr_btn_next,
"xcb_xkb_sa_lock_ptr_btn_next");
function xcb_xkb_sa_lock_ptr_btn_end
(i : xcb_xkb_sa_lock_ptr_btn_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5665
pragma Import
(C,
xcb_xkb_sa_lock_ptr_btn_end,
"xcb_xkb_sa_lock_ptr_btn_end");
procedure xcb_xkb_sa_set_ptr_dflt_next
(i : access xcb_xkb_sa_set_ptr_dflt_iterator_t); -- /usr/include/xcb/xkb.h:5686
pragma Import
(C,
xcb_xkb_sa_set_ptr_dflt_next,
"xcb_xkb_sa_set_ptr_dflt_next");
function xcb_xkb_sa_set_ptr_dflt_end
(i : xcb_xkb_sa_set_ptr_dflt_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5708
pragma Import
(C,
xcb_xkb_sa_set_ptr_dflt_end,
"xcb_xkb_sa_set_ptr_dflt_end");
procedure xcb_xkb_sa_iso_lock_next
(i : access xcb_xkb_sa_iso_lock_iterator_t); -- /usr/include/xcb/xkb.h:5729
pragma Import (C, xcb_xkb_sa_iso_lock_next, "xcb_xkb_sa_iso_lock_next");
function xcb_xkb_sa_iso_lock_end
(i : xcb_xkb_sa_iso_lock_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5751
pragma Import (C, xcb_xkb_sa_iso_lock_end, "xcb_xkb_sa_iso_lock_end");
procedure xcb_xkb_sa_terminate_next
(i : access xcb_xkb_sa_terminate_iterator_t); -- /usr/include/xcb/xkb.h:5772
pragma Import (C, xcb_xkb_sa_terminate_next, "xcb_xkb_sa_terminate_next");
function xcb_xkb_sa_terminate_end
(i : xcb_xkb_sa_terminate_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5794
pragma Import (C, xcb_xkb_sa_terminate_end, "xcb_xkb_sa_terminate_end");
procedure xcb_xkb_sa_switch_screen_next
(i : access xcb_xkb_sa_switch_screen_iterator_t); -- /usr/include/xcb/xkb.h:5815
pragma Import
(C,
xcb_xkb_sa_switch_screen_next,
"xcb_xkb_sa_switch_screen_next");
function xcb_xkb_sa_switch_screen_end
(i : xcb_xkb_sa_switch_screen_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5837
pragma Import
(C,
xcb_xkb_sa_switch_screen_end,
"xcb_xkb_sa_switch_screen_end");
procedure xcb_xkb_sa_set_controls_next
(i : access xcb_xkb_sa_set_controls_iterator_t); -- /usr/include/xcb/xkb.h:5858
pragma Import
(C,
xcb_xkb_sa_set_controls_next,
"xcb_xkb_sa_set_controls_next");
function xcb_xkb_sa_set_controls_end
(i : xcb_xkb_sa_set_controls_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5880
pragma Import
(C,
xcb_xkb_sa_set_controls_end,
"xcb_xkb_sa_set_controls_end");
procedure xcb_xkb_sa_lock_controls_next
(i : access xcb_xkb_sa_lock_controls_iterator_t); -- /usr/include/xcb/xkb.h:5901
pragma Import
(C,
xcb_xkb_sa_lock_controls_next,
"xcb_xkb_sa_lock_controls_next");
function xcb_xkb_sa_lock_controls_end
(i : xcb_xkb_sa_lock_controls_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5923
pragma Import
(C,
xcb_xkb_sa_lock_controls_end,
"xcb_xkb_sa_lock_controls_end");
procedure xcb_xkb_sa_action_message_next
(i : access xcb_xkb_sa_action_message_iterator_t); -- /usr/include/xcb/xkb.h:5944
pragma Import
(C,
xcb_xkb_sa_action_message_next,
"xcb_xkb_sa_action_message_next");
function xcb_xkb_sa_action_message_end
(i : xcb_xkb_sa_action_message_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:5966
pragma Import
(C,
xcb_xkb_sa_action_message_end,
"xcb_xkb_sa_action_message_end");
procedure xcb_xkb_sa_redirect_key_next
(i : access xcb_xkb_sa_redirect_key_iterator_t); -- /usr/include/xcb/xkb.h:5987
pragma Import
(C,
xcb_xkb_sa_redirect_key_next,
"xcb_xkb_sa_redirect_key_next");
function xcb_xkb_sa_redirect_key_end
(i : xcb_xkb_sa_redirect_key_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:6009
pragma Import
(C,
xcb_xkb_sa_redirect_key_end,
"xcb_xkb_sa_redirect_key_end");
procedure xcb_xkb_sa_device_btn_next
(i : access xcb_xkb_sa_device_btn_iterator_t); -- /usr/include/xcb/xkb.h:6030
pragma Import (C, xcb_xkb_sa_device_btn_next, "xcb_xkb_sa_device_btn_next");
function xcb_xkb_sa_device_btn_end
(i : xcb_xkb_sa_device_btn_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:6052
pragma Import (C, xcb_xkb_sa_device_btn_end, "xcb_xkb_sa_device_btn_end");
procedure xcb_xkb_sa_lock_device_btn_next
(i : access xcb_xkb_sa_lock_device_btn_iterator_t); -- /usr/include/xcb/xkb.h:6073
pragma Import
(C,
xcb_xkb_sa_lock_device_btn_next,
"xcb_xkb_sa_lock_device_btn_next");
function xcb_xkb_sa_lock_device_btn_end
(i : xcb_xkb_sa_lock_device_btn_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:6095
pragma Import
(C,
xcb_xkb_sa_lock_device_btn_end,
"xcb_xkb_sa_lock_device_btn_end");
procedure xcb_xkb_sa_device_valuator_next
(i : access xcb_xkb_sa_device_valuator_iterator_t); -- /usr/include/xcb/xkb.h:6116
pragma Import
(C,
xcb_xkb_sa_device_valuator_next,
"xcb_xkb_sa_device_valuator_next");
function xcb_xkb_sa_device_valuator_end
(i : xcb_xkb_sa_device_valuator_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:6138
pragma Import
(C,
xcb_xkb_sa_device_valuator_end,
"xcb_xkb_sa_device_valuator_end");
procedure xcb_xkb_si_action_next
(i : access xcb_xkb_si_action_iterator_t); -- /usr/include/xcb/xkb.h:6159
pragma Import (C, xcb_xkb_si_action_next, "xcb_xkb_si_action_next");
function xcb_xkb_si_action_end
(i : xcb_xkb_si_action_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:6181
pragma Import (C, xcb_xkb_si_action_end, "xcb_xkb_si_action_end");
procedure xcb_xkb_sym_interpret_next
(i : access xcb_xkb_sym_interpret_iterator_t); -- /usr/include/xcb/xkb.h:6202
pragma Import (C, xcb_xkb_sym_interpret_next, "xcb_xkb_sym_interpret_next");
function xcb_xkb_sym_interpret_end
(i : xcb_xkb_sym_interpret_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:6224
pragma Import (C, xcb_xkb_sym_interpret_end, "xcb_xkb_sym_interpret_end");
procedure xcb_xkb_action_next
(i : access xcb_xkb_action_iterator_t); -- /usr/include/xcb/xkb.h:6245
pragma Import (C, xcb_xkb_action_next, "xcb_xkb_action_next");
function xcb_xkb_action_end
(i : xcb_xkb_action_iterator_t)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:6267
pragma Import (C, xcb_xkb_action_end, "xcb_xkb_action_end");
function xcb_xkb_use_extension
(c : xcb_connection_t_access;
wantedMajor : Libc.Stdint.uint16_t;
wantedMinor : Libc.Stdint.uint16_t)
return xcb_xkb_use_extension_cookie_t; -- /usr/include/xcb/xkb.h:6290
pragma Import (C, xcb_xkb_use_extension, "xcb_xkb_use_extension");
function xcb_xkb_use_extension_unchecked
(c : xcb_connection_t_access;
wantedMajor : Libc.Stdint.uint16_t;
wantedMinor : Libc.Stdint.uint16_t)
return xcb_xkb_use_extension_cookie_t; -- /usr/include/xcb/xkb.h:6318
pragma Import
(C,
xcb_xkb_use_extension_unchecked,
"xcb_xkb_use_extension_unchecked");
function xcb_xkb_use_extension_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_use_extension_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_use_extension_reply_t; -- /usr/include/xcb/xkb.h:6349
pragma Import
(C,
xcb_xkb_use_extension_reply,
"xcb_xkb_use_extension_reply");
function xcb_xkb_select_events_details_serialize
(u_buffer : System.Address;
affectWhich : Libc.Stdint.uint16_t;
clear : Libc.Stdint.uint16_t;
selectAll : Libc.Stdint.uint16_t;
u_aux : System.Address) return int; -- /usr/include/xcb/xkb.h:6354
pragma Import
(C,
xcb_xkb_select_events_details_serialize,
"xcb_xkb_select_events_details_serialize");
function xcb_xkb_select_events_details_unpack
(u_buffer : System.Address;
affectWhich : Libc.Stdint.uint16_t;
clear : Libc.Stdint.uint16_t;
selectAll : Libc.Stdint.uint16_t;
u_aux : access xcb_xkb_select_events_details_t)
return int; -- /usr/include/xcb/xkb.h:6361
pragma Import
(C,
xcb_xkb_select_events_details_unpack,
"xcb_xkb_select_events_details_unpack");
function xcb_xkb_select_events_details_sizeof
(u_buffer : System.Address;
affectWhich : Libc.Stdint.uint16_t;
clear : Libc.Stdint.uint16_t;
selectAll : Libc.Stdint.uint16_t)
return int; -- /usr/include/xcb/xkb.h:6368
pragma Import
(C,
xcb_xkb_select_events_details_sizeof,
"xcb_xkb_select_events_details_sizeof");
function xcb_xkb_select_events_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
affectWhich : Libc.Stdint.uint16_t;
clear : Libc.Stdint.uint16_t;
selectAll : Libc.Stdint.uint16_t;
affectMap : Libc.Stdint.uint16_t;
map : Libc.Stdint.uint16_t;
details : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6402
pragma Import
(C,
xcb_xkb_select_events_checked,
"xcb_xkb_select_events_checked");
function xcb_xkb_select_events
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
affectWhich : Libc.Stdint.uint16_t;
clear : Libc.Stdint.uint16_t;
selectAll : Libc.Stdint.uint16_t;
affectMap : Libc.Stdint.uint16_t;
map : Libc.Stdint.uint16_t;
details : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6437
pragma Import (C, xcb_xkb_select_events, "xcb_xkb_select_events");
function xcb_xkb_select_events_aux_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
affectWhich : Libc.Stdint.uint16_t;
clear : Libc.Stdint.uint16_t;
selectAll : Libc.Stdint.uint16_t;
affectMap : Libc.Stdint.uint16_t;
map : Libc.Stdint.uint16_t;
details : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6475
pragma Import
(C,
xcb_xkb_select_events_aux_checked,
"xcb_xkb_select_events_aux_checked");
function xcb_xkb_select_events_aux
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
affectWhich : Libc.Stdint.uint16_t;
clear : Libc.Stdint.uint16_t;
selectAll : Libc.Stdint.uint16_t;
affectMap : Libc.Stdint.uint16_t;
map : Libc.Stdint.uint16_t;
details : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6510
pragma Import (C, xcb_xkb_select_events_aux, "xcb_xkb_select_events_aux");
function xcb_xkb_bell_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
bellClass : xcb_xkb_bell_class_spec_t;
bellID : xcb_xkb_id_spec_t;
percent : Libc.Stdint.int8_t;
forceSound : Libc.Stdint.uint8_t;
eventOnly : Libc.Stdint.uint8_t;
pitch : Libc.Stdint.int16_t;
duration : Libc.Stdint.int16_t;
name : XCB.XProto.xcb_atom_t;
window : XCB.XProto.xcb_window_t)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6551
pragma Import (C, xcb_xkb_bell_checked, "xcb_xkb_bell_checked");
function xcb_xkb_bell
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
bellClass : xcb_xkb_bell_class_spec_t;
bellID : xcb_xkb_id_spec_t;
percent : Libc.Stdint.int8_t;
forceSound : Libc.Stdint.uint8_t;
eventOnly : Libc.Stdint.uint8_t;
pitch : Libc.Stdint.int16_t;
duration : Libc.Stdint.int16_t;
name : XCB.XProto.xcb_atom_t;
window : XCB.XProto.xcb_window_t)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6592
pragma Import (C, xcb_xkb_bell, "xcb_xkb_bell");
function xcb_xkb_get_state
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t)
return xcb_xkb_get_state_cookie_t; -- /usr/include/xcb/xkb.h:6624
pragma Import (C, xcb_xkb_get_state, "xcb_xkb_get_state");
function xcb_xkb_get_state_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t)
return xcb_xkb_get_state_cookie_t; -- /usr/include/xcb/xkb.h:6650
pragma Import
(C,
xcb_xkb_get_state_unchecked,
"xcb_xkb_get_state_unchecked");
function xcb_xkb_get_state_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_state_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_state_reply_t; -- /usr/include/xcb/xkb.h:6680
pragma Import (C, xcb_xkb_get_state_reply, "xcb_xkb_get_state_reply");
function xcb_xkb_latch_lock_state_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
affectModLocks : Libc.Stdint.uint8_t;
modLocks : Libc.Stdint.uint8_t;
lockGroup : Libc.Stdint.uint8_t;
groupLock : Libc.Stdint.uint8_t;
affectModLatches : Libc.Stdint.uint8_t;
latchGroup : Libc.Stdint.uint8_t;
groupLatch : Libc.Stdint.uint16_t)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6714
pragma Import
(C,
xcb_xkb_latch_lock_state_checked,
"xcb_xkb_latch_lock_state_checked");
function xcb_xkb_latch_lock_state
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
affectModLocks : Libc.Stdint.uint8_t;
modLocks : Libc.Stdint.uint8_t;
lockGroup : Libc.Stdint.uint8_t;
groupLock : Libc.Stdint.uint8_t;
affectModLatches : Libc.Stdint.uint8_t;
latchGroup : Libc.Stdint.uint8_t;
groupLatch : Libc.Stdint.uint16_t)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6751
pragma Import (C, xcb_xkb_latch_lock_state, "xcb_xkb_latch_lock_state");
function xcb_xkb_get_controls
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t)
return xcb_xkb_get_controls_cookie_t; -- /usr/include/xcb/xkb.h:6781
pragma Import (C, xcb_xkb_get_controls, "xcb_xkb_get_controls");
function xcb_xkb_get_controls_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t)
return xcb_xkb_get_controls_cookie_t; -- /usr/include/xcb/xkb.h:6807
pragma Import
(C,
xcb_xkb_get_controls_unchecked,
"xcb_xkb_get_controls_unchecked");
function xcb_xkb_get_controls_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_controls_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_controls_reply_t; -- /usr/include/xcb/xkb.h:6837
pragma Import (C, xcb_xkb_get_controls_reply, "xcb_xkb_get_controls_reply");
function xcb_xkb_set_controls_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
affectInternalRealMods : Libc.Stdint.uint8_t;
internalRealMods : Libc.Stdint.uint8_t;
affectIgnoreLockRealMods : Libc.Stdint.uint8_t;
ignoreLockRealMods : Libc.Stdint.uint8_t;
affectInternalVirtualMods : Libc.Stdint.uint16_t;
internalVirtualMods : Libc.Stdint.uint16_t;
affectIgnoreLockVirtualMods : Libc.Stdint.uint16_t;
ignoreLockVirtualMods : Libc.Stdint.uint16_t;
mouseKeysDfltBtn : Libc.Stdint.uint8_t;
groupsWrap : Libc.Stdint.uint8_t;
accessXOptions : Libc.Stdint.uint16_t;
affectEnabledControls : Libc.Stdint.uint32_t;
enabledControls : Libc.Stdint.uint32_t;
changeControls : Libc.Stdint.uint32_t;
repeatDelay : Libc.Stdint.uint16_t;
repeatInterval : Libc.Stdint.uint16_t;
slowKeysDelay : Libc.Stdint.uint16_t;
debounceDelay : Libc.Stdint.uint16_t;
mouseKeysDelay : Libc.Stdint.uint16_t;
mouseKeysInterval : Libc.Stdint.uint16_t;
mouseKeysTimeToMax : Libc.Stdint.uint16_t;
mouseKeysMaxSpeed : Libc.Stdint.uint16_t;
mouseKeysCurve : Libc.Stdint.int16_t;
accessXTimeout : Libc.Stdint.uint16_t;
accessXTimeoutMask : Libc.Stdint.uint32_t;
accessXTimeoutValues : Libc.Stdint.uint32_t;
accessXTimeoutOptionsMask : Libc.Stdint.uint16_t;
accessXTimeoutOptionsValues : Libc.Stdint.uint16_t;
perKeyRepeat : access Libc.Stdint.uint8_t)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6893
pragma Import
(C,
xcb_xkb_set_controls_checked,
"xcb_xkb_set_controls_checked");
function xcb_xkb_set_controls
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
affectInternalRealMods : Libc.Stdint.uint8_t;
internalRealMods : Libc.Stdint.uint8_t;
affectIgnoreLockRealMods : Libc.Stdint.uint8_t;
ignoreLockRealMods : Libc.Stdint.uint8_t;
affectInternalVirtualMods : Libc.Stdint.uint16_t;
internalVirtualMods : Libc.Stdint.uint16_t;
affectIgnoreLockVirtualMods : Libc.Stdint.uint16_t;
ignoreLockVirtualMods : Libc.Stdint.uint16_t;
mouseKeysDfltBtn : Libc.Stdint.uint8_t;
groupsWrap : Libc.Stdint.uint8_t;
accessXOptions : Libc.Stdint.uint16_t;
affectEnabledControls : Libc.Stdint.uint32_t;
enabledControls : Libc.Stdint.uint32_t;
changeControls : Libc.Stdint.uint32_t;
repeatDelay : Libc.Stdint.uint16_t;
repeatInterval : Libc.Stdint.uint16_t;
slowKeysDelay : Libc.Stdint.uint16_t;
debounceDelay : Libc.Stdint.uint16_t;
mouseKeysDelay : Libc.Stdint.uint16_t;
mouseKeysInterval : Libc.Stdint.uint16_t;
mouseKeysTimeToMax : Libc.Stdint.uint16_t;
mouseKeysMaxSpeed : Libc.Stdint.uint16_t;
mouseKeysCurve : Libc.Stdint.int16_t;
accessXTimeout : Libc.Stdint.uint16_t;
accessXTimeoutMask : Libc.Stdint.uint32_t;
accessXTimeoutValues : Libc.Stdint.uint32_t;
accessXTimeoutOptionsMask : Libc.Stdint.uint16_t;
accessXTimeoutOptionsValues : Libc.Stdint.uint16_t;
perKeyRepeat : access Libc.Stdint.uint8_t)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:6974
pragma Import (C, xcb_xkb_set_controls, "xcb_xkb_set_controls");
function xcb_xkb_get_map_map_types_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7017
pragma Import
(C,
xcb_xkb_get_map_map_types_rtrn_length,
"xcb_xkb_get_map_map_types_rtrn_length");
function xcb_xkb_get_map_map_types_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_type_iterator_t; -- /usr/include/xcb/xkb.h:7031
pragma Import
(C,
xcb_xkb_get_map_map_types_rtrn_iterator,
"xcb_xkb_get_map_map_types_rtrn_iterator");
function xcb_xkb_get_map_map_syms_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7045
pragma Import
(C,
xcb_xkb_get_map_map_syms_rtrn_length,
"xcb_xkb_get_map_map_syms_rtrn_length");
function xcb_xkb_get_map_map_syms_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_sym_map_iterator_t; -- /usr/include/xcb/xkb.h:7059
pragma Import
(C,
xcb_xkb_get_map_map_syms_rtrn_iterator,
"xcb_xkb_get_map_map_syms_rtrn_iterator");
function xcb_xkb_get_map_map_acts_rtrn_count
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:7073
pragma Import
(C,
xcb_xkb_get_map_map_acts_rtrn_count,
"xcb_xkb_get_map_map_acts_rtrn_count");
function xcb_xkb_get_map_map_acts_rtrn_count_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7086
pragma Import
(C,
xcb_xkb_get_map_map_acts_rtrn_count_length,
"xcb_xkb_get_map_map_acts_rtrn_count_length");
function xcb_xkb_get_map_map_acts_rtrn_count_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:7100
pragma Import
(C,
xcb_xkb_get_map_map_acts_rtrn_count_end,
"xcb_xkb_get_map_map_acts_rtrn_count_end");
function xcb_xkb_get_map_map_alignment_pad
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:7114
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad,
"xcb_xkb_get_map_map_alignment_pad");
function xcb_xkb_get_map_map_alignment_pad_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7127
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_length,
"xcb_xkb_get_map_map_alignment_pad_length");
function xcb_xkb_get_map_map_alignment_pad_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:7141
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_end,
"xcb_xkb_get_map_map_alignment_pad_end");
function xcb_xkb_get_map_map_acts_rtrn_acts
(S : System.Address)
return access xcb_xkb_action_t; -- /usr/include/xcb/xkb.h:7155
pragma Import
(C,
xcb_xkb_get_map_map_acts_rtrn_acts,
"xcb_xkb_get_map_map_acts_rtrn_acts");
function xcb_xkb_get_map_map_acts_rtrn_acts_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7168
pragma Import
(C,
xcb_xkb_get_map_map_acts_rtrn_acts_length,
"xcb_xkb_get_map_map_acts_rtrn_acts_length");
function xcb_xkb_get_map_map_acts_rtrn_acts_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_action_iterator_t; -- /usr/include/xcb/xkb.h:7182
pragma Import
(C,
xcb_xkb_get_map_map_acts_rtrn_acts_iterator,
"xcb_xkb_get_map_map_acts_rtrn_acts_iterator");
function xcb_xkb_get_map_map_behaviors_rtrn
(S : System.Address)
return access xcb_xkb_set_behavior_t; -- /usr/include/xcb/xkb.h:7196
pragma Import
(C,
xcb_xkb_get_map_map_behaviors_rtrn,
"xcb_xkb_get_map_map_behaviors_rtrn");
function xcb_xkb_get_map_map_behaviors_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7209
pragma Import
(C,
xcb_xkb_get_map_map_behaviors_rtrn_length,
"xcb_xkb_get_map_map_behaviors_rtrn_length");
function xcb_xkb_get_map_map_behaviors_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_set_behavior_iterator_t; -- /usr/include/xcb/xkb.h:7223
pragma Import
(C,
xcb_xkb_get_map_map_behaviors_rtrn_iterator,
"xcb_xkb_get_map_map_behaviors_rtrn_iterator");
function xcb_xkb_get_map_map_vmods_rtrn
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:7237
pragma Import
(C,
xcb_xkb_get_map_map_vmods_rtrn,
"xcb_xkb_get_map_map_vmods_rtrn");
function xcb_xkb_get_map_map_vmods_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7250
pragma Import
(C,
xcb_xkb_get_map_map_vmods_rtrn_length,
"xcb_xkb_get_map_map_vmods_rtrn_length");
function xcb_xkb_get_map_map_vmods_rtrn_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:7264
pragma Import
(C,
xcb_xkb_get_map_map_vmods_rtrn_end,
"xcb_xkb_get_map_map_vmods_rtrn_end");
function xcb_xkb_get_map_map_alignment_pad_2
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:7278
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_2,
"xcb_xkb_get_map_map_alignment_pad_2");
function xcb_xkb_get_map_map_alignment_pad_2_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7291
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_2_length,
"xcb_xkb_get_map_map_alignment_pad_2_length");
function xcb_xkb_get_map_map_alignment_pad_2_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:7305
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_2_end,
"xcb_xkb_get_map_map_alignment_pad_2_end");
function xcb_xkb_get_map_map_explicit_rtrn
(S : System.Address)
return access xcb_xkb_set_explicit_t; -- /usr/include/xcb/xkb.h:7319
pragma Import
(C,
xcb_xkb_get_map_map_explicit_rtrn,
"xcb_xkb_get_map_map_explicit_rtrn");
function xcb_xkb_get_map_map_explicit_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7332
pragma Import
(C,
xcb_xkb_get_map_map_explicit_rtrn_length,
"xcb_xkb_get_map_map_explicit_rtrn_length");
function xcb_xkb_get_map_map_explicit_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_set_explicit_iterator_t; -- /usr/include/xcb/xkb.h:7346
pragma Import
(C,
xcb_xkb_get_map_map_explicit_rtrn_iterator,
"xcb_xkb_get_map_map_explicit_rtrn_iterator");
function xcb_xkb_get_map_map_alignment_pad_3
(S : System.Address)
return access Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:7360
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_3,
"xcb_xkb_get_map_map_alignment_pad_3");
function xcb_xkb_get_map_map_alignment_pad_3_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7373
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_3_length,
"xcb_xkb_get_map_map_alignment_pad_3_length");
function xcb_xkb_get_map_map_alignment_pad_3_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:7387
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_3_end,
"xcb_xkb_get_map_map_alignment_pad_3_end");
function xcb_xkb_get_map_map_modmap_rtrn
(S : System.Address)
return access xcb_xkb_key_mod_map_t; -- /usr/include/xcb/xkb.h:7401
pragma Import
(C,
xcb_xkb_get_map_map_modmap_rtrn,
"xcb_xkb_get_map_map_modmap_rtrn");
function xcb_xkb_get_map_map_modmap_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7414
pragma Import
(C,
xcb_xkb_get_map_map_modmap_rtrn_length,
"xcb_xkb_get_map_map_modmap_rtrn_length");
function xcb_xkb_get_map_map_modmap_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_mod_map_iterator_t; -- /usr/include/xcb/xkb.h:7428
pragma Import
(C,
xcb_xkb_get_map_map_modmap_rtrn_iterator,
"xcb_xkb_get_map_map_modmap_rtrn_iterator");
function xcb_xkb_get_map_map_alignment_pad_4
(S : System.Address)
return access Libc.Stdint.uint16_t; -- /usr/include/xcb/xkb.h:7442
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_4,
"xcb_xkb_get_map_map_alignment_pad_4");
function xcb_xkb_get_map_map_alignment_pad_4_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7455
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_4_length,
"xcb_xkb_get_map_map_alignment_pad_4_length");
function xcb_xkb_get_map_map_alignment_pad_4_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:7469
pragma Import
(C,
xcb_xkb_get_map_map_alignment_pad_4_end,
"xcb_xkb_get_map_map_alignment_pad_4_end");
function xcb_xkb_get_map_map_vmodmap_rtrn
(S : System.Address)
return access xcb_xkb_key_v_mod_map_t; -- /usr/include/xcb/xkb.h:7483
pragma Import
(C,
xcb_xkb_get_map_map_vmodmap_rtrn,
"xcb_xkb_get_map_map_vmodmap_rtrn");
function xcb_xkb_get_map_map_vmodmap_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7496
pragma Import
(C,
xcb_xkb_get_map_map_vmodmap_rtrn_length,
"xcb_xkb_get_map_map_vmodmap_rtrn_length");
function xcb_xkb_get_map_map_vmodmap_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_v_mod_map_iterator_t; -- /usr/include/xcb/xkb.h:7510
pragma Import
(C,
xcb_xkb_get_map_map_vmodmap_rtrn_iterator,
"xcb_xkb_get_map_map_vmodmap_rtrn_iterator");
function xcb_xkb_get_map_map_serialize
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t;
u_aux : System.Address) return int; -- /usr/include/xcb/xkb.h:7514
pragma Import
(C,
xcb_xkb_get_map_map_serialize,
"xcb_xkb_get_map_map_serialize");
function xcb_xkb_get_map_map_unpack
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t;
u_aux : access xcb_xkb_get_map_map_t)
return int; -- /usr/include/xcb/xkb.h:7528
pragma Import (C, xcb_xkb_get_map_map_unpack, "xcb_xkb_get_map_map_unpack");
function xcb_xkb_get_map_map_sizeof
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t)
return int; -- /usr/include/xcb/xkb.h:7542
pragma Import (C, xcb_xkb_get_map_map_sizeof, "xcb_xkb_get_map_map_sizeof");
function xcb_xkb_get_map
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
full : Libc.Stdint.uint16_t;
partial : Libc.Stdint.uint16_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKeySym : XCB.XProto.xcb_keycode_t;
nKeySyms : Libc.Stdint.uint8_t;
firstKeyAction : XCB.XProto.xcb_keycode_t;
nKeyActions : Libc.Stdint.uint8_t;
firstKeyBehavior : XCB.XProto.xcb_keycode_t;
nKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
firstKeyExplicit : XCB.XProto.xcb_keycode_t;
nKeyExplicit : Libc.Stdint.uint8_t;
firstModMapKey : XCB.XProto.xcb_keycode_t;
nModMapKeys : Libc.Stdint.uint8_t;
firstVModMapKey : XCB.XProto.xcb_keycode_t;
nVModMapKeys : Libc.Stdint.uint8_t)
return xcb_xkb_get_map_cookie_t; -- /usr/include/xcb/xkb.h:7591
pragma Import (C, xcb_xkb_get_map, "xcb_xkb_get_map");
function xcb_xkb_get_map_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
full : Libc.Stdint.uint16_t;
partial : Libc.Stdint.uint16_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKeySym : XCB.XProto.xcb_keycode_t;
nKeySyms : Libc.Stdint.uint8_t;
firstKeyAction : XCB.XProto.xcb_keycode_t;
nKeyActions : Libc.Stdint.uint8_t;
firstKeyBehavior : XCB.XProto.xcb_keycode_t;
nKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
firstKeyExplicit : XCB.XProto.xcb_keycode_t;
nKeyExplicit : Libc.Stdint.uint8_t;
firstModMapKey : XCB.XProto.xcb_keycode_t;
nModMapKeys : Libc.Stdint.uint8_t;
firstVModMapKey : XCB.XProto.xcb_keycode_t;
nVModMapKeys : Libc.Stdint.uint8_t)
return xcb_xkb_get_map_cookie_t; -- /usr/include/xcb/xkb.h:7651
pragma Import (C, xcb_xkb_get_map_unchecked, "xcb_xkb_get_map_unchecked");
function xcb_xkb_get_map_map
(R : System.Address)
return System.Address; -- /usr/include/xcb/xkb.h:7682
pragma Import (C, xcb_xkb_get_map_map, "xcb_xkb_get_map_map");
function xcb_xkb_get_map_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_map_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_map_reply_t; -- /usr/include/xcb/xkb.h:7711
pragma Import (C, xcb_xkb_get_map_reply, "xcb_xkb_get_map_reply");
function xcb_xkb_set_map_values_types_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7726
pragma Import
(C,
xcb_xkb_set_map_values_types_length,
"xcb_xkb_set_map_values_types_length");
function xcb_xkb_set_map_values_types_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_set_key_type_iterator_t; -- /usr/include/xcb/xkb.h:7740
pragma Import
(C,
xcb_xkb_set_map_values_types_iterator,
"xcb_xkb_set_map_values_types_iterator");
function xcb_xkb_set_map_values_syms_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7754
pragma Import
(C,
xcb_xkb_set_map_values_syms_length,
"xcb_xkb_set_map_values_syms_length");
function xcb_xkb_set_map_values_syms_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_sym_map_iterator_t; -- /usr/include/xcb/xkb.h:7768
pragma Import
(C,
xcb_xkb_set_map_values_syms_iterator,
"xcb_xkb_set_map_values_syms_iterator");
function xcb_xkb_set_map_values_actions_count
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:7782
pragma Import
(C,
xcb_xkb_set_map_values_actions_count,
"xcb_xkb_set_map_values_actions_count");
function xcb_xkb_set_map_values_actions_count_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7795
pragma Import
(C,
xcb_xkb_set_map_values_actions_count_length,
"xcb_xkb_set_map_values_actions_count_length");
function xcb_xkb_set_map_values_actions_count_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:7809
pragma Import
(C,
xcb_xkb_set_map_values_actions_count_end,
"xcb_xkb_set_map_values_actions_count_end");
function xcb_xkb_set_map_values_actions
(S : System.Address)
return access xcb_xkb_action_t; -- /usr/include/xcb/xkb.h:7823
pragma Import
(C,
xcb_xkb_set_map_values_actions,
"xcb_xkb_set_map_values_actions");
function xcb_xkb_set_map_values_actions_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7836
pragma Import
(C,
xcb_xkb_set_map_values_actions_length,
"xcb_xkb_set_map_values_actions_length");
function xcb_xkb_set_map_values_actions_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_action_iterator_t; -- /usr/include/xcb/xkb.h:7850
pragma Import
(C,
xcb_xkb_set_map_values_actions_iterator,
"xcb_xkb_set_map_values_actions_iterator");
function xcb_xkb_set_map_values_behaviors
(S : System.Address)
return access xcb_xkb_set_behavior_t; -- /usr/include/xcb/xkb.h:7864
pragma Import
(C,
xcb_xkb_set_map_values_behaviors,
"xcb_xkb_set_map_values_behaviors");
function xcb_xkb_set_map_values_behaviors_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7877
pragma Import
(C,
xcb_xkb_set_map_values_behaviors_length,
"xcb_xkb_set_map_values_behaviors_length");
function xcb_xkb_set_map_values_behaviors_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_set_behavior_iterator_t; -- /usr/include/xcb/xkb.h:7891
pragma Import
(C,
xcb_xkb_set_map_values_behaviors_iterator,
"xcb_xkb_set_map_values_behaviors_iterator");
function xcb_xkb_set_map_values_vmods
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:7905
pragma Import
(C,
xcb_xkb_set_map_values_vmods,
"xcb_xkb_set_map_values_vmods");
function xcb_xkb_set_map_values_vmods_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7918
pragma Import
(C,
xcb_xkb_set_map_values_vmods_length,
"xcb_xkb_set_map_values_vmods_length");
function xcb_xkb_set_map_values_vmods_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:7932
pragma Import
(C,
xcb_xkb_set_map_values_vmods_end,
"xcb_xkb_set_map_values_vmods_end");
function xcb_xkb_set_map_values_explicit
(S : System.Address)
return access xcb_xkb_set_explicit_t; -- /usr/include/xcb/xkb.h:7946
pragma Import
(C,
xcb_xkb_set_map_values_explicit,
"xcb_xkb_set_map_values_explicit");
function xcb_xkb_set_map_values_explicit_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:7959
pragma Import
(C,
xcb_xkb_set_map_values_explicit_length,
"xcb_xkb_set_map_values_explicit_length");
function xcb_xkb_set_map_values_explicit_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_set_explicit_iterator_t; -- /usr/include/xcb/xkb.h:7973
pragma Import
(C,
xcb_xkb_set_map_values_explicit_iterator,
"xcb_xkb_set_map_values_explicit_iterator");
function xcb_xkb_set_map_values_modmap
(S : System.Address)
return access xcb_xkb_key_mod_map_t; -- /usr/include/xcb/xkb.h:7987
pragma Import
(C,
xcb_xkb_set_map_values_modmap,
"xcb_xkb_set_map_values_modmap");
function xcb_xkb_set_map_values_modmap_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:8000
pragma Import
(C,
xcb_xkb_set_map_values_modmap_length,
"xcb_xkb_set_map_values_modmap_length");
function xcb_xkb_set_map_values_modmap_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_mod_map_iterator_t; -- /usr/include/xcb/xkb.h:8014
pragma Import
(C,
xcb_xkb_set_map_values_modmap_iterator,
"xcb_xkb_set_map_values_modmap_iterator");
function xcb_xkb_set_map_values_vmodmap
(S : System.Address)
return access xcb_xkb_key_v_mod_map_t; -- /usr/include/xcb/xkb.h:8028
pragma Import
(C,
xcb_xkb_set_map_values_vmodmap,
"xcb_xkb_set_map_values_vmodmap");
function xcb_xkb_set_map_values_vmodmap_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:8041
pragma Import
(C,
xcb_xkb_set_map_values_vmodmap_length,
"xcb_xkb_set_map_values_vmodmap_length");
function xcb_xkb_set_map_values_vmodmap_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_v_mod_map_iterator_t; -- /usr/include/xcb/xkb.h:8055
pragma Import
(C,
xcb_xkb_set_map_values_vmodmap_iterator,
"xcb_xkb_set_map_values_vmodmap_iterator");
function xcb_xkb_set_map_values_serialize
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t;
u_aux : System.Address) return int; -- /usr/include/xcb/xkb.h:8059
pragma Import
(C,
xcb_xkb_set_map_values_serialize,
"xcb_xkb_set_map_values_serialize");
function xcb_xkb_set_map_values_unpack
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t;
u_aux : access xcb_xkb_set_map_values_t)
return int; -- /usr/include/xcb/xkb.h:8073
pragma Import
(C,
xcb_xkb_set_map_values_unpack,
"xcb_xkb_set_map_values_unpack");
function xcb_xkb_set_map_values_sizeof
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t)
return int; -- /usr/include/xcb/xkb.h:8087
pragma Import
(C,
xcb_xkb_set_map_values_sizeof,
"xcb_xkb_set_map_values_sizeof");
function xcb_xkb_set_map_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
present : Libc.Stdint.uint16_t;
flags : Libc.Stdint.uint16_t;
minKeyCode : XCB.XProto.xcb_keycode_t;
maxKeyCode : XCB.XProto.xcb_keycode_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKeySym : XCB.XProto.xcb_keycode_t;
nKeySyms : Libc.Stdint.uint8_t;
totalSyms : Libc.Stdint.uint16_t;
firstKeyAction : XCB.XProto.xcb_keycode_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
firstKeyBehavior : XCB.XProto.xcb_keycode_t;
nKeyBehaviors : Libc.Stdint.uint8_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
firstKeyExplicit : XCB.XProto.xcb_keycode_t;
nKeyExplicit : Libc.Stdint.uint8_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
firstModMapKey : XCB.XProto.xcb_keycode_t;
nModMapKeys : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
firstVModMapKey : XCB.XProto.xcb_keycode_t;
nVModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
values : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:8148
pragma Import (C, xcb_xkb_set_map_checked, "xcb_xkb_set_map_checked");
function xcb_xkb_set_map
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
present : Libc.Stdint.uint16_t;
flags : Libc.Stdint.uint16_t;
minKeyCode : XCB.XProto.xcb_keycode_t;
maxKeyCode : XCB.XProto.xcb_keycode_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKeySym : XCB.XProto.xcb_keycode_t;
nKeySyms : Libc.Stdint.uint8_t;
totalSyms : Libc.Stdint.uint16_t;
firstKeyAction : XCB.XProto.xcb_keycode_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
firstKeyBehavior : XCB.XProto.xcb_keycode_t;
nKeyBehaviors : Libc.Stdint.uint8_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
firstKeyExplicit : XCB.XProto.xcb_keycode_t;
nKeyExplicit : Libc.Stdint.uint8_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
firstModMapKey : XCB.XProto.xcb_keycode_t;
nModMapKeys : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
firstVModMapKey : XCB.XProto.xcb_keycode_t;
nVModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
values : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:8223
pragma Import (C, xcb_xkb_set_map, "xcb_xkb_set_map");
function xcb_xkb_set_map_aux_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
present : Libc.Stdint.uint16_t;
flags : Libc.Stdint.uint16_t;
minKeyCode : XCB.XProto.xcb_keycode_t;
maxKeyCode : XCB.XProto.xcb_keycode_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKeySym : XCB.XProto.xcb_keycode_t;
nKeySyms : Libc.Stdint.uint8_t;
totalSyms : Libc.Stdint.uint16_t;
firstKeyAction : XCB.XProto.xcb_keycode_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
firstKeyBehavior : XCB.XProto.xcb_keycode_t;
nKeyBehaviors : Libc.Stdint.uint8_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
firstKeyExplicit : XCB.XProto.xcb_keycode_t;
nKeyExplicit : Libc.Stdint.uint8_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
firstModMapKey : XCB.XProto.xcb_keycode_t;
nModMapKeys : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
firstVModMapKey : XCB.XProto.xcb_keycode_t;
nVModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
values : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:8301
pragma Import
(C,
xcb_xkb_set_map_aux_checked,
"xcb_xkb_set_map_aux_checked");
function xcb_xkb_set_map_aux
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
present : Libc.Stdint.uint16_t;
flags : Libc.Stdint.uint16_t;
minKeyCode : XCB.XProto.xcb_keycode_t;
maxKeyCode : XCB.XProto.xcb_keycode_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKeySym : XCB.XProto.xcb_keycode_t;
nKeySyms : Libc.Stdint.uint8_t;
totalSyms : Libc.Stdint.uint16_t;
firstKeyAction : XCB.XProto.xcb_keycode_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
firstKeyBehavior : XCB.XProto.xcb_keycode_t;
nKeyBehaviors : Libc.Stdint.uint8_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
firstKeyExplicit : XCB.XProto.xcb_keycode_t;
nKeyExplicit : Libc.Stdint.uint8_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
firstModMapKey : XCB.XProto.xcb_keycode_t;
nModMapKeys : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
firstVModMapKey : XCB.XProto.xcb_keycode_t;
nVModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
values : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:8376
pragma Import (C, xcb_xkb_set_map_aux, "xcb_xkb_set_map_aux");
function xcb_xkb_get_compat_map_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:8406
pragma Import
(C,
xcb_xkb_get_compat_map_sizeof,
"xcb_xkb_get_compat_map_sizeof");
function xcb_xkb_get_compat_map
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
groups : Libc.Stdint.uint8_t;
getAllSI : Libc.Stdint.uint8_t;
firstSI : Libc.Stdint.uint16_t;
nSI : Libc.Stdint.uint16_t)
return xcb_xkb_get_compat_map_cookie_t; -- /usr/include/xcb/xkb.h:8432
pragma Import (C, xcb_xkb_get_compat_map, "xcb_xkb_get_compat_map");
function xcb_xkb_get_compat_map_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
groups : Libc.Stdint.uint8_t;
getAllSI : Libc.Stdint.uint8_t;
firstSI : Libc.Stdint.uint16_t;
nSI : Libc.Stdint.uint16_t)
return xcb_xkb_get_compat_map_cookie_t; -- /usr/include/xcb/xkb.h:8466
pragma Import
(C,
xcb_xkb_get_compat_map_unchecked,
"xcb_xkb_get_compat_map_unchecked");
function xcb_xkb_get_compat_map_si_rtrn
(R : System.Address)
return access xcb_xkb_sym_interpret_t; -- /usr/include/xcb/xkb.h:8484
pragma Import
(C,
xcb_xkb_get_compat_map_si_rtrn,
"xcb_xkb_get_compat_map_si_rtrn");
function xcb_xkb_get_compat_map_si_rtrn_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:8497
pragma Import
(C,
xcb_xkb_get_compat_map_si_rtrn_length,
"xcb_xkb_get_compat_map_si_rtrn_length");
function xcb_xkb_get_compat_map_si_rtrn_iterator
(R : System.Address)
return xcb_xkb_sym_interpret_iterator_t; -- /usr/include/xcb/xkb.h:8510
pragma Import
(C,
xcb_xkb_get_compat_map_si_rtrn_iterator,
"xcb_xkb_get_compat_map_si_rtrn_iterator");
function xcb_xkb_get_compat_map_group_rtrn
(R : System.Address)
return access xcb_xkb_mod_def_t; -- /usr/include/xcb/xkb.h:8523
pragma Import
(C,
xcb_xkb_get_compat_map_group_rtrn,
"xcb_xkb_get_compat_map_group_rtrn");
function xcb_xkb_get_compat_map_group_rtrn_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:8536
pragma Import
(C,
xcb_xkb_get_compat_map_group_rtrn_length,
"xcb_xkb_get_compat_map_group_rtrn_length");
function xcb_xkb_get_compat_map_group_rtrn_iterator
(R : System.Address)
return xcb_xkb_mod_def_iterator_t; -- /usr/include/xcb/xkb.h:8549
pragma Import
(C,
xcb_xkb_get_compat_map_group_rtrn_iterator,
"xcb_xkb_get_compat_map_group_rtrn_iterator");
function xcb_xkb_get_compat_map_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_compat_map_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_compat_map_reply_t; -- /usr/include/xcb/xkb.h:8578
pragma Import
(C,
xcb_xkb_get_compat_map_reply,
"xcb_xkb_get_compat_map_reply");
function xcb_xkb_set_compat_map_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:8583
pragma Import
(C,
xcb_xkb_set_compat_map_sizeof,
"xcb_xkb_set_compat_map_sizeof");
function xcb_xkb_set_compat_map_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
recomputeActions : Libc.Stdint.uint8_t;
truncateSI : Libc.Stdint.uint8_t;
groups : Libc.Stdint.uint8_t;
firstSI : Libc.Stdint.uint16_t;
nSI : Libc.Stdint.uint16_t;
si : System.Address;
groupMaps : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:8615
pragma Import
(C,
xcb_xkb_set_compat_map_checked,
"xcb_xkb_set_compat_map_checked");
function xcb_xkb_set_compat_map
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
recomputeActions : Libc.Stdint.uint8_t;
truncateSI : Libc.Stdint.uint8_t;
groups : Libc.Stdint.uint8_t;
firstSI : Libc.Stdint.uint16_t;
nSI : Libc.Stdint.uint16_t;
si : System.Address;
groupMaps : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:8652
pragma Import (C, xcb_xkb_set_compat_map, "xcb_xkb_set_compat_map");
function xcb_xkb_get_indicator_state
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t)
return xcb_xkb_get_indicator_state_cookie_t; -- /usr/include/xcb/xkb.h:8682
pragma Import
(C,
xcb_xkb_get_indicator_state,
"xcb_xkb_get_indicator_state");
function xcb_xkb_get_indicator_state_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t)
return xcb_xkb_get_indicator_state_cookie_t; -- /usr/include/xcb/xkb.h:8708
pragma Import
(C,
xcb_xkb_get_indicator_state_unchecked,
"xcb_xkb_get_indicator_state_unchecked");
function xcb_xkb_get_indicator_state_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_indicator_state_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_indicator_state_reply_t; -- /usr/include/xcb/xkb.h:8738
pragma Import
(C,
xcb_xkb_get_indicator_state_reply,
"xcb_xkb_get_indicator_state_reply");
function xcb_xkb_get_indicator_map_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:8743
pragma Import
(C,
xcb_xkb_get_indicator_map_sizeof,
"xcb_xkb_get_indicator_map_sizeof");
function xcb_xkb_get_indicator_map
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
which : Libc.Stdint.uint32_t)
return xcb_xkb_get_indicator_map_cookie_t; -- /usr/include/xcb/xkb.h:8766
pragma Import (C, xcb_xkb_get_indicator_map, "xcb_xkb_get_indicator_map");
function xcb_xkb_get_indicator_map_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
which : Libc.Stdint.uint32_t)
return xcb_xkb_get_indicator_map_cookie_t; -- /usr/include/xcb/xkb.h:8794
pragma Import
(C,
xcb_xkb_get_indicator_map_unchecked,
"xcb_xkb_get_indicator_map_unchecked");
function xcb_xkb_get_indicator_map_maps
(R : System.Address)
return access xcb_xkb_indicator_map_t; -- /usr/include/xcb/xkb.h:8809
pragma Import
(C,
xcb_xkb_get_indicator_map_maps,
"xcb_xkb_get_indicator_map_maps");
function xcb_xkb_get_indicator_map_maps_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:8822
pragma Import
(C,
xcb_xkb_get_indicator_map_maps_length,
"xcb_xkb_get_indicator_map_maps_length");
function xcb_xkb_get_indicator_map_maps_iterator
(R : System.Address)
return xcb_xkb_indicator_map_iterator_t; -- /usr/include/xcb/xkb.h:8835
pragma Import
(C,
xcb_xkb_get_indicator_map_maps_iterator,
"xcb_xkb_get_indicator_map_maps_iterator");
function xcb_xkb_get_indicator_map_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_indicator_map_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_indicator_map_reply_t; -- /usr/include/xcb/xkb.h:8864
pragma Import
(C,
xcb_xkb_get_indicator_map_reply,
"xcb_xkb_get_indicator_map_reply");
function xcb_xkb_set_indicator_map_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:8869
pragma Import
(C,
xcb_xkb_set_indicator_map_sizeof,
"xcb_xkb_set_indicator_map_sizeof");
function xcb_xkb_set_indicator_map_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
which : Libc.Stdint.uint32_t;
maps : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:8896
pragma Import
(C,
xcb_xkb_set_indicator_map_checked,
"xcb_xkb_set_indicator_map_checked");
function xcb_xkb_set_indicator_map
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
which : Libc.Stdint.uint32_t;
maps : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:8923
pragma Import (C, xcb_xkb_set_indicator_map, "xcb_xkb_set_indicator_map");
function xcb_xkb_get_named_indicator
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
ledClass : xcb_xkb_led_class_spec_t;
ledID : xcb_xkb_id_spec_t;
indicator : XCB.XProto.xcb_atom_t)
return xcb_xkb_get_named_indicator_cookie_t; -- /usr/include/xcb/xkb.h:8951
pragma Import
(C,
xcb_xkb_get_named_indicator,
"xcb_xkb_get_named_indicator");
function xcb_xkb_get_named_indicator_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
ledClass : xcb_xkb_led_class_spec_t;
ledID : xcb_xkb_id_spec_t;
indicator : XCB.XProto.xcb_atom_t)
return xcb_xkb_get_named_indicator_cookie_t; -- /usr/include/xcb/xkb.h:8983
pragma Import
(C,
xcb_xkb_get_named_indicator_unchecked,
"xcb_xkb_get_named_indicator_unchecked");
function xcb_xkb_get_named_indicator_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_named_indicator_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_named_indicator_reply_t; -- /usr/include/xcb/xkb.h:9016
pragma Import
(C,
xcb_xkb_get_named_indicator_reply,
"xcb_xkb_get_named_indicator_reply");
function xcb_xkb_set_named_indicator_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
ledClass : xcb_xkb_led_class_spec_t;
ledID : xcb_xkb_id_spec_t;
indicator : XCB.XProto.xcb_atom_t;
setState : Libc.Stdint.uint8_t;
on : Libc.Stdint.uint8_t;
setMap : Libc.Stdint.uint8_t;
createMap : Libc.Stdint.uint8_t;
map_flags : Libc.Stdint.uint8_t;
map_whichGroups : Libc.Stdint.uint8_t;
map_groups : Libc.Stdint.uint8_t;
map_whichMods : Libc.Stdint.uint8_t;
map_realMods : Libc.Stdint.uint8_t;
map_vmods : Libc.Stdint.uint16_t;
map_ctrls : Libc.Stdint.uint32_t)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:9057
pragma Import
(C,
xcb_xkb_set_named_indicator_checked,
"xcb_xkb_set_named_indicator_checked");
function xcb_xkb_set_named_indicator
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
ledClass : xcb_xkb_led_class_spec_t;
ledID : xcb_xkb_id_spec_t;
indicator : XCB.XProto.xcb_atom_t;
setState : Libc.Stdint.uint8_t;
on : Libc.Stdint.uint8_t;
setMap : Libc.Stdint.uint8_t;
createMap : Libc.Stdint.uint8_t;
map_flags : Libc.Stdint.uint8_t;
map_whichGroups : Libc.Stdint.uint8_t;
map_groups : Libc.Stdint.uint8_t;
map_whichMods : Libc.Stdint.uint8_t;
map_realMods : Libc.Stdint.uint8_t;
map_vmods : Libc.Stdint.uint16_t;
map_ctrls : Libc.Stdint.uint32_t)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:9108
pragma Import
(C,
xcb_xkb_set_named_indicator,
"xcb_xkb_set_named_indicator");
function xcb_xkb_get_names_value_list_type_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9136
pragma Import
(C,
xcb_xkb_get_names_value_list_type_names,
"xcb_xkb_get_names_value_list_type_names");
function xcb_xkb_get_names_value_list_type_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9149
pragma Import
(C,
xcb_xkb_get_names_value_list_type_names_length,
"xcb_xkb_get_names_value_list_type_names_length");
function xcb_xkb_get_names_value_list_type_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9163
pragma Import
(C,
xcb_xkb_get_names_value_list_type_names_end,
"xcb_xkb_get_names_value_list_type_names_end");
function xcb_xkb_get_names_value_list_n_levels_per_type
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:9177
pragma Import
(C,
xcb_xkb_get_names_value_list_n_levels_per_type,
"xcb_xkb_get_names_value_list_n_levels_per_type");
function xcb_xkb_get_names_value_list_n_levels_per_type_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9190
pragma Import
(C,
xcb_xkb_get_names_value_list_n_levels_per_type_length,
"xcb_xkb_get_names_value_list_n_levels_per_type_length");
function xcb_xkb_get_names_value_list_n_levels_per_type_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9204
pragma Import
(C,
xcb_xkb_get_names_value_list_n_levels_per_type_end,
"xcb_xkb_get_names_value_list_n_levels_per_type_end");
function xcb_xkb_get_names_value_list_alignment_pad
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:9218
pragma Import
(C,
xcb_xkb_get_names_value_list_alignment_pad,
"xcb_xkb_get_names_value_list_alignment_pad");
function xcb_xkb_get_names_value_list_alignment_pad_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9231
pragma Import
(C,
xcb_xkb_get_names_value_list_alignment_pad_length,
"xcb_xkb_get_names_value_list_alignment_pad_length");
function xcb_xkb_get_names_value_list_alignment_pad_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9245
pragma Import
(C,
xcb_xkb_get_names_value_list_alignment_pad_end,
"xcb_xkb_get_names_value_list_alignment_pad_end");
function xcb_xkb_get_names_value_list_kt_level_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9259
pragma Import
(C,
xcb_xkb_get_names_value_list_kt_level_names,
"xcb_xkb_get_names_value_list_kt_level_names");
function xcb_xkb_get_names_value_list_kt_level_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9272
pragma Import
(C,
xcb_xkb_get_names_value_list_kt_level_names_length,
"xcb_xkb_get_names_value_list_kt_level_names_length");
function xcb_xkb_get_names_value_list_kt_level_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9286
pragma Import
(C,
xcb_xkb_get_names_value_list_kt_level_names_end,
"xcb_xkb_get_names_value_list_kt_level_names_end");
function xcb_xkb_get_names_value_list_indicator_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9300
pragma Import
(C,
xcb_xkb_get_names_value_list_indicator_names,
"xcb_xkb_get_names_value_list_indicator_names");
function xcb_xkb_get_names_value_list_indicator_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9313
pragma Import
(C,
xcb_xkb_get_names_value_list_indicator_names_length,
"xcb_xkb_get_names_value_list_indicator_names_length");
function xcb_xkb_get_names_value_list_indicator_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9327
pragma Import
(C,
xcb_xkb_get_names_value_list_indicator_names_end,
"xcb_xkb_get_names_value_list_indicator_names_end");
function xcb_xkb_get_names_value_list_virtual_mod_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9341
pragma Import
(C,
xcb_xkb_get_names_value_list_virtual_mod_names,
"xcb_xkb_get_names_value_list_virtual_mod_names");
function xcb_xkb_get_names_value_list_virtual_mod_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9354
pragma Import
(C,
xcb_xkb_get_names_value_list_virtual_mod_names_length,
"xcb_xkb_get_names_value_list_virtual_mod_names_length");
function xcb_xkb_get_names_value_list_virtual_mod_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9368
pragma Import
(C,
xcb_xkb_get_names_value_list_virtual_mod_names_end,
"xcb_xkb_get_names_value_list_virtual_mod_names_end");
function xcb_xkb_get_names_value_list_groups
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9382
pragma Import
(C,
xcb_xkb_get_names_value_list_groups,
"xcb_xkb_get_names_value_list_groups");
function xcb_xkb_get_names_value_list_groups_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9395
pragma Import
(C,
xcb_xkb_get_names_value_list_groups_length,
"xcb_xkb_get_names_value_list_groups_length");
function xcb_xkb_get_names_value_list_groups_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9409
pragma Import
(C,
xcb_xkb_get_names_value_list_groups_end,
"xcb_xkb_get_names_value_list_groups_end");
function xcb_xkb_get_names_value_list_key_names
(S : System.Address)
return access xcb_xkb_key_name_t; -- /usr/include/xcb/xkb.h:9423
pragma Import
(C,
xcb_xkb_get_names_value_list_key_names,
"xcb_xkb_get_names_value_list_key_names");
function xcb_xkb_get_names_value_list_key_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9436
pragma Import
(C,
xcb_xkb_get_names_value_list_key_names_length,
"xcb_xkb_get_names_value_list_key_names_length");
function xcb_xkb_get_names_value_list_key_names_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_name_iterator_t; -- /usr/include/xcb/xkb.h:9450
pragma Import
(C,
xcb_xkb_get_names_value_list_key_names_iterator,
"xcb_xkb_get_names_value_list_key_names_iterator");
function xcb_xkb_get_names_value_list_key_aliases
(S : System.Address)
return access xcb_xkb_key_alias_t; -- /usr/include/xcb/xkb.h:9464
pragma Import
(C,
xcb_xkb_get_names_value_list_key_aliases,
"xcb_xkb_get_names_value_list_key_aliases");
function xcb_xkb_get_names_value_list_key_aliases_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9477
pragma Import
(C,
xcb_xkb_get_names_value_list_key_aliases_length,
"xcb_xkb_get_names_value_list_key_aliases_length");
function xcb_xkb_get_names_value_list_key_aliases_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_alias_iterator_t; -- /usr/include/xcb/xkb.h:9491
pragma Import
(C,
xcb_xkb_get_names_value_list_key_aliases_iterator,
"xcb_xkb_get_names_value_list_key_aliases_iterator");
function xcb_xkb_get_names_value_list_radio_group_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9505
pragma Import
(C,
xcb_xkb_get_names_value_list_radio_group_names,
"xcb_xkb_get_names_value_list_radio_group_names");
function xcb_xkb_get_names_value_list_radio_group_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9518
pragma Import
(C,
xcb_xkb_get_names_value_list_radio_group_names_length,
"xcb_xkb_get_names_value_list_radio_group_names_length");
function xcb_xkb_get_names_value_list_radio_group_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9532
pragma Import
(C,
xcb_xkb_get_names_value_list_radio_group_names_end,
"xcb_xkb_get_names_value_list_radio_group_names_end");
function xcb_xkb_get_names_value_list_serialize
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t;
u_aux : System.Address) return int; -- /usr/include/xcb/xkb.h:9536
pragma Import
(C,
xcb_xkb_get_names_value_list_serialize,
"xcb_xkb_get_names_value_list_serialize");
function xcb_xkb_get_names_value_list_unpack
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t;
u_aux : access xcb_xkb_get_names_value_list_t)
return int; -- /usr/include/xcb/xkb.h:9548
pragma Import
(C,
xcb_xkb_get_names_value_list_unpack,
"xcb_xkb_get_names_value_list_unpack");
function xcb_xkb_get_names_value_list_sizeof
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t) return int; -- /usr/include/xcb/xkb.h:9560
pragma Import
(C,
xcb_xkb_get_names_value_list_sizeof,
"xcb_xkb_get_names_value_list_sizeof");
function xcb_xkb_get_names
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
which : Libc.Stdint.uint32_t)
return xcb_xkb_get_names_cookie_t; -- /usr/include/xcb/xkb.h:9591
pragma Import (C, xcb_xkb_get_names, "xcb_xkb_get_names");
function xcb_xkb_get_names_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
which : Libc.Stdint.uint32_t)
return xcb_xkb_get_names_cookie_t; -- /usr/include/xcb/xkb.h:9619
pragma Import
(C,
xcb_xkb_get_names_unchecked,
"xcb_xkb_get_names_unchecked");
function xcb_xkb_get_names_value_list
(R : System.Address)
return System.Address; -- /usr/include/xcb/xkb.h:9634
pragma Import
(C,
xcb_xkb_get_names_value_list,
"xcb_xkb_get_names_value_list");
function xcb_xkb_get_names_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_names_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_names_reply_t; -- /usr/include/xcb/xkb.h:9663
pragma Import (C, xcb_xkb_get_names_reply, "xcb_xkb_get_names_reply");
function xcb_xkb_set_names_values_type_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9678
pragma Import
(C,
xcb_xkb_set_names_values_type_names,
"xcb_xkb_set_names_values_type_names");
function xcb_xkb_set_names_values_type_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9691
pragma Import
(C,
xcb_xkb_set_names_values_type_names_length,
"xcb_xkb_set_names_values_type_names_length");
function xcb_xkb_set_names_values_type_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9705
pragma Import
(C,
xcb_xkb_set_names_values_type_names_end,
"xcb_xkb_set_names_values_type_names_end");
function xcb_xkb_set_names_values_n_levels_per_type
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:9719
pragma Import
(C,
xcb_xkb_set_names_values_n_levels_per_type,
"xcb_xkb_set_names_values_n_levels_per_type");
function xcb_xkb_set_names_values_n_levels_per_type_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9732
pragma Import
(C,
xcb_xkb_set_names_values_n_levels_per_type_length,
"xcb_xkb_set_names_values_n_levels_per_type_length");
function xcb_xkb_set_names_values_n_levels_per_type_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9746
pragma Import
(C,
xcb_xkb_set_names_values_n_levels_per_type_end,
"xcb_xkb_set_names_values_n_levels_per_type_end");
function xcb_xkb_set_names_values_kt_level_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9760
pragma Import
(C,
xcb_xkb_set_names_values_kt_level_names,
"xcb_xkb_set_names_values_kt_level_names");
function xcb_xkb_set_names_values_kt_level_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9773
pragma Import
(C,
xcb_xkb_set_names_values_kt_level_names_length,
"xcb_xkb_set_names_values_kt_level_names_length");
function xcb_xkb_set_names_values_kt_level_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9787
pragma Import
(C,
xcb_xkb_set_names_values_kt_level_names_end,
"xcb_xkb_set_names_values_kt_level_names_end");
function xcb_xkb_set_names_values_indicator_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9801
pragma Import
(C,
xcb_xkb_set_names_values_indicator_names,
"xcb_xkb_set_names_values_indicator_names");
function xcb_xkb_set_names_values_indicator_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9814
pragma Import
(C,
xcb_xkb_set_names_values_indicator_names_length,
"xcb_xkb_set_names_values_indicator_names_length");
function xcb_xkb_set_names_values_indicator_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9828
pragma Import
(C,
xcb_xkb_set_names_values_indicator_names_end,
"xcb_xkb_set_names_values_indicator_names_end");
function xcb_xkb_set_names_values_virtual_mod_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9842
pragma Import
(C,
xcb_xkb_set_names_values_virtual_mod_names,
"xcb_xkb_set_names_values_virtual_mod_names");
function xcb_xkb_set_names_values_virtual_mod_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9855
pragma Import
(C,
xcb_xkb_set_names_values_virtual_mod_names_length,
"xcb_xkb_set_names_values_virtual_mod_names_length");
function xcb_xkb_set_names_values_virtual_mod_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9869
pragma Import
(C,
xcb_xkb_set_names_values_virtual_mod_names_end,
"xcb_xkb_set_names_values_virtual_mod_names_end");
function xcb_xkb_set_names_values_groups
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:9883
pragma Import
(C,
xcb_xkb_set_names_values_groups,
"xcb_xkb_set_names_values_groups");
function xcb_xkb_set_names_values_groups_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9896
pragma Import
(C,
xcb_xkb_set_names_values_groups_length,
"xcb_xkb_set_names_values_groups_length");
function xcb_xkb_set_names_values_groups_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:9910
pragma Import
(C,
xcb_xkb_set_names_values_groups_end,
"xcb_xkb_set_names_values_groups_end");
function xcb_xkb_set_names_values_key_names
(S : System.Address)
return access xcb_xkb_key_name_t; -- /usr/include/xcb/xkb.h:9924
pragma Import
(C,
xcb_xkb_set_names_values_key_names,
"xcb_xkb_set_names_values_key_names");
function xcb_xkb_set_names_values_key_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9937
pragma Import
(C,
xcb_xkb_set_names_values_key_names_length,
"xcb_xkb_set_names_values_key_names_length");
function xcb_xkb_set_names_values_key_names_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_name_iterator_t; -- /usr/include/xcb/xkb.h:9951
pragma Import
(C,
xcb_xkb_set_names_values_key_names_iterator,
"xcb_xkb_set_names_values_key_names_iterator");
function xcb_xkb_set_names_values_key_aliases
(S : System.Address)
return access xcb_xkb_key_alias_t; -- /usr/include/xcb/xkb.h:9965
pragma Import
(C,
xcb_xkb_set_names_values_key_aliases,
"xcb_xkb_set_names_values_key_aliases");
function xcb_xkb_set_names_values_key_aliases_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:9978
pragma Import
(C,
xcb_xkb_set_names_values_key_aliases_length,
"xcb_xkb_set_names_values_key_aliases_length");
function xcb_xkb_set_names_values_key_aliases_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_alias_iterator_t; -- /usr/include/xcb/xkb.h:9992
pragma Import
(C,
xcb_xkb_set_names_values_key_aliases_iterator,
"xcb_xkb_set_names_values_key_aliases_iterator");
function xcb_xkb_set_names_values_radio_group_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:10006
pragma Import
(C,
xcb_xkb_set_names_values_radio_group_names,
"xcb_xkb_set_names_values_radio_group_names");
function xcb_xkb_set_names_values_radio_group_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10019
pragma Import
(C,
xcb_xkb_set_names_values_radio_group_names_length,
"xcb_xkb_set_names_values_radio_group_names_length");
function xcb_xkb_set_names_values_radio_group_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:10033
pragma Import
(C,
xcb_xkb_set_names_values_radio_group_names_end,
"xcb_xkb_set_names_values_radio_group_names_end");
function xcb_xkb_set_names_values_serialize
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t;
u_aux : System.Address) return int; -- /usr/include/xcb/xkb.h:10037
pragma Import
(C,
xcb_xkb_set_names_values_serialize,
"xcb_xkb_set_names_values_serialize");
function xcb_xkb_set_names_values_unpack
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t;
u_aux : access xcb_xkb_set_names_values_t)
return int; -- /usr/include/xcb/xkb.h:10050
pragma Import
(C,
xcb_xkb_set_names_values_unpack,
"xcb_xkb_set_names_values_unpack");
function xcb_xkb_set_names_values_sizeof
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t)
return int; -- /usr/include/xcb/xkb.h:10063
pragma Import
(C,
xcb_xkb_set_names_values_sizeof,
"xcb_xkb_set_names_values_sizeof");
function xcb_xkb_set_names_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
virtualMods : Libc.Stdint.uint16_t;
which : Libc.Stdint.uint32_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKTLevelt : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
groupNames : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
firstKey : XCB.XProto.xcb_keycode_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
totalKTLevelNames : Libc.Stdint.uint16_t;
values : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:10111
pragma Import (C, xcb_xkb_set_names_checked, "xcb_xkb_set_names_checked");
function xcb_xkb_set_names
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
virtualMods : Libc.Stdint.uint16_t;
which : Libc.Stdint.uint32_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKTLevelt : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
groupNames : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
firstKey : XCB.XProto.xcb_keycode_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
totalKTLevelNames : Libc.Stdint.uint16_t;
values : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:10162
pragma Import (C, xcb_xkb_set_names, "xcb_xkb_set_names");
function xcb_xkb_set_names_aux_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
virtualMods : Libc.Stdint.uint16_t;
which : Libc.Stdint.uint32_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKTLevelt : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
groupNames : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
firstKey : XCB.XProto.xcb_keycode_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
totalKTLevelNames : Libc.Stdint.uint16_t;
values : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:10216
pragma Import
(C,
xcb_xkb_set_names_aux_checked,
"xcb_xkb_set_names_aux_checked");
function xcb_xkb_set_names_aux
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
virtualMods : Libc.Stdint.uint16_t;
which : Libc.Stdint.uint32_t;
firstType : Libc.Stdint.uint8_t;
nTypes : Libc.Stdint.uint8_t;
firstKTLevelt : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint8_t;
indicators : Libc.Stdint.uint32_t;
groupNames : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
firstKey : XCB.XProto.xcb_keycode_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
totalKTLevelNames : Libc.Stdint.uint16_t;
values : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:10267
pragma Import (C, xcb_xkb_set_names_aux, "xcb_xkb_set_names_aux");
function xcb_xkb_per_client_flags
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
change : Libc.Stdint.uint32_t;
value : Libc.Stdint.uint32_t;
ctrlsToChange : Libc.Stdint.uint32_t;
autoCtrls : Libc.Stdint.uint32_t;
autoCtrlsValues : Libc.Stdint.uint32_t)
return xcb_xkb_per_client_flags_cookie_t; -- /usr/include/xcb/xkb.h:10309
pragma Import (C, xcb_xkb_per_client_flags, "xcb_xkb_per_client_flags");
function xcb_xkb_per_client_flags_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
change : Libc.Stdint.uint32_t;
value : Libc.Stdint.uint32_t;
ctrlsToChange : Libc.Stdint.uint32_t;
autoCtrls : Libc.Stdint.uint32_t;
autoCtrlsValues : Libc.Stdint.uint32_t)
return xcb_xkb_per_client_flags_cookie_t; -- /usr/include/xcb/xkb.h:10345
pragma Import
(C,
xcb_xkb_per_client_flags_unchecked,
"xcb_xkb_per_client_flags_unchecked");
function xcb_xkb_per_client_flags_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_per_client_flags_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_per_client_flags_reply_t; -- /usr/include/xcb/xkb.h:10380
pragma Import
(C,
xcb_xkb_per_client_flags_reply,
"xcb_xkb_per_client_flags_reply");
function xcb_xkb_list_components_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:10385
pragma Import
(C,
xcb_xkb_list_components_sizeof,
"xcb_xkb_list_components_sizeof");
function xcb_xkb_list_components
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
maxNames : Libc.Stdint.uint16_t)
return xcb_xkb_list_components_cookie_t; -- /usr/include/xcb/xkb.h:10408
pragma Import (C, xcb_xkb_list_components, "xcb_xkb_list_components");
function xcb_xkb_list_components_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
maxNames : Libc.Stdint.uint16_t)
return xcb_xkb_list_components_cookie_t; -- /usr/include/xcb/xkb.h:10436
pragma Import
(C,
xcb_xkb_list_components_unchecked,
"xcb_xkb_list_components_unchecked");
function xcb_xkb_list_components_keymaps_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:10451
pragma Import
(C,
xcb_xkb_list_components_keymaps_length,
"xcb_xkb_list_components_keymaps_length");
function xcb_xkb_list_components_keymaps_iterator
(R : System.Address)
return xcb_xkb_listing_iterator_t; -- /usr/include/xcb/xkb.h:10464
pragma Import
(C,
xcb_xkb_list_components_keymaps_iterator,
"xcb_xkb_list_components_keymaps_iterator");
function xcb_xkb_list_components_keycodes_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:10477
pragma Import
(C,
xcb_xkb_list_components_keycodes_length,
"xcb_xkb_list_components_keycodes_length");
function xcb_xkb_list_components_keycodes_iterator
(R : System.Address)
return xcb_xkb_listing_iterator_t; -- /usr/include/xcb/xkb.h:10490
pragma Import
(C,
xcb_xkb_list_components_keycodes_iterator,
"xcb_xkb_list_components_keycodes_iterator");
function xcb_xkb_list_components_types_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:10503
pragma Import
(C,
xcb_xkb_list_components_types_length,
"xcb_xkb_list_components_types_length");
function xcb_xkb_list_components_types_iterator
(R : System.Address)
return xcb_xkb_listing_iterator_t; -- /usr/include/xcb/xkb.h:10516
pragma Import
(C,
xcb_xkb_list_components_types_iterator,
"xcb_xkb_list_components_types_iterator");
function xcb_xkb_list_components_compat_maps_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:10529
pragma Import
(C,
xcb_xkb_list_components_compat_maps_length,
"xcb_xkb_list_components_compat_maps_length");
function xcb_xkb_list_components_compat_maps_iterator
(R : System.Address)
return xcb_xkb_listing_iterator_t; -- /usr/include/xcb/xkb.h:10542
pragma Import
(C,
xcb_xkb_list_components_compat_maps_iterator,
"xcb_xkb_list_components_compat_maps_iterator");
function xcb_xkb_list_components_symbols_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:10555
pragma Import
(C,
xcb_xkb_list_components_symbols_length,
"xcb_xkb_list_components_symbols_length");
function xcb_xkb_list_components_symbols_iterator
(R : System.Address)
return xcb_xkb_listing_iterator_t; -- /usr/include/xcb/xkb.h:10568
pragma Import
(C,
xcb_xkb_list_components_symbols_iterator,
"xcb_xkb_list_components_symbols_iterator");
function xcb_xkb_list_components_geometries_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:10581
pragma Import
(C,
xcb_xkb_list_components_geometries_length,
"xcb_xkb_list_components_geometries_length");
function xcb_xkb_list_components_geometries_iterator
(R : System.Address)
return xcb_xkb_listing_iterator_t; -- /usr/include/xcb/xkb.h:10594
pragma Import
(C,
xcb_xkb_list_components_geometries_iterator,
"xcb_xkb_list_components_geometries_iterator");
function xcb_xkb_list_components_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_list_components_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_list_components_reply_t; -- /usr/include/xcb/xkb.h:10623
pragma Import
(C,
xcb_xkb_list_components_reply,
"xcb_xkb_list_components_reply");
function xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10638
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_type_iterator_t; -- /usr/include/xcb/xkb.h:10652
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_iterator,
"xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_iterator");
function xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10666
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_sym_map_iterator_t; -- /usr/include/xcb/xkb.h:10680
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_iterator,
"xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_iterator");
function xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:10694
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count,
"xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count");
function xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10707
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:10721
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_end,
"xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_end");
function xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts
(S : System.Address)
return access xcb_xkb_action_t; -- /usr/include/xcb/xkb.h:10735
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts,
"xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts");
function xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10748
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_action_iterator_t; -- /usr/include/xcb/xkb.h:10762
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_iterator,
"xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_iterator");
function xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn
(S : System.Address)
return access xcb_xkb_set_behavior_t; -- /usr/include/xcb/xkb.h:10776
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn,
"xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn");
function xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10789
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_set_behavior_iterator_t; -- /usr/include/xcb/xkb.h:10803
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_iterator,
"xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_iterator");
function xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:10817
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn,
"xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn");
function xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10830
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:10844
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_end,
"xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_end");
function xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn
(S : System.Address)
return access xcb_xkb_set_explicit_t; -- /usr/include/xcb/xkb.h:10858
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn,
"xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn");
function xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10871
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_set_explicit_iterator_t; -- /usr/include/xcb/xkb.h:10885
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_iterator,
"xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_iterator");
function xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn
(S : System.Address)
return access xcb_xkb_key_mod_map_t; -- /usr/include/xcb/xkb.h:10899
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn,
"xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn");
function xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10912
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_mod_map_iterator_t; -- /usr/include/xcb/xkb.h:10926
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_iterator,
"xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_iterator");
function xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn
(S : System.Address)
return access xcb_xkb_key_v_mod_map_t; -- /usr/include/xcb/xkb.h:10940
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn,
"xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn");
function xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:10953
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_v_mod_map_iterator_t; -- /usr/include/xcb/xkb.h:10967
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_iterator,
"xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_iterator");
function xcb_xkb_get_kbd_by_name_replies_types_map_serialize
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t;
u_aux : System.Address) return int; -- /usr/include/xcb/xkb.h:10971
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_serialize,
"xcb_xkb_get_kbd_by_name_replies_types_map_serialize");
function xcb_xkb_get_kbd_by_name_replies_types_map_unpack
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t;
u_aux : access xcb_xkb_get_kbd_by_name_replies_types_map_t)
return int; -- /usr/include/xcb/xkb.h:10985
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_unpack,
"xcb_xkb_get_kbd_by_name_replies_types_map_unpack");
function xcb_xkb_get_kbd_by_name_replies_types_map_sizeof
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKeySyms : Libc.Stdint.uint8_t;
nKeyActions : Libc.Stdint.uint8_t;
totalActions : Libc.Stdint.uint16_t;
totalKeyBehaviors : Libc.Stdint.uint8_t;
virtualMods : Libc.Stdint.uint16_t;
totalKeyExplicit : Libc.Stdint.uint8_t;
totalModMapKeys : Libc.Stdint.uint8_t;
totalVModMapKeys : Libc.Stdint.uint8_t;
present : Libc.Stdint.uint16_t)
return int; -- /usr/include/xcb/xkb.h:10999
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_types_map_sizeof,
"xcb_xkb_get_kbd_by_name_replies_types_map_sizeof");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:11022
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11035
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:11049
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_end,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_end");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type
(S : System.Address)
return access Libc.Stdint.uint8_t; -- /usr/include/xcb/xkb.h:11063
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11076
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:11090
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_end,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_end");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:11104
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11117
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:11131
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_end,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_end");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:11145
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11158
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:11172
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_end,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_end");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:11186
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11199
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:11213
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_end,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_end");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:11227
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11240
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:11254
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_end,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_end");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names
(S : System.Address)
return access xcb_xkb_key_name_t; -- /usr/include/xcb/xkb.h:11268
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11281
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_name_iterator_t; -- /usr/include/xcb/xkb.h:11295
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_iterator,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_iterator");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases
(S : System.Address)
return access xcb_xkb_key_alias_t; -- /usr/include/xcb/xkb.h:11309
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11322
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_key_alias_iterator_t; -- /usr/include/xcb/xkb.h:11336
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_iterator,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_iterator");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names
(S : System.Address)
return access XCB.XProto.xcb_atom_t; -- /usr/include/xcb/xkb.h:11350
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11363
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_length,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_length");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_end
(R : System.Address;
S : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:11377
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_end,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_end");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_serialize
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint16_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t;
u_aux : System.Address) return int; -- /usr/include/xcb/xkb.h:11381
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_serialize,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_serialize");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_unpack
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint16_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t;
u_aux : access xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t)
return int; -- /usr/include/xcb/xkb.h:11394
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_unpack,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_unpack");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof
(u_buffer : System.Address;
nTypes : Libc.Stdint.uint8_t;
nKTLevels : Libc.Stdint.uint16_t;
indicators : Libc.Stdint.uint32_t;
virtualMods : Libc.Stdint.uint16_t;
groupNames : Libc.Stdint.uint8_t;
nKeys : Libc.Stdint.uint8_t;
nKeyAliases : Libc.Stdint.uint8_t;
nRadioGroups : Libc.Stdint.uint8_t;
which : Libc.Stdint.uint32_t)
return int; -- /usr/include/xcb/xkb.h:11407
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof");
function xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn
(S : System.Address)
return access xcb_xkb_sym_interpret_t; -- /usr/include/xcb/xkb.h:11429
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn,
"xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn");
function xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11442
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_sym_interpret_iterator_t; -- /usr/include/xcb/xkb.h:11456
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_iterator,
"xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_iterator");
function xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn
(S : System.Address)
return access xcb_xkb_mod_def_t; -- /usr/include/xcb/xkb.h:11470
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn,
"xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn");
function xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11483
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_length,
"xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_length");
function xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_mod_def_iterator_t; -- /usr/include/xcb/xkb.h:11497
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_iterator,
"xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_iterator");
function xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps
(S : System.Address)
return access xcb_xkb_indicator_map_t; -- /usr/include/xcb/xkb.h:11511
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps,
"xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps");
function xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_length
(R : System.Address;
S : System.Address) return int; -- /usr/include/xcb/xkb.h:11524
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_length,
"xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_length");
function xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_iterator
(R : System.Address;
S : System.Address)
return xcb_xkb_indicator_map_iterator_t; -- /usr/include/xcb/xkb.h:11538
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_iterator,
"xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_iterator");
function xcb_xkb_get_kbd_by_name_replies_key_names_value_list
(R : System.Address)
return access xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t; -- /usr/include/xcb/xkb.h:11552
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_key_names_value_list,
"xcb_xkb_get_kbd_by_name_replies_key_names_value_list");
function xcb_xkb_get_kbd_by_name_replies_geometry_label_font
(R : System.Address)
return access xcb_xkb_counted_string_16_t; -- /usr/include/xcb/xkb.h:11565
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_geometry_label_font,
"xcb_xkb_get_kbd_by_name_replies_geometry_label_font");
function xcb_xkb_get_kbd_by_name_replies_serialize
(u_buffer : System.Address;
reported : Libc.Stdint.uint16_t;
u_aux : System.Address) return int; -- /usr/include/xcb/xkb.h:11568
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_serialize,
"xcb_xkb_get_kbd_by_name_replies_serialize");
function xcb_xkb_get_kbd_by_name_replies_unpack
(u_buffer : System.Address;
reported : Libc.Stdint.uint16_t;
u_aux : access xcb_xkb_get_kbd_by_name_replies_t)
return int; -- /usr/include/xcb/xkb.h:11573
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_unpack,
"xcb_xkb_get_kbd_by_name_replies_unpack");
function xcb_xkb_get_kbd_by_name_replies_sizeof
(u_buffer : System.Address;
reported : Libc.Stdint.uint16_t)
return int; -- /usr/include/xcb/xkb.h:11578
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies_sizeof,
"xcb_xkb_get_kbd_by_name_replies_sizeof");
function xcb_xkb_get_kbd_by_name
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
need : Libc.Stdint.uint16_t;
want : Libc.Stdint.uint16_t;
load : Libc.Stdint.uint8_t)
return xcb_xkb_get_kbd_by_name_cookie_t; -- /usr/include/xcb/xkb.h:11604
pragma Import (C, xcb_xkb_get_kbd_by_name, "xcb_xkb_get_kbd_by_name");
function xcb_xkb_get_kbd_by_name_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
need : Libc.Stdint.uint16_t;
want : Libc.Stdint.uint16_t;
load : Libc.Stdint.uint8_t)
return xcb_xkb_get_kbd_by_name_cookie_t; -- /usr/include/xcb/xkb.h:11636
pragma Import
(C,
xcb_xkb_get_kbd_by_name_unchecked,
"xcb_xkb_get_kbd_by_name_unchecked");
function xcb_xkb_get_kbd_by_name_replies
(R : System.Address)
return System.Address; -- /usr/include/xcb/xkb.h:11653
pragma Import
(C,
xcb_xkb_get_kbd_by_name_replies,
"xcb_xkb_get_kbd_by_name_replies");
function xcb_xkb_get_kbd_by_name_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_kbd_by_name_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_kbd_by_name_reply_t; -- /usr/include/xcb/xkb.h:11682
pragma Import
(C,
xcb_xkb_get_kbd_by_name_reply,
"xcb_xkb_get_kbd_by_name_reply");
function xcb_xkb_get_device_info_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:11687
pragma Import
(C,
xcb_xkb_get_device_info_sizeof,
"xcb_xkb_get_device_info_sizeof");
function xcb_xkb_get_device_info
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
wanted : Libc.Stdint.uint16_t;
allButtons : Libc.Stdint.uint8_t;
firstButton : Libc.Stdint.uint8_t;
nButtons : Libc.Stdint.uint8_t;
ledClass : xcb_xkb_led_class_spec_t;
ledID : xcb_xkb_id_spec_t)
return xcb_xkb_get_device_info_cookie_t; -- /usr/include/xcb/xkb.h:11715
pragma Import (C, xcb_xkb_get_device_info, "xcb_xkb_get_device_info");
function xcb_xkb_get_device_info_unchecked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
wanted : Libc.Stdint.uint16_t;
allButtons : Libc.Stdint.uint8_t;
firstButton : Libc.Stdint.uint8_t;
nButtons : Libc.Stdint.uint8_t;
ledClass : xcb_xkb_led_class_spec_t;
ledID : xcb_xkb_id_spec_t)
return xcb_xkb_get_device_info_cookie_t; -- /usr/include/xcb/xkb.h:11753
pragma Import
(C,
xcb_xkb_get_device_info_unchecked,
"xcb_xkb_get_device_info_unchecked");
function xcb_xkb_get_device_info_name
(R : System.Address)
return access xcb_xkb_string8_t; -- /usr/include/xcb/xkb.h:11773
pragma Import
(C,
xcb_xkb_get_device_info_name,
"xcb_xkb_get_device_info_name");
function xcb_xkb_get_device_info_name_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:11786
pragma Import
(C,
xcb_xkb_get_device_info_name_length,
"xcb_xkb_get_device_info_name_length");
function xcb_xkb_get_device_info_name_end
(R : System.Address)
return XCB.xcb_generic_iterator_t; -- /usr/include/xcb/xkb.h:11799
pragma Import
(C,
xcb_xkb_get_device_info_name_end,
"xcb_xkb_get_device_info_name_end");
function xcb_xkb_get_device_info_btn_actions
(R : System.Address)
return access xcb_xkb_action_t; -- /usr/include/xcb/xkb.h:11812
pragma Import
(C,
xcb_xkb_get_device_info_btn_actions,
"xcb_xkb_get_device_info_btn_actions");
function xcb_xkb_get_device_info_btn_actions_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:11825
pragma Import
(C,
xcb_xkb_get_device_info_btn_actions_length,
"xcb_xkb_get_device_info_btn_actions_length");
function xcb_xkb_get_device_info_btn_actions_iterator
(R : System.Address)
return xcb_xkb_action_iterator_t; -- /usr/include/xcb/xkb.h:11838
pragma Import
(C,
xcb_xkb_get_device_info_btn_actions_iterator,
"xcb_xkb_get_device_info_btn_actions_iterator");
function xcb_xkb_get_device_info_leds_length
(R : System.Address) return int; -- /usr/include/xcb/xkb.h:11851
pragma Import
(C,
xcb_xkb_get_device_info_leds_length,
"xcb_xkb_get_device_info_leds_length");
function xcb_xkb_get_device_info_leds_iterator
(R : System.Address)
return xcb_xkb_device_led_info_iterator_t; -- /usr/include/xcb/xkb.h:11864
pragma Import
(C,
xcb_xkb_get_device_info_leds_iterator,
"xcb_xkb_get_device_info_leds_iterator");
function xcb_xkb_get_device_info_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_get_device_info_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_get_device_info_reply_t; -- /usr/include/xcb/xkb.h:11893
pragma Import
(C,
xcb_xkb_get_device_info_reply,
"xcb_xkb_get_device_info_reply");
function xcb_xkb_set_device_info_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:11898
pragma Import
(C,
xcb_xkb_set_device_info_sizeof,
"xcb_xkb_set_device_info_sizeof");
function xcb_xkb_set_device_info_checked
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
firstBtn : Libc.Stdint.uint8_t;
nBtns : Libc.Stdint.uint8_t;
change : Libc.Stdint.uint16_t;
nDeviceLedFBs : Libc.Stdint.uint16_t;
btnActions : System.Address;
leds : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:11929
pragma Import
(C,
xcb_xkb_set_device_info_checked,
"xcb_xkb_set_device_info_checked");
function xcb_xkb_set_device_info
(c : xcb_connection_t_access;
deviceSpec : xcb_xkb_device_spec_t;
firstBtn : Libc.Stdint.uint8_t;
nBtns : Libc.Stdint.uint8_t;
change : Libc.Stdint.uint16_t;
nDeviceLedFBs : Libc.Stdint.uint16_t;
btnActions : System.Address;
leds : System.Address)
return XCB.xcb_void_cookie_t; -- /usr/include/xcb/xkb.h:11964
pragma Import (C, xcb_xkb_set_device_info, "xcb_xkb_set_device_info");
function xcb_xkb_set_debugging_flags_sizeof
(u_buffer : System.Address) return int; -- /usr/include/xcb/xkb.h:11974
pragma Import
(C,
xcb_xkb_set_debugging_flags_sizeof,
"xcb_xkb_set_debugging_flags_sizeof");
function xcb_xkb_set_debugging_flags
(c : xcb_connection_t_access;
msgLength : Libc.Stdint.uint16_t;
affectFlags : Libc.Stdint.uint32_t;
flags : Libc.Stdint.uint32_t;
affectCtrls : Libc.Stdint.uint32_t;
ctrls : Libc.Stdint.uint32_t;
message : access xcb_xkb_string8_t)
return xcb_xkb_set_debugging_flags_cookie_t; -- /usr/include/xcb/xkb.h:12001
pragma Import
(C,
xcb_xkb_set_debugging_flags,
"xcb_xkb_set_debugging_flags");
function xcb_xkb_set_debugging_flags_unchecked
(c : xcb_connection_t_access;
msgLength : Libc.Stdint.uint16_t;
affectFlags : Libc.Stdint.uint32_t;
flags : Libc.Stdint.uint32_t;
affectCtrls : Libc.Stdint.uint32_t;
ctrls : Libc.Stdint.uint32_t;
message : access xcb_xkb_string8_t)
return xcb_xkb_set_debugging_flags_cookie_t; -- /usr/include/xcb/xkb.h:12037
pragma Import
(C,
xcb_xkb_set_debugging_flags_unchecked,
"xcb_xkb_set_debugging_flags_unchecked");
function xcb_xkb_set_debugging_flags_reply
(c : xcb_connection_t_access;
cookie : xcb_xkb_set_debugging_flags_cookie_t;
e : access xcb_generic_error_t_access)
return access xcb_xkb_set_debugging_flags_reply_t; -- /usr/include/xcb/xkb.h:12072
pragma Import
(C,
xcb_xkb_set_debugging_flags_reply,
"xcb_xkb_set_debugging_flags_reply");
end XCB.XKB;
|
Cubical/Structures/Constant.agda | dan-iel-lee/cubical | 0 | 890 | <reponame>dan-iel-lee/cubical
{-
Constant structure: _ ↦ A
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Constant where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.SIP
private
variable
ℓ ℓ' : Level
-- Structured isomorphisms
module _ (A : Type ℓ') where
ConstantStructure : Type ℓ → Type ℓ'
ConstantStructure _ = A
ConstantEquivStr : StrEquiv {ℓ} ConstantStructure ℓ'
ConstantEquivStr (_ , a) (_ , a') _ = a ≡ a'
constantUnivalentStr : UnivalentStr {ℓ} ConstantStructure ConstantEquivStr
constantUnivalentStr e = idEquiv _
constantEquivAction : EquivAction {ℓ} ConstantStructure
constantEquivAction e = idEquiv _
constantTransportStr : TransportStr {ℓ} constantEquivAction
constantTransportStr e _ = sym (transportRefl _)
|
stm32f1/stm32f103xx/svd/stm32_svd-afio.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 17268 | -- This spec has been automatically generated from STM32F103.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.AFIO is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype EVCR_PIN_Field is STM32_SVD.UInt4;
subtype EVCR_PORT_Field is STM32_SVD.UInt3;
subtype EVCR_EVOE_Field is STM32_SVD.Bit;
-- Event Control Register (AFIO_EVCR)
type EVCR_Register is record
-- Pin selection
PIN : EVCR_PIN_Field := 16#0#;
-- Port selection
PORT : EVCR_PORT_Field := 16#0#;
-- Event Output Enable
EVOE : EVCR_EVOE_Field := 16#0#;
-- unspecified
Reserved_8_31 : STM32_SVD.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for EVCR_Register use record
PIN at 0 range 0 .. 3;
PORT at 0 range 4 .. 6;
EVOE at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
subtype MAPR_SPI1_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_I2C1_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_USART1_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_USART2_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_USART3_REMAP_Field is STM32_SVD.UInt2;
subtype MAPR_TIM1_REMAP_Field is STM32_SVD.UInt2;
subtype MAPR_TIM2_REMAP_Field is STM32_SVD.UInt2;
subtype MAPR_TIM3_REMAP_Field is STM32_SVD.UInt2;
subtype MAPR_TIM4_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_CAN_REMAP_Field is STM32_SVD.UInt2;
subtype MAPR_PD01_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_TIM5CH4_IREMAP_Field is STM32_SVD.Bit;
subtype MAPR_ADC1_ETRGINJ_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_ADC1_ETRGREG_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_ADC2_ETRGINJ_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_ADC2_ETRGREG_REMAP_Field is STM32_SVD.Bit;
subtype MAPR_SWJ_CFG_Field is STM32_SVD.UInt3;
-- AF remap and debug I/O configuration register (AFIO_MAPR)
type MAPR_Register is record
-- SPI1 remapping
SPI1_REMAP : MAPR_SPI1_REMAP_Field := 16#0#;
-- I2C1 remapping
I2C1_REMAP : MAPR_I2C1_REMAP_Field := 16#0#;
-- USART1 remapping
USART1_REMAP : MAPR_USART1_REMAP_Field := 16#0#;
-- USART2 remapping
USART2_REMAP : MAPR_USART2_REMAP_Field := 16#0#;
-- USART3 remapping
USART3_REMAP : MAPR_USART3_REMAP_Field := 16#0#;
-- TIM1 remapping
TIM1_REMAP : MAPR_TIM1_REMAP_Field := 16#0#;
-- TIM2 remapping
TIM2_REMAP : MAPR_TIM2_REMAP_Field := 16#0#;
-- TIM3 remapping
TIM3_REMAP : MAPR_TIM3_REMAP_Field := 16#0#;
-- TIM4 remapping
TIM4_REMAP : MAPR_TIM4_REMAP_Field := 16#0#;
-- CAN1 remapping
CAN_REMAP : MAPR_CAN_REMAP_Field := 16#0#;
-- Port D0/Port D1 mapping on OSCIN/OSCOUT
PD01_REMAP : MAPR_PD01_REMAP_Field := 16#0#;
-- Set and cleared by software
TIM5CH4_IREMAP : MAPR_TIM5CH4_IREMAP_Field := 16#0#;
-- ADC 1 External trigger injected conversion remapping
ADC1_ETRGINJ_REMAP : MAPR_ADC1_ETRGINJ_REMAP_Field := 16#0#;
-- ADC 1 external trigger regular conversion remapping
ADC1_ETRGREG_REMAP : MAPR_ADC1_ETRGREG_REMAP_Field := 16#0#;
-- ADC 2 external trigger injected conversion remapping
ADC2_ETRGINJ_REMAP : MAPR_ADC2_ETRGINJ_REMAP_Field := 16#0#;
-- ADC 2 external trigger regular conversion remapping
ADC2_ETRGREG_REMAP : MAPR_ADC2_ETRGREG_REMAP_Field := 16#0#;
-- unspecified
Reserved_21_23 : STM32_SVD.UInt3 := 16#0#;
-- Write-only. Serial wire JTAG configuration
SWJ_CFG : MAPR_SWJ_CFG_Field := 16#0#;
-- unspecified
Reserved_27_31 : STM32_SVD.UInt5 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for MAPR_Register use record
SPI1_REMAP at 0 range 0 .. 0;
I2C1_REMAP at 0 range 1 .. 1;
USART1_REMAP at 0 range 2 .. 2;
USART2_REMAP at 0 range 3 .. 3;
USART3_REMAP at 0 range 4 .. 5;
TIM1_REMAP at 0 range 6 .. 7;
TIM2_REMAP at 0 range 8 .. 9;
TIM3_REMAP at 0 range 10 .. 11;
TIM4_REMAP at 0 range 12 .. 12;
CAN_REMAP at 0 range 13 .. 14;
PD01_REMAP at 0 range 15 .. 15;
TIM5CH4_IREMAP at 0 range 16 .. 16;
ADC1_ETRGINJ_REMAP at 0 range 17 .. 17;
ADC1_ETRGREG_REMAP at 0 range 18 .. 18;
ADC2_ETRGINJ_REMAP at 0 range 19 .. 19;
ADC2_ETRGREG_REMAP at 0 range 20 .. 20;
Reserved_21_23 at 0 range 21 .. 23;
SWJ_CFG at 0 range 24 .. 26;
Reserved_27_31 at 0 range 27 .. 31;
end record;
-- EXTICR1_EXTI array element
subtype EXTICR1_EXTI_Element is STM32_SVD.UInt4;
-- EXTICR1_EXTI array
type EXTICR1_EXTI_Field_Array is array (0 .. 3) of EXTICR1_EXTI_Element
with Component_Size => 4, Size => 16;
-- Type definition for EXTICR1_EXTI
type EXTICR1_EXTI_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- EXTI as a value
Val : STM32_SVD.UInt16;
when True =>
-- EXTI as an array
Arr : EXTICR1_EXTI_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for EXTICR1_EXTI_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- External interrupt configuration register 1 (AFIO_EXTICR1)
type EXTICR1_Register is record
-- EXTI0 configuration
EXTI : EXTICR1_EXTI_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for EXTICR1_Register use record
EXTI at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- EXTICR2_EXTI array element
subtype EXTICR2_EXTI_Element is STM32_SVD.UInt4;
-- EXTICR2_EXTI array
type EXTICR2_EXTI_Field_Array is array (4 .. 7) of EXTICR2_EXTI_Element
with Component_Size => 4, Size => 16;
-- Type definition for EXTICR2_EXTI
type EXTICR2_EXTI_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- EXTI as a value
Val : STM32_SVD.UInt16;
when True =>
-- EXTI as an array
Arr : EXTICR2_EXTI_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for EXTICR2_EXTI_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- External interrupt configuration register 2 (AFIO_EXTICR2)
type EXTICR2_Register is record
-- EXTI4 configuration
EXTI : EXTICR2_EXTI_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for EXTICR2_Register use record
EXTI at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- EXTICR3_EXTI array element
subtype EXTICR3_EXTI_Element is STM32_SVD.UInt4;
-- EXTICR3_EXTI array
type EXTICR3_EXTI_Field_Array is array (8 .. 11) of EXTICR3_EXTI_Element
with Component_Size => 4, Size => 16;
-- Type definition for EXTICR3_EXTI
type EXTICR3_EXTI_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- EXTI as a value
Val : STM32_SVD.UInt16;
when True =>
-- EXTI as an array
Arr : EXTICR3_EXTI_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for EXTICR3_EXTI_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- External interrupt configuration register 3 (AFIO_EXTICR3)
type EXTICR3_Register is record
-- EXTI8 configuration
EXTI : EXTICR3_EXTI_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for EXTICR3_Register use record
EXTI at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- EXTICR4_EXTI array element
subtype EXTICR4_EXTI_Element is STM32_SVD.UInt4;
-- EXTICR4_EXTI array
type EXTICR4_EXTI_Field_Array is array (12 .. 15) of EXTICR4_EXTI_Element
with Component_Size => 4, Size => 16;
-- Type definition for EXTICR4_EXTI
type EXTICR4_EXTI_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- EXTI as a value
Val : STM32_SVD.UInt16;
when True =>
-- EXTI as an array
Arr : EXTICR4_EXTI_Field_Array;
end case;
end record
with Unchecked_Union, Size => 16;
for EXTICR4_EXTI_Field use record
Val at 0 range 0 .. 15;
Arr at 0 range 0 .. 15;
end record;
-- External interrupt configuration register 4 (AFIO_EXTICR4)
type EXTICR4_Register is record
-- EXTI12 configuration
EXTI : EXTICR4_EXTI_Field :=
(As_Array => False, Val => 16#0#);
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for EXTICR4_Register use record
EXTI at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
subtype MAPR2_TIM9_REMAP_Field is STM32_SVD.Bit;
subtype MAPR2_TIM10_REMAP_Field is STM32_SVD.Bit;
subtype MAPR2_TIM11_REMAP_Field is STM32_SVD.Bit;
subtype MAPR2_TIM13_REMAP_Field is STM32_SVD.Bit;
subtype MAPR2_TIM14_REMAP_Field is STM32_SVD.Bit;
subtype MAPR2_FSMC_NADV_Field is STM32_SVD.Bit;
-- AF remap and debug I/O configuration register
type MAPR2_Register is record
-- unspecified
Reserved_0_4 : STM32_SVD.UInt5 := 16#0#;
-- TIM9 remapping
TIM9_REMAP : MAPR2_TIM9_REMAP_Field := 16#0#;
-- TIM10 remapping
TIM10_REMAP : MAPR2_TIM10_REMAP_Field := 16#0#;
-- TIM11 remapping
TIM11_REMAP : MAPR2_TIM11_REMAP_Field := 16#0#;
-- TIM13 remapping
TIM13_REMAP : MAPR2_TIM13_REMAP_Field := 16#0#;
-- TIM14 remapping
TIM14_REMAP : MAPR2_TIM14_REMAP_Field := 16#0#;
-- NADV connect/disconnect
FSMC_NADV : MAPR2_FSMC_NADV_Field := 16#0#;
-- unspecified
Reserved_11_31 : STM32_SVD.UInt21 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for MAPR2_Register use record
Reserved_0_4 at 0 range 0 .. 4;
TIM9_REMAP at 0 range 5 .. 5;
TIM10_REMAP at 0 range 6 .. 6;
TIM11_REMAP at 0 range 7 .. 7;
TIM13_REMAP at 0 range 8 .. 8;
TIM14_REMAP at 0 range 9 .. 9;
FSMC_NADV at 0 range 10 .. 10;
Reserved_11_31 at 0 range 11 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Alternate function I/O
type AFIO_Peripheral is record
-- Event Control Register (AFIO_EVCR)
EVCR : aliased EVCR_Register;
-- AF remap and debug I/O configuration register (AFIO_MAPR)
MAPR : aliased MAPR_Register;
-- External interrupt configuration register 1 (AFIO_EXTICR1)
EXTICR1 : aliased EXTICR1_Register;
-- External interrupt configuration register 2 (AFIO_EXTICR2)
EXTICR2 : aliased EXTICR2_Register;
-- External interrupt configuration register 3 (AFIO_EXTICR3)
EXTICR3 : aliased EXTICR3_Register;
-- External interrupt configuration register 4 (AFIO_EXTICR4)
EXTICR4 : aliased EXTICR4_Register;
-- AF remap and debug I/O configuration register
MAPR2 : aliased MAPR2_Register;
end record
with Volatile;
for AFIO_Peripheral use record
EVCR at 16#0# range 0 .. 31;
MAPR at 16#4# range 0 .. 31;
EXTICR1 at 16#8# range 0 .. 31;
EXTICR2 at 16#C# range 0 .. 31;
EXTICR3 at 16#10# range 0 .. 31;
EXTICR4 at 16#14# range 0 .. 31;
MAPR2 at 16#1C# range 0 .. 31;
end record;
-- Alternate function I/O
AFIO_Periph : aliased AFIO_Peripheral
with Import, Address => System'To_Address (16#40010000#);
end STM32_SVD.AFIO;
|
programs/oeis/040/A040419.asm | jmorken/loda | 1 | 17573 | <gh_stars>1-10
; A040419: Continued fraction for sqrt(440).
; 20,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40
mov $1,20
lpb $0
mod $0,2
mul $1,2
lpe
gcd $1,$0
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_293.asm | ljhsiun2/medusa | 9 | 92486 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x18a10, %r10
nop
nop
nop
nop
xor %rax, %rax
movb $0x61, (%r10)
nop
nop
sub $48205, %rbx
lea addresses_UC_ht+0x1d00, %rax
nop
nop
nop
add %rbp, %rbp
movb $0x61, (%rax)
nop
nop
nop
nop
nop
add %rbp, %rbp
lea addresses_WT_ht+0xc000, %rbp
nop
nop
nop
nop
and $60331, %rdi
movw $0x6162, (%rbp)
nop
nop
nop
nop
mfence
lea addresses_WC_ht+0xb0e8, %rsi
lea addresses_WC_ht+0x2200, %rdi
nop
nop
nop
add %r10, %r10
mov $6, %rcx
rep movsl
nop
nop
xor %r10, %r10
lea addresses_WC_ht+0x1c00, %rsi
lea addresses_normal_ht+0xe800, %rdi
nop
nop
cmp $35047, %rbx
mov $2, %rcx
rep movsw
nop
nop
nop
sub %rax, %rax
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r15
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_D+0x14200, %rsi
lea addresses_normal+0x13c00, %rdi
nop
dec %r11
mov $19, %rcx
rep movsl
xor %r14, %r14
// Store
lea addresses_WT+0xfa00, %r8
add %rbx, %rbx
mov $0x5152535455565758, %rcx
movq %rcx, (%r8)
nop
add %rsi, %rsi
// REPMOV
lea addresses_PSE+0xdd3a, %rsi
lea addresses_WT+0x66e0, %rdi
nop
dec %r8
mov $15, %rcx
rep movsl
nop
nop
sub %rsi, %rsi
// Store
lea addresses_D+0xd400, %rsi
nop
nop
nop
nop
nop
add $51996, %rcx
movb $0x51, (%rsi)
nop
nop
sub %r11, %r11
// Store
lea addresses_D+0x1c600, %r8
nop
nop
nop
nop
inc %r14
movb $0x51, (%r8)
nop
nop
nop
nop
dec %rbx
// Store
lea addresses_WC+0xe500, %r8
nop
cmp %rdi, %rdi
mov $0x5152535455565758, %rbx
movq %rbx, %xmm5
movups %xmm5, (%r8)
nop
add %rdi, %rdi
// Store
lea addresses_D+0x13a00, %r14
nop
nop
nop
xor $7250, %rcx
movw $0x5152, (%r14)
nop
nop
add %r11, %r11
// Store
lea addresses_WT+0x9980, %r14
nop
add %r8, %r8
mov $0x5152535455565758, %rbx
movq %rbx, %xmm6
vmovups %ymm6, (%r14)
nop
nop
nop
nop
nop
xor $2397, %rbx
// Store
lea addresses_WT+0xfa00, %rbx
cmp %rsi, %rsi
mov $0x5152535455565758, %rdi
movq %rdi, %xmm3
movntdq %xmm3, (%rbx)
nop
nop
and %rbx, %rbx
// REPMOV
lea addresses_UC+0x1a2a0, %rsi
lea addresses_WT+0x10890, %rdi
cmp $3032, %r10
mov $124, %rcx
rep movsq
nop
and $27542, %rcx
// Store
lea addresses_A+0xf700, %r14
clflush (%r14)
nop
cmp $1393, %rcx
movl $0x51525354, (%r14)
nop
nop
nop
nop
nop
add $22631, %r8
// Faulty Load
lea addresses_WT+0xfa00, %rsi
clflush (%rsi)
nop
cmp $20936, %r14
mov (%rsi), %edi
lea oracles, %r14
and $0xff, %rdi
shlq $12, %rdi
mov (%r14,%rdi,1), %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r14
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WT', 'congruent': 0}}
{'dst': {'same': False, 'congruent': 9, 'type': 'addresses_normal'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_D'}}
{'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WT', 'congruent': 0}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WT'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_PSE'}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_D', 'congruent': 9}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_D', 'congruent': 9}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WC', 'congruent': 7}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_D', 'congruent': 11}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_WT', 'congruent': 7}, 'OP': 'STOR'}
{'dst': {'same': True, 'NT': True, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT', 'congruent': 0}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 4, 'type': 'addresses_WT'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_UC'}}
{'dst': {'same': True, 'NT': False, 'AVXalign': True, 'size': 4, 'type': 'addresses_A', 'congruent': 6}, 'OP': 'STOR'}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WT', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_WC_ht', 'congruent': 4}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_UC_ht', 'congruent': 8}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_WT_ht', 'congruent': 9}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 11, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_WC_ht'}}
{'dst': {'same': True, 'congruent': 8, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_WC_ht'}}
{'58': 21829}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
|
src/wiki-filters-html.adb | jquorning/ada-wiki | 18 | 9739 | <reponame>jquorning/ada-wiki<filename>src/wiki-filters-html.adb<gh_stars>10-100
-----------------------------------------------------------------------
-- wiki-filters-html -- Wiki HTML filters
-- Copyright (C) 2015, 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Wiki.Helpers;
package body Wiki.Filters.Html is
-- ------------------------------
-- Add a simple node such as N_LINE_BREAK, N_HORIZONTAL_RULE or N_PARAGRAPH to the document.
-- ------------------------------
overriding
procedure Add_Node (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document;
Kind : in Wiki.Nodes.Simple_Node_Kind) is
Tag : Html_Tag;
begin
case Kind is
when N_LINE_BREAK =>
Tag := BR_TAG;
when N_PARAGRAPH =>
Tag := P_TAG;
when N_HORIZONTAL_RULE =>
Tag := HR_TAG;
when N_TOC_DISPLAY =>
return;
when N_NEWLINE =>
Filter_Type (Filter).Add_Node (Document, Kind);
return;
end case;
if Filter.Allowed (Tag) then
Filter_Type (Filter).Add_Node (Document, Kind);
end if;
end Add_Node;
-- ------------------------------
-- Add a text content with the given format to the document.
-- ------------------------------
overriding
procedure Add_Text (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document;
Text : in Wiki.Strings.WString;
Format : in Wiki.Format_Map) is
begin
if Filter.Hide_Level > 0 then
return;
end if;
Filter_Type (Filter).Add_Text (Document, Text, Format);
end Add_Text;
-- ------------------------------
-- Add a section header with the given level in the document.
-- ------------------------------
overriding
procedure Add_Header (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document;
Header : in Wiki.Strings.WString;
Level : in Natural) is
begin
Filter.Flush_Stack (Document);
Filter_Type (Filter).Add_Header (Document, Header, Level);
end Add_Header;
-- ------------------------------
-- Push a HTML node with the given tag to the document.
-- ------------------------------
overriding
procedure Push_Node (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document;
Tag : in Wiki.Html_Tag;
Attributes : in out Wiki.Attributes.Attribute_List) is
Current_Tag : Html_Tag;
begin
while not Filter.Stack.Is_Empty loop
Current_Tag := Filter.Stack.Last_Element;
if Wiki.Helpers.Need_Close (Tag, Current_Tag) then
if Filter.Hide_Level = 0 then
Filter_Type (Filter).Pop_Node (Document, Current_Tag);
end if;
Filter.Stack.Delete_Last;
end if;
exit;
end loop;
if Filter.Hidden (Tag) then
Filter.Hide_Level := Filter.Hide_Level + 1;
elsif not Filter.Allowed (Tag) then
return;
end if;
Filter.Stack.Append (Tag);
if Filter.Hide_Level = 0 then
Filter_Type (Filter).Push_Node (Document, Tag, Attributes);
end if;
end Push_Node;
-- ------------------------------
-- Pop a HTML node with the given tag.
-- ------------------------------
overriding
procedure Pop_Node (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document;
Tag : in Wiki.Html_Tag) is
Current_Tag : Html_Tag;
begin
if Filter.Stack.Is_Empty then
return;
elsif not Filter.Allowed (Tag) and not Filter.Hidden (Tag) then
return;
end if;
-- Emit a end tag element until we find our matching tag and the top most tag
-- allows the end tag to be omitted (ex: a td, tr, td, dd, ...).
while not Filter.Stack.Is_Empty loop
Current_Tag := Filter.Stack.Last_Element;
exit when Current_Tag = Tag or not Tag_Omission (Current_Tag);
if Filter.Hide_Level = 0 then
Filter_Type (Filter).Pop_Node (Document, Current_Tag);
end if;
Filter.Stack.Delete_Last;
end loop;
if Filter.Hide_Level = 0 then
Filter_Type (Filter).Pop_Node (Document, Tag);
end if;
if Filter.Hidden (Current_Tag) then
Filter.Hide_Level := Filter.Hide_Level - 1;
end if;
Filter.Stack.Delete_Last;
end Pop_Node;
-- ------------------------------
-- Add a link.
-- ------------------------------
overriding
procedure Add_Link (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document;
Name : in Wiki.Strings.WString;
Attributes : in out Wiki.Attributes.Attribute_List) is
begin
if Filter.Allowed (A_TAG) then
Filter_Type (Filter).Add_Link (Document, Name, Attributes);
end if;
end Add_Link;
-- ------------------------------
-- Add an image.
-- ------------------------------
overriding
procedure Add_Image (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document;
Name : in Wiki.Strings.WString;
Attributes : in out Wiki.Attributes.Attribute_List) is
begin
if Filter.Allowed (IMG_TAG) then
Filter_Type (Filter).Add_Image (Document, Name, Attributes);
end if;
end Add_Image;
-- ------------------------------
-- Flush the HTML element that have not yet been closed.
-- ------------------------------
procedure Flush_Stack (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document) is
begin
while not Filter.Stack.Is_Empty loop
declare
Tag : constant Html_Tag := Filter.Stack.Last_Element;
begin
if Filter.Hide_Level = 0 then
Filter_Type (Filter).Pop_Node (Document, Tag);
end if;
if Filter.Hidden (Tag) then
Filter.Hide_Level := Filter.Hide_Level - 1;
end if;
end;
Filter.Stack.Delete_Last;
end loop;
end Flush_Stack;
-- ------------------------------
-- Finish the document after complete wiki text has been parsed.
-- ------------------------------
overriding
procedure Finish (Filter : in out Html_Filter_Type;
Document : in out Wiki.Documents.Document) is
begin
Filter.Flush_Stack (Document);
Filter_Type (Filter).Finish (Document);
end Finish;
-- ------------------------------
-- Mark the HTML tag as being forbidden.
-- ------------------------------
procedure Forbidden (Filter : in out Html_Filter_Type;
Tag : in Html_Tag) is
begin
Filter.Allowed (Tag) := False;
end Forbidden;
-- ------------------------------
-- Mark the HTML tag as being allowed.
-- ------------------------------
procedure Allowed (Filter : in out Html_Filter_Type;
Tag : in Html_Tag) is
begin
Filter.Allowed (Tag) := True;
end Allowed;
-- ------------------------------
-- Mark the HTML tag as being hidden. The tag and its inner content including the text
-- will be removed and not passed to the final document.
-- ------------------------------
procedure Hide (Filter : in out Html_Filter_Type;
Tag : in Html_Tag) is
begin
Filter.Hidden (Tag) := True;
end Hide;
-- ------------------------------
-- Mark the HTML tag as being visible.
-- ------------------------------
procedure Visible (Filter : in out Html_Filter_Type;
Tag : in Html_Tag) is
begin
Filter.Hidden (Tag) := False;
end Visible;
end Wiki.Filters.Html;
|
programs/oeis/047/A047547.asm | karttu/loda | 0 | 26799 | ; A047547: Numbers that are congruent to {0, 2, 3, 4, 7} mod 8.
; 0,2,3,4,7,8,10,11,12,15,16,18,19,20,23,24,26,27,28,31,32,34,35,36,39,40,42,43,44,47,48,50,51,52,55,56,58,59,60,63,64,66,67,68,71,72,74,75,76,79,80,82,83,84,87,88,90,91,92,95,96,98,99,100,103
mov $1,$0
mov $2,$0
lpb $2,1
sub $2,2
mov $3,$0
mov $4,1
lpb $4,1
trn $4,$3
lpe
mov $0,$4
add $1,1
add $1,$4
add $2,$4
trn $2,1
lpe
|
source/tasking/a-tasatt.ads | ytomino/drake | 33 | 672 | <filename>source/tasking/a-tasatt.ads
pragma License (Unrestricted);
with Ada.Task_Identification; -- use Ada.Task_Identification;
generic
type Attribute is private;
Initial_Value : Attribute;
package Ada.Task_Attributes is
type Attribute_Handle is access all Attribute;
function Value (
T : Task_Identification.Task_Id := Task_Identification.Current_Task)
return Attribute;
function Reference (
T : Task_Identification.Task_Id := Task_Identification.Current_Task)
return not null Attribute_Handle;
procedure Set_Value (
Val : Attribute;
T : Task_Identification.Task_Id := Task_Identification.Current_Task);
procedure Reinitialize (
T : Task_Identification.Task_Id := Task_Identification.Current_Task);
end Ada.Task_Attributes;
|
alloy4fun_models/trashltl/models/9/5eT7wTw5kT8DwTbu2.als | Kaixi26/org.alloytools.alloy | 0 | 574 | open main
pred id5eT7wTw5kT8DwTbu2_prop10 {
always Protected' in Protected
}
pred __repair { id5eT7wTw5kT8DwTbu2_prop10 }
check __repair { id5eT7wTw5kT8DwTbu2_prop10 <=> prop10o } |
projects/Kirbys_Dream_Land_2.windfish/disassembly/bank_14.asm | jverkoey/awaken | 68 | 87678 | <reponame>jverkoey/awaken
SECTION "ROM Bank 14", ROMX[$4000], BANK[$14]
db $01, $05, $01, $01, $05, $47, $00, $40
db $16, $78, $7F, $13, $36, $4D, $08, $00
db $00, $BE, $27, $01, $00, $5C, $25, $00
db $24, $01, $05, $D6, $D6, $01, $01, $D6
db $96, $89, $00, $0B, $00, $5A, $C4, $00
db $19, $0C, $51, $5C, $77, $00, $5D, $01
db $01, $6E, $01, $54, $9E, $58, $55, $84
db $00, $14, $02, $E6, $51, $01, $24, $04
db $05, $9E, $9E, $04, $04, $8F, $D6, $29
db $04, $05, $96, $9E, $04, $04, $9E, $8F
db $25, $04, $01, $9E, $8F, $22, $D6, $04
db $96, $59, $9E, $9E, $97, $23, $D6, $83
db $00, $43, $00, $58, $84, $00, $62, $01
db $97, $D6, $87, $00, $6B, $00, $9E, $84
db $00, $61, $03, $D6, $D6, $8E, $8F, $85
db $00, $6D, $0E, $04, $04, $9E, $3F, $04
db $04, $D6, $27, $04, $04, $58, $8F, $04
db $04, $59, $86, $00, $56, $87, $00, $8D
db $02, $D6, $96, $9E, $86, $00, $68, $01
db $D6, $96, $C5, $00, $72, $00, $5B, $86
db $00, $78, $83, $00, $64, $01, $04, $04
db $2D, $D6, $84, $00, $A7, $04, $04, $D6
db $D6, $04, $04, $8B, $00, $DD, $01, $D6
db $8E, $CD, $00, $E8, $03, $8E, $9E, $9E
db $8F, $89, $00, $D9, $83, $00, $64, $86
db $00, $71, $03, $D6, $04, $04, $8F, $87
db $00, $B7, $01, $9E, $8F, $85, $00, $6C
db $84, $00, $73, $00, $27, $86, $00, $B3
db $0F, $04, $04, $18, $18, $9E, $8F, $46
db $46, $D6, $96, $18, $18, $3F, $D6, $46
db $46, $83, $00, $43, $09, $18, $18, $58
db $8F, $46, $46, $96, $97, $46, $46, $85
db $01, $3D, $87, $01, $51, $00, $D6, $84
db $01, $4C, $01, $96, $59, $85, $01, $61
db $01, $3F, $D6, $85, $01, $5B, $01, $46
db $46, $83, $01, $71, $01, $97, $5B, $87
db $01, $69, $01, $D6, $D6, $87, $01, $57
db $03, $46, $46, $8E, $8F, $C7, $01, $70
db $84, $01, $99, $00, $58, $C7, $01, $62
db $00, $8E, $83, $01, $44, $00, $27, $C8
db $01, $54, $04, $8E, $18, $18, $8F, $D6
db $83, $01, $81, $C3, $01, $42, $8A, $01
db $24, $04, $D6, $96, $9E, $04, $04, $87
db $01, $23, $85, $00, $73, $86, $00, $CF
db $00, $5B, $89, $01, $27, $00, $46, $22
db $D6, $06, $46, $D6, $8E, $9E, $59, $18
db $97, $C5, $02, $03, $41, $46, $D6, $83
db $01, $58, $00, $5B, $C5, $02, $14, $03
db $8E, $8F, $46, $D6, $85, $01, $A3, $00
db $D6, $84, $01, $5C, $07, $9E, $18, $8F
db $46, $5A, $46, $D6, $D6, $C7, $02, $16
db $08, $18, $9E, $9E, $58, $18, $8F, $8E
db $8F, $5A, $C6, $02, $05, $00, $5B, $84
db $00, $66, $03, $96, $9E, $9E, $8F, $88
db $01, $0B, $01, $96, $97, $84, $00, $BA
db $02, $8F, $8E, $8F, $C9, $00, $E1, $00
db $8E, $23, $9E, $01, $9E, $8F, $88, $00
db $CF, $02, $96, $9E, $9E, $C6, $00, $84
db $8B, $02, $81, $00, $97, $84, $01, $FF
db $00, $46, $84, $02, $A0, $04, $04, $18
db $59, $97, $46, $85, $01, $1F, $84, $00
db $D0, $00, $04, $86, $01, $3B, $02, $8F
db $5A, $46, $CB, $02, $AA, $83, $02, $7B
db $C8, $02, $BA, $85, $02, $3E, $C7, $02
db $AB, $01, $8E, $8F, $83, $01, $6E, $00
db $18, $84, $02, $0A, $02, $46, $D6, $5A
db $83, $01, $C4, $04, $04, $04, $D6, $96
db $97, $89, $02, $73, $00, $97, $8A, $02
db $8F, $84, $00, $67, $03, $04, $04, $8F
db $5A, $89, $02, $71, $03, $8F, $D6, $04
db $04, $88, $01, $06, $00, $96, $85, $03
db $1B, $05, $18, $18, $97, $D6, $46, $46
db $87, $01, $91, $03, $04, $04, $96, $97
db $87, $01, $A1, $CB, $01, $94, $00, $D6
db $CC, $03, $67, $01, $8E, $8F, $8C, $01
db $97, $86, $01, $C4, $01, $D6, $8E, $84
db $01, $AD, $01, $8E, $58, $83, $00, $B3
db $89, $00, $B8, $02, $96, $9E, $97, $89
db $03, $02, $83, $00, $BF, $00, $5B, $8A
db $02, $71, $01, $04, $04, $89, $00, $D9
db $00, $96, $8C, $02, $8C, $83, $00, $B9
db $8E, $03, $CD, $01, $D6, $5B, $85, $01
db $EE, $02, $8E, $8F, $5A, $8B, $00, $D7
db $07, $8E, $9E, $04, $9E, $8F, $D6, $D6
db $04, $8B, $03, $C3, $02, $9E, $58, $8F
db $8A, $03, $FA, $05, $9E, $9E, $9E, $9E
db $9E, $8F, $8C, $04, $0B, $02, $9E, $59
db $97, $8A, $02, $5B, $04, $96, $04, $04
db $8F, $D6, $CB, $01, $14, $03, $5B, $96
db $97, $D6, $86, $01, $1B, $8E, $00, $D2
db $02, $9E, $58, $8F, $8C, $00, $D4, $83
db $01, $41, $86, $02, $25, $87, $01, $4C
db $00, $97, $C4, $02, $3A, $01, $8E, $8F
db $85, $02, $2C, $00, $59, $84, $01, $5A
db $84, $01, $C3, $83, $01, $9D, $87, $02
db $F4, $02, $9E, $18, $18, $84, $02, $8C
db $87, $02, $73, $8C, $02, $89, $00, $96
db $84, $04, $C7, $98, $04, $BC, $88, $04
db $C6, $01, $9E, $C7, $FF, $3E, $11, $21
db $FF, $03, $FF, $08, $60, $88, $38, $98
db $70, $BF, $82, $66, $01, $01, $01, $01
db $01, $03, $00, $40, $16, $15, $43, $14
db $3A, $4D, $08, $00, $01, $B6, $5D, $24
db $01, $01, $54, $55, $22, $01, $23, $03
db $00, $AF, $84, $00, $04, $03, $54, $00
db $00, $55, $85, $00, $0A, $03, $00, $55
db $01, $54, $25, $00, $01, $AC, $55, $23
db $03, $2B, $04, $85, $00, $2C, $23, $87
db $CB, $00, $45, $23, $83, $CB, $00, $55
db $25, $85, $00, $36, $CE, $00, $62, $01
db $2E, $83, $CA, $00, $41, $00, $8C, $C9
db $00, $85, $0A, $00, $5D, $51, $5C, $04
db $5D, $51, $04, $5C, $5D, $5C, $C4, $00
db $20, $83, $00, $01, $23, $04, $03, $55
db $01, $01, $AE, $C6, $00, $0F, $23, $01
db $04, $5C, $5D, $01, $54, $B7, $E4, $43
db $03, $FF, $2E, $37, $0A, $05, $06, $07
db $0C, $FF, $04, $05, $04, $01, $01, $04
db $03, $04, $FF, $E8, $88, $D8, $88, $B8
db $78, $28, $00, $58, $98, $E0, $60, $D8
db $60, $E8, $58, $18, $28, $68, $78, $A8
db $D8, $00, $88, $28, $00, $98, $98, $CC
db $CC, $98, $CC, $CC, $78, $98, $C8, $18
db $18, $E8, $18, $F8, $28, $08, $D8, $B8
db $58, $18, $98, $90, $98, $58, $50, $86
db $86, $9F, $9F, $86, $9F, $9F, $14, $86
db $0D, $0F, $0F, $0D, $0F, $1A, $0D, $0D
db $1A, $1A, $86, $1A, $86, $2B, $86, $86
db $2B, $02, $04, $01, $04, $15, $37, $00
db $40, $16, $A2, $43, $14, $42, $4D, $08
db $00, $E4, $2F, $03, $00, $BE, $24, $01
db $01, $54, $55, $83, $00, $33, $22, $00
db $00, $5D, $84, $00, $33, $06, $54, $00
db $00, $55, $01, $01, $5C, $86, $00, $3D
db $01, $00, $00, $86, $00, $3C, $00, $5C
db $8D, $00, $4E, $25, $01, $83, $00, $4B
db $01, $5C, $5D, $89, $00, $31, $00, $01
db $88, $00, $75, $83, $00, $45, $00, $98
db $27, $01, $84, $00, $3B, $0E, $5C, $5D
db $98, $01, $98, $98, $01, $01, $98, $98
db $A0, $90, $B8, $10, $B8, $23, $98, $09
db $01, $98, $98, $71, $71, $98, $A0, $90
db $90, $B0, $24, $98, $06, $A0, $01, $98
db $98, $54, $55, $54, $88, $00, $64, $03
db $5C, $01, $98, $A0, $89, $00, $62, $83
db $00, $36, $00, $A0, $24, $90, $84, $00
db $AB, $83, $00, $B6, $00, $54, $8C, $00
db $E2, $01, $90, $B8, $E4, $2F, $03, $87
db $00, $92, $00, $5D, $85, $00, $6E, $00
db $00, $8A, $01, $31, $02, $01, $01, $5C
db $86, $01, $3E, $02, $5C, $00, $55, $87
db $00, $93, $85, $00, $34, $01, $5C, $5D
db $84, $00, $34, $02, $5C, $00, $00, $88
db $01, $44, $84, $00, $45, $05, $5C, $00
db $A0, $00, $00, $55, $86, $00, $94, $06
db $75, $5D, $01, $01, $5C, $10, $00, $85
db $01, $81, $08, $5C, $00, $00, $78, $55
db $01, $01, $01, $A0, $86, $00, $E4, $0C
db $A0, $90, $90, $04, $90, $B0, $98, $01
db $90, $90, $90, $90, $B0, $85, $00, $A5
db $83, $00, $E5, $01, $01, $5D, $85, $00
db $4B, $83, $00, $5C, $03, $5C, $00, $B0
db $98, $89, $00, $7F, $83, $00, $39, $02
db $90, $B0, $01, $29, $98, $05, $A0, $00
db $00, $90, $90, $55, $87, $01, $E3, $0A
db $B0, $98, $10, $8C, $8C, $90, $90, $5D
db $5C, $90, $90, $84, $00, $74, $01, $54
db $B0, $84, $00, $D2, $03, $55, $01, $10
db $B8, $86, $01, $D7, $00, $90, $24, $00
db $85, $00, $B0, $02, $98, $10, $90, $C3
db $01, $FE, $02, $90, $90, $90, $86, $00
db $A0, $03, $01, $5C, $B8, $10, $83, $01
db $EB, $00, $5D, $87, $02, $30, $84, $00
db $D0, $02, $90, $B8, $01, $86, $02, $20
db $01, $98, $98, $83, $01, $F9, $02, $B8
db $98, $98, $89, $02, $40, $0F, $98, $5C
db $5D, $98, $98, $54, $01, $98, $A0, $55
db $54, $B0, $98, $01, $54, $B0, $85, $02
db $46, $01, $01, $A0, $83, $02, $2A, $0D
db $B0, $A0, $90, $00, $55, $71, $71, $98
db $10, $90, $01, $10, $90, $00, $85, $02
db $18, $00, $5D, $87, $02, $7B, $02, $00
db $00, $90, $86, $00, $A8, $03, $A0, $90
db $90, $54, $83, $02, $29, $85, $00, $E6
db $84, $02, $25, $87, $02, $00, $00, $01
db $85, $00, $A3, $03, $90, $01, $10, $B8
db $87, $00, $7A, $01, $98, $A0, $83, $02
db $2D, $86, $00, $E9, $08, $98, $01, $54
db $55, $5C, $5D, $5C, $90, $01, $85, $02
db $BA, $01, $B8, $98, $85, $00, $45, $03
db $10, $01, $98, $98, $85, $00, $42, $02
db $B0, $98, $5C, $83, $02, $4C, $02, $55
db $98, $98, $85, $00, $52, $00, $B8, $83
db $02, $36, $06, $98, $01, $B8, $98, $A0
db $8C, $8C, $83, $00, $E4, $C7, $02, $56
db $06, $98, $10, $00, $00, $B8, $10, $5D
db $8E, $02, $60, $CA, $02, $68, $83, $02
db $52, $C9, $02, $59, $00, $55, $8A, $03
db $45, $83, $02, $74, $86, $03, $44, $00
db $54, $84, $03, $10, $05, $B8, $98, $01
db $B0, $01, $01, $85, $00, $B3, $09, $55
db $54, $8C, $8C, $B0, $98, $01, $00, $55
db $01, $84, $03, $2F, $87, $03, $14, $86
db $00, $B7, $00, $10, $86, $00, $E3, $03
db $01, $90, $90, $B8, $87, $02, $B8, $00
db $B8, $C4, $02, $E3, $83, $01, $56, $87
db $00, $7E, $83, $03, $BD, $87, $01, $81
db $02, $55, $54, $55, $C6, $02, $33, $01
db $B8, $98, $87, $00, $39, $87, $03, $AD
db $85, $00, $3A, $88, $03, $47, $84, $01
db $CA, $03, $10, $90, $90, $B8, $85, $02
db $C7, $85, $01, $D9, $03, $A0, $90, $B8
db $98, $86, $04, $0D, $85, $00, $52, $01
db $00, $B0, $86, $00, $AC, $01, $01, $5C
db $87, $03, $97, $84, $00, $AD, $03, $A0
db $55, $01, $5C, $86, $01, $C0, $07, $01
db $01, $98, $01, $A0, $90, $00, $55, $89
db $00, $7F, $03, $98, $54, $90, $90, $89
db $00, $66, $83, $01, $6A, $02, $90, $90
db $5D, $8A, $00, $90, $83, $02, $0F, $8B
db $00, $68, $83, $02, $2F, $02, $01, $01
db $54, $88, $01, $57, $03, $90, $01, $98
db $98, $87, $01, $44, $01, $A0, $90, $86
db $02, $2D, $85, $01, $55, $01, $54, $90
db $87, $04, $AC, $84, $03, $06, $01, $A0
db $90, $85, $02, $01, $85, $03, $11, $00
db $B8, $89, $04, $08, $86, $01, $A0, $85
db $00, $5B, $01, $98, $01, $88, $03, $B7
db $84, $00, $35, $02, $98, $5C, $5D, $86
db $02, $F0, $01, $00, $55, $C7, $04, $14
db $85, $00, $E9, $86, $03, $F9, $00, $98
db $87, $02, $13, $83, $02, $B6, $87, $05
db $1D, $01, $5C, $00, $87, $02, $B5, $83
db $01, $DF, $01, $98, $98, $88, $04, $57
db $85, $05, $3E, $86, $00, $8F, $8A, $05
db $0B, $02, $98, $98, $98, $87, $03, $65
db $01, $55, $01, $86, $01, $F3, $83, $03
db $2A, $86, $03, $9E, $85, $01, $78, $C6
db $02, $34, $02, $B8, $A0, $B0, $87, $00
db $3B, $83, $03, $AD, $00, $5D, $83, $01
db $3B, $89, $05, $36, $00, $B8, $85, $00
db $39, $01, $90, $B0, $C8, $05, $68, $85
db $00, $F0, $01, $90, $55, $89, $04, $0E
db $22, $90, $01, $90, $90, $86, $05, $99
db $04, $98, $10, $B8, $10, $90, $83, $00
db $64, $8A, $05, $49, $00, $10, $87, $00
db $3D, $87, $02, $65, $85, $00, $31, $02
db $90, $90, $B0, $C9, $05, $51, $02, $01
db $01, $5C, $83, $01, $B1, $00, $98, $CA
db $05, $6F, $83, $01, $BA, $00, $98, $CA
db $03, $5F, $02, $A0, $90, $B8, $85, $04
db $3E, $00, $01, $89, $03, $C3, $05, $01
db $01, $A0, $90, $00, $55, $29, $01, $01
db $54, $54, $83, $00, $E4, $29, $98, $05
db $10, $5C, $90, $90, $90, $B0, $29, $98
db $05, $04, $01, $10, $90, $00, $5D, $88
db $00, $79, $84, $03, $92, $00, $5D, $86
db $01, $76, $C8, $05, $5A, $06, $04, $98
db $A0, $90, $90, $90, $B8, $85, $05, $3A
db $8B, $03, $B3, $02, $98, $98, $04, $8C
db $06, $44, $01, $54, $55, $2C, $01, $02
db $54, $00, $5D, $8E, $06, $D0, $2C, $01
db $85, $04, $EA, $89, $00, $7E, $08, $5C
db $00, $B0, $98, $01, $98, $01, $01, $01
db $96, $01, $D4, $03, $90, $90, $90, $B8
db $8A, $01, $DF, $83, $02, $27, $00, $B0
db $8B, $06, $CC, $84, $03, $0B, $88, $03
db $D1, $01, $01, $01, $84, $03, $1B, $87
db $01, $B1, $01, $90, $B0, $85, $02, $32
db $03, $04, $90, $90, $B8, $86, $02, $F2
db $83, $03, $2B, $83, $00, $5A, $85, $01
db $42, $CB, $05, $62, $83, $06, $97, $8B
db $05, $49, $00, $10, $88, $06, $71, $01
db $01, $04, $8D, $06, $B1, $88, $06, $F3
db $00, $5D, $E4, $35, $01, $00, $BF, $FF
db $3A, $01, $16, $0C, $00, $37, $FF, $07
db $0A, $0B, $0B, $0A, $09, $FF, $58, $78
db $98, $B8, $D8, $F8, $C8, $38, $58, $78
db $98, $B8, $D8, $F8, $58, $18, $B8, $78
db $98, $B8, $D8, $F8, $18, $38, $58, $28
db $78, $C8, $D8, $F8, $18, $C8, $38, $58
db $38, $B8, $78, $98, $B8, $38, $C8, $58
db $78, $98, $B8, $C8, $D8, $F8, $18, $78
db $98, $B8, $D8, $18, $38, $58, $08, $68
db $48, $38, $28, $18, $48, $38, $38, $18
db $48, $38, $28, $18, $48, $38, $40, $28
db $38, $38, $28, $18, $48, $38, $28, $18
db $48, $7C, $7C, $68, $48, $38, $28, $78
db $18, $48, $38, $38, $38, $28, $18, $18
db $68, $48, $38, $28, $18, $38, $48, $38
db $28, $38, $28, $18, $48, $28, $18, $48
db $68, $28, $B7, $B7, $B7, $B7, $B7, $B7
db $05, $B7, $B7, $B7, $B7, $B7, $B7, $B7
db $4F, $B7, $05, $B7, $B7, $B7, $B7, $B7
db $B7, $B7, $B7, $4B, $4B, $24, $B7, $B7
db $B7, $01, $B7, $B7, $05, $05, $B7, $B7
db $B7, $B7, $01, $B7, $B7, $B7, $B7, $05
db $B7, $B7, $B7, $B7, $B7, $B7, $B7, $B7
db $B7, $B7, $01, $9F, $06, $01, $01, $01
db $55, $03, $50, $74, $15, $98, $48, $14
db $49, $4D, $08, $01, $01, $C6, $E7, $2D
db $E9, $00, $E7, $E4, $3E, $E9, $03, $01
db $01, $5B, $5C, $23, $01, $00, $59, $83
db $00, $50, $17, $59, $5B, $5C, $59, $59
db $5D, $00, $5C, $5B, $5C, $01, $95, $5C
db $59, $5D, $00, $0E, $2C, $0F, $2C, $2C
db $94, $2C, $2C, $C5, $00, $74, $04, $96
db $0E, $2D, $21, $2B, $29, $21, $05, $2B
db $0F, $25, $24, $04, $1C, $29, $04, $05
db $1C, $1B, $0C, $15, $19, $13, $8B, $00
db $90, $03, $00, $0C, $14, $0D, $8C, $00
db $A0, $22, $00, $E4, $3F, $03, $E4, $43
db $E9, $01, $E4, $E5, $8B, $00, $46, $07
db $59, $01, $5D, $CE, $5C, $01, $01, $59
db $85, $00, $5A, $83, $00, $66, $09, $5B
db $CE, $00, $5C, $59, $95, $96, $0E, $2C
db $2C, $84, $00, $78, $08, $2C, $2C, $EC
db $2C, $2C, $0F, $00, $0E, $2D, $23, $21
db $02, $1B, $0E, $2D, $89, $00, $85, $C3
db $00, $B2, $01, $25, $24, $86, $00, $95
db $85, $01, $8A, $00, $00, $8F, $01, $91
db $8E, $01, $91, $E4, $3F, $03, $E4, $3F
db $E9, $01, $E4, $E5, $2C, $E9, $02, $E4
db $5D, $00, $84, $00, $5C, $84, $01, $58
db $83, $01, $51, $03, $94, $0F, $00, $0E
db $84, $00, $78, $00, $94, $84, $02, $65
db $01, $94, $21, $62, $2B, $00, $21, $84
db $02, $70, $85, $02, $70, $07, $04, $04
db $21, $04, $04, $04, $04, $21, $C4, $02
db $86, $E4, $2E, $04, $F0, $83, $01, $BC
db $8B, $02, $41, $83, $01, $44, $03, $00
db $5C, $01, $59, $86, $00, $54, $00, $01
db $83, $02, $50, $07, $2C, $2C, $94, $0F
db $5C, $59, $01, $5B, $83, $00, $63, $03
db $5B, $00, $00, $0E, $84, $00, $87, $01
db $00, $96, $26, $00, $01, $0E, $2D, $83
db $00, $97, $00, $D8, $28, $C0, $01, $DB
db $24, $88, $00, $B7, $23, $00, $01, $00
db $25, $8F, $03, $8F, $90, $03, $8F, $E4
db $3F, $03, $E4, $42, $E9, $83, $01, $44
db $00, $97, $87, $02, $48, $05, $5B, $5C
db $5B, $0E, $2C, $94, $84, $03, $62, $41
db $01, $59, $04, $95, $2C, $2C, $2C, $2D
db $85, $03, $70, $01, $5C, $5B, $83, $03
db $75, $03, $21, $21, $21, $04, $8B, $03
db $80, $8C, $00, $B3, $02, $00, $00, $00
db $8F, $04, $80, $9B, $04, $80, $F0, $83
db $00, $BC, $85, $04, $44, $00, $97, $88
db $01, $44, $0B, $00, $5C, $5B, $0E, $94
db $94, $2C, $0F, $00, $5C, $DE, $59, $83
db $00, $52, $00, $00, $85, $01, $79, $03
db $2B, $2C, $2C, $B0, $83, $05, $56, $00
db $5C, $86, $03, $8C, $00, $04, $85, $00
db $86, $85, $03, $9A, $89, $00, $B2, $8F
db $05, $7E, $9F, $05, $7E, $01, $00, $C7
db $E4, $3F, $03, $FF, $1F, $3E, $FF, $02
db $FF, $78, $18, $28, $18, $81, $C6, $01
db $01, $01, $01, $04, $01, $50, $74, $15
db $1C, $4B, $14, $50, $4D, $08, $01, $00
db $C6, $2D, $04, $00, $03, $23, $04, $23
db $19, $CA, $00, $16, $00, $10, $22, $11
db $00, $A2, $22, $11, $00, $12, $85, $00
db $0C, $0A, $10, $09, $01, $A0, $5B, $98
db $5C, $A0, $01, $08, $12, $83, $00, $0D
db $04, $1C, $20, $A0, $5B, $98, $22, $00
db $04, $98, $5C, $A0, $1A, $24, $83, $00
db $3E, $0A, $9C, $98, $00, $00, $0E, $2C
db $0F, $00, $00, $98, $9D, $84, $00, $4D
db $0A, $1B, $00, $0E, $2C, $2D, $21, $2B
db $2C, $0F, $00, $1D, $83, $00, $4D, $00
db $04, $62, $2B, $00, $21, $22, $04, $00
db $21, $62, $2B, $85, $00, $0D, $00, $21
db $23, $04, $C3, $00, $86, $D1, $00, $12
db $00, $C7, $E4, $60, $03, $FF, $1F, $2F
db $3E, $FF, $07, $FF, $38, $68, $48, $88
db $50, $80, $48, $28, $48, $68, $68, $50
db $50, $28, $81, $88, $88, $88, $88, $88
db $C1, $01, $01, $01, $01, $02, $01, $50
db $74, $15, $AE, $4B, $14, $6F, $4D, $08
db $01, $00, $C6, $2B, $04, $01, $03, $03
db $C4, $00, $0D, $22, $19, $CB, $00, $15
db $00, $10, $24, $11, $00, $12, $87, $00
db $0A, $08, $1C, $20, $01, $01, $59, $01
db $01, $1A, $24, $88, $00, $2B, $04, $59
db $5B, $A8, $5C, $59, $89, $00, $39, $06
db $9C, $00, $00, $98, $00, $00, $9D, $88
db $00, $3A, $00, $1B, $24, $00, $00, $1D
db $87, $00, $3A, $01, $04, $2B, $24, $2C
db $00, $2D, $89, $00, $0A, $22, $21, $01
db $21, $21, $D2, $00, $13, $00, $C7, $E4
db $62, $03, $FF, $1F, $00, $16, $3E, $FF
db $08, $FF, $38, $D0, $48, $88, $68, $50
db $80, $28, $28, $18, $68, $68, $48, $50
db $50, $28, $81, $01, $4F, $4F, $4F, $4F
db $4F, $BD, $01, $01, $01, $01, $02, $01
db $50, $74, $15, $33, $4C, $14, $76, $4D
db $08, $01, $00, $C6, $2B, $04, $01, $03
db $03, $C4, $00, $0D, $22, $19, $CB, $00
db $15, $00, $10, $24, $11, $00, $12, $87
db $00, $0A, $08, $1C, $20, $01, $01, $59
db $01, $01, $1A, $24, $88, $00, $2B, $04
db $59, $5B, $A8, $5C, $59, $89, $00, $39
db $06, $9C, $00, $00, $98, $00, $00, $9D
db $88, $00, $3A, $00, $1B, $24, $00, $00
db $1D, $87, $00, $3A, $01, $04, $2B, $24
db $2C, $00, $2D, $89, $00, $0A, $22, $21
db $01, $21, $21, $D2, $00, $13, $00, $C7
db $E4, $62, $03, $FF, $1F, $2A, $3E, $FF
db $07, $FF, $38, $48, $88, $68, $80, $50
db $28, $28, $68, $68, $48, $50, $50, $28
db $81, $7D, $7D, $7D, $7D, $7D, $C0, $01
db $01, $01, $01, $02, $01, $50, $74, $15
db $BC, $4C, $14, $7D, $4D, $08, $01, $00
db $C6, $2B, $04, $01, $03, $03, $C4, $00
db $0D, $22, $19, $CB, $00, $15, $00, $10
db $24, $11, $00, $12, $87, $00, $0A, $08
db $1C, $20, $01, $01, $59, $01, $01, $1A
db $24, $88, $00, $2B, $04, $59, $5B, $A8
db $5C, $59, $89, $00, $39, $06, $9C, $00
db $00, $98, $00, $00, $9D, $88, $00, $3A
db $00, $1B, $24, $00, $00, $1D, $87, $00
db $3A, $01, $04, $2B, $24, $2C, $00, $2D
db $89, $00, $0A, $22, $21, $01, $21, $21
db $D2, $00, $13, $00, $C7, $E4, $62, $03
db $FF, $1C, $1F, $15, $FF, $07, $FF, $68
db $38, $68, $50, $80, $88, $48, $38, $28
db $20, $28, $28, $40, $40, $59, $81, $4E
db $4E, $4E, $4E, $4E, $01, $01, $01, $01
db $02, $01, $50, $74, $15, $41, $4D, $14
db $84, $4D, $08, $01, $00, $C6, $2B, $04
db $01, $03, $03, $C4, $00, $0D, $22, $19
db $CB, $00, $15, $00, $10, $24, $11, $00
db $12, $87, $00, $0A, $08, $1C, $20, $01
db $01, $A0, $01, $01, $1A, $24, $88, $00
db $2B, $04, $59, $5B, $98, $5C, $59, $89
db $00, $39, $00, $9C, $24, $00, $00, $9D
db $88, $00, $3A, $00, $1B, $24, $00, $00
db $1D, $87, $00, $3A, $01, $04, $2B, $24
db $2C, $00, $2D, $89, $00, $0A, $22, $21
db $01, $21, $21, $D2, $00, $13, $00, $C7
db $E4, $62, $03, $FF, $1F, $24, $3E, $FF
db $07, $FF, $38, $48, $88, $68, $50, $80
db $28, $28, $68, $68, $48, $50, $50, $28
db $81, $77, $77, $77, $77, $77, $C3, $01
db $01, $01, $01, $02, $01, $50, $74, $15
db $C4, $4D, $14, $88, $4D, $08, $01, $00
db $C6, $2B, $04, $01, $03, $03, $C4, $00
db $0D, $22, $19, $CB, $00, $15, $00, $10
db $24, $11, $00, $12, $87, $00, $0A, $08
db $1C, $20, $01, $01, $59, $01, $01, $1A
db $24, $88, $00, $2B, $04, $59, $5B, $A8
db $5C, $59, $89, $00, $39, $06, $9C, $00
db $00, $98, $00, $00, $9D, $88, $00, $3A
db $00, $1B, $24, $00, $00, $1D, $87, $00
db $3A, $01, $04, $2B, $24, $2C, $00, $2D
db $89, $00, $0A, $22, $21, $01, $21, $21
db $D2, $00, $13, $00, $C7, $E4, $62, $03
db $FF, $3A, $30, $16, $05, $0C, $34, $15
db $22, $FF, $11, $0E, $0F, $09, $0D, $0D
db $04, $01, $FF, $18, $48, $78, $A8, $D8
db $E8, $B8, $90, $18, $48, $A8, $D8, $28
db $B8, $C8, $98, $A8, $A8, $78, $48, $18
db $08, $50, $58, $38, $08, $58, $B8, $68
db $D8, $00, $C8, $F8, $C8, $B8, $A0, $68
db $A8, $48, $38, $78, $E8, $78, $18, $78
db $F8, $48, $78, $78, $A8, $58, $D8, $18
db $18, $08, $28, $18, $58, $A8, $D8, $E0
db $B0, $90, $98, $88, $50, $40, $C8, $E8
db $A8, $18, $50, $78, $60, $C0, $58, $B0
db $78, $48, $10, $28, $F8, $F8, $F8, $C8
db $28, $28, $38, $48, $28, $38, $A8, $88
db $A0, $E8, $F8, $E8, $F8, $58, $50, $B8
db $B8, $58, $98, $A8, $88, $98, $48, $58
db $B8, $28, $B8, $40, $A0, $58, $88, $58
db $78, $68, $D8, $18, $C0, $B0, $18, $D8
db $00, $C0, $78, $D8, $C0, $08, $00, $48
db $68, $60, $58, $78, $70, $10, $58, $18
db $28, $68, $88, $98, $80, $38, $20, $C0
db $08, $38, $08, $48, $80, $38, $18, $68
db $78, $98, $C0, $98, $08, $68, $38, $20
db $10, $80, $18, $38, $D8, $58, $58, $B7
db $B7, $B7, $B7, $B7, $B7, $B7, $B7, $B7
db $B7, $B7, $B7, $B7, $B7, $B7, $8E, $8E
db $B7, $B7, $B7, $B7, $B7, $B7, $B7, $B7
db $8E, $B7, $4F, $8E, $B7, $8E, $B7, $B7
db $B7, $B7, $B7, $B7, $8E, $B7, $4F, $4F
db $8A, $8A, $B7, $B7, $B7, $B7, $B7, $4F
db $B7, $B7, $B7, $B7, $B7, $8E, $B7, $B7
db $B7, $B7, $B7, $B7, $B7, $4F, $0D, $B7
db $B7, $B7, $24, $B7, $B7, $B7, $B7, $B7
db $4F, $B7, $0D, $B7, $B7, $B7, $B7, $25
db $98, $4E, $6C, $6C, $6C, $02, $04, $01
db $01, $14, $37, $50, $74, $15, $49, $4E
db $14, $8F, $4D, $08, $01, $00, $C6, $2E
db $04, $2F, $19, $24, $F0, $00, $6F, $29
db $F0, $26, $E8, $00, $F6, $22, $E8, $01
db $E8, $E8, $CC, $00, $3C, $85, $00, $36
db $2D, $F8, $01, $7F, $F8, $2F, $21, $8F
db $00, $0A, $24, $04, $02, $10, $F1, $79
db $27, $F1, $84, $00, $81, $00, $AF, $25
db $E9, $00, $F7, $22, $E9, $22, $04, $03
db $1C, $F4, $E9, $F7, $28, $E9, $85, $00
db $A0, $03, $E9, $A6, $F9, $78, $23, $F9
db $01, $78, $F9, $83, $00, $A0, $04, $18
db $58, $01, $1A, $C5, $26, $21, $22, $19
db $05, $10, $09, $01, $01, $4F, $12, $89
db $00, $19, $00, $AD, $23, $E8, $00, $AC
db $86, $00, $20, $8D, $00, $34, $01, $E8
db $E8, $2E, $04, $00, $03, $CE, $00, $18
db $00, $03, $88, $00, $23, $00, $12, $85
db $01, $0A, $88, $00, $33, $01, $AC, $12
db $84, $01, $2B, $89, $00, $3A, $01, $F5
db $24, $83, $01, $0C, $26, $F8, $01, $A5
db $E8, $86, $01, $49, $25, $21, $05, $C3
db $18, $01, $01, $1A, $24, $86, $01, $0C
db $8B, $00, $D0, $00, $03, $C4, $00, $8A
db $00, $F1, $84, $00, $95, $00, $AE, $C3
db $01, $82, $2B, $E9, $07, $F7, $E9, $E9
db $03, $E9, $F7, $E9, $E9, $C9, $00, $9F
db $01, $E9, $03, $2A, $F9, $83, $00, $B9
db $00, $03, $2E, $21, $00, $03, $CE, $00
db $14, $00, $03, $8A, $01, $24, $85, $01
db $2B, $00, $F6, $84, $01, $36, $83, $01
db $E7, $84, $01, $3B, $CE, $00, $FE, $01
db $E8, $F8, $C4, $00, $5F, $C8, $00, $5F
db $00, $7F, $95, $00, $60, $83, $00, $0C
db $CE, $00, $15, $00, $10, $89, $00, $8A
db $86, $00, $90, $00, $F7, $86, $00, $AC
db $00, $04, $86, $00, $B0, $83, $00, $99
db $8B, $02, $5F, $84, $00, $B7, $87, $02
db $60, $01, $18, $01, $85, $00, $C6, $00
db $19, $8D, $01, $70, $00, $04, $C6, $00
db $2B, $02, $AD, $E8, $F6, $84, $00, $E6
db $00, $12, $8B, $00, $33, $03, $F6, $E8
db $E8, $AC, $8F, $00, $3A, $89, $02, $15
db $83, $02, $11, $01, $A5, $F6, $2C, $21
db $02, $C3, $6C, $FC, $2C, $19, $02, $10
db $09, $01, $23, $E8, $83, $01, $58, $87
db $01, $08, $83, $01, $54, $8B, $03, $04
db $84, $01, $64, $02, $58, $1A, $24, $89
db $01, $08, $83, $00, $D3, $00, $08, $87
db $00, $D8, $01, $03, $79, $89, $01, $85
db $00, $79, $83, $01, $8C, $8C, $01, $A2
db $03, $E9, $E9, $03, $E9, $CD, $03, $5E
db $03, $03, $F9, $F9, $F9, $C8, $01, $BE
db $93, $01, $BC, $8F, $01, $00, $8F, $01
db $00, $00, $12, $8E, $01, $01, $01, $F5
db $24, $8F, $03, $B2, $8D, $01, $02, $00
db $7C, $8E, $03, $C1, $01, $4F, $12, $2C
db $19, $00, $03, $27, $64, $84, $00, $87
db $05, $AF, $E9, $E9, $D1, $D1, $82, $23
db $D1, $88, $01, $A4, $01, $E8, $D1, $83
db $04, $13, $89, $01, $93, $07, $E8, $E8
db $D1, $D1, $82, $A6, $F9, $78, $87, $01
db $B6, $00, $E8, $83, $04, $30, $01, $60
db $C5, $28, $21, $83, $00, $36, $02, $D1
db $60, $DF, $28, $19, $24, $E8, $06, $67
db $F0, $F0, $6F, $F0, $F0, $6F, $83, $00
db $2C, $8E, $00, $32, $00, $F6, $83, $00
db $34, $8B, $00, $32, $86, $00, $58, $08
db $A5, $E8, $E8, $A4, $F8, $7F, $F8, $A5
db $E8, $88, $02, $E7, $02, $FC, $7C, $C5
db $83, $02, $EC, $8A, $02, $81, $04, $24
db $04, $10, $09, $01, $26, $04, $03, $28
db $29, $29, $2A, $83, $04, $BC, $00, $01
db $C9, $02, $37, $05, $04, $10, $09, $58
db $0A, $29, $89, $00, $0B, $04, $10, $09
db $01, $0A, $2A, $84, $00, $6F, $00, $10
db $24, $11, $83, $04, $EB, $03, $04, $04
db $E9, $AE, $C7, $00, $8D, $05, $F1, $F1
db $79, $F1, $F1, $03, $C4, $03, $6D, $00
db $E9, $9D, $03, $56, $84, $00, $B9, $00
db $66, $84, $01, $AA, $88, $01, $BF, $02
db $C3, $61, $D0, $C3, $01, $A3, $88, $01
db $0F, $03, $D7, $61, $D0, $81, $83, $01
db $AC, $01, $F0, $6F, $86, $00, $21, $00
db $AD, $22, $D0, $01, $E9, $E9, $89, $01
db $FF, $06, $D0, $81, $D0, $D0, $D0, $E9
db $03, $87, $00, $32, $00, $D0, $C4, $05
db $7D, $02, $D0, $03, $A4, $86, $04, $94
db $00, $7F, $25, $65, $02, $03, $7C, $C5
db $87, $04, $A5, $85, $01, $CA, $01, $08
db $12, $87, $04, $B5, $85, $01, $0A, $02
db $01, $4F, $12, $84, $04, $C6, $87, $01
db $08, $03, $0B, $01, $08, $12, $CA, $04
db $DA, $05, $03, $28, $3F, $01, $08, $12
db $89, $00, $7B, $05, $03, $04, $28, $0B
db $01, $08, $24, $11, $00, $12, $87, $03
db $9B, $06, $1C, $20, $58, $01, $01, $0A
db $29, $83, $04, $C8, $02, $39, $39, $12
db $83, $06, $01, $03, $01, $59, $0A, $2A
db $83, $00, $6D, $0B, $30, $31, $31, $08
db $12, $04, $3C, $36, $2F, $89, $37, $44
db $22, $04, $03, $30, $9A, $07, $07, $83
db $05, $D1, $0C, $48, $53, $07, $50, $32
db $39, $39, $30, $51, $07, $52, $49, $01
db $85, $06, $30, $09, $70, $50, $31, $31
db $51, $07, $52, $4A, $41, $01, $86, $06
db $40, $08, $07, $07, $70, $07, $07, $3A
db $44, $04, $01, $86, $06, $50, $22, $49
db $05, $53, $70, $50, $32, $39, $01, $86
db $06, $60, $22, $41, $83, $06, $34, $01
db $31, $01, $86, $06, $70, $02, $19, $19
db $19, $84, $06, $55, $26, $01, $00, $08
db $84, $05, $F7, $02, $48, $53, $07, $2A
db $01, $04, $1A, $24, $3C, $38, $70, $8E
db $06, $A0, $8F, $06, $9F, $00, $8F, $8C
db $06, $A0, $02, $04, $48, $B1, $8D, $06
db $D0, $01, $04, $41, $8E, $06, $E0, $01
db $04, $39, $83, $04, $C6, $01, $29, $0B
db $22, $01, $00, $22, $84, $01, $4B, $01
db $31, $32, $C3, $00, $70, $03, $28, $3F
db $01, $59, $83, $07, $0A, $06, $10, $03
db $07, $50, $32, $04, $04, $87, $06, $22
db $04, $10, $09, $03, $53, $70, $87, $06
db $37, $00, $4A, $83, $04, $BC, $00, $03
db $84, $06, $7B, $03, $31, $51, $07, $9B
db $84, $07, $3A, $03, $01, $03, $3C, $38
db $23, $07, $00, $70, $85, $07, $39, $06
db $01, $01, $03, $30, $51, $07, $9B, $22
db $49, $86, $07, $58, $02, $01, $03, $9A
db $83, $06, $4C, $01, $41, $41, $86, $07
db $68, $01, $01, $03, $83, $07, $38, $86
db $00, $D0, $84, $07, $6B, $01, $52, $4A
db $84, $04, $F3, $86, $07, $88, $05, $01
db $03, $3A, $44, $1C, $20, $23, $01, $8F
db $07, $98, $97, $07, $98, $01, $4A, $04
db $8D, $07, $A2, $00, $04, $8F, $07, $D1
db $8C, $07, $D1, $01, $C7, $03, $FF, $3A
db $01, $1C, $14, $13, $16, $15, $00, $2F
db $1F, $0C, $04, $FF, $0B, $0A, $0C, $0A
db $0A, $08, $FF, $68, $88, $78, $60, $38
db $B8, $88, $78, $60, $90, $68, $A8, $48
db $A8, $48, $88, $60, $70, $88, $60, $78
db $70, $A8, $48, $A8, $48, $A8, $60, $78
db $88, $68, $88, $80, $A8, $48, $48, $A8
db $88, $60, $70, $70, $60, $80, $68, $48
db $78, $88, $68, $80, $88, $68, $40, $B0
db $F8, $88, $70, $80, $68, $88, $78, $78
db $D8, $A0, $78, $40, $88, $78, $50, $48
db $60, $60, $50, $38, $58, $A8, $C8, $30
db $E8, $B0, $90, $40, $08, $10, $18, $48
db $78, $98, $E8, $B8, $98, $70, $58, $28
db $E8, $48, $18, $98, $C8, $70, $50, $10
db $E8, $C0, $A0, $A8, $18, $88, $98, $60
db $38, $00, $E8, $68, $68, $F8, $20, $40
db $68, $88, $A8, $D0, $00, $B7, $B7, $B7
db $B7, $08, $59, $69, $68, $4F, $4F, $6A
db $06, $18, $18, $06, $B7, $B7, $B7, $B7
db $B7, $B7, $B7, $88, $06, $06, $18, $06
db $B7, $B7, $B7, $B7, $B7, $B7, $18, $06
db $88, $06, $B7, $B7, $B7, $B7, $B7, $B7
db $B7, $06, $B7, $B7, $B7, $B7, $B7, $A0
db $33, $31, $16, $A0, $A0, $A0, $A0, $A0
db $A0, $A0, $01, $06, $01, $01, $04, $55
db $50, $74, $15, $A7, $53, $14, $96, $4D
db $08, $01, $01, $C6, $5E, $22, $01, $24
db $CB, $24, $01, $02, $03, $5E, $01, $8D
db $00, $02, $06, $01, $01, $58, $01, $01
db $CB, $83, $22, $CB, $01, $5B, $5C, $83
db $00, $0C, $84, $00, $2A, $0A, $CB, $CB
db $7A, $7B, $7A, $00, $00, $96, $5C, $5B
db $03, $84, $00, $3A, $01, $7B, $7A, $22
db $CA, $24, $00, $01, $03, $5D, $C6, $00
db $4D, $08, $CA, $4E, $5D, $00, $5E, $5A
db $5A, $03, $01, $83, $00, $5A, $06, $3E
db $CA, $CA, $4E, $CB, $01, $5A, $85, $00
db $1C, $0D, $5A, $01, $01, $CB, $3E, $4E
db $CB, $CB, $01, $DE, $01, $58, $01, $03
db $23, $29, $00, $0B, $24, $CB, $01, $0A
db $B0, $C3, $00, $82, $22, $21, $01, $C3
db $18, $24, $CB, $01, $1A, $C5, $C3, $00
db $92, $22, $04, $01, $10, $09, $24, $CB
db $01, $08, $12, $C3, $00, $A2, $83, $00
db $A1, $86, $00, $04, $83, $00, $AA, $03
db $03, $04, $10, $09, $88, $00, $23, $05
db $08, $12, $04, $03, $10, $09, $87, $00
db $02, $09, $5D, $00, $5C, $08, $12, $03
db $09, $01, $5B, $5C, $85, $00, $04, $09
db $58, $95, $5E, $01, $08, $03, $01, $5B
db $00, $5E, $84, $00, $04, $87, $00, $69
db $01, $5D, $5E, $88, $00, $03, $01, $5B
db $5C, $C4, $00, $20, $01, $5B, $5C, $86
db $00, $05, $08, $5D, $00, $5C, $03, $01
db $59, $5B, $00, $5E, $C3, $00, $28, $08
db $CB, $01, $58, $01, $95, $00, $03, $5B
db $00, $88, $00, $F2, $83, $01, $1A, $C3
db $00, $4F, $00, $5C, $89, $00, $04, $02
db $5D, $03, $00, $88, $01, $31, $85, $00
db $2A, $83, $01, $31, $00, $58, $86, $00
db $D5, $04, $96, $5C, $01, $03, $00, $89
db $00, $01, $05, $95, $00, $00, $5C, $03
db $5E, $87, $01, $11, $03, $83, $01, $5D
db $00, $C4, $01, $61, $04, $5B, $00, $5E
db $CB, $83, $86, $01, $17, $83, $01, $8E
db $00, $5D, $89, $01, $53, $01, $5D, $00
db $CA, $00, $0F, $83, $01, $01, $02, $5D
db $03, $01, $90, $00, $11, $03, $01, $01
db $5B, $7B, $84, $00, $06, $03, $5B, $5C
db $59, $01, $83, $01, $1F, $02, $96, $00
db $4E, $84, $00, $06, $00, $5D, $83, $01
db $7C, $00, $5B, $83, $01, $50, $86, $00
db $05, $00, $95, $C3, $01, $41, $02, $00
db $5E, $5A, $C3, $01, $2A, $86, $01, $98
db $8B, $01, $6F, $83, $01, $FA, $89, $01
db $7F, $02, $7A, $5C, $59, $86, $01, $AC
db $00, $95, $84, $01, $F4, $03, $3E, $00
db $00, $5C, $84, $01, $BD, $01, $58, $5A
db $87, $00, $D4, $00, $5E, $C8, $00, $21
db $00, $83, $86, $00, $F7, $8D, $01, $0E
db $02, $01, $58, $01, $85, $01, $1F, $C9
db $02, $59, $8D, $01, $2F, $01, $01, $01
db $8A, $01, $3F, $04, $5B, $5C, $59, $01
db $01, $8A, $01, $4F, $02, $5D, $00, $00
db $84, $00, $3D, $00, $5E, $87, $02, $53
db $03, $5D, $00, $00, $5E, $8B, $01, $6F
db $05, $5B, $00, $5E, $01, $03, $5E, $89
db $01, $D1, $05, $5D, $00, $5C, $01, $03
db $59, $89, $01, $E1, $05, $01, $5D, $5E
db $01, $03, $00, $83, $01, $F1, $8C, $02
db $85, $86, $02, $02, $83, $02, $29, $01
db $5B, $5C, $89, $01, $6F, $83, $02, $39
db $01, $5D, $5E, $8A, $00, $0F, $01, $5A
db $5D, $85, $02, $4C, $02, $5B, $5C, $58
db $8B, $00, $15, $00, $5B, $8D, $01, $52
db $00, $5B, $88, $01, $41, $01, $5D, $5E
db $8C, $02, $9C, $08, $83, $01, $5B, $00
db $5C, $01, $03, $00, $00, $83, $01, $02
db $89, $01, $E6, $01, $00, $5E, $88, $02
db $52, $03, $01, $5D, $5E, $5D, $86, $02
db $CF, $8C, $01, $C6, $02, $5B, $00, $4E
db $8C, $01, $C6, $01, $5D, $5E, $8E, $01
db $C5, $CD, $02, $5A, $00, $58, $97, $01
db $C3, $02, $01, $01, $01, $8C, $01, $DE
db $83, $02, $7B, $8A, $01, $EF, $00, $59
db $8B, $02, $FB, $02, $CB, $CB, $7A, $83
db $01, $6B, $04, $01, $03, $5D, $5E, $59
db $86, $03, $13, $09, $5E, $5D, $00, $96
db $96, $03, $5C, $5B, $00, $5C, $85, $02
db $04, $04, $58, $5B, $00, $00, $00, $8A
db $01, $4F, $02, $01, $95, $00, $83, $03
db $8D, $83, $01, $01, $04, $D0, $CB, $CB
db $83, $D0, $83, $01, $00, $85, $00, $7E
db $04, $29, $65, $66, $CB, $69, $C6, $04
db $65, $24, $21, $06, $C3, $61, $CB, $68
db $C5, $21, $21, $86, $00, $9C, $06, $04
db $04, $1C, $61, $CB, $68, $24, $C4, $04
db $84, $8F, $04, $7F, $95, $04, $7F, $04
db $3C, $6A, $80, $6B, $44, $8B, $04, $AA
db $02, $62, $B6, $63, $8F, $04, $B9, $8F
db $04, $B9, $8F, $04, $B9, $8F, $04, $B9
db $8F, $04, $B9, $8F, $04, $B9, $8F, $04
db $B9, $8F, $04, $B9, $F0, $8F, $04, $B9
db $84, $04, $B9, $00, $C7, $90, $04, $BF
db $2F, $03, $FF, $11, $FF, $01, $00, $FF
db $88, $78, $82, $02, $01, $01, $01, $06
db $03, $00, $40, $16, $93, $57, $14, $9A
db $4D, $08, $00, $00, $BE, $E4, $21, $01
db $2A, $04, $85, $00, $1F, $23, $01, $02
db $50, $01, $50, $85, $00, $30, $17, $54
db $04, $55, $01, $01, $50, $54, $00, $AC
db $00, $55, $50, $01, $04, $01, $54, $00
db $04, $00, $55, $54, $00, $00, $4C, $22
db $00, $0A, $77, $55, $04, $54, $00, $00
db $04, $00, $00, $00, $04, $C4, $00, $65
db $00, $78, $85, $00, $61, $05, $04, $04
db $04, $04, $00, $00, $C8, $00, $77, $02
db $00, $04, $68, $23, $04, $C8, $00, $87
db $06, $00, $00, $70, $00, $00, $00, $00
db $C3, $00, $97, $03, $00, $00, $00, $00
db $C3, $00, $9F, $00, $00, $97, $00, $8E
db $01, $00, $00, $E4, $3F, $03, $00, $01
db $2E, $00, $88, $01, $00, $C6, $01, $17
db $9F, $01, $00, $00, $54, $E4, $6E, $00
db $00, $B7, $E4, $4E, $00, $FF, $39, $12
db $1F, $3E, $FF, $04, $FF, $48, $B0, $98
db $08, $18, $60, $48, $18, $A2, $49, $81
db $C4, $01, $01, $01, $01, $03, $01, $C3
db $61, $15, $36, $58, $14, $A1, $4D, $08
db $00, $00, $56, $2A, $67, $03, $07, $07
db $03, $03, $26, $67, $63, $60, $04, $67
db $0F, $0F, $03, $03, $86, $00, $15, $24
db $67, $83, $00, $1C, $62, $65, $01, $67
db $67, $63, $64, $02, $67, $60, $61, $83
db $00, $1C, $23, $07, $00, $3C, $22, $00
db $62, $3D, $00, $00, $83, $00, $1C, $23
db $0F, $07, $00, $00, $3B, $3C, $00, $00
db $6A, $3C, $89, $00, $4C, $23, $00, $00
db $6C, $88, $00, $4B, $27, $07, $83, $00
db $4C, $2B, $0F, $8F, $00, $7C, $01, $0F
db $5C, $E4, $61, $03, $FF, $16, $0E, $22
db $FF, $05, $03, $05, $04, $04, $03, $FF
db $48, $88, $E8, $48, $C8, $A8, $28, $E8
db $68, $28, $28, $68, $28, $48, $48, $88
db $C8, $28, $A8, $E8, $68, $68, $28, $68
db $B8, $98, $98, $58, $D8, $D8, $98, $98
db $58, $58, $B8, $B8, $F8, $38, $98, $58
db $18, $58, $98, $58, $98, $38, $58, $98
db $4F, $43, $43, $43, $6C, $43, $6C, $6C
db $4F, $43, $43, $43, $6C, $4F, $43, $6C
db $6C, $6C, $43, $6C, $43, $4F, $6C, $43
db $03, $02, $02, $03, $1F, $14, $13, $50
db $17, $B5, $58, $14, $A8, $4D, $08, $01
db $E4, $20, $03, $00, $89, $2F, $03, $01
db $2B, $0D, $2B, $07, $03, $03, $03, $0F
db $18, $2B, $78, $03, $03, $03, $0A, $78
db $8F, $00, $44, $91, $00, $44, $00, $15
db $84, $00, $33, $00, $1B, $88, $00, $4D
db $01, $0F, $18, $8D, $00, $48, $01, $0A
db $78, $8F, $00, $88, $26, $78, $00, $15
db $89, $00, $90, $84, $00, $76, $07, $13
db $03, $03, $0F, $16, $78, $15, $11, $88
db $00, $83, $06, $03, $03, $0F, $10, $07
db $13, $18, $88, $00, $93, $86, $00, $40
db $83, $00, $D7, $8E, $00, $4B, $83, $00
db $52, $01, $1A, $07, $E4, $2F, $03, $2F
db $07, $E4, $2F, $78, $00, $15, $8C, $00
db $33, $01, $07, $0D, $8D, $00, $42, $02
db $78, $17, $0A, $2E, $78, $00, $11, $2E
db $78, $00, $18, $83, $00, $FB, $86, $01
db $79, $00, $16, $2D, $78, $00, $17, $D0
db $01, $A0, $8F, $01, $CD, $C3, $01, $42
db $8A, $01, $B5, $03, $0A, $78, $78, $78
db $F0, $32, $01, $00, $22, $0D, $02, $07
db $0D, $2C, $C9, $02, $06, $05, $17, $10
db $18, $78, $17, $11, $86, $02, $39, $C8
db $00, $9A, $8F, $02, $49, $26, $03, $00
db $16, $8E, $02, $51, $00, $11, $8E, $02
db $51, $83, $00, $52, $00, $1D, $8E, $02
db $85, $00, $78, $87, $02, $95, $D2, $02
db $AB, $00, $0F, $85, $01, $BC, $00, $15
db $87, $02, $48, $01, $0F, $10, $24, $07
db $00, $10, $88, $02, $C8, $84, $00, $43
db $02, $7C, $17, $11, $8C, $02, $99, $00
db $7A, $83, $02, $57, $8D, $02, $B9, $89
db $00, $D9, $03, $10, $07, $0D, $16, $8D
db $00, $D7, $84, $01, $CB, $01, $0F, $16
db $8D, $00, $8C, $01, $17, $13, $83, $00
db $3C, $9E, $00, $90, $83, $00, $7F, $84
db $03, $27, $8D, $00, $48, $01, $17, $13
db $87, $00, $38, $F0, $21, $00, $50, $01
db $0F, $16, $8D, $00, $44, $01, $2D, $13
db $CB, $01, $3B, $E4, $3F, $03, $88, $01
db $C4, $8E, $01, $D9, $02, $0A, $78, $78
db $D0, $04, $19, $83, $00, $52, $83, $00
db $7C, $00, $1C, $8E, $04, $15, $00, $0A
db $83, $04, $35, $D2, $04, $47, $86, $00
db $52, $00, $15, $87, $02, $80, $01, $0F
db $16, $83, $01, $EE, $02, $07, $13, $18
db $8A, $03, $33, $84, $01, $D4, $F8, $21
db $01, $EF, $02, $15, $10, $16, $CC, $01
db $45, $02, $13, $13, $13, $F0, $45, $03
db $BA, $01, $0A, $78, $8D, $02, $C2, $85
db $00, $72, $01, $07, $10, $8B, $02, $E8
db $00, $0F, $8A, $02, $45, $00, $1D, $87
db $02, $51, $F0, $26, $02, $49, $84, $04
db $60, $8A, $02, $55, $84, $04, $70, $8E
db $02, $55, $00, $78, $8F, $05, $75, $91
db $05, $75, $01, $15, $11, $8D, $01, $29
db $01, $13, $2E, $2F, $03, $00, $88, $E4
db $35, $03, $FF, $1F, $1D, $FF, $08, $00
db $00, $00, $FF, $98, $38, $68, $78, $B8
db $C8, $F8, $98, $38, $B8, $98, $C8, $C8
db $98, $B8, $78, $5A, $5D, $5C, $5B, $5E
db $5F, $60, $63, $02, $02, $01, $01, $08
db $08, $31, $7A, $16, $E3, $5A, $14, $AF
db $4D, $08, $00, $00, $7B, $2F, $03, $22
db $01, $62, $6E, $00, $01, $85, $00, $11
db $04, $6E, $6F, $03, $6C, $6D, $24, $01
db $02, $6B, $6C, $6D, $84, $00, $26, $00
db $03, $85, $00, $26, $88, $00, $23, $00
db $03, $83, $00, $36, $8A, $00, $31, $00
db $03, $87, $00, $13, $07, $01, $01, $6B
db $6D, $01, $01, $6E, $03, $86, $00, $35
db $62, $05, $22, $01, $06, $5C, $01, $03
db $49, $01, $4A, $5A, $67, $08, $03, $01
db $5D, $5E, $03, $64, $4B, $06, $01, $12
db $13, $84, $15, $16, $01, $62, $5F, $00
db $03, $63, $50, $00, $19, $62, $19, $07
db $80, $1D, $1E, $19, $19, $53, $64, $03
db $63, $54, $01, $01, $74, $64, $22, $00
db $7C, $62, $66, $14, $03, $58, $59, $5B
db $5B, $28, $82, $2A, $2B, $01, $2D, $2E
db $82, $10, $5B, $5B, $03, $00, $00, $76
db $00, $63, $30, $00, $01, $62, $35, $E0
db $2A, $18, $00, $7E, $03, $04, $04, $82
db $04, $38, $39, $72, $3B, $01, $3D, $78
db $3F, $20, $04, $82, $03, $2C, $2C, $29
db $46, $40, $34, $82, $3C, $34, $34, $82
db $34, $11, $29, $1C, $03, $2F, $48, $47
db $21, $14, $45, $3E, $62, $42, $04, $3A
db $41, $21, $14, $21, $2F, $03, $00, $70
db $CE, $00, $11, $01, $6B, $6C, $8F, $00
db $03, $86, $00, $03, $D6, $01, $38, $00
db $6F, $DE, $01, $50, $01, $08, $09, $2D
db $03, $01, $62, $63, $2D, $03, $01, $52
db $65, $2D, $03, $00, $56, $8E, $01, $91
db $00, $5B, $8E, $01, $91, $01, $69, $6A
db $2D, $03, $00, $04, $CE, $01, $D0, $00
db $2C, $CE, $01, $E0, $01, $3A, $3E, $3D
db $03, $E4, $EF, $00, $02, $03, $03, $7A
db $F0, $FC, $02, $03, $FF, $2B, $3E, $FF
db $02, $FF, $98, $A8, $88, $88, $7F, $CB
db $01, $01, $01, $03, $01, $03, $52, $54
db $15, $2D, $5C, $14, $18, $4E, $08, $00
db $3F, $03, $00, $2C, $2E, $03, $00, $2D
db $8A, $00, $26, $23, $03, $00, $2F, $68
db $10, $01, $28, $36, $23, $03, $01, $2E
db $02, $66, $19, $02, $29, $2A, $35, $23
db $03, $00, $33, $67, $20, $02, $00, $00
db $34, $23, $03, $00, $31, $29, $00, $02
db $31, $03, $03, $D1, $00, $7D, $00, $30
db $69, $06, $00, $32, $23, $03, $45, $05
db $04, $23, $03, $44, $39, $38, $01, $39
db $2B, $E4, $43, $03, $FF, $08, $1F, $15
db $FF, $01, $01, $02, $04, $FF, $C8, $48
db $A8, $C8, $68, $48, $08, $08, $E8, $E8
db $48, $28, $48, $28, $58, $A8, $D8, $D6
db $D9, $D9, $D5, $D5, $CD, $4E, $02, $02
db $05, $01, $12, $15, $90, $71, $17, $95
db $5C, $14, $19, $4E, $08, $01, $23, $03
db $00, $6E, $2A, $00, $23, $03, $03, $00
db $00, $11, $12, $85, $00, $08, $CF, $00
db $15, $01, $11, $12, $8A, $00, $20, $01
db $11, $12, $86, $00, $0D, $01, $11, $12
db $D1, $00, $2D, $07, $04, $06, $00, $04
db $06, $00, $00, $04, $87, $00, $20, $07
db $07, $49, $05, $48, $49, $06, $04, $48
db $88, $00, $20, $62, $21, $03, $64, $65
db $64, $63, $88, $00, $20, $06, $07, $36
db $23, $58, $05, $06, $5E, $87, $00, $20
db $03, $13, $14, $07, $29, $62, $21, $00
db $5E, $8B, $00, $20, $02, $07, $08, $65
db $84, $00, $8F, $01, $13, $14, $26, $00
db $01, $04, $06, $8A, $00, $9F, $03, $13
db $14, $00, $28, $85, $00, $AE, $02, $00
db $13, $14, $92, $00, $B7, $83, $00, $76
db $00, $23, $8A, $00, $8F, $07, $00, $00
db $04, $48, $49, $06, $00, $00, $8D, $00
db $05, $8F, $01, $00, $8A, $00, $35, $84
db $01, $0B, $02, $00, $11, $12, $96, $01
db $03, $01, $11, $12, $83, $00, $0F, $01
db $05, $06, $88, $00, $56, $84, $00, $0E
db $00, $08, $83, $00, $6C, $03, $49, $05
db $48, $09, $86, $00, $0C, $04, $6A, $62
db $65, $64, $65, $62, $21, $87, $00, $2B
db $07, $18, $5E, $04, $05, $59, $21, $2D
db $09, $87, $00, $0B, $01, $5E, $5E, $62
db $21, $01, $28, $09, $88, $00, $0A, $04
db $3D, $5E, $64, $08, $09, $8A, $00, $38
db $03, $5E, $5E, $04, $06, $8B, $00, $07
db $04, $5E, $5E, $64, $29, $10, $8A, $00
db $28, $00, $3D, $89, $01, $B1, $01, $13
db $14, $85, $01, $8D, $00, $23, $84, $00
db $14, $01, $13, $14, $85, $01, $8B, $8B
db $00, $FC, $22, $03, $8B, $00, $B0, $03
db $28, $49, $48, $65, $88, $00, $20, $01
db $13, $14, $88, $00, $EB, $28, $15, $8E
db $02, $1D, $02, $04, $48, $63, $8B, $00
db $9F, $03, $2E, $2A, $23, $5E, $8A, $02
db $1F, $04, $04, $48, $22, $23, $5E, $8A
db $00, $9F, $03, $28, $4F, $48, $63, $8B
db $02, $5E, $83, $00, $CC, $8C, $02, $6E
db $01, $04, $06, $22, $54, $89, $00, $20
db $05, $04, $4E, $49, $33, $31, $31, $8A
db $02, $60, $03, $49, $2A, $37, $33, $89
db $02, $9F, $06, $04, $05, $48, $36, $22
db $49, $59, $8A, $00, $70, $04, $37, $48
db $49, $2A, $23, $8A, $00, $70, $04, $22
db $23, $21, $22, $23, $3F, $03, $04, $3D
db $64, $49, $48, $29, $8C, $01, $B5, $04
db $21, $23, $00, $13, $14, $8C, $03, $07
db $CB, $02, $2C, $04, $3D, $5E, $62, $49
db $06, $8A, $03, $25, $22, $5E, $02, $21
db $37, $2F, $8B, $01, $B6, $04, $5E, $21
db $22, $49, $06, $88, $03, $27, $06, $24
db $5E, $5E, $62, $49, $4E, $29, $8B, $03
db $47, $02, $5E, $64, $29, $89, $00, $09
db $23, $54, $01, $04, $06, $89, $00, $09
db $22, $31, $03, $32, $48, $4F, $06, $8A
db $03, $87, $03, $32, $2A, $37, $48, $89
db $03, $66, $01, $25, $58, $83, $02, $BB
db $01, $05, $06, $88, $03, $A8, $00, $21
db $83, $02, $CB, $01, $22, $23, $89, $03
db $B8, $83, $02, $DB, $85, $03, $C6, $00
db $6F, $E4, $22, $03, $FF, $00, $2E, $25
db $0D, $15, $FF, $01, $02, $02, $02, $02
db $03, $02, $01, $FF, $C8, $48, $C8, $48
db $C8, $48, $C8, $48, $C8, $48, $F8, $C8
db $48, $C8, $48, $48, $48, $28, $28, $48
db $48, $58, $58, $48, $48, $58, $28, $28
db $48, $48, $01, $01, $86, $7B, $42, $01
db $86, $3F, $01, $7B, $4E, $01, $3F, $7B
db $3F, $08, $01, $02, $01, $73, $01, $90
db $71, $17, $CD, $5E, $14, $20, $4E, $08
db $00, $01, $03, $6E, $2D, $00, $00, $03
db $2E, $00, $04, $03, $0F, $10, $00, $00
db $83, $00, $21, $01, $0F, $10, $87, $00
db $0B, $05, $11, $12, $00, $00, $13, $14
db $84, $00, $31, $04, $13, $14, $03, $00
db $1A, $8D, $00, $03, $22, $05, $00, $06
db $24, $0C, $00, $04, $84, $00, $53, $00
db $03, $22, $08, $00, $09, $24, $00, $02
db $07, $08, $09, $85, $00, $0D, $00, $0A
db $26, $00, $84, $00, $73, $03, $03, $15
db $15, $0B, $26, $15, $84, $00, $83, $03
db $03, $00, $00, $0B, $26, $00, $84, $00
db $93, $E4, $5F, $03, $E4, $20, $00, $84
db $00, $29, $01, $0F, $10, $87, $00, $28
db $00, $00, $85, $00, $31, $00, $00, $87
db $00, $58, $24, $00, $8A, $00, $65, $86
db $00, $58, $C4, $00, $7F, $8B, $01, $44
db $85, $00, $98, $01, $04, $05, $CA, $00
db $7E, $00, $0B, $83, $00, $68, $CD, $00
db $8E, $01, $15, $0A, $CD, $00, $9E, $01
db $00, $0B, $E4, $5F, $03, $F0, $24, $01
db $00, $8A, $00, $25, $86, $00, $58, $88
db $00, $37, $84, $01, $60, $2D, $00, $00
db $0A, $8A, $02, $2C, $04, $0C, $06, $00
db $00, $0B, $8B, $01, $44, $00, $09, $CD
db $01, $7D, $00, $00, $8E, $01, $80, $01
db $15, $00, $F0, $93, $00, $91, $02, $0F
db $10, $00, $8E, $01, $28, $88, $02, $37
db $2F, $00, $84, $00, $58, $01, $00, $00
db $90, $01, $3F, $01, $00, $00, $85, $01
db $3A, $8F, $01, $58, $8A, $01, $80, $00
db $0A, $F0, $C3, $02, $8C, $C9, $03, $5E
db $00, $04, $89, $00, $53, $87, $01, $5D
db $8D, $01, $5D, $84, $02, $7B, $C3, $03
db $8E, $F0, $B2, $02, $84, $F0, $57, $01
db $37, $00, $0B, $F1, $7D, $01, $90, $00
db $03, $D0, $07, $0E, $8D, $02, $20, $01
db $03, $03, $8A, $03, $30, $00, $19, $8E
db $07, $0C, $00, $18, $83, $00, $9E, $01
db $0C, $0C, $89, $04, $5A, $03, $05, $05
db $03, $03, $8B, $04, $68, $03, $08, $08
db $03, $03, $CE, $00, $7E, $00, $03, $CE
db $00, $8E, $00, $03, $8C, $01, $90, $00
db $6F, $E4, $61, $03, $FF, $16, $00, $37
db $FF, $01, $05, $04, $00, $01, $00, $00
db $00, $FF, $48, $78, $48, $A8, $D8, $18
db $08, $68, $D8, $38, $E8, $40, $48, $40
db $40, $48, $48, $40, $40, $40, $48, $30
db $4F, $AE, $B4, $B4, $AE, $AE, $B4, $B4
db $9F, $AE, $4F, $04, $02, $01, $01, $35
db $0D, $06, $6C, $17, $75, $60, $14, $2E
db $4E, $08, $00, $00, $3E, $E4, $20, $03
db $2D, $48, $02, $03, $03, $48, $2C, $06
db $02, $03, $03, $48, $2C, $04, $85, $00
db $20, $26, $2E, $C7, $00, $24, $01, $48
db $71, $24, $04, $00, $70, $C7, $00, $22
db $84, $00, $55, $C5, $00, $78, $9F, $00
db $60, $9F, $00, $60, $F0, $44, $00, $60
db $F0, $28, $00, $07, $01, $48, $48, $2F
db $06, $2F, $04, $CF, $01, $2F, $E4, $BF
db $03, $9C, $01, $20, $01, $35, $06, $8D
db $00, $42, $02, $38, $04, $48, $8F, $01
db $50, $E5, $A4, $03, $8A, $00, $65, $91
db $00, $50, $00, $48, $89, $01, $3D, $86
db $00, $3D, $00, $72, $8A, $00, $45, $01
db $03, $03, $F0, $CE, $01, $52, $87, $00
db $13, $C7, $05, $17, $C7, $05, $1F, $D6
db $05, $27, $00, $48, $E6, $1D, $03, $00
db $3D, $E4, $9F, $03, $FF, $1F, $1C, $3E
db $10, $FF, $04, $FF, $28, $78, $38, $A8
db $28, $28, $28, $70, $81, $59, $BD, $46
db $01, $01, $01, $01, $04, $01, $06, $6C
db $17, $3D, $61, $14, $3B, $4E, $08, $00
db $00, $3E, $2F, $03, $2C, $48, $84, $00
db $0E, $23, $07, $00, $42, $CA, $00, $26
db $23, $05, $00, $40, $CA, $00, $36, $23
db $05, $00, $74, $8E, $00, $38, $00, $05
db $9F, $00, $38, $83, $00, $38, $F8, $21
db $00, $22, $00, $3D, $E4, $60, $03, $FF
db $00, $0E, $35, $34, $FF, $05, $01, $04
db $05, $0B, $01, $FF, $48, $A8, $A8, $60
db $90, $F8, $58, $88, $B8, $28, $D8, $78
db $A8, $D8, $D8, $38, $68, $98, $08, $68
db $38, $98, $C8, $A0, $08, $30, $28, $78
db $78, $78, $78, $78, $B8, $B8, $B8, $B8
db $B8, $78, $C8, $C8, $C8, $A0, $18, $18
db $18, $C8, $68, $98, $68, $68, $40, $48
db $58, $58, $01, $47, $47, $43, $01, $9A
db $9A, $9A, $9A, $9A, $98, $96, $96, $96
db $43, $98, $98, $98, $96, $96, $96, $96
db $96, $43, $98, $43, $43, $03, $02, $01
db $01, $25, $17, $90, $71, $17, $90, $61
db $14, $3F, $4E, $08, $01, $00, $16, $2F
db $03, $05, $08, $49, $48, $08, $49, $48
db $85, $00, $11, $09, $08, $49, $48, $03
db $05, $48, $49, $05, $48, $49, $85, $00
db $21, $0E, $05, $48, $49, $03, $22, $23
db $21, $2D, $65, $64, $08, $65, $64, $36
db $23, $62, $21, $00, $21, $83, $00, $10
db $00, $63, $24, $5E, $00, $62, $87, $00
db $1B, $00, $65, $26, $5E, $00, $64, $86
db $00, $2C, $28, $5E, $86, $00, $3C, $00
db $06, $26, $5E, $00, $04, $F0, $2F, $00
db $4C, $F0, $52, $00, $4C, $00, $22, $9E
db $00, $01, $00, $08, $8E, $00, $21, $01
db $05, $22, $84, $00, $3B, $02, $22, $23
db $21, $86, $01, $30, $F0, $2F, $01, $10
db $F0, $2D, $01, $10, $00, $22, $9E, $01
db $3F, $01, $63, $5E, $8D, $01, $30, $01
db $5E, $5E, $8C, $00, $11, $02, $63, $5E
db $5E, $8C, $01, $B3, $22, $5E, $83, $01
db $9C, $04, $23, $22, $22, $23, $22, $86
db $00, $61, $2F, $03, $8E, $01, $11, $00
db $00, $8E, $01, $21, $00, $00, $8E, $01
db $31, $00, $00, $F0, $2F, $02, $10, $F0
db $2F, $02, $10, $05, $63, $62, $08, $63
db $62, $08, $85, $02, $A0, $83, $02, $1C
db $2B, $5E, $02, $62, $49, $05, $8B, $02
db $AF, $03, $6A, $5E, $21, $22, $8B, $02
db $AF, $00, $18, $8E, $02, $CC, $00, $3D
db $8E, $02, $CC, $83, $00, $6A, $00, $00
db $F0, $22, $00, $70, $28, $54, $86, $00
db $3C, $00, $59, $26, $31, $00, $58, $86
db $00, $1C, $00, $5B, $26, $31, $07, $5A
db $49, $05, $48, $35, $03, $22, $23, $28
db $31, $62, $21, $00, $31, $8A, $03, $30
db $04, $31, $34, $08, $35, $31, $83, $03
db $40, $2B, $31, $02, $03, $22, $23, $2C
db $31, $83, $03, $60, $8C, $03, $74, $83
db $00, $21, $00, $33, $8C, $03, $76, $02
db $21, $22, $23, $8C, $03, $86, $03, $48
db $08, $49, $33, $62, $31, $01, $31, $32
db $83, $03, $C6, $93, $00, $20, $8B, $01
db $30, $93, $00, $01, $86, $02, $A0, $24
db $5E, $02, $05, $48, $63, $2C, $5E, $01
db $22, $23, $2D, $54, $01, $08, $35, $3B
db $31, $01, $32, $05, $2D, $31, $01, $21
db $22, $87, $04, $47, $85, $03, $C6, $01
db $48, $08, $85, $04, $49, $89, $00, $21
db $84, $03, $57, $8A, $01, $32, $84, $04
db $4A, $8A, $00, $13, $8C, $04, $73, $04
db $48, $49, $05, $31, $31, $8D, $01, $32
db $01, $31, $32, $F0, $2D, $01, $12, $D2
db $02, $0F, $04, $60, $61, $5E, $60, $61
db $84, $05, $02, $83, $02, $AD, $00, $60
db $8D, $02, $22, $00, $54, $8E, $02, $31
db $00, $32, $8F, $02, $11, $02, $35, $31
db $34, $8C, $02, $24, $8D, $04, $82, $04
db $00, $49, $33, $31, $32, $F0, $8B, $02
db $14, $2E, $03, $00, $17, $FF, $07, $35
db $0A, $FF, $02, $01, $03, $05, $02, $FF
db $78, $C8, $18, $98, $C8, $F8, $B8, $E8
db $28, $58, $88, $18, $58, $58, $58, $58
db $48, $48, $48, $48, $48, $48, $48, $48
db $48, $78, $1A, $1A, $1A, $9A, $9A, $9A
db $9A, $9A, $9A, $9A, $9A, $9A, $12, $05
db $01, $01, $01, $45, $07, $06, $6C, $17
db $C6, $63, $14, $46, $4E, $08, $00, $00
db $3E, $2F, $03, $2E, $48, $88, $00, $10
db $D7, $00, $27, $23, $48, $00, $4E, $22
db $06, $00, $4F, $84, $00, $45, $01, $4E
db $03, $83, $00, $44, $00, $7C, $22, $04
db $00, $7D, $84, $00, $55, $03, $7C, $03
db $48, $56, $23, $04, $02, $50, $04, $04
db $C5, $00, $69, $02, $03, $48, $4C, $2C
db $04, $85, $00, $10, $22, $04, $00, $48
db $C3, $00, $89, $87, $00, $1E, $22, $26
db $00, $48, $C3, $00, $99, $01, $48, $48
db $F0, $2B, $00, $10, $F8, $43, $00, $44
db $E4, $28, $48, $03, $4E, $06, $35, $4F
db $86, $00, $43, $84, $00, $41, $04, $56
db $04, $38, $57, $48, $84, $00, $61, $02
db $7D, $06, $06, $85, $00, $53, $05, $4D
db $48, $48, $4C, $04, $50, $27, $04, $02
db $48, $48, $48, $CA, $01, $6C, $01, $04
db $04, $85, $01, $3A, $87, $01, $67, $01
db $4C, $04, $85, $01, $4A, $C7, $00, $98
db $01, $48, $4C, $84, $01, $5A, $00, $4C
db $E4, $5F, $48, $F0, $2F, $01, $00, $02
db $35, $06, $4F, $2C, $48, $02, $38, $04
db $57, $85, $02, $32, $01, $06, $48, $C3
db $02, $4A, $00, $06, $87, $01, $50, $02
db $06, $04, $06, $C3, $02, $5A, $02, $04
db $48, $48, $2D, $04, $01, $35, $06, $2D
db $04, $03, $38, $04, $04, $4D, $26, $48
db $22, $65, $01, $48, $48, $89, $02, $81
db $C3, $00, $89, $24, $48, $01, $48, $48
db $C7, $02, $A3, $C5, $02, $AB, $01, $48
db $48, $F8, $20, $02, $B3, $85, $00, $81
db $00, $62, $8E, $02, $9D, $00, $81, $8F
db $02, $DD, $00, $04, $F8, $43, $02, $11
db $C8, $02, $4F, $84, $02, $49, $88, $02
db $57, $85, $02, $57, $00, $06, $3F, $04
db $C3, $02, $8E, $84, $02, $88, $CA, $03
db $87, $88, $02, $98, $02, $04, $04, $04
db $88, $03, $90, $C6, $03, $A7, $9F, $03
db $90, $83, $02, $DA, $88, $02, $D8, $02
db $04, $62, $04, $83, $02, $EA, $88, $02
db $E8, $01, $04, $81, $8F, $03, $DF, $00
db $04, $F0, $40, $00, $01, $CD, $03, $42
db $00, $03, $C4, $02, $5A, $84, $01, $40
db $CD, $00, $85, $01, $57, $4F, $CE, $00
db $85, $04, $7D, $06, $06, $35, $4F, $88
db $00, $1F, $84, $00, $72, $04, $38, $57
db $48, $03, $48, $8B, $04, $80, $00, $4D
db $F0, $60, $00, $9F, $00, $3D, $FF, $11
db $13, $31, $FF, $04, $01, $FF, $80, $98
db $98, $80, $98, $50, $C8, $E8, $88, $08
db $82, $4C, $4C, $90, $4C, $01, $02, $01
db $01, $05, $0C, $06, $6C, $17, $87, $65
db $14, $65, $4E, $08, $00, $00, $3E, $E4
db $23, $03, $22, $48, $CC, $00, $27, $03
db $48, $07, $30, $31, $CC, $00, $36, $04
db $05, $32, $33, $05, $48, $8A, $00, $1E
db $01, $05, $05, $C9, $00, $57, $00, $48
db $22, $07, $01, $05, $05, $CA, $00, $67
db $01, $05, $60, $22, $05, $CA, $00, $77
db $01, $05, $68, $22, $05, $CB, $00, $87
db $03, $40, $05, $05, $48, $C9, $00, $97
db $2A, $48, $02, $48, $03, $03, $D2, $00
db $AF, $04, $06, $35, $06, $06, $48, $CA
db $00, $C7, $04, $04, $38, $04, $04, $48
db $CA, $00, $D7, $04, $48, $48, $04, $2E
db $48, $CA, $00, $E7, $04, $48, $48, $04
db $04, $48, $C4, $00, $F7, $9F, $00, $DD
db $8A, $00, $9D, $F8, $26, $00, $2A, $00
db $3D, $2E, $00, $00, $03, $E4, $9F, $00
db $FF, $1F, $1C, $3E, $12, $FF, $04, $FF
db $28, $78, $38, $A8, $28, $28, $28, $70
db $81, $59, $BE, $4A, $01, $01, $01, $01
db $04, $01, $06, $6C, $17, $31, $66, $14
db $7E, $4E, $08, $00, $00, $3E, $2F, $03
db $2C, $81, $84, $00, $0E, $23, $07, $00
db $42, $CA, $00, $26, $23, $05, $00, $40
db $CA, $00, $36, $23, $05, $00, $74, $8E
db $00, $38, $00, $05, $9F, $00, $38, $83
db $00, $38, $F8, $21, $00, $22, $00, $3D
db $E4, $60, $03, $FF, $02, $04, $05, $07
db $06, $17, $0C, $FF, $03, $04, $FF, $70
db $A0, $D0, $30, $60, $90, $00, $38, $88
db $38, $38, $88, $38, $88, $D2, $D1, $0D
db $1A, $0F, $50, $34, $02, $01, $04, $02
db $12, $02, $90, $71, $17, $84, $66, $14
db $82, $4E, $08, $00, $32, $03, $07, $80
db $06, $25, $21, $23, $25, $21, $23, $84
db $00, $15, $22, $03, $06, $28, $5B, $25
db $5A, $5B, $25, $5A, $85, $00, $24, $22
db $03, $06, $04, $59, $83, $82, $82, $83
db $82, $C4, $00, $39, $00, $82, $83, $00
db $20, $00, $65, $23, $24, $00, $5E, $C4
db $00, $49, $00, $5E, $84, $00, $30, $23
db $82, $00, $5E, $C4, $00, $59, $00, $5E
db $84, $00, $40, $2A, $5E, $83, $00, $30
db $02, $06, $5E, $5E, $C8, $00, $4F, $87
db $00, $60, $03, $84, $82, $82, $85, $83
db $00, $86, $84, $00, $70, $62, $04, $06
db $24, $04, $06, $24, $04, $06, $24, $C3
db $00, $33, $01, $28, $29, $63, $21, $06
db $21, $23, $24, $21, $23, $24, $21, $E4
db $5F, $03, $00, $23, $89, $00, $15, $01
db $04, $06, $22, $03, $8B, $00, $24, $00
db $29, $CD, $00, $42, $01, $58, $06, $CD
db $00, $52, $01, $64, $29, $CD, $00, $62
db $01, $58, $06, $CD, $00, $72, $01, $64
db $29, $CB, $00, $82, $01, $6A, $5E, $84
db $01, $1B, $01, $82, $85, $86, $00, $86
db $00, $18, $85, $01, $6A, $88, $00, $97
db $01, $05, $06, $84, $01, $1B, $88, $00
db $A7, $03, $22, $23, $28, $81, $E4, $52
db $03, $FF, $0A, $05, $2A, $2F, $16, $07
db $14, $FF, $03, $01, $04, $05, $03, $02
db $00, $FF, $F8, $F8, $F8, $A8, $58, $38
db $38, $78, $98, $08, $D8, $98, $B8, $68
db $F8, $F8, $38, $18, $28, $68, $A8, $38
db $28, $78, $B8, $78, $38, $38, $78, $78
db $A8, $38, $78, $B8, $78, $28, $14, $14
db $14, $14, $0D, $7D, $88, $7D, $88, $0D
db $4F, $4F, $1A, $4D, $4F, $88, $4F, $14
db $07, $01, $01, $01, $65, $06, $06, $6C
db $17, $82, $67, $14, $89, $4E, $08, $00
db $00, $3E, $2F, $03, $2E, $48, $8B, $00
db $10, $23, $06, $8B, $00, $10, $22, $04
db $00, $50, $8E, $00, $30, $00, $04, $91
db $00, $10, $27, $06, $00, $4F, $86, $00
db $2B, $26, $04, $01, $45, $57, $86, $00
db $3B, $01, $04, $46, $C6, $00, $78, $8C
db $00, $4B, $02, $04, $04, $04, $8C, $00
db $1B, $03, $04, $45, $04, $06, $8B, $00
db $2C, $23, $04, $8B, $00, $3C, $00, $4C
db $22, $04, $83, $00, $4C, $CF, $00, $20
db $E4, $2F, $03, $2F, $48, $85, $00, $65
db $28, $48, $00, $4E, $24, $04, $00, $57
db $85, $00, $29, $22, $48, $06, $56, $04
db $04, $04, $04, $45, $04, $88, $00, $95
db $88, $01, $45, $83, $01, $2F, $02, $4F
db $48, $48, $83, $00, $AA, $22, $04, $02
db $06, $06, $7C, $22, $04, $02, $7D, $06
db $06, $85, $00, $74, $84, $00, $BA, $00
db $50, $34, $04, $89, $01, $46, $01, $04
db $04, $83, $00, $28, $02, $06, $06, $06
db $8B, $01, $43, $00, $48, $88, $01, $8A
db $02, $26, $26, $26, $88, $00, $B4, $00
db $4D, $29, $48, $00, $48, $F0, $53, $00
db $D1, $00, $06, $89, $01, $20, $8A, $01
db $75, $84, $01, $35, $00, $45, $24, $04
db $8E, $01, $40, $00, $48, $8B, $01, $50
db $23, $06, $89, $01, $60, $00, $45, $84
db $01, $76, $04, $04, $04, $04, $04, $45
db $97, $01, $7B, $CC, $02, $57, $83, $02
db $1E, $CA, $00, $AF, $02, $04, $48, $48
db $89, $01, $77, $83, $01, $B6, $C5, $01
db $91, $85, $01, $C0, $83, $01, $CC, $F8
db $57, $02, $1F, $CF, $02, $29, $89, $02
db $B2, $CF, $02, $95, $01, $4F, $48, $8D
db $00, $31, $00, $7D, $88, $03, $2A, $CE
db $01, $7E, $CF, $01, $90, $00, $48, $84
db $01, $8A, $01, $04, $48, $D4, $02, $5D
db $87, $02, $62, $00, $26, $CD, $02, $BF
db $00, $04, $85, $00, $C3, $89, $02, $86
db $F0, $50, $01, $D0, $8A, $01, $25, $83
db $02, $65, $9B, $01, $34, $02, $45, $04
db $04, $8C, $01, $53, $C3, $02, $B3, $8D
db $01, $64, $02, $06, $06, $45, $C6, $01
db $7F, $84, $02, $76, $9D, $01, $7B, $24
db $48, $8D, $02, $4A, $01, $06, $06, $8B
db $01, $B4, $01, $48, $48, $8F, $01, $C2
db $F0, $50, $03, $CE, $02, $03, $06, $06
db $8C, $01, $20, $00, $03, $87, $02, $34
db $CC, $00, $D7, $DA, $00, $AA, $02, $06
db $48, $06, $CA, $02, $6D, $01, $48, $03
db $CB, $03, $7C, $03, $3A, $04, $48, $03
db $8B, $03, $7A, $01, $41, $04, $86, $05
db $4E, $DA, $00, $BA, $84, $03, $3A, $CE
db $00, $9A, $83, $01, $C2, $C6, $00, $27
db $8F, $00, $D0, $E5, $0F, $03, $00, $3D
db $2F, $03, $FF, $1F, $1C, $3E, $18, $FF
db $04, $FF, $28, $78, $38, $A8, $28, $28
db $28, $70, $81, $59, $BF, $53, $01, $01
db $01, $01, $04, $01, $06, $6C, $17, $93
db $69, $14, $96, $4E, $08, $00, $00, $3E
db $2F, $03, $2C, $48, $84, $00, $0E, $23
db $07, $00, $42, $CA, $00, $26, $23, $05
db $00, $40, $CA, $00, $36, $23, $05, $00
db $74, $8E, $00, $38, $00, $05, $9F, $00
db $38, $83, $00, $38, $F8, $21, $00, $22
db $00, $3D, $E4, $60, $03, $FF, $0F, $05
db $0C, $37, $FF, $03, $04, $02, $02, $01
db $08, $FF, $E0, $C0, $A0, $00, $B8, $B8
db $B8, $48, $88, $E8, $A8, $48, $00, $20
db $40, $60, $80, $A0, $C0, $E0, $28, $38
db $48, $18, $18, $18, $18, $18, $18, $58
db $48, $30, $18, $18, $18, $18, $18, $18
db $18, $18, $AD, $AD, $AD, $AD, $AD, $AB
db $A9, $0D, $0D, $35, $35, $24, $9F, $9F
db $9F, $9F, $9F, $9F, $9F, $9F, $06, $01
db $01, $01, $55, $01, $90, $71, $17, $E6
db $69, $14, $9A, $4E, $08, $00, $00, $6E
db $32, $00, $01, $0F, $10, $8C, $00, $09
db $8A, $00, $0B, $F0, $20, $00, $0A, $00
db $04, $2C, $00, $02, $04, $06, $21, $8D
db $00, $52, $04, $23, $21, $15, $15, $1D
db $25, $15, $84, $00, $6B, $C3, $00, $6E
db $06, $05, $05, $06, $04, $06, $04, $06
db $43, $21, $23, $02, $21, $22, $22, $45
db $23, $21, $E4, $5F, $03, $00, $00, $F0
db $2A, $00, $01, $93, $00, $2B, $02, $06
db $04, $2F, $8C, $00, $11, $04, $23, $21
db $23, $04, $2F, $85, $00, $4A, $01, $05
db $06, $84, $01, $4D, $87, $01, $50, $62
db $07, $87, $01, $5D, $01, $21, $23, $23
db $15, $00, $0A, $CD, $01, $7A, $01, $00
db $0B, $C3, $01, $8A, $8B, $01, $80, $F8
db $63, $01, $03, $01, $00, $00, $F0, $43
db $00, $01, $03, $00, $00, $2E, $06, $C4
db $01, $41, $00, $0C, $87, $02, $44, $83
db $01, $83, $8B, $02, $50, $87, $01, $83
db $45, $21, $23, $03, $15, $15, $15, $15
db $41, $21, $23, $97, $02, $64, $F0, $A3
db $01, $9C, $00, $0C, $83, $00, $5A, $02
db $06, $04, $2F, $2B, $00, $83, $01, $61
db $8B, $03, $44, $43, $21, $23, $83, $03
db $44, $F0, $23, $02, $7C, $45, $21, $23
db $E4, $5F, $03, $00, $00, $89, $02, $00
db $F0, $29, $01, $16, $97, $00, $0F, $02
db $2E, $06, $04, $88, $01, $57, $83, $02
db $46, $02, $21, $23, $21, $88, $01, $67
db $01, $2E, $06, $C8, $02, $84, $00, $0A
db $8A, $02, $7C, $84, $01, $87, $83, $02
db $6C, $83, $04, $79, $CB, $04, $8B, $F0
db $7A, $00, $99, $90, $00, $12, $9A, $00
db $0C, $00, $06, $8E, $00, $0E, $02, $23
db $04, $06, $2C, $00, $01, $23, $21, $8A
db $05, $50, $00, $19, $87, $01, $5E, $00
db $06, $25, $15, $02, $18, $15, $15, $89
db $03, $65, $83, $00, $80, $01, $06, $04
db $45, $23, $21, $03, $22, $22, $23, $1C
db $E4, $5F, $03, $FF, $31, $32, $14, $0A
db $33, $FF, $01, $03, $02, $02, $02, $02
db $02, $01, $FF, $B8, $38, $F8, $B8, $38
db $B8, $B8, $38, $B8, $38, $B8, $38, $B8
db $38, $38, $48, $48, $58, $28, $28, $48
db $58, $48, $48, $58, $28, $48, $48, $28
db $48, $90, $92, $4D, $14, $90, $14, $90
db $94, $90, $14, $94, $92, $14, $14, $14
db $08, $01, $02, $01, $73, $01, $90, $71
db $17, $7C, $6B, $14, $A8, $4E, $08, $00
db $01, $03, $6E, $2D, $00, $00, $03, $2E
db $00, $04, $03, $0F, $10, $00, $00, $83
db $00, $21, $01, $0F, $10, $87, $00, $0B
db $00, $19, $22, $00, $0C, $13, $14, $00
db $00, $11, $12, $00, $13, $14, $03, $00
db $00, $18, $8C, $00, $04, $22, $05, $00
db $06, $24, $0C, $00, $04, $84, $00, $53
db $00, $03, $22, $08, $00, $09, $24, $00
db $02, $07, $08, $09, $85, $00, $0D, $00
db $0A, $26, $00, $84, $00, $73, $03, $03
db $15, $15, $0B, $26, $15, $84, $00, $83
db $03, $03, $00, $00, $0B, $26, $00, $84
db $00, $93, $E4, $5F, $03, $E4, $20, $00
db $84, $00, $29, $01, $0F, $10, $87, $00
db $28, $00, $00, $84, $00, $39, $01, $00
db $00, $87, $00, $58, $24, $00, $8A, $00
db $65, $86, $00, $58, $C4, $00, $7F, $8B
db $01, $44, $85, $00, $98, $01, $04, $05
db $CA, $00, $7E, $00, $0B, $83, $00, $68
db $CD, $00, $8E, $01, $15, $0A, $CD, $00
db $9E, $01, $00, $0B, $E4, $5F, $03, $F0
db $24, $01, $00, $8A, $00, $25, $86, $00
db $58, $88, $00, $37, $84, $01, $60, $2D
db $00, $00, $0A, $8A, $02, $2C, $04, $0C
db $06, $00, $00, $0B, $8B, $01, $44, $00
db $09, $CD, $01, $7D, $00, $00, $8E, $01
db $80, $01, $15, $00, $F0, $93, $00, $91
db $02, $0F, $10, $00, $8E, $01, $28, $88
db $02, $37, $2F, $00, $84, $00, $58, $01
db $00, $00, $90, $01, $3F, $01, $00, $00
db $85, $01, $3A, $8F, $01, $58, $8A, $01
db $80, $00, $0A, $F0, $C3, $02, $8C, $C9
db $03, $5E, $00, $04, $89, $00, $53, $87
db $01, $5D, $8D, $01, $5D, $84, $02, $7B
db $C3, $03, $8E, $F0, $B2, $02, $84, $F0
db $57, $01, $37, $00, $0B, $F1, $7D, $01
db $90, $00, $03, $D0, $07, $0E, $8D, $02
db $20, $01, $03, $03, $88, $03, $30, $91
db $07, $09, $00, $1A, $83, $00, $9E, $01
db $0C, $0C, $89, $04, $5A, $03, $05, $05
db $03, $03, $8B, $04, $68, $03, $08, $08
db $03, $03, $CE, $00, $7E, $00, $03, $CE
db $00, $8E, $00, $03, $8C, $01, $90, $00
db $6F, $E4, $61, $03, $FF, $2A, $24, $37
db $02, $16, $FF, $00, $02, $05, $01, $00
db $00, $00, $01, $FF, $C8, $80, $00, $88
db $28, $D0, $50, $B8, $18, $40, $40, $40
db $40, $40, $40, $40, $40, $30, $7E, $78
db $9F, $7D, $D2, $77, $9E, $4F, $4F, $04
db $02, $01, $01, $35, $0D, $06, $6C, $17
db $25, $6D, $14, $B6, $4E, $08, $00, $00
db $3E, $E5, $1E, $03, $30, $48, $01, $06
db $35, $2C, $06, $07, $48, $04, $38, $04
db $04, $50, $04, $04, $84, $01, $43, $02
db $04, $50, $04, $F8, $CF, $01, $2F, $90
db $01, $21, $02, $52, $06, $52, $2B, $06
db $41, $04, $50, $00, $04, $CA, $01, $4F
db $F0, $DD, $01, $50, $01, $03, $03, $8D
db $01, $33, $01, $03, $03, $2C, $04, $00
db $48, $C4, $03, $2F, $26, $2E, $87, $01
db $5C, $01, $48, $71, $24, $04, $00, $70
db $87, $01, $5F, $84, $03, $52, $C6, $03
db $75, $9F, $03, $5E, $9F, $03, $5E, $F0
db $3B, $03, $5E, $00, $48, $E6, $23, $03
db $88, $01, $5F, $C7, $06, $26, $C7, $06
db $2E, $F8, $C9, $06, $36, $8B, $03, $62
db $91, $03, $4E, $02, $06, $06, $06, $26
db $04, $90, $03, $3A, $02, $72, $04, $48
db $F8, $20, $03, $2F, $00, $3D, $E4, $9F
db $03, $FF, $1F, $1C, $3E, $1A, $FF, $04
db $FF, $28, $78, $38, $48, $28, $28, $28
db $70, $81, $59, $C0, $57, $01, $01, $01
db $01, $04, $01, $06, $6C, $17, $F2, $6D
db $14, $C3, $4E, $08, $00, $00, $3E, $2F
db $03, $2C, $48, $84, $00, $0E, $23, $07
db $00, $42, $CA, $00, $26, $23, $05, $00
db $40, $CA, $00, $36, $23, $05, $00, $74
db $8E, $00, $38, $00, $05, $9F, $00, $38
db $83, $00, $38, $F8, $21, $00, $22, $00
db $3D, $E4, $60, $03, $FF, $0C, $22, $00
db $0E, $FF, $04, $00, $07, $00, $03, $05
db $FF, $D8, $48, $78, $A8, $A8, $48, $C8
db $C8, $C8, $48, $88, $A0, $68, $C0, $88
db $28, $48, $68, $C8, $C0, $D8, $F8, $E0
db $A8, $68, $68, $98, $F8, $C8, $D8, $58
db $38, $28, $38, $98, $28, $08, $58, $21
db $6C, $21, $20, $22, $01, $01, $6C, $6C
db $43, $23, $43, $21, $43, $23, $21, $43
db $22, $6C, $03, $02, $01, $01, $25, $17
db $90, $71, $17, $45, $6E, $14, $C7, $4E
db $08, $01, $00, $16, $2F, $03, $05, $08
db $49, $48, $08, $49, $48, $85, $00, $11
db $09, $08, $49, $48, $03, $05, $48, $49
db $05, $48, $49, $85, $00, $21, $05, $05
db $48, $49, $03, $22, $23, $62, $21, $00
db $21, $85, $00, $31, $02, $22, $23, $21
db $F0, $2F, $00, $10, $F0, $34, $00, $10
db $04, $35, $34, $08, $35, $34, $85, $00
db $A4, $03, $03, $05, $48, $35, $2B, $31
db $04, $03, $22, $23, $31, $3F, $8E, $00
db $B5, $00, $3E, $8E, $00, $B5, $8F, $00
db $B4, $8B, $00, $B4, $9E, $00, $01, $00
db $08, $8E, $00, $21, $00, $05, $8E, $00
db $31, $00, $22, $F0, $2F, $01, $10, $F0
db $3F, $01, $10, $01, $31, $34, $8D, $01
db $22, $01, $31, $31, $8D, $01, $32, $02
db $31, $31, $34, $8D, $01, $A3, $01, $31
db $31, $8C, $01, $B0, $22, $31, $8C, $01
db $C0, $2F, $03, $8E, $01, $11, $00, $03
db $8E, $01, $21, $00, $03, $84, $00, $32
db $09, $2D, $65, $64, $08, $65, $64, $36
db $23, $21, $22, $85, $02, $0F, $00, $63
db $24, $5E, $00, $62, $87, $02, $1C, $00
db $65, $26, $5E, $00, $64, $86, $02, $2D
db $28, $5E, $86, $02, $3D, $00, $06, $26
db $5E, $00, $04, $86, $02, $1D, $00, $5B
db $26, $54, $00, $5A, $84, $02, $2D, $8A
db $00, $E1, $86, $02, $3D, $00, $59, $26
db $31, $00, $58, $87, $02, $7D, $26, $31
db $F0, $2F, $02, $8C, $93, $02, $8C, $03
db $03, $08, $49, $33, $62, $31, $01, $31
db $32, $84, $03, $03, $01, $31, $31, $8D
db $00, $20, $01, $33, $31, $8E, $00, $30
db $00, $31, $8E, $00, $10, $00, $33, $8B
db $00, $20, $02, $35, $31, $34, $8C, $00
db $2F, $02, $31, $31, $31, $8C, $00, $3F
db $02, $33, $31, $32, $F0, $81, $00, $1F
db $D3, $01, $0E, $87, $00, $A6, $02, $49
db $48, $08, $2C, $31, $02, $34, $49, $05
db $2D, $31, $01, $21, $22, $2D, $31, $03
db $34, $08, $05, $33, $CE, $04, $3D, $8D
db $00, $E2, $00, $31, $89, $03, $01, $C5
db $04, $25, $8B, $03, $14, $83, $04, $4C
db $8D, $03, $51, $01, $31, $31, $8B, $03
db $61, $83, $04, $6C, $8E, $03, $11, $00
db $31, $8E, $03, $21, $00, $31, $8E, $03
db $31, $00, $31, $9F, $01, $20, $8E, $02
db $00, $F0, $40, $02, $9F, $00, $34, $8E
db $02, $B1, $00, $31, $8E, $02, $91, $04
db $31, $34, $08, $35, $31, $89, $02, $A5
db $CC, $00, $C0, $03, $5A, $49, $05, $03
db $8E, $04, $21, $84, $05, $6F, $95, $05
db $64, $02, $32, $05, $48, $8C, $05, $7D
db $85, $01, $FB, $88, $03, $05, $00, $32
db $95, $02, $1A, $9E, $04, $E1, $00, $17
db $FF, $2A, $06, $0A, $04, $0C, $FF, $01
db $05, $03, $01, $02, $FF, $E8, $78, $48
db $18, $A8, $D8, $08, $68, $38, $E8, $38
db $88, $68, $48, $48, $48, $68, $48, $48
db $68, $48, $58, $58, $58, $7D, $0F, $12
db $16, $7D, $0F, $12, $7D, $16, $20, $21
db $20, $05, $01, $01, $01, $45, $07, $06
db $6C, $17, $51, $70, $14, $CE, $4E, $08
db $00, $00, $3E, $2F, $03, $2E, $48, $88
db $00, $10, $C6, $00, $27, $9D, $00, $10
db $00, $06, $87, $00, $1F, $00, $4E, $25
db $06, $01, $04, $06, $85, $00, $10, $01
db $4E, $56, $27, $04, $07, $03, $48, $4E
db $35, $06, $06, $7C, $04, $89, $00, $68
db $01, $56, $38, $23, $04, $00, $4D, $88
db $00, $19, $00, $4C, $84, $00, $84, $C7
db $00, $48, $F0, $22, $00, $10, $F8, $4C
db $00, $4D, $E4, $30, $48, $06, $06, $48
db $48, $06, $48, $48, $06, $88, $01, $3F
db $00, $04, $83, $00, $5C, $02, $06, $04
db $06, $86, $01, $50, $3F, $04, $22, $48
db $04, $62, $62, $62, $48, $48, $C6, $01
db $86, $00, $62, $85, $01, $7D, $01, $04
db $04, $C6, $01, $96, $00, $48, $87, $01
db $90, $C7, $01, $A6, $9F, $01, $90, $07
db $04, $62, $04, $48, $48, $48, $04, $62
db $C8, $01, $D6, $06, $48, $04, $48, $48
db $48, $04, $48, $C5, $01, $E6, $8F, $01
db $DE, $00, $04, $F0, $3D, $00, $FF, $02
db $4E, $06, $35, $CB, $01, $47, $03, $4E
db $56, $04, $38, $88, $01, $51, $03, $06
db $06, $06, $7C, $92, $01, $6F, $CE, $01
db $6D, $02, $35, $62, $62, $29, $48, $03
db $4C, $04, $04, $38, $84, $01, $94, $8A
db $02, $84, $8C, $02, $90, $02, $48, $48
db $48, $83, $02, $A0, $C7, $02, $B2, $D6
db $02, $BA, $00, $62, $8E, $02, $A4, $00
db $48, $87, $02, $D4, $C8, $02, $EA, $F0
db $3A, $00, $F5, $01, $4F, $48, $83, $00
db $71, $C9, $03, $30, $01, $57, $48, $83
db $00, $81, $01, $57, $4F, $87, $00, $53
db $00, $4D, $84, $02, $8A, $01, $04, $7D
db $84, $02, $58, $85, $02, $92, $CA, $01
db $82, $01, $50, $04, $83, $03, $30, $CB
db $02, $7F, $84, $03, $40, $87, $00, $86
db $85, $00, $85, $00, $4C, $88, $00, $86
db $02, $26, $26, $26, $E4, $5F, $48, $F0
db $3F, $00, $01, $00, $4F, $83, $00, $57
db $83, $04, $40, $85, $03, $35, $01, $03
db $7D, $83, $00, $76, $01, $7D, $7C, $85
db $03, $54, $00, $4F, $C3, $00, $71, $C5
db $03, $6F, $00, $50, $84, $03, $7C, $01
db $48, $03, $2C, $04, $05, $4D, $48, $03
db $48, $48, $04, $8B, $02, $9E, $00, $03
db $84, $03, $9B, $84, $03, $9B, $F0, $64
db $00, $9B, $00, $3D, $FF, $11, $13, $31
db $FF, $04, $01, $FF, $80, $68, $68, $80
db $68, $50, $C8, $E8, $88, $08, $82, $4C
db $4C, $90, $4C, $01, $02, $01, $01, $05
db $10, $06, $6C, $17, $0D, $72, $14, $ED
db $4E, $08, $00, $00, $3E, $E4, $23, $03
db $22, $48, $CC, $00, $27, $03, $48, $07
db $30, $31, $CC, $00, $36, $04, $05, $32
db $33, $05, $48, $8A, $00, $1E, $01, $05
db $05, $C9, $00, $57, $00, $48, $22, $07
db $01, $05, $05, $CA, $00, $67, $01, $05
db $60, $22, $05, $CA, $00, $77, $01, $05
db $68, $22, $05, $CB, $00, $87, $03, $40
db $05, $05, $48, $C9, $00, $97, $2A, $48
db $02, $48, $03, $03, $D2, $00, $AF, $04
db $06, $35, $06, $06, $48, $CA, $00, $C7
db $04, $04, $38, $04, $04, $48, $CA, $00
db $D7, $04, $48, $48, $04, $2E, $48, $CA
db $00, $E7, $04, $48, $48, $04, $04, $48
db $CA, $00, $F7, $01, $6F, $6F, $85, $00
db $E5, $01, $6D, $6D, $88, $00, $FD, $84
db $00, $D6, $01, $6B, $6B, $87, $00, $FD
db $25, $48, $01, $6A, $6A, $84, $00, $2A
db $00, $5F, $29, $03, $02, $5F, $03, $03
db $D1, $01, $3F, $2B, $5F, $E4, $30, $03
db $00, $3D, $2F, $03, $E4, $5F, $00, $FF
db $11, $13, $31, $FF, $04, $01, $FF, $80
db $98, $98, $80, $98, $50, $C8, $E8, $88
db $08, $82, $4C, $4C, $90, $4C, $01, $02
db $01, $01, $05, $10, $06, $6C, $17, $D8
db $72, $14, $06, $4F, $08, $00, $00, $3E
db $E4, $23, $03, $22, $48, $CC, $00, $27
db $03, $48, $07, $30, $31, $CC, $00, $36
db $04, $05, $32, $33, $05, $48, $8A, $00
db $1E, $01, $05, $05, $C9, $00, $57, $00
db $48, $22, $07, $01, $05, $05, $CA, $00
db $67, $01, $05, $60, $22, $05, $CA, $00
db $77, $01, $05, $68, $22, $05, $CB, $00
db $87, $03, $40, $05, $05, $48, $C9, $00
db $97, $2A, $48, $02, $48, $03, $03, $D2
db $00, $AF, $04, $06, $35, $06, $06, $48
db $CA, $00, $C7, $04, $04, $38, $04, $04
db $48, $CA, $00, $D7, $04, $48, $48, $04
db $2E, $48, $CA, $00, $E7, $04, $48, $48
db $04, $04, $48, $CA, $00, $F7, $01, $6D
db $6D, $85, $00, $E5, $01, $6F, $6F, $85
db $00, $5D, $01, $6B, $6B, $84, $00, $D5
db $88, $01, $0A, $01, $6A, $6A, $25, $48
db $86, $01, $0B, $00, $5F, $29, $03, $02
db $5F, $03, $03, $D1, $01, $3F, $2B, $5F
db $E4, $30, $03, $00, $3D, $2E, $00, $00
db $03, $E4, $5F, $00, $FF, $1C, $3E, $1F
db $19, $FF, $04, $FF, $78, $38, $28, $48
db $28, $28, $28, $70, $59, $C1, $81, $55
db $01, $01, $01, $01, $04, $01, $06, $6C
db $17, $A5, $73, $14, $1F, $4F, $08, $00
db $00, $3E, $2F, $03, $2C, $48, $84, $00
db $0E, $23, $07, $00, $42, $CA, $00, $26
db $23, $05, $00, $40, $CA, $00, $36, $23
db $05, $00, $74, $8E, $00, $38, $00, $05
db $9F, $00, $38, $83, $00, $38, $F8, $21
db $00, $22, $00, $3D, $E4, $60, $03, $FF
db $02, $04, $05, $07, $06, $17, $0C, $FF
db $03, $04, $FF, $70, $A0, $D0, $30, $60
db $90, $00, $38, $88, $38, $38, $88, $38
db $88, $D2, $D1, $0D, $1A, $0F, $50, $35
db $02, $01, $04, $02, $12, $02, $90, $71
db $17, $F8, $73, $14, $23, $4F, $08, $00
db $32, $03, $07, $80, $06, $25, $21, $23
db $25, $21, $23, $84, $00, $15, $22, $03
db $06, $28, $5B, $25, $5A, $5B, $25, $5A
db $85, $00, $24, $22, $03, $06, $04, $59
db $83, $82, $82, $83, $82, $C4, $00, $39
db $00, $82, $83, $00, $20, $00, $65, $23
db $24, $00, $5E, $C4, $00, $49, $00, $5E
db $84, $00, $30, $23, $82, $00, $5E, $C4
db $00, $59, $00, $5E, $84, $00, $40, $2A
db $5E, $83, $00, $30, $02, $06, $5E, $6A
db $C8, $00, $4F, $85, $00, $60, $09, $18
db $5E, $84, $82, $82, $85, $5E, $5E, $84
db $82, $84, $00, $70, $62, $04, $06, $24
db $04, $06, $24, $04, $06, $24, $C3, $00
db $33, $01, $28, $29, $63, $21, $06, $21
db $23, $24, $21, $23, $24, $21, $E4, $5F
db $03, $00, $23, $89, $00, $15, $01, $04
db $06, $22, $03, $8B, $00, $24, $00, $29
db $CD, $00, $42, $01, $58, $06, $CD, $00
db $52, $01, $64, $29, $CD, $00, $62, $01
db $58, $06, $CD, $00, $72, $01, $64, $29
db $CB, $00, $82, $01, $5E, $5E, $84, $01
db $1B, $02, $82, $85, $5E, $84, $00, $87
db $87, $01, $68, $88, $00, $97, $01, $05
db $06, $84, $01, $1B, $88, $00, $A7, $03
db $22, $23, $28, $81, $E4, $52, $03, $FF
db $25, $31, $33, $32, $16, $FF, $01, $03
db $01, $04, $04, $04, $01, $FF, $A8, $C8
db $C8, $C8, $78, $28, $D8, $28, $28, $88
db $88, $68, $A8, $E8, $38, $E8, $C8, $08
db $48, $68, $A8, $28, $68, $A8, $68, $28
db $68, $28, $A8, $78, $78, $28, $68, $A8
db $78, $78, $7B, $91, $95, $93, $91, $94
db $93, $92, $90, $92, $94, $4F, $4F, $92
db $95, $94, $4F, $4F, $07, $01, $01, $01
db $62, $06, $06, $6C, $17, $F8, $74, $14
db $2A, $4F, $08, $00, $00, $3E, $37, $03
db $22, $48, $01, $03, $03, $CA, $00, $1A
db $01, $48, $36, $8F, $00, $1B, $9F, $00
db $1B, $8E, $00, $1B, $00, $37, $83, $00
db $1B, $00, $06, $89, $00, $10, $00, $05
db $83, $00, $1B, $00, $04, $8F, $00, $70
db $8E, $00, $70, $8A, $00, $1F, $00, $5A
db $84, $00, $1B, $99, $00, $10, $00, $48
db $94, $00, $AB, $E4, $2F, $03, $38, $48
db $23, $06, $CB, $01, $2B, $22, $04, $00
db $50, $CB, $01, $3B, $23, $04, $02, $04
db $04, $04, $96, $01, $19, $00, $4F, $87
db $01, $28, $00, $3A, $24, $04, $01, $45
db $57, $87, $01, $38, $00, $38, $86, $01
db $49, $8C, $01, $48, $8F, $01, $4D, $03
db $04, $45, $04, $06, $8B, $01, $29, $23
db $04, $8B, $01, $39, $00, $4C, $22, $04
db $86, $01, $49, $F8, $41, $01, $1F, $8F
db $01, $1B, $00, $4F, $28, $48, $00, $4E
db $C3, $01, $AA, $01, $04, $57, $85, $01
db $26, $22, $48, $06, $56, $04, $04, $04
db $04, $45, $04, $84, $01, $92, $C9, $02
db $46, $03, $04, $48, $48, $4E, $22, $04
db $02, $4F, $48, $48, $86, $01, $85, $02
db $06, $06, $7C, $22, $04, $00, $7D, $C4
db $02, $64, $02, $06, $04, $45, $88, $01
db $B7, $02, $04, $04, $45, $34, $04, $8C
db $01, $92, $01, $04, $45, $8C, $02, $92
db $00, $06, $85, $01, $3D, $02, $26, $26
db $26, $88, $01, $33, $00, $4D, $8B, $01
db $99, $F0, $52, $01, $CF, $83, $01, $61
db $89, $02, $20, $85, $02, $75, $89, $02
db $30, $01, $04, $04, $CF, $02, $52, $83
db $01, $91, $89, $02, $50, $C5, $01, $AD
db $89, $02, $60, $02, $04, $04, $50, $CA
db $02, $81, $94, $02, $81, $CB, $02, $9B
db $00, $48, $CB, $01, $AD, $02, $04, $04
db $04, $86, $03, $2F, $89, $02, $B0, $24
db $04, $83, $02, $BF, $C6, $01, $26, $F0
db $4F, $01, $D0, $85, $03, $1B, $8E, $03
db $20, $00, $04, $88, $03, $30, $CC, $01
db $D5, $D3, $01, $A7, $01, $06, $06, $C9
db $03, $A5, $83, $02, $6C, $83, $02, $7A
db $84, $01, $84, $87, $02, $79, $8E, $01
db $81, $D4, $03, $5A, $00, $06, $8E, $03
db $A0, $00, $04, $88, $03, $B0, $86, $01
db $C2, $88, $03, $C0, $F8, $57, $04, $20
db $01, $48, $4E, $86, $01, $29, $8C, $02
db $34, $02, $04, $50, $04, $CF, $03, $50
db $8B, $02, $54, $83, $01, $25, $8B, $02
db $64, $03, $06, $06, $48, $06, $83, $02
db $74, $C9, $04, $82, $CF, $02, $93, $01
db $48, $04, $83, $01, $93, $D5, $01, $A5
db $00, $48, $84, $01, $2B, $8D, $02, $B4
db $01, $50, $04, $CA, $01, $5A, $F0, $50
db $01, $CB, $C3, $00, $73, $8B, $03, $24
db $C3, $00, $83, $84, $04, $3A, $8D, $06
db $25, $01, $45, $04, $8A, $01, $D9, $84
db $01, $93, $8C, $06, $15, $C8, $03, $68
db $84, $06, $3B, $8A, $02, $7A, $88, $06
db $2B, $24, $04, $01, $46, $04, $97, $06
db $4B, $01, $45, $04, $8E, $06, $25, $8F
db $06, $A4, $00, $4D, $86, $06, $45, $DF
db $06, $1F, $00, $3D, $32, $03, $FF, $1F
db $1C, $3E, $21, $FF, $04, $FF, $28, $78
db $38, $A8, $28, $28, $28, $70, $81, $59
db $C2, $67, $01, $01, $01, $01, $04, $01
db $06, $6C, $17, $47, $77, $14, $37, $4F
db $08, $00, $00, $3E, $2F, $03, $2C, $48
db $84, $00, $0E, $23, $07, $00, $42, $CA
db $00, $26, $23, $05, $00, $40, $CA, $00
db $36, $23, $05, $00, $74, $8E, $00, $38
db $00, $05, $9F, $00, $38, $83, $00, $38
db $F8, $21, $00, $22, $00, $3D, $E4, $60
db $03, $FF, $0C, $15, $16, $13, $39, $FF
db $04, $01, $03, $03, $01, $05, $FF, $E0
db $A0, $60, $20, $B8, $30, $70, $B0, $50
db $90, $D0, $48, $28, $48, $68, $88, $D8
db $38, $38, $38, $38, $18, $38, $28, $18
db $18, $28, $38, $18, $18, $28, $38, $48
db $48, $35, $35, $35, $35, $4E, $4B, $4F
db $4F, $4F, $4F, $4F, $4C, $4F, $4F, $4F
db $4F, $A3, $06, $01, $01, $01, $55, $01
db $90, $71, $17, $9A, $77, $14, $3B, $4F
db $08, $00, $00, $6E, $32, $70, $01, $76
db $77, $8C, $00, $09, $8A, $00, $0B, $F0
db $20, $00, $0A, $00, $04, $2C, $70, $05
db $04, $06, $21, $70, $70, $71, $8A, $00
db $55, $04, $23, $21, $15, $15, $18, $25
db $15, $84, $00, $6B, $C3, $00, $6E, $06
db $05, $05, $06, $04, $06, $04, $06, $43
db $21, $23, $02, $21, $22, $22, $45, $23
db $21, $E4, $5F, $03, $00, $70, $F0, $2A
db $00, $01, $93, $00, $2B, $02, $06, $04
db $73, $8C, $00, $11, $04, $23, $21, $23
db $04, $73, $85, $00, $4A, $01, $05, $06
db $84, $01, $4D, $87, $01, $50, $02, $74
db $08, $75, $87, $01, $5D, $01, $21, $23
db $23, $15, $00, $0A, $CA, $01, $7A, $23
db $00, $00, $0B, $C3, $01, $8A, $8F, $01
db $80, $E4, $5F, $03, $00, $70, $F0, $2C
db $01, $00, $97, $00, $09, $03, $70, $70
db $72, $06, $C4, $01, $41, $00, $78, $87
db $02, $44, $C3, $01, $63, $8B, $02, $50
db $87, $02, $58, $45, $21, $23, $03, $15
db $15, $15, $15, $45, $21, $23, $23, $00
db $8B, $02, $80, $F0, $90, $01, $9C, $92
db $00, $2C, $00, $78, $83, $00, $5A, $02
db $06, $04, $73, $2B, $70, $83, $01, $61
db $8B, $03, $44, $43, $21, $23, $83, $03
db $44, $F0, $23, $02, $7C, $45, $21, $23
db $E4, $5F, $03, $00, $70, $89, $02, $00
db $F0, $29, $01, $16, $97, $00, $0F, $02
db $72, $06, $04, $88, $01, $57, $83, $02
db $46, $02, $21, $23, $21, $88, $01, $67
db $01, $72, $06, $C8, $02, $84, $00, $0A
db $8A, $02, $7C, $84, $01, $87, $83, $02
db $8C, $83, $04, $79, $CB, $04, $8B, $F0
db $7A, $00, $99, $90, $00, $12, $9A, $00
db $0C, $00, $06, $8E, $00, $0E, $02, $23
db $04, $06, $2C, $70, $01, $23, $21, $8D
db $05, $50, $86, $03, $67, $25, $15, $02
db $1D, $15, $15, $89, $03, $65, $83, $00
db $80, $01, $06, $04, $45, $23, $21, $03
db $22, $22, $23, $1C, $E4, $5F, $03, $FF
db $08, $0C, $FF, $00, $02, $01, $FF, $88
db $88, $88, $E8, $C8, $08, $1C, $23, $22
db $01, $03, $02, $03, $05, $26, $06, $6C
db $17, $30, $79, $14, $49, $4F, $08, $00
db $E4, $20, $03, $00, $3E, $2F, $03, $2C
db $78, $01, $03, $03, $D0, $00, $3F, $23
db $78, $00, $4E, $22, $06, $00, $4F, $8A
db $00, $3B, $04, $56, $04, $3A, $04, $57
db $8A, $00, $3B, $02, $04, $04, $38, $CC
db $00, $77, $02, $04, $04, $45, $8C, $00
db $79, $00, $4C, $22, $04, $00, $4D, $8B
db $00, $3B, $02, $71, $45, $70, $8C, $00
db $3A, $03, $71, $04, $70, $78, $9F, $00
db $9B, $9F, $00, $9B, $9F, $00, $9B, $F0
db $79, $00, $9B, $01, $4E, $06, $22, $04
db $01, $06, $4F, $88, $00, $3C, $00, $56
db $24, $04, $00, $57, $88, $00, $3C, $22
db $45, $00, $78, $CB, $01, $B7, $83, $01
db $97, $02, $04, $04, $04, $8C, $01, $AC
db $CF, $01, $D7, $02, $04, $04, $04, $F0
db $3F, $01, $AC, $88, $00, $3C, $02, $4C
db $04, $04, $83, $00, $97, $8A, $00, $3C
db $02, $45, $45, $45, $9D, $01, $8A, $00
db $45, $8B, $01, $A9, $23, $04, $8B, $01
db $C9, $03, $04, $04, $04, $45, $DB, $02
db $87, $22, $04, $00, $65, $87, $02, $99
db $D3, $02, $AF, $22, $26, $03, $62, $26
db $26, $26, $F8, $22, $00, $44, $00, $3D
db $2F, $03, $FF, $00, $0C, $2E, $0D, $04
db $02, $FF, $00, $06, $FF, $48, $A8, $48
db $A8, $48, $A8, $18, $18, $98, $98, $58
db $58, $01, $34, $86, $3F, $D1, $D2, $01
db $02, $01, $01, $04, $17, $06, $67, $15
db $13, $7A, $14, $52, $4F, $08, $00, $00
db $14, $E4, $33, $03, $22, $04, $CC, $00
db $36, $02, $04, $07, $0D, $CD, $00, $46
db $01, $06, $0C, $CD, $00, $56, $03, $06
db $05, $06, $04, $8B, $00, $2E, $01, $06
db $06, $C8, $00, $76, $83, $00, $45, $04
db $28, $06, $05, $06, $30, $C7, $00, $84
db $03, $06, $0C, $06, $1C, $22, $06, $03
db $22, $06, $0C, $06, $C9, $00, $81, $00
db $05, $88, $00, $78, $00, $38, $84, $00
db $52, $00, $06, $98, $00, $58, $00, $03
db $85, $00, $B2, $F8, $24, $00, $D6, $88
db $00, $2F, $01, $0F, $0F, $CA, $01, $06
db $04, $04, $07, $04, $06, $06, $CD, $01
db $16, $02, $06, $05, $06, $CE, $01, $05
db $D0, $01, $36, $8E, $01, $09, $F8, $6E
db $01, $56, $01, $06, $06, $F8, $34, $00
db $45, $01, $13, $03, $FF, $16, $17, $06
db $05, $0E, $0D, $04, $FF, $01, $06, $FF
db $78, $48, $A8, $48, $A8, $48, $A8, $D4
db $98, $98, $58, $58, $18, $18, $4F, $50
db $0F, $0D, $43, $42, $D1, $01, $02, $01
db $01, $04, $17, $06, $67, $15, $C5, $7A
db $14, $65, $4F, $08, $00, $00, $14, $E4
db $33, $03, $22, $04, $CC, $00, $36, $02
db $04, $07, $0D, $CD, $00, $46, $01, $06
db $0C, $CD, $00, $56, $03, $06, $05, $06
db $04, $8B, $00, $2E, $01, $06, $06, $C8
db $00, $76, $83, $00, $45, $04, $32, $06
db $05, $06, $2A, $C7, $00, $84, $03, $06
db $0C, $06, $24, $22, $06, $03, $1A, $06
db $0C, $06, $C9, $00, $81, $00, $05, $88
db $00, $78, $00, $38, $84, $00, $52, $00
db $06, $98, $00, $58, $00, $03, $85, $00
db $B2, $F8, $24, $00, $D6, $88, $00, $2F
db $01, $0F, $0F, $CA, $01, $06, $04, $04
db $07, $04, $06, $06, $CD, $01, $16, $02
db $06, $05, $06, $CE, $01, $05, $D0, $01
db $36, $8E, $01, $09, $F8, $6E, $01, $56
db $01, $06, $06, $F8, $34, $00, $45, $01
db $13, $03, $FF, $16, $22, $07, $25, $34
db $0A, $02, $FF, $01, $06, $FF, $78, $A8
db $48, $A8, $48, $48, $A8, $D4, $18, $98
db $98, $58, $18, $58, $4F, $6C, $1A, $7B
db $96, $12, $D2, $01, $02, $01, $01, $04
db $17, $06, $67, $15, $7B, $7B, $14, $78
db $4F, $08, $00, $00, $14, $E4, $33, $03
db $22, $04, $CC, $00, $36, $02, $04, $07
db $0D, $CD, $00, $46, $01, $06, $0C, $CD
db $00, $56, $03, $06, $05, $06, $04, $8B
db $00, $2E, $01, $06, $06, $C8, $00, $76
db $83, $00, $45, $04, $2C, $06, $05, $06
db $28, $C7, $00, $84, $03, $06, $0C, $06
db $18, $22, $06, $03, $1C, $06, $0C, $06
db $C9, $00, $81, $00, $05, $88, $00, $78
db $00, $38, $84, $00, $52, $00, $06, $98
db $00, $58, $00, $03, $85, $00, $B2, $F8
db $24, $00, $D6, $88, $00, $2F, $01, $0F
db $0F, $CA, $01, $06, $04, $04, $07, $04
db $06, $06, $CD, $01, $16, $02, $06, $05
db $06, $CE, $01, $05, $D0, $01, $36, $8E
db $01, $09, $F8, $6E, $01, $56, $01, $06
db $06, $F8, $34, $00, $45, $01, $13, $03
db $FF, $16, $06, $22, $34, $0A, $07, $02
db $FF, $02, $06, $FF, $78, $78, $48, $48
db $A8, $48, $A8, $A8, $D4, $B4, $98, $58
db $58, $18, $18, $98, $4F, $4F, $0F, $6C
db $96, $12, $1A, $D2, $01, $02, $01, $01
db $04, $17, $06, $67, $15, $31, $7C, $14
db $8B, $4F, $08, $00, $00, $14, $E4, $33
db $03, $22, $04, $CC, $00, $36, $02, $04
db $07, $0D, $CD, $00, $46, $01, $06, $0C
db $CD, $00, $56, $03, $06, $05, $06, $04
db $8B, $00, $2E, $01, $06, $06, $C8, $00
db $76, $83, $00, $45, $04, $2C, $06, $05
db $06, $2E, $C7, $00, $84, $03, $06, $0C
db $06, $18, $22, $06, $03, $20, $06, $0C
db $06, $C9, $00, $81, $00, $05, $88, $00
db $78, $00, $38, $84, $00, $52, $00, $06
db $98, $00, $58, $00, $03, $85, $00, $B2
db $F8, $24, $00, $D6, $88, $00, $2F, $01
db $0F, $0F, $CA, $01, $06, $04, $04, $07
db $04, $06, $06, $CD, $01, $16, $02, $06
db $05, $06, $CE, $01, $05, $D0, $01, $36
db $8E, $01, $09, $F8, $6E, $01, $56, $01
db $06, $06, $F8, $34, $00, $45, $01, $13
db $03, $FF, $16, $30, $34, $07, $05, $02
db $04, $FF, $02, $06, $FF, $78, $78, $A8
db $48, $48, $A8, $48, $A8, $D4, $B4, $58
db $58, $18, $98, $98, $18, $4F, $4F, $8E
db $96, $1A, $0D, $D2, $D1, $01, $02, $01
db $01, $04, $17, $06, $67, $15, $EA, $7C
db $14, $9E, $4F, $08, $00, $00, $14, $E4
db $33, $03, $22, $04, $CC, $00, $36, $02
db $04, $07, $0D, $CD, $00, $46, $01, $06
db $0C, $CD, $00, $56, $03, $06, $05, $06
db $04, $8B, $00, $2E, $01, $06, $06, $C8
db $00, $76, $83, $00, $45, $04, $28, $06
db $05, $06, $2A, $C7, $00, $84, $03, $06
db $0C, $06, $1C, $22, $06, $03, $1A, $06
db $0C, $06, $C9, $00, $81, $00, $05, $88
db $00, $78, $00, $38, $84, $00, $52, $00
db $06, $98, $00, $58, $00, $03, $85, $00
db $B2, $F8, $24, $00, $D6, $88, $00, $2F
db $01, $0F, $0F, $CA, $01, $06, $04, $04
db $07, $04, $06, $06, $CD, $01, $16, $02
db $06, $05, $06, $CE, $01, $05, $D0, $01
db $36, $8E, $01, $09, $F8, $6E, $01, $56
db $01, $06, $06, $F8, $34, $00, $45, $01
db $13, $03, $FF, $16, $06, $30, $22, $0A
db $05, $04, $FF, $02, $06, $FF, $78, $78
db $A8, $48, $A8, $A8, $48, $48, $D4, $B4
db $98, $58, $58, $18, $98, $18, $4F, $4F
db $0F, $8E, $6C, $12, $0D, $D1, $01, $02
db $01, $01, $04, $17, $06, $67, $15, $A3
db $7D, $14, $B1, $4F, $08, $00, $00, $14
db $E4, $33, $03, $22, $04, $CC, $00, $36
db $02, $04, $07, $0D, $CD, $00, $46, $01
db $06, $0C, $CD, $00, $56, $03, $06, $05
db $06, $04, $8B, $00, $2E, $01, $06, $06
db $C8, $00, $76, $83, $00, $45, $04, $2A
db $06, $05, $06, $32, $C7, $00, $84, $03
db $06, $0C, $06, $1A, $22, $06, $03, $24
db $06, $0C, $06, $C9, $00, $81, $00, $05
db $88, $00, $78, $00, $38, $84, $00, $52
db $00, $06, $98, $00, $58, $00, $03, $85
db $00, $B2, $F8, $24, $00, $D6, $88, $00
db $2F, $01, $0F, $0F, $CA, $01, $06, $04
db $04, $07, $04, $06, $06, $CD, $01, $16
db $02, $06, $05, $06, $CE, $01, $05, $D0
db $01, $36, $8E, $01, $09, $F8, $6E, $01
db $56, $01, $06, $06, $F8, $34, $00, $45
db $01, $13, $03, $FF, $16, $05, $06, $0A
db $00, $04, $17, $FF, $03, $06, $FF, $78
db $78, $78, $48, $48, $A8, $48, $A8, $A8
db $D4, $B4, $94, $58, $98, $98, $18, $58
db $18, $4F, $4F, $4F, $0D, $0F, $12, $01
db $D1, $50, $01, $02, $01, $01, $04, $17
db $06, $67, $15, $5C, $7E, $14, $C4, $4F
db $08, $00, $00, $14, $E4, $33, $03, $22
db $04, $CC, $00, $36, $02, $04, $07, $0D
db $CD, $00, $46, $01, $06, $0C, $CD, $00
db $56, $03, $06, $05, $06, $04, $8B, $00
db $2E, $01, $06, $06, $C8, $00, $76, $83
db $00, $45, $04, $4E, $06, $05, $06, $32
db $C7, $00, $84, $03, $06, $0C, $06, $1E
db $22, $06, $03, $24, $06, $0C, $06, $C9
db $00, $81, $00, $05, $88, $00, $78, $00
db $3E, $84, $00, $52, $00, $06, $98, $00
db $58, $00, $03, $85, $00, $B2, $F8, $24
db $00, $D6, $88, $00, $2F, $01, $0F, $0F
db $CA, $01, $06, $04, $04, $07, $04, $06
db $06, $CD, $01, $16, $02, $06, $05, $06
db $CE, $01, $05, $D0, $01, $36, $8E, $01
db $09, $F8, $6E, $01, $56, $01, $06, $06
db $F8, $34, $00, $45, $01, $13, $03, $FF
db $16, $07, $05, $0A, $30, $02, $04, $FF
db $03, $06, $FF, $78, $78, $78, $48, $48
db $A8, $A8, $A8, $48, $D4, $B4, $94, $18
db $98, $98, $58, $18, $58, $4F, $4F, $4F
db $1A, $0D, $12, $8E, $D2, $D1, $01, $02
db $01, $01, $04, $17, $06, $67, $15, $18
db $7F, $14, $D7, $4F, $08, $00, $00, $14
db $E4, $33, $03, $22, $04, $CC, $00, $36
db $02, $04, $07, $0D, $CD, $00, $46, $01
db $06, $0C, $CD, $00, $56, $03, $06, $05
db $06, $04, $8B, $00, $2E, $01, $06, $06
db $C8, $00, $76, $83, $00, $45, $04, $2C
db $06, $05, $06, $2A, $C7, $00, $84, $03
db $06, $0C, $06, $18, $22, $06, $03, $1A
db $06, $0C, $06, $C9, $00, $81, $00, $05
db $88, $00, $78, $00, $3F, $84, $00, $52
db $00, $06, $98, $00, $58, $00, $03, $85
db $00, $B2, $F8, $24, $00, $D6, $88, $00
db $2F, $01, $0F, $0F, $CA, $01, $06, $04
db $04, $07, $04, $06, $06, $CD, $01, $16
db $02, $06, $05, $06, $CE, $01, $05, $D0
db $01, $36, $8E, $01, $09, $F8, $6E, $01
db $56, $01, $06, $06, $F8, $34, $00, $45
db $01, $13, $03, $FF, $16, $0A, $06, $07
db $35, $02, $04, $FF, $03, $06, $FF, $78
db $78, $78, $48, $A8, $48, $48, $A8, $A8
db $D4, $B4, $94, $18, $18, $58, $98, $58
db $98, $4F, $4F, $4F, $12, $0F, $1A, $9A
db $D2, $D1, $FF, $EF, $FF, $FF, $FF, $FF
|
src/Categories/Category/Construction/Elements.agda | Trebor-Huang/agda-categories | 279 | 2521 | <reponame>Trebor-Huang/agda-categories
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Construction.Elements where
-- Category of Elements -- given a functor into Sets, construct the category of elements 'above' each object
-- see https://ncatlab.org/nlab/show/category+of+elements
open import Level
open import Data.Product using (Σ; _,_; Σ-syntax; proj₁; proj₂; map)
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; sym; trans; cong)
open import Function hiding (_∘_) renaming (id to idf)
open import Categories.Category using (Category)
open import Categories.Functor hiding (id)
open import Categories.Category.Instance.Sets
open import Categories.Category.Instance.Cats
open import Categories.Category.Construction.Functors
open import Categories.NaturalTransformation.NaturalIsomorphism hiding (refl; sym; trans)
open import Categories.NaturalTransformation hiding (id)
import Categories.Morphism.Reasoning as MR
private
variable
o ℓ e o′ : Level
-- the first, most explicit definition is taken as 'canonical'.
Elements : {C : Category o ℓ e} → Functor C (Sets o′) → Category (o ⊔ o′) (ℓ ⊔ o′) e
Elements {C = C} F = record
{ Obj = Σ Obj F₀
; _⇒_ = λ { (c , x) (c′ , x′) → Σ (c ⇒ c′) (λ f → F₁ f x ≡ x′) }
; _≈_ = λ p q → proj₁ p ≈ proj₁ q
; id = id , identity
; _∘_ = λ { (f , Ff≡) (g , Fg≡) → f ∘ g , trans homomorphism (trans (cong (F₁ f) Fg≡) Ff≡)}
; assoc = assoc
; sym-assoc = sym-assoc
; identityˡ = identityˡ
; identityʳ = identityʳ
; identity² = identity²
; equiv = record { refl = Equiv.refl ; sym = Equiv.sym ; trans = Equiv.trans }
; ∘-resp-≈ = ∘-resp-≈
}
where
open Category C
open Functor F
-- This induces a functor. It is largely uninteresting as it is as close to 'strict'
-- as things get in this setting.
El : {C : Category o ℓ e} → Functor (Functors C (Sets o′)) (Cats (o ⊔ o′) (ℓ ⊔ o′) e)
El {C = C} = record
{ F₀ = Elements
; F₁ = λ A⇒B → record
{ F₀ = map idf (η A⇒B _)
; F₁ = map idf λ {f} eq → trans (sym $ commute A⇒B f) (cong (η A⇒B _) eq)
; identity = Equiv.refl
; homomorphism = Equiv.refl
; F-resp-≈ = idf
}
; identity = λ {P} → record
{ F⇒G = record
{ η = λ X → id , identity P
; commute = λ _ → MR.id-comm-sym C
; sym-commute = λ _ → MR.id-comm C
}
; F⇐G = record
{ η = λ X → id , identity P
; commute = λ _ → MR.id-comm-sym C
; sym-commute = λ _ → MR.id-comm C
}
; iso = λ X → record { isoˡ = identityˡ ; isoʳ = identityʳ } }
; homomorphism = λ {X₁} {Y₁} {Z₁} → record
{ F⇒G = record
{ η = λ X → id , identity Z₁
; commute = λ _ → MR.id-comm-sym C
; sym-commute = λ _ → MR.id-comm C
}
; F⇐G = record
{ η = λ X → id , identity Z₁
; commute = λ _ → MR.id-comm-sym C
; sym-commute = λ _ → MR.id-comm C
}
; iso = λ X → record { isoˡ = identityˡ ; isoʳ = identityʳ }
}
; F-resp-≈ = λ {_} {B₁} f≈g → record
{ F⇒G = record
{ η = λ _ → id , trans (identity B₁) f≈g
; commute = λ _ → MR.id-comm-sym C
; sym-commute = λ _ → MR.id-comm C
}
; F⇐G = record
{ η = λ _ → id , trans (identity B₁) (sym f≈g)
; commute = λ _ → MR.id-comm-sym C
; sym-commute = λ _ → MR.id-comm C
}
; iso = λ X → record { isoˡ = identityˡ ; isoʳ = identityʳ } }
}
where
open Category C
open Functor
open NaturalTransformation
-- But there are all sorts of interesting alternate definitions
-- note how this one is WAY less level polymorphic than the above!
-- it looks like it contains more information... but not really either.
{- Unfinished because it is super tedious and not informative!
module Alternate-Pullback {C : Category (suc o) o o} (F : Functor C (Sets o)) where
open import Categories.Category.Instance.PointedSets
open import Categories.Category.Instance.Cats
open import Categories.Diagram.Pullback (Cats (suc o) o o)
open import Categories.Category.Product using (_※_; πˡ)
open Category C
open Functor F
Pb : Pullback F Underlying
Pb = record
{ P = Elements F
; p₁ = record
{ F₀ = proj₁
; F₁ = proj₁
; identity = Equiv.refl
; homomorphism = Equiv.refl
; F-resp-≈ = idf
}
; p₂ = record
{ F₀ = map F₀ idf
; F₁ = map F₁ idf
; identity = λ x → identity {_} {x}
; homomorphism = λ _ → homomorphism
; F-resp-≈ = λ f≈g _ → F-resp-≈ f≈g
}
; commute = record
{ F⇒G = record { η = λ _ → idf ; commute = λ _ → refl }
; F⇐G = record { η = λ _ → idf ; commute = λ _ → refl }
; iso = λ X → record { isoˡ = refl ; isoʳ = refl }
}
; universal = λ {A} {h₁} {h₂} NI → record
{ F₀ = λ X → Functor.F₀ h₁ X , η (F⇐G NI) X (proj₂ $ Functor.F₀ h₂ X)
; F₁ = λ f → Functor.F₁ h₁ f ,
trans (sym $ commute (F⇐G NI) f) (cong (η (F⇐G NI) _) (proj₂ $ Functor.F₁ h₂ f))
; identity = Functor.identity h₁
; homomorphism = Functor.homomorphism h₁
; F-resp-≈ = Functor.F-resp-≈ h₁
}
; unique = λ πˡ∘i≃h₁ map∘i≃h₂ → record
{ F⇒G = record { η = λ X → {!!} ; commute = {!!} }
; F⇐G = record { η = {!!} ; commute = {!!} }
; iso = λ X → record { isoˡ = {!!} ; isoʳ = {!!} }
}
; p₁∘universal≈h₁ = {!!}
; p₂∘universal≈h₂ = {!!}
}
where
open NaturalTransformation
open NaturalIsomorphism
-}
|
g-enutst.ads | ytomino/gnat4drake | 0 | 4457 | pragma License (Unrestricted);
with System.WCh_Con;
with GNAT.Encode_String;
package GNAT.Encode_UTF8_String is
new GNAT.Encode_String (System.WCh_Con.WCEM_UTF8);
pragma Pure (GNAT.Encode_UTF8_String);
|
antlr-grammars/asp/ASPGrammar.g4 | DomenicoIngrati/EmbASP | 1 | 4323 | <gh_stars>1-10
grammar ASPGrammar;
IDENTIFIER : [a-zA-Z][a-zA-Z0-9_]*;
INTEGER : '0'|[1-9][0-9]*;
STRING : '"'~["]*'"';
WHITESPACE : [ \n\r\t]-> skip;
output : predicate_atom*;
predicate_atom: IDENTIFIER ('(' term (',' term)* ')')?;
term : IDENTIFIER | INTEGER | predicate_atom | '[' (term (',' term)*)? ']' | STRING;
|
src/lumen-glu.ads | darkestkhan/lumen | 0 | 13898 |
-- Lumen.GLU -- Lumen's own thin OpenGL utilities bindings
--
-- <NAME>, NiEstu, Phoenix AZ, Summer 2010
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- The software is provided "as is" and the author disclaims all warranties
-- with regard to this software including all implied warranties of
-- merchantability and fitness. In no event shall the author be liable for any
-- special, direct, indirect, or consequential damages or any damages
-- whatsoever resulting from loss of use, data or profits, whether in an
-- action of contract, negligence or other tortious action, arising out of or
-- in connection with the use or performance of this software.
-- Environment
with System;
with Lumen.GL;
use Lumen.GL;
package Lumen.GLU is
---------------------------------------------------------------------------
-- Build mipmaps
function Build_1D_Mipmaps (Target : in Enum;
Components : in Int;
Width : in Int;
Format : in Enum;
Data_Type : in Enum;
Data : in System.Address)
return Int;
function Build_2D_Mipmaps (Target : in Enum;
Components : in Int;
Width : in Int;
Height : in Int;
Format : in Enum;
Data_Type : in Enum;
Data : in System.Address)
return Int;
-- Projections
procedure Ortho_2D (Left : in Double;
Right : in Double;
Bottom : in Double;
Top : in Double);
procedure Perspective (FOV_Y_Angle, Aspect, Z_Near, Z_Far : in Double);
-- Quadrics
type Quadric is new Pointer;
function New_Quadric return Quadric;
procedure Delete_Quadric (Quad : in Quadric);
procedure Quadric_Draw_Style (Quad : in Quadric;
Draw : in Enum);
procedure Quadric_Normals (Quad : in Quadric;
Normal : in Enum);
procedure Quadric_Orientation (Quad : in Quadric;
Orientation : in Enum);
procedure Quadric_Texture (Quad : in Quadric;
Texture : in Bool);
-- Shapes
procedure Cylinder (Quad : in Quadric;
Base : in Double;
Top : in Double;
Height : in Double;
Slices : in Int;
Stacks : in Int);
procedure Disk (Quad : in Quadric;
Inner : in Double;
Outer : in Double;
Slices : in Int;
Loops : in Int);
procedure Partial_Disk (Quad : in Quadric;
Inner : in Double;
Outer : in Double;
Slices : in Int;
Loops : in Int;
Start : in Double;
Sweep : in Double);
procedure Sphere (Quad : in Quadric;
Radius : in Double;
Slices : in Int;
Stacks : in Int);
---------------------------------------------------------------------------
private
-- These can be bound directly
pragma Import (StdCall, Build_1D_Mipmaps, "gluBuild1DMipmaps");
pragma Import (StdCall, Build_2D_Mipmaps, "gluBuild2DMipmaps");
pragma Import (StdCall, Ortho_2D, "gluOrtho2D");
pragma Import (StdCall, Perspective, "gluPerspective");
pragma Import (StdCall, New_Quadric, "gluNewQuadric");
pragma Import (StdCall, Delete_Quadric, "gluDeleteQuadric");
pragma Import (StdCall, Quadric_Draw_Style, "gluQuadricDrawStyle");
pragma Import (StdCall, Quadric_Orientation, "gluQuadricOrientation");
pragma Import (StdCall, Quadric_Normals, "gluQuadricNormals");
pragma Import (StdCall, Quadric_Texture, "gluQuadricTexture");
pragma Import (StdCall, Cylinder, "gluCylinder");
pragma Import (StdCall, Sphere, "gluSphere");
pragma Import (StdCall, Disk, "gluDisk");
pragma Import (StdCall, Partial_Disk, "gluPartialDisk");
end Lumen.GLU;
|
helpers/task1_1_1_helper.als | Alan32Liu/SWEN90010A2Marking | 0 | 427 | <reponame>Alan32Liu/SWEN90010A2Marking
// =========== Task 1.1.send ===========
pred user_send_post_correct[m : Message, s : State, s' : State] {
s'.network = m and
(
(m.type in SDPOffer and
s'.calls = s.calls ++ (m.dest -> SignallingOffered) and
s'.audio = s.audio and
s'.ringing = s.ringing) or
(m.type in SDPAnswer and
s'.calls = s.calls ++ (m.dest -> SignallingAnswered) and
s'.audio = s.audio and
s'.ringing = s.ringing) or
(m.type in SDPCandidates and
s'.calls = s.calls ++ (m.dest -> SignallingComplete) and
s'.audio = s.audio and
s'.ringing = s.ringing) or
(m.type in Connect and s'.calls = s.calls ++ (m.dest -> Answered) and s'.audio = m.dest and no s'.ringing)
// (m.type in Connect and
// s'.calls = s.calls and
// s'.audio = m.dest and
// s'.ringing = s.ringing)
)
}
fact { all s, s' : State | s.last_answered = s'.last_answered and s.last_called = s'.last_called}
assert TASK1_1_send_CORRECT {
all m : Message, s, s' : State |
user_send_pre[m, s] =>
(
user_send_post_correct[m, s, s'] <=> user_send_post[m, s, s']
)
}
check TASK1_1_send_CORRECT for 10 but 4 Address
|
Assembly/mimic_hooks.asm | CaitSith2/Enemizer | 2 | 92453 | ;Hooks
; sprite_prep.asm (2466) -> SpritePrep_EyegoreTrampoline:
org $0691B6 ; 0311B6 1E:C6FA? ; SpriteActive3_Transfer?
JSL SpritePrep_EyegoreNew ;set eyegore to be only eyegore
; sprite_prep.asm (203) -> dw SpritePrep_DoNothing ; 0xB8 - Dialogue Testing Sprite
org $0687CB ; 0307CB replace debugged sprite create by eyegore
dw #$91B6 ; SpritePrep_Eyegore jump table
; Bank1E.asm (140) -> dw Sprite_DialogueTester ; 0xB8 - debug artifact, dialogue tester
org $1E8BB1
dw #$C795 ;Sprite_Eyegore jump table
; table starts at 6B8F1
org $0DB9A9
db $00 ; sprite B8 needs a damage type
org $06EC08 ; Bank06.asm (4593) - damage calcs
{
JSL resetSprite_Mimic
NOP
}
org $06EDA6 ; Bank06.asm (4876) - .notItemSprite
{
; original
; REP #$20 : ASL #4 : ORA $0CF2 : PHX : REP #$10 : TAX ;C2 20 : 0A 0A 0A 0A : 0D F2 0C : DA : C2 10 : AA
; SEP #$20 ;E2 20
; LDA $7F6000, X : STA $02 ;BF 00 60 7F : 85 02
; SEP #$10
JSL notItemSprite_Mimic ; C2 20 : 0A 0A
;NOP : NOP : NOP : NOP : NOP : NOP : NOP : NOP : NOP ; 0A 0A : 0D F2 0C : DA : C2 10 : AA
;NOP : NOP ; E2 20
;NOP : NOP : NOP : NOP : NOP : NOP ; BF 00 60 7F : 85 02
;NOP ;
}
|
raid/pq_gen_avx512.asm | hzhuang1/isa-l | 344 | 166148 | <reponame>hzhuang1/isa-l<gh_stars>100-1000
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2017 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of source code must retain the above copyright
; notice, this list of conditions and the following disclaimer.
; * Redistributions in binary form must reproduce the above copyright
; notice, this list of conditions and the following disclaimer in
; the documentation and/or other materials provided with the
; distribution.
; * Neither the name of Intel Corporation nor the names of its
; contributors may be used to endorse or promote products derived
; from this software without specific prior written permission.
;
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Optimized pq of N source vectors using AVX512
;;; int pq_gen_avx512(int vects, int len, void **array)
;;; Generates P+Q parity vector from N (vects-2) sources in array of pointers
;;; (**array). Last two pointers are the P and Q destinations respectively.
;;; Vectors must be aligned to 64 bytes if NO_NT_LDST is not defined.
;;; Length must be 32 byte multiple.
%include "reg_sizes.asm"
%ifdef HAVE_AS_KNOWS_AVX512
%ifidn __OUTPUT_FORMAT__, elf64
%define arg0 rdi
%define arg1 rsi
%define arg2 rdx
%define arg3 rcx
%define arg4 r8
%define arg5 r9
%define tmp r11
%define tmp3 arg4
%define return rax
%define func(x) x: endbranch
%define FUNC_SAVE
%define FUNC_RESTORE
%endif
%ifidn __OUTPUT_FORMAT__, win64
%define arg0 rcx
%define arg1 rdx
%define arg2 r8
%define arg3 r9
%define tmp r11
%define tmp3 r10
%define return rax
%define stack_size 4*16 + 8 ; must be an odd multiple of 8
%define func(x) proc_frame x
%macro FUNC_SAVE 0
alloc_stack stack_size
vmovdqu [rsp + 0*16], xmm6
vmovdqu [rsp + 1*16], xmm7
vmovdqu [rsp + 2*16], xmm8
vmovdqu [rsp + 3*16], xmm9
end_prolog
%endmacro
%macro FUNC_RESTORE 0
vmovdqu xmm6, [rsp + 0*16]
vmovdqu xmm7, [rsp + 1*16]
vmovdqu xmm8, [rsp + 2*16]
vmovdqu xmm9, [rsp + 3*16]
add rsp, stack_size
%endmacro
%endif
%define vec arg0
%define len arg1
%define ptr arg3
%define pos rax
%define xp1 zmm0
%define xq1 zmm1
%define xtmp1 zmm2
%define xs1 zmm3
%define xp2 zmm4
%define xq2 zmm5
%define xtmp2 zmm6
%define xs2 zmm7
%define xzero zmm8
%define xpoly zmm9
%define xp1y ymm0
%define xq1y ymm1
%define xtmp1y ymm2
%define xs1y ymm3
%define xzeroy ymm8
%define xpolyy ymm9
%define NO_NT_LDST
;;; Use Non-temporal load/stor
%ifdef NO_NT_LDST
%define XLDR vmovdqu8 ;u8
%define XSTR vmovdqu8
%else
%define XLDR vmovntdqa
%define XSTR vmovntdq
%endif
default rel
[bits 64]
section .text
align 16
mk_global pq_gen_avx512, function
func(pq_gen_avx512)
FUNC_SAVE
sub vec, 3 ;Keep as offset to last source
jng return_fail ;Must have at least 2 sources
cmp len, 0
je return_pass
test len, (32-1) ;Check alignment of length
jnz return_fail
mov pos, 0
mov tmp, 0x1d
vpbroadcastb xpoly, tmp
vpxorq xzero, xzero, xzero
cmp len, 128
jl loop32
len_aligned_32bytes:
sub len, 2*64 ;Len points to last block
loop128:
mov ptr, [arg2+vec*8] ;Fetch last source pointer
mov tmp, vec ;Set tmp to point back to last vector
XLDR xs1, [ptr+pos] ;Preload last vector (source)
XLDR xs2, [ptr+pos+64] ;Preload last vector (source)
vpxorq xp1, xp1, xp1 ;p1 = 0
vpxorq xp2, xp2, xp2 ;p2 = 0
vpxorq xq1, xq1, xq1 ;q1 = 0
vpxorq xq2, xq2, xq2 ;q2 = 0
next_vect:
sub tmp, 1 ;Inner loop for each source vector
mov ptr, [arg2+tmp*8] ; get pointer to next vect
vpxorq xq1, xq1, xs1 ; q1 ^= s1
vpxorq xq2, xq2, xs2 ; q2 ^= s2
vpxorq xp1, xp1, xs1 ; p1 ^= s1
vpxorq xp2, xp2, xs2 ; p2 ^= s2
vpcmpb k1, xq1, xzero, 1
vpcmpb k2, xq2, xzero, 1
vpblendmb xtmp1 {k1}, xzero, xpoly
vpblendmb xtmp2 {k2}, xzero, xpoly
XLDR xs1, [ptr+pos] ; Get next vector (source data1)
XLDR xs2, [ptr+pos+64] ; Get next vector (source data2)
vpaddb xq1, xq1, xq1 ; q1 = q1<<1
vpaddb xq2, xq2, xq2 ; q2 = q2<<1
vpxorq xq1, xq1, xtmp1 ; q1 = q1<<1 ^ poly_masked
vpxorq xq2, xq2, xtmp2 ; q2 = q2<<1 ^ poly_masked
jg next_vect ; Loop for each vect except 0
mov ptr, [arg2+8+vec*8] ;Get address of P parity vector
mov tmp, [arg2+(2*8)+vec*8] ;Get address of Q parity vector
vpxorq xp1, xp1, xs1 ;p1 ^= s1[0] - last source is already loaded
vpxorq xq1, xq1, xs1 ;q1 ^= 1 * s1[0]
vpxorq xp2, xp2, xs2 ;p2 ^= s2[0]
vpxorq xq2, xq2, xs2 ;q2 ^= 1 * s2[0]
XSTR [ptr+pos], xp1 ;Write parity P1 vector
XSTR [ptr+pos+64], xp2 ;Write parity P2 vector
XSTR [tmp+pos], xq1 ;Write parity Q1 vector
XSTR [tmp+pos+64], xq2 ;Write parity Q2 vector
add pos, 2*64
cmp pos, len
jle loop128
;; ------------------------------
;; Do last 32 or 64 Bytes remaining
add len, 2*64
cmp pos, len
je return_pass
loop32:
mov ptr, [arg2+vec*8] ;Fetch last source pointer
mov tmp, vec ;Set tmp to point back to last vector
XLDR xs1y, [ptr+pos] ;Preload last vector (source)
vpxorq xp1y, xp1y, xp1y ;p = 0
vpxorq xq1y, xq1y, xq1y ;q = 0
next_vect32:
sub tmp, 1 ;Inner loop for each source vector
mov ptr, [arg2+tmp*8] ; get pointer to next vect
vpxorq xq1y, xq1y, xs1y ; q1 ^= s1
vpblendvb xtmp1y, xzeroy, xpolyy, xq1y ; xtmp1 = poly or 0x00
vpxorq xp1y, xp1y, xs1y ; p ^= s
vpaddb xq1y, xq1y, xq1y ; q = q<<1
vpxorq xq1y, xq1y, xtmp1y ; q = q<<1 ^ poly_masked
XLDR xs1y, [ptr+pos] ; Get next vector (source data)
jg next_vect32 ; Loop for each vect except 0
mov ptr, [arg2+8+vec*8] ;Get address of P parity vector
mov tmp, [arg2+(2*8)+vec*8] ;Get address of Q parity vector
vpxorq xp1y, xp1y, xs1y ;p ^= s[0] - last source is already loaded
vpxorq xq1y, xq1y, xs1y ;q ^= 1 * s[0]
XSTR [ptr+pos], xp1y ;Write parity P vector
XSTR [tmp+pos], xq1y ;Write parity Q vector
add pos, 32
cmp pos, len
jl loop32
return_pass:
mov return, 0
FUNC_RESTORE
ret
return_fail:
mov return, 1
FUNC_RESTORE
ret
endproc_frame
%endif ; ifdef HAVE_AS_KNOWS_AVX512
|
src/asf-contexts-writer.adb | Letractively/ada-asf | 0 | 13035 | <filename>src/asf-contexts-writer.adb
-----------------------------------------------------------------------
-- writer -- Response stream writer
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Strings.Transforms;
with Unicode;
package body ASF.Contexts.Writer is
use Unicode;
-- Internal method to write a character on the response stream
-- and escape that character as necessary. Unlike 'Write_Char',
-- this operation does not closes the current XML entity.
procedure Write_Escape (Stream : in out Response_Writer'Class;
Char : in Character);
procedure Write_Escape (Stream : in out Response_Writer'Class;
Char : in Wide_Wide_Character);
-- ------------------------------
-- Response Writer
-- ------------------------------
-- ------------------------------
-- Initialize the response stream for the given content type and
-- encoding. An internal buffer is allocated for writing the stream.
-- ------------------------------
procedure Initialize (Stream : in out Response_Writer;
Content_Type : in String;
Encoding : in String;
Output : in ASF.Streams.Print_Stream) is
begin
Stream.Initialize (Output);
Stream.Content_Type := To_Unbounded_String (Content_Type);
Stream.Encoding := Unicode.Encodings.Get_By_Name (Encoding);
end Initialize;
-- ------------------------------
-- Flush the response stream and release the buffer.
-- ------------------------------
procedure Finalize (Object : in out Response_Writer) is
begin
Object.Flush;
end Finalize;
-- ------------------------------
-- Get the content type.
-- ------------------------------
function Get_Content_Type (Stream : in Response_Writer) return String is
begin
return To_String (Stream.Content_Type);
end Get_Content_Type;
-- ------------------------------
-- Get the character encoding.
-- ------------------------------
function Get_Encoding (Stream : in Response_Writer) return String is
begin
return Stream.Encoding.Name.all;
end Get_Encoding;
-- ------------------------------
-- Close the current XML entity if an entity was started
-- ------------------------------
procedure Close_Current (Stream : in out Response_Writer'Class) is
begin
if Stream.Close_Start then
Stream.Write ('>');
Stream.Close_Start := False;
end if;
Stream.Optional_Element_Size := 0;
end Close_Current;
-- ------------------------------
-- Start an XML element with the given name.
-- ------------------------------
procedure Start_Element (Stream : in out Response_Writer;
Name : in String) is
begin
Close_Current (Stream);
Stream.Write ('<');
Stream.Write (Name);
Stream.Close_Start := True;
end Start_Element;
-- ------------------------------
-- Start an XML element with the given name.
-- ------------------------------
procedure Start_Optional_Element (Stream : in out Response_Writer;
Name : in String) is
begin
Close_Current (Stream);
Stream.Optional_Element (1 .. Name'Length) := Name;
Stream.Optional_Element_Size := Name'Length;
end Start_Optional_Element;
-- ------------------------------
-- Closes an XML element of the given name.
-- ------------------------------
procedure End_Element (Stream : in out Response_Writer;
Name : in String) is
begin
Close_Current (Stream);
Stream.Write ("</");
Stream.Write (Name);
Stream.Write ('>');
end End_Element;
-- ------------------------------
-- Closes an XML element of the given name.
-- ------------------------------
procedure End_Optional_Element (Stream : in out Response_Writer;
Name : in String) is
begin
Close_Current (Stream);
if Stream.Optional_Element_Written then
Stream.Write ("</");
Stream.Write (Name);
Stream.Write ('>');
end if;
Stream.Optional_Element_Written := False;
Stream.Optional_Element_Size := 0;
end End_Optional_Element;
-- ------------------------------
-- Write an XML element using the given name and with the content.
-- This is similar to calling <b>Start_Element</b>, <b>Write_Text</b>
-- and <b>End_Element</b>.
-- ------------------------------
procedure Write_Element (Stream : in out Response_Writer;
Name : in String;
Content : in String) is
begin
Stream.Start_Element (Name);
Stream.Write_Text (Content);
Stream.End_Element (Name);
end Write_Element;
procedure Write_Wide_Element (Stream : in out Response_Writer;
Name : in String;
Content : in Wide_Wide_String) is
begin
Stream.Start_Element (Name);
Stream.Write_Wide_Text (Content);
Stream.End_Element (Name);
end Write_Wide_Element;
procedure Write_Wide_Element (Stream : in out Response_Writer;
Name : in String;
Content : in Unbounded_Wide_Wide_String) is
begin
Stream.Start_Element (Name);
Stream.Write_Wide_Text (Content);
Stream.End_Element (Name);
end Write_Wide_Element;
procedure Write_Attribute (Stream : in out Response_Writer;
Name : in String;
Value : in String) is
begin
-- If we have an optional element, start it.
if Stream.Optional_Element_Size > 0 and not Stream.Optional_Element_Written then
Stream.Write ('<');
Stream.Write (Stream.Optional_Element (1 .. Stream.Optional_Element_Size));
Stream.Close_Start := True;
Stream.Optional_Element_Written := True;
end if;
if Stream.Close_Start then
Stream.Write (' ');
Stream.Write (Name);
Stream.Write ('=');
Stream.Write ('"');
for I in Value'Range loop
declare
C : constant Character := Value (I);
begin
if C = '"' then
Stream.Write (""");
else
Stream.Write_Escape (C);
end if;
end;
end loop;
Stream.Write ('"');
end if;
end Write_Attribute;
procedure Write_Attribute (Stream : in out Response_Writer;
Name : in String;
Value : in Unbounded_String) is
begin
Stream.Write_Attribute (Name, To_String (Value));
end Write_Attribute;
procedure Write_Attribute (Stream : in out Response_Writer;
Name : in String;
Value : in EL.Objects.Object) is
S : constant String := EL.Objects.To_String (Value);
begin
Stream.Write_Attribute (Name, S);
end Write_Attribute;
procedure Write_Wide_Attribute (Stream : in out Response_Writer;
Name : in String;
Value : in Wide_Wide_String) is
begin
-- If we have an optional element, start it.
if Stream.Optional_Element_Size > 0 and not Stream.Optional_Element_Written then
Stream.Write ('<');
Stream.Write (Stream.Optional_Element (1 .. Stream.Optional_Element_Size));
Stream.Close_Start := True;
Stream.Optional_Element_Written := True;
end if;
if Stream.Close_Start then
Stream.Write (' ');
Stream.Write (Name);
Stream.Write ('=');
Stream.Write ('"');
for I in Value'Range loop
declare
C : constant Wide_Wide_Character := Value (I);
begin
if C = '"' then
Stream.Write (""");
else
Stream.Write_Escape (C);
end if;
end;
end loop;
Stream.Write ('"');
end if;
end Write_Wide_Attribute;
procedure Write_Wide_Attribute (Stream : in out Response_Writer;
Name : in String;
Value : in Unbounded_Wide_Wide_String) is
begin
Stream.Write_Wide_Attribute (Name, To_Wide_Wide_String (Value));
end Write_Wide_Attribute;
-- ------------------------------
-- Write a text escaping any character as necessary.
-- ------------------------------
procedure Write_Text (Stream : in out Response_Writer;
Text : in String) is
begin
for I in Text'Range loop
Response_Writer'Class (Stream).Write_Char (Text (I));
end loop;
end Write_Text;
procedure Write_Text (Stream : in out Response_Writer;
Text : in Unbounded_String) is
Count : constant Natural := Length (Text);
begin
if Count > 0 then
for I in 1 .. Count loop
Response_Writer'Class (Stream).Write_Char (Element (Text, I));
end loop;
end if;
end Write_Text;
procedure Write_Wide_Text (Stream : in out Response_Writer;
Text : in Wide_Wide_String) is
begin
for I in Text'Range loop
Response_Writer'Class (Stream).Write_Wide_Char (Text (I));
end loop;
end Write_Wide_Text;
procedure Write_Wide_Text (Stream : in out Response_Writer;
Text : in Unbounded_Wide_Wide_String) is
Count : constant Natural := Length (Text);
begin
if Count > 0 then
for I in 1 .. Count loop
Response_Writer'Class (Stream).Write_Wide_Char (Element (Text, I));
end loop;
end if;
end Write_Wide_Text;
procedure Write_Text (Stream : in out Response_Writer;
Value : in EL.Objects.Object) is
use EL.Objects;
Of_Type : constant EL.Objects.Data_Type := EL.Objects.Get_Type (Value);
begin
case Of_Type is
when TYPE_BOOLEAN =>
Close_Current (Stream);
if To_Boolean (Value) then
Response_Writer'Class (Stream).Write ("true");
else
Response_Writer'Class (Stream).Write ("false");
end if;
when TYPE_INTEGER | TYPE_FLOAT =>
Close_Current (Stream);
Response_Writer'Class (Stream).Write (To_String (Value));
when TYPE_STRING =>
Response_Writer'Class (Stream).Write_Text (To_String (Value));
when others =>
Response_Writer'Class (Stream).Write_Wide_Text (To_Wide_Wide_String (Value));
end case;
end Write_Text;
-- ------------------------------
-- Write a character on the response stream and escape that character
-- as necessary.
-- ------------------------------
procedure Write_Char (Stream : in out Response_Writer;
Char : in Character) is
begin
Close_Current (Stream);
Write_Escape (Stream, Char);
end Write_Char;
-- ------------------------------
-- Internal method to write a character on the response stream
-- and escape that character as necessary. Unlike 'Write_Char',
-- this operation does not closes the current XML entity.
-- ------------------------------
procedure Write_Escape (Stream : in out Response_Writer'Class;
Char : in Character) is
Code : constant Unicode_Char := Character'Pos (Char);
begin
-- If "?" or over, no escaping is needed (this covers
-- most of the Latin alphabet)
if Code > 16#3F# or Code <= 16#20# then
Stream.Write (Char);
elsif Char = '<' then
Stream.Write ("<");
elsif Char = '>' then
Stream.Write (">");
elsif Char = '&' then
Stream.Write ("&");
else
Stream.Write (Char);
end if;
end Write_Escape;
-- ------------------------------
-- Internal method to write a character on the response stream
-- and escape that character as necessary. Unlike 'Write_Char',
-- this operation does not closes the current XML entity.
-- ------------------------------
procedure Write_Escape (Stream : in out Response_Writer'Class;
Char : in Wide_Wide_Character) is
Code : constant Unicode_Char := Wide_Wide_Character'Pos (Char);
begin
-- Tilde or less...
if Code < 16#A0# then
-- If "?" or over, no escaping is needed (this covers
-- most of the Latin alphabet)
if Code > 16#3F# or Code <= 16#20# then
Stream.Write (Character'Val (Code));
elsif Char = '<' then
Stream.Write ("<");
elsif Char = '>' then
Stream.Write (">");
elsif Char = '&' then
Stream.Write ("&");
else
Stream.Write (Character'Val (Code));
end if;
else
declare
S : String (1 .. 5) := "�";
C : Unicode_Char;
begin
C := Code and 16#0F#;
if C > 10 then
S (4) := Character'Val (C - 10 + Character'Pos ('A'));
else
S (4) := Character'Val (C + Character'Pos ('0'));
end if;
C := (Code / 16) and 16#0F#;
if C > 10 then
S (3) := Character'Val (C - 10 + Character'Pos ('A'));
else
S (3) := Character'Val (C + Character'Pos ('0'));
end if;
Stream.Write (S);
end;
end if;
end Write_Escape;
-- ------------------------------
-- Write a character on the response stream and escape that character
-- as necessary.
-- ------------------------------
procedure Write_Wide_Char (Stream : in out Response_Writer;
Char : in Wide_Wide_Character) is
Code : constant Unicode_Char := Wide_Wide_Character'Pos (Char);
begin
Close_Current (Stream);
-- Tilde or less...
if Code < 16#100# then
Stream.Write_Char (Character'Val (Code));
else
declare
S : String (1 .. 5) := "�";
C : Unicode_Char;
begin
C := Code and 16#0F#;
if C > 10 then
S (4) := Character'Val (C - 10 + Character'Pos ('A'));
else
S (4) := Character'Val (C + Character'Pos ('0'));
end if;
C := (Code / 16) and 16#0F#;
if C > 10 then
S (3) := Character'Val (C - 10 + Character'Pos ('A'));
else
S (3) := Character'Val (C + Character'Pos ('0'));
end if;
Stream.Write (S);
end;
end if;
end Write_Wide_Char;
-- ------------------------------
-- Write a string on the stream.
-- ------------------------------
procedure Write (Stream : in out Response_Writer;
Item : in Ada.Strings.Unbounded.Unbounded_String) is
begin
Close_Current (Stream);
ASF.Streams.Print_Stream (Stream).Write (Item);
end Write;
-- ------------------------------
-- Write a raw string on the stream.
-- ------------------------------
procedure Write_Raw (Stream : in out Response_Writer;
Item : in String) is
begin
Close_Current (Stream);
ASF.Streams.Print_Stream (Stream).Write (Item);
end Write_Raw;
-- ------------------------------
-- Write a raw wide string on the stream.
-- ------------------------------
procedure Write_Raw (Stream : in out Response_Writer;
Item : in Ada.Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String) is
begin
Close_Current (Stream);
ASF.Streams.Print_Stream (Stream).Write (Item);
end Write_Raw;
-- ------------------------------
-- Write a raw wide string on the stream.
-- ------------------------------
procedure Write_Wide_Raw (Stream : in out Response_Writer;
Item : in Wide_Wide_String) is
begin
Close_Current (Stream);
ASF.Streams.Print_Stream (Stream).Write_Wide (Item);
end Write_Wide_Raw;
-- ------------------------------
-- Write the java scripts that have been queued by <b>Queue_Script</b>
-- ------------------------------
procedure Write_Scripts (Stream : in out Response_Writer) is
procedure Write (Content : in String);
procedure Write (Content : in String) is
begin
Stream.Write (Content);
end Write;
begin
if Util.Strings.Builders.Length (Stream.Include_Queue) > 0 then
Util.Strings.Builders.Iterate (Stream.Include_Queue, Write'Access);
Util.Strings.Builders.Clear (Stream.Include_Queue);
end if;
if Length (Stream.Script_Queue) = 0 then
return;
end if;
Stream.Start_Element ("script");
Stream.Write_Attribute ("type", "text/javascript");
Close_Current (Stream);
Stream.Write (Stream.Script_Queue);
Stream.End_Element ("script");
Stream.Script_Queue := Ada.Strings.Unbounded.Null_Unbounded_String;
end Write_Scripts;
-- ------------------------------
-- Append the <b>Script</b> to the javascript buffer queue. The <b>Script</b> is not escaped.
-- ------------------------------
procedure Queue_Script (Stream : in out Response_Writer;
Script : in String) is
begin
Append (Stream.Script_Queue, Script);
end Queue_Script;
-- ------------------------------
-- Append the <b>Script</b> to the javascript buffer queue. The <b>Script</b> is not escaped.
-- ------------------------------
procedure Queue_Script (Stream : in out Response_Writer;
Script : in Ada.Strings.Unbounded.Unbounded_String) is
begin
Append (Stream.Script_Queue, Script);
end Queue_Script;
-- ------------------------------
-- Append the <b>Value</b> to the javascript buffer queue. The value is escaped according
-- to Javascript escape rules.
-- ------------------------------
procedure Queue_Script (Stream : in out Response_Writer;
Value : in Util.Beans.Objects.Object) is
use Util.Beans.Objects;
Of_Type : constant Util.Beans.Objects.Data_Type := Util.Beans.Objects.Get_Type (Value);
begin
case Of_Type is
when TYPE_BOOLEAN =>
if To_Boolean (Value) then
Append (Stream.Script_Queue, "true");
else
Append (Stream.Script_Queue, "false");
end if;
when TYPE_INTEGER | TYPE_FLOAT =>
Append (Stream.Script_Queue, To_String (Value));
when TYPE_STRING =>
Util.Strings.Transforms.Escape_Javascript (Content => To_String (Value),
Into => Stream.Script_Queue);
when others =>
Util.Strings.Transforms.Escape_Javascript (Content => To_String (Value),
Into => Stream.Script_Queue);
end case;
end Queue_Script;
-- ------------------------------
-- Append a <b>script</b> include command to include the Javascript file at the given URL.
-- The include scripts are flushed by <b>Flush</b> or <b>Write_Scripts</b>.
-- ------------------------------
procedure Queue_Include_Script (Stream : in out Response_Writer;
URL : in String;
Async : in Boolean := False) is
begin
Util.Strings.Builders.Append (Stream.Include_Queue,
"<script type=""text/javascript"" src=""");
Util.Strings.Builders.Append (Stream.Include_Queue, URL);
if Async then
Util.Strings.Builders.Append (Stream.Include_Queue, """ async></script>");
else
Util.Strings.Builders.Append (Stream.Include_Queue, """></script>");
end if;
end Queue_Include_Script;
-- ------------------------------
-- Flush the response.
-- Before flusing the response, the javascript are also flushed
-- by calling <b>Write_Scripts</b>.
-- ------------------------------
overriding
procedure Flush (Stream : in out Response_Writer) is
begin
Stream.Write_Scripts;
ASF.Streams.Print_Stream (Stream).Flush;
end Flush;
end ASF.Contexts.Writer;
|
oeis/106/A106836.asm | neoneye/loda-programs | 11 | 25935 | <gh_stars>10-100
; A106836: First differences of A060833 and (from a(2) onward) also of A091067 and A255068.
; Submitted by <NAME>
; 3,3,1,4,1,2,1,4,3,1,1,3,1,2,1,4,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,4,3,1,4,1,2,1,4,3,1,1,3,1,2,1,1,3,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,4,3,1,4,1,2,1,4,3,1,1,3,1,2,1,4,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,1,3,3,1,4,1
mov $5,$0
mov $7,2
lpb $7
mov $0,$5
mov $1,0
sub $7,1
add $0,$7
sub $0,1
mov $2,$0
add $0,1
add $2,2
pow $2,2
lpb $2
mov $3,$1
seq $3,89013 ; a(n) = (A088567(8n) mod 2).
sub $0,$3
add $1,1
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
sub $2,1
lpe
mov $0,$1
mov $8,$7
mul $8,$1
add $6,$8
lpe
min $5,1
mul $5,$0
mov $0,$6
sub $0,$5
|
alloy4fun_models/trashltl/models/1/njk9o5A4QewfAXvND.als | Kaixi26/org.alloytools.alloy | 0 | 3712 | open main
pred idnjk9o5A4QewfAXvND_prop2 {
historically no File until (some File)
}
pred __repair { idnjk9o5A4QewfAXvND_prop2 }
check __repair { idnjk9o5A4QewfAXvND_prop2 <=> prop2o } |
vendor/stdlib/src/Data/Sets.agda | isabella232/Lemmachine | 56 | 10105 | ------------------------------------------------------------------------
-- Finite sets (currently only some type signatures)
------------------------------------------------------------------------
module Data.Sets where
open import Relation.Nullary
open import Relation.Binary
open import Relation.Binary.OrderMorphism
open import Data.Function
open import Data.List as L using (List)
open import Data.Product using (∃; _×_)
module Sets₁ (dto : DecTotalOrder) where
open DecTotalOrder dto public using (_≈_)
open DecTotalOrder dto hiding (_≈_)
infixr 6 _∪_
infix 5 _∈?_
infix 4 _∈_ _|≈|_
abstract postulate decSetoid : DecSetoid
<Set> : Set
<Set> = DecSetoid.carrier decSetoid
_|≈|_ : Rel <Set>
_|≈|_ = DecSetoid._≈_ decSetoid
abstract
postulate
empty : <Set>
insert : carrier → <Set> → <Set>
_∪_ : <Set> → <Set> → <Set>
_∈_ : carrier → <Set> → Set
_∈?_ : (x : carrier) → (s : <Set>) → Dec (x ∈ s)
toList : <Set> → List carrier
postulate
prop-∈-insert₁ : ∀ {x y s} → x ≈ y → x ∈ insert y s
prop-∈-insert₂ : ∀ {x y s} → x ∈ s → x ∈ insert y s
prop-∈-insert₃ : ∀ {x y s} → ¬ x ≈ y → x ∈ insert y s → x ∈ s
prop-∈-empty : ∀ {x} → ¬ x ∈ empty
prop-∈-∪ : ∀ {x s₁ s₂} → x ∈ s₁ → x ∈ s₁ ∪ s₂
prop-∪₁ : ∀ {s₁ s₂} → s₁ ∪ s₂ |≈| s₂ ∪ s₁
prop-∪₂ : ∀ {s₁ s₂ s₃} → s₁ ∪ (s₂ ∪ s₃) |≈| (s₁ ∪ s₂) ∪ s₃
prop-∈-|≈| : ∀ {x} → (λ s → x ∈ s) Respects _|≈|_
prop-∈-≈ : ∀ {s} → (λ x → x ∈ s) Respects _≈_
-- TODO: Postulates for toList.
singleton : carrier → <Set>
singleton x = insert x empty
⋃_ : List <Set> → <Set>
⋃_ = L.foldr _∪_ empty
fromList : List carrier → <Set>
fromList = L.foldr insert empty
_⊆_ : <Set> → <Set> → Set
s₁ ⊆ s₂ = ∀ x → x ∈ s₁ → x ∈ s₂
open Sets₁ public
open DecTotalOrder hiding (_≈_)
open _⇒-Poset_
abstract
postulate
map : ∀ {do₁ do₂} → do₁ ⇒-DTO do₂ → <Set> do₁ → <Set> do₂
mapToSet : ∀ {do₁ do₂} →
(carrier do₁ → <Set> do₂) →
<Set> do₁ → <Set> do₂
prop-map-∈₁ : ∀ {do₁ do₂ f x s} →
x ⟨ _∈_ do₁ ⟩₁ s →
fun f x ⟨ _∈_ do₂ ⟩₁ map f s
prop-map-∈₂ : ∀ {do₁ do₂ f y s} →
y ⟨ _∈_ do₂ ⟩₁ map f s →
∃ λ x → (fun f x ⟨ _≈_ do₂ ⟩₁ y) ×
( x ⟨ _∈_ do₁ ⟩₁ s)
prop-mapToSet₁ : ∀ {do₁ do₂ f x s} →
x ⟨ _∈_ do₁ ⟩₁ s →
f x ⟨ _⊆_ do₂ ⟩₁ mapToSet f s
prop-mapToSet₂ : ∀ {do₁ do₂ f y s} →
y ⟨ _∈_ do₂ ⟩₁ mapToSet f s →
∃ λ x → (y ⟨ _∈_ do₂ ⟩₁ f x) ×
(x ⟨ _∈_ do₁ ⟩₁ s)
|
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_PAL/Fra_asm/zel_int0.asm | prismotizm/gigaleak | 0 | 160837 | Name: zel_int0.asm
Type: file
Size: 4680
Last-Modified: '2016-05-13T04:20:48Z'
SHA-1: 560BDBA429CB8ADE1EB3C9772E885914FC778A5C
Description: null
|
1-base/lace/source/events/interface/lace-response.adb | charlie5/lace | 20 | 7983 | with
ada.Tags;
package body lace.Response
is
function Name (Self : in Item) return String
is
begin
return ada.Tags.expanded_Name (Item'Class (Self)'Tag);
end Name;
end lace.Response;
|
data/baseStats/nidoqueen.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 23891 | <filename>data/baseStats/nidoqueen.asm
db NIDOQUEEN ; pokedex id
db 90 ; base hp
db 92 ; base attack
db 87 ; base defense
db 76 ; base speed
db 75 ; base special
db POISON ; species type 1
db GROUND ; species type 2
db 45 ; catch rate
db 194 ; base exp yield
INCBIN "pic/gsmon/nidoqueen.pic",0,1 ; 77, sprite dimensions
dw NidoqueenPicFront
dw NidoqueenPicBack
; attacks known at lvl 0
db POISON_STING
db DOUBLE_KICK
db TAIL_WHIP
db 0
db 3 ; growth rate
; learnset
tmlearn 1,5,6,7,8
tmlearn 9,10,11,13,14,15,16
tmlearn 17,18,19,20,23,24
tmlearn 25,26,27,28,31,32
tmlearn 33,34,37,38,40
tmlearn 44,48
tmlearn 50,51,53,54
db BANK(NidoqueenPicFront)
|
source/streams/a-snsisf.ads | ytomino/drake | 33 | 18053 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit
package Ada.Streams.Naked_Stream_IO.Standard_Files is
pragma Elaborate_Body;
Standard_Input : aliased constant Non_Controlled_File_Type;
Standard_Output : aliased constant Non_Controlled_File_Type;
Standard_Error : aliased constant Non_Controlled_File_Type;
private
Standard_Input_Name : aliased System.Native_IO.Name_String (0 .. 6) := (
System.Native_IO.Name_Character'Val (Character'Pos ('*')),
System.Native_IO.Name_Character'Val (Character'Pos ('s')),
System.Native_IO.Name_Character'Val (Character'Pos ('t')),
System.Native_IO.Name_Character'Val (Character'Pos ('d')),
System.Native_IO.Name_Character'Val (Character'Pos ('i')),
System.Native_IO.Name_Character'Val (Character'Pos ('n')),
System.Native_IO.Name_Character'Val (0));
Standard_Input_Stream : aliased Stream_Type := (
Handle => System.Native_IO.Uninitialized_Standard_Input,
Mode => System.Native_IO.Read_Only_Mode,
Name => Standard_Input_Name (0)'Access,
Form => Default_Form,
Kind => Standard_Handle,
Has_Full_Name => False,
Buffer_Inline => 0,
Buffer => System.Null_Address,
Buffer_Length => Uninitialized_Buffer,
Buffer_Index => 0,
Reading_Index => 0,
Writing_Index => 0,
Closer => null,
Dispatcher => (Tags.No_Tag, null));
Standard_Output_Name : aliased System.Native_IO.Name_String (0 .. 7) := (
System.Native_IO.Name_Character'Val (Character'Pos ('*')),
System.Native_IO.Name_Character'Val (Character'Pos ('s')),
System.Native_IO.Name_Character'Val (Character'Pos ('t')),
System.Native_IO.Name_Character'Val (Character'Pos ('d')),
System.Native_IO.Name_Character'Val (Character'Pos ('o')),
System.Native_IO.Name_Character'Val (Character'Pos ('u')),
System.Native_IO.Name_Character'Val (Character'Pos ('t')),
System.Native_IO.Name_Character'Val (0));
Standard_Output_Stream : aliased Stream_Type := (
Handle => System.Native_IO.Uninitialized_Standard_Output,
Mode => System.Native_IO.Write_Only_Mode,
Name => Standard_Output_Name (0)'Access,
Form => Default_Form,
Kind => Standard_Handle,
Has_Full_Name => False,
Buffer_Inline => 0,
Buffer => System.Null_Address,
Buffer_Length => Uninitialized_Buffer,
Buffer_Index => 0,
Reading_Index => 0,
Writing_Index => 0,
Closer => null,
Dispatcher => (Tags.No_Tag, null));
Standard_Error_Name : aliased System.Native_IO.Name_String (0 .. 7) := (
System.Native_IO.Name_Character'Val (Character'Pos ('*')),
System.Native_IO.Name_Character'Val (Character'Pos ('s')),
System.Native_IO.Name_Character'Val (Character'Pos ('t')),
System.Native_IO.Name_Character'Val (Character'Pos ('d')),
System.Native_IO.Name_Character'Val (Character'Pos ('e')),
System.Native_IO.Name_Character'Val (Character'Pos ('r')),
System.Native_IO.Name_Character'Val (Character'Pos ('r')),
System.Native_IO.Name_Character'Val (0));
Standard_Error_Stream : aliased Stream_Type := (
Handle => System.Native_IO.Uninitialized_Standard_Error,
Mode => System.Native_IO.Write_Only_Mode,
Name => Standard_Error_Name (0)'Access,
Form => Default_Form,
Kind => Standard_Handle,
Has_Full_Name => False,
Buffer_Inline => 0,
Buffer => System.Null_Address,
Buffer_Length => Uninitialized_Buffer,
Buffer_Index => 0,
Reading_Index => 0,
Writing_Index => 0,
Closer => null,
Dispatcher => (Tags.No_Tag, null));
Standard_Input : aliased constant Non_Controlled_File_Type :=
Standard_Input_Stream'Access;
Standard_Output : aliased constant Non_Controlled_File_Type :=
Standard_Output_Stream'Access;
Standard_Error : aliased constant Non_Controlled_File_Type :=
Standard_Error_Stream'Access;
end Ada.Streams.Naked_Stream_IO.Standard_Files;
|
src/main.agda | ice1k/cedille | 0 | 2195 | module main where
import string-format
-- for parser for Cedille
open import cedille-types
-- for parser for options files
import options-types
import cedille-options
-- for parser for Cedille comments & whitespace
import cws-types
import io
open import constants
open import general-util
open import json
record cedille-args : Set where
constructor mk-cedille-args
field
opts-file : maybe filepath
file-to-process : maybe filepath
about : 𝔹
help : 𝔹
do-elab : maybe filepath
confirm-read-stdin : 𝔹
default-cedille-args =
record { opts-file = nothing ;
file-to-process = nothing ;
about = ff ;
help = ff ;
do-elab = nothing ;
confirm-read-stdin = ff}
-- get $HOME/.cedille, creating it if it does not exist
getHomeCedilleDirectory : IO filepath
getHomeCedilleDirectory =
getHomeDirectory >>= λ home →
let d = dot-cedille-directory home in
io.createDirectoryIfMissing ff d >>
return d
postulate
initializeStdinToUTF8 : IO ⊤
setStdinNewlineMode : IO ⊤
compileTime : UTC
templatesDir : filepath
die : {A : Set} → 𝕃 char → IO A
{-# FOREIGN GHC {-# LANGUAGE TemplateHaskell #-} #-}
{-# FOREIGN GHC import qualified System.IO #-}
{-# FOREIGN GHC import qualified System.Exit #-}
{-# FOREIGN GHC import qualified Data.Time.Clock #-}
{-# FOREIGN GHC import qualified Data.Time.Format #-}
{-# FOREIGN GHC import qualified Data.Time.Clock.POSIX #-}
{-# FOREIGN GHC import qualified Language.Haskell.TH.Syntax #-}
{-# COMPILE GHC die = \ _ -> System.Exit.die #-}
{-# COMPILE GHC initializeStdinToUTF8 = System.IO.hSetEncoding System.IO.stdin System.IO.utf8 #-}
{-# COMPILE GHC setStdinNewlineMode = System.IO.hSetNewlineMode System.IO.stdin System.IO.universalNewlineMode #-}
{-# COMPILE GHC compileTime =
maybe (Data.Time.Clock.POSIX.posixSecondsToUTCTime (fromIntegral 0)) id
(Data.Time.Format.parseTimeM True Data.Time.Format.defaultTimeLocale "%s"
$(Language.Haskell.TH.Syntax.runIO
(Data.Time.Clock.getCurrentTime >>= \ t ->
return (Language.Haskell.TH.Syntax.LitE
(Language.Haskell.TH.Syntax.StringL
(Data.Time.Format.formatTime Data.Time.Format.defaultTimeLocale "%s" t)))))
:: Maybe Data.Time.Clock.UTCTime) #-}
say-about : filepath → IO ⊤
say-about optfp =
putStrLn $ "Compiled: " ^ (utcToString compileTime) ^ "\n" ^
"Options file: " ^ optfp ^ "\n"
createOptionsFile : (dot-ced-dir : string) → IO ⊤
createOptionsFile dot-ced-dir =
let ops-fp = combineFileNames dot-ced-dir options-file-name in
createDirectoryIfMissing ff (takeDirectory ops-fp) >>
withFile ops-fp WriteMode (flip hPutRope (cedille-options.options-to-rope cedille-options.default-options))
options-absolute-path : (options-fp some-fp : filepath) → IO filepath
options-absolute-path ofp fp =
(filepath-replace-tilde fp >>= flip maybe-else return
(doesFileExist fp >>=r λ fpₑ →
if fpₑ then fp else combineFileNames (takeDirectory (takeDirectory ofp)) fp))
>>= canonicalizePath
opts-to-options : filepath → options-types.opts → IO cedille-options.options
opts-to-options ofp (options-types.OptsCons (options-types.Lib fps) ops) =
opts-to-options ofp ops >>= λ ops → paths-to-stringset fps >>=r λ ip → record ops { include-path = ip }
where paths-to-stringset : options-types.paths → IO (𝕃 string × stringset)
paths-to-stringset (options-types.PathsCons fp fps) =
let rfp = combineFileNames (takeDirectory (takeDirectory ofp)) fp in
paths-to-stringset fps >>= λ ps →
doesDirectoryExist rfp >>= λ rfpₑ →
doesDirectoryExist fp >>= λ fpₑ →
(if rfpₑ
then (canonicalizePath rfp >>= λ rfp →
return (cedille-options.include-path-insert rfp ps))
else return ps) >>= λ ps →
if fpₑ
then (canonicalizePath fp >>= λ fp →
return (cedille-options.include-path-insert fp ps))
else return ps
paths-to-stringset options-types.PathsNil = return ([] , empty-stringset)
opts-to-options ofp (options-types.OptsCons (options-types.UseCedeFiles b) ops) =
opts-to-options ofp ops >>=r λ ops → record ops { use-cede-files = b }
opts-to-options ofp (options-types.OptsCons (options-types.MakeRktFiles b) ops) =
opts-to-options ofp ops >>=r λ ops → record ops { make-rkt-files = b }
opts-to-options ofp (options-types.OptsCons (options-types.GenerateLogs b) ops) =
opts-to-options ofp ops >>=r λ ops → record ops { generate-logs = b }
opts-to-options ofp (options-types.OptsCons (options-types.ShowQualifiedVars b) ops) =
opts-to-options ofp ops >>=r λ ops → record ops { show-qualified-vars = b }
opts-to-options ofp (options-types.OptsCons (options-types.EraseTypes b) ops) =
opts-to-options ofp ops >>=r λ ops → record ops { erase-types = b }
opts-to-options ofp (options-types.OptsCons (options-types.PrettyPrintColumns b) ops) =
opts-to-options ofp ops >>=r λ ops → record ops { pretty-print-columns = string-to-ℕ0 b }
opts-to-options ofp (options-types.OptsCons (options-types.DatatypeEncoding fp?) ops) =
maybe-map (options-absolute-path ofp) fp? >>=? λ fp? →
opts-to-options ofp ops >>=r λ ops → record ops { datatype-encoding = (_, nothing) <$> fp? }
opts-to-options ofp options-types.OptsNil = return cedille-options.default-options
-- helper function to try to parse the options file
processOptions : filepath → string → IO (string ⊎ cedille-options.options)
processOptions filename s with options-types.scanOptions s
...| options-types.Left cs = return (inj₁ ("Parse error in file " ^ filename ^ " " ^ cs ^ "."))
...| options-types.Right (options-types.File oo) =
opts-to-options filename oo
>>= λ opts → if cedille-options.options.make-rkt-files opts
then return ∘ inj₁ $ "Racket compilation disabled, please set to false in " ^ filename ^ "."
else (return ∘ inj₂ $ opts)
getOptionsFile : (filepath : string) → string
getOptionsFile fp = combineFileNames (dot-cedille-directory fp) options-file-name
findOptionsFile' : (filepath : string) → IO (maybe string)
findOptionsFile' fp =
traverseParents fp (fp-fuel fp)
>>= λ where
fpc?@(just fpc) → return fpc?
nothing → getHomeDirectory >>= getOptions?
where
getOptions? : (filepath : string) → IO ∘ maybe $ string
getOptions? fp =
let fpc = getOptionsFile fp in
doesFileExist fpc >>= λ where
ff → return nothing
tt → return ∘ just $ fpc
traverseParents : string → ℕ → IO (maybe string)
traverseParents fp 0 = return nothing
traverseParents fp (suc n) =
getOptions? fp >>= λ where
nothing → traverseParents (takeDirectory fp) n
fpc?@(just fpc) → return fpc?
fp-fuel : (filepath : string) → ℕ
fp-fuel fp = pred ∘' length ∘' splitPath $ fp
findOptionsFile : IO (maybe string)
findOptionsFile =
(getCurrentDirectory >>= canonicalizePath) >>= findOptionsFile'
readOptions : maybe filepath → IO (filepath × cedille-options.options)
readOptions nothing =
getHomeCedilleDirectory >>= λ home →
createOptionsFile home >>r
dot-cedille-directory home , cedille-options.default-options
readOptions (just fp) = readFiniteFile fp >>= λ fc →
processOptions fp fc >>= λ where
(inj₁ err) →
putStrLn (global-error-string err) >>r
fp , cedille-options.default-options
(inj₂ ops) → return (fp , ops)
showCedilleUsage : IO ⊤
showCedilleUsage =
putStrLn ("Command-line usage: cedille [--e elab-dir | --options options-file | --about ] file-to-check\n"
^ "With no arguments, read commands from the front-end on stdin.")
module main-with-options
(compileTime : UTC)
(options-filepath : filepath)
(options : cedille-options.options)
(die : {A : Set} → 𝕃 char → IO A) where
open import ctxt
--open import instances
open import process-cmd options {IO}
open import parser
open import spans options {IO}
open import syntax-util
open import to-string options
open import toplevel-state options {IO}
open import interactive-cmds options
open import rkt options
open import elab-util options
open import communication-util options
logFilePathIO : IO filepath
logFilePathIO = getHomeCedilleDirectory >>=r (flip combineFileNames $ "log")
maybeClearLogFile : IO filepath
maybeClearLogFile =
logFilePathIO >>=
λ logFilePath →
ifM (cedille-options.options.generate-logs options) (clearFile logFilePath) >>
return logFilePath
fileBaseName : filepath → string
fileBaseName fn = base-filename (takeFileName fn)
fileSuffix : filepath → string
fileSuffix = maybe-else cedille-extension id ∘ var-suffix
{-------------------------------------------------------------------------------
.cede support
-------------------------------------------------------------------------------}
cede-suffix = ".cede"
rkt-suffix = ".rkt"
ced-aux-filename : (suffix ced-path : filepath) → filepath
ced-aux-filename sfx ced-path =
let dir = takeDirectory ced-path in
combineFileNames (dot-cedille-directory dir) (fileBaseName ced-path ^ sfx)
cede-filename = ced-aux-filename cede-suffix
rkt-filename = ced-aux-filename rkt-suffix
maybe-write-aux-file : toplevel-state → include-elt → (create-dot-ced-if-missing : IO ⊤) →
(filename file-suffix : filepath) → (cedille-options.options → 𝔹) → (include-elt → 𝔹) → rope → IO ⊤
maybe-write-aux-file s ie mk-dot-ced fn sfx f f' r with f options && ~ f' ie
...| ff = return triv
...| tt = mk-dot-ced >>
logMsg s ("Starting writing " ^ sfx ^ " file " ^ fn) >>
writeRopeToFile fn r >>
logMsg s ("Finished writing " ^ sfx ^ " file " ^ fn)
write-aux-files : toplevel-state → filepath → IO ⊤
write-aux-files s filename with get-include-elt-if s filename
...| nothing = return triv
...| just ie =
let dot-ced = createDirectoryIfMissing ff (dot-cedille-directory (takeDirectory filename)) in
maybe-write-aux-file s ie dot-ced (cede-filename filename) cede-suffix
cedille-options.options.use-cede-files
include-elt.cede-up-to-date
((if include-elt.err ie then [[ "e" ]] else [[]]) ⊹⊹ json-to-rope (include-elt-spans-to-json ie)) >>
maybe-write-aux-file s ie dot-ced (rkt-filename filename) rkt-suffix
cedille-options.options.make-rkt-files
include-elt.rkt-up-to-date
(to-rkt-file filename (toplevel-state.Γ s) ie rkt-filename)
-- we assume the cede file is known to exist at this point
read-cede-file : toplevel-state → (ced-path : filepath) → IO (𝔹 × string)
read-cede-file s ced-path =
let cede = cede-filename ced-path in
logMsg s ("Started reading .cede file " ^ cede) >>
(get-file-contents cede >>= finish) >≯
logMsg s ("Finished reading .cede file " ^ cede)
where finish : maybe string → IO (𝔹 × string)
finish nothing = return (tt , global-error-string ("Could not read the file " ^ cede-filename ced-path ^ "."))
finish (just ss) with string-to-𝕃char ss
finish (just ss) | ('e' :: ss') = forceFileRead ss >>r tt , 𝕃char-to-string ss'
finish (just ss) | _ = forceFileRead ss >>r ff , ss
--add-cedille-extension : string → string
--add-cedille-extension x = x ^ "." ^ cedille-extension
--add-cdle-extension : string → string
--add-cdle-extension x = x ^ "." ^ cdle-extension
-- Allows you to say "import FOO.BAR.BAZ" rather than "import FOO/BAR/BAZ"
replace-dots : filepath → filepath
replace-dots s = 𝕃char-to-string (h (string-to-𝕃char s)) where
h : 𝕃 char → 𝕃 char
h ('.' :: '.' :: cs) = '.' :: '.' :: h cs
h ('.' :: cs) = pathSeparator :: h cs
h (c :: cs) = c :: h cs
h [] = []
find-imported-file : (sfx : string) → (dirs : 𝕃 filepath) → (unit-name : string) → IO (maybe filepath)
find-imported-file sfx [] unit-name = return nothing
find-imported-file sfx (dir :: dirs) unit-name =
let e = combineFileNames dir (unit-name ^ "." ^ sfx) in
doesFileExist e >>= λ where
tt → canonicalizePath e >>=r just
ff → find-imported-file sfx dirs unit-name
{-
find-imported-file sfx (dir :: dirs) unit-name =
let e₁ = combineFileNames dir (add-cedille-extension unit-name)
e₂ = combineFileNames dir (add-cdle-extension unit-name)
e? = λ e → doesFileExist e >>=r λ e? → ifMaybej e? e in
(e? e₁ >>= λ e₁ → e? e₂ >>=r λ e₂ → e₁ maybe-or e₂) >>= λ where
nothing → find-imported-file sfx dirs unit-name
(just e) → canonicalizePath e >>=r just
-}
find-imported-files : toplevel-state → (sfx : string) → (dirs : 𝕃 filepath) → (imports : 𝕃 string) → IO (𝕃 (string × filepath))
find-imported-files s sfx dirs (u :: us) =
find-imported-file sfx dirs (replace-dots u) >>= λ where
nothing → logMsg s ("Error finding file: " ^ replace-dots u) >> find-imported-files s sfx dirs us
(just fp) → logMsg s ("Found import: " ^ fp) >> find-imported-files s sfx dirs us >>=r (u , fp) ::_
find-imported-files s sfx dirs [] = return []
get-imports : ex-file → 𝕃 string
get-imports (ExModule is _ _ mn _ cs _) =
map (λ {(ExImport _ _ _ x _ _ _) → x}) (is ++ ex-cmds-to-imps cs)
{- new parser test integration -}
reparse : toplevel-state → filepath → IO toplevel-state
reparse st filename =
doesFileExist filename >>= λ fileExists →
(if fileExists then
(readFiniteFile filename >>= λ source →
getCurrentTime >>= λ time →
processText source >>= λ ie →
return (set-last-parse-time-include-elt ie time) >>=r λ ie ->
set-source-include-elt ie source)
else return (error-include-elt ("The file " ^ filename ^ " could not be opened for reading.")))
>>=r set-include-elt st filename
where processText : string → IO include-elt
processText x with parseStart x
processText x | Left (Left cs) = return (error-span-include-elt ("Error in file " ^ filename ^ ".") "Lexical error." cs)
processText x | Left (Right cs) = return (error-span-include-elt ("Error in file " ^ filename ^ ".") "Parsing error." cs)
processText x | Right t with cws-types.scanComments x
processText x | Right t | t2 =
find-imported-files st (fileSuffix filename)
(fst (cedille-options.include-path-insert (takeDirectory filename) (toplevel-state.include-path st)))
(get-imports t) >>= λ deps →
logMsg st ("deps for file " ^ filename ^ ": " ^ 𝕃-to-string (λ {(a , b) → "short: " ^ a ^ ", long: " ^ b}) ", " deps) >>r
new-include-elt filename deps t t2 nothing
reparse-file : filepath → toplevel-state → IO toplevel-state
reparse-file filename s =
reparse s filename >>=r λ s →
set-include-elt s filename
(set-cede-file-up-to-date-include-elt
(set-do-type-check-include-elt
(get-include-elt s filename) tt) ff)
infixl 2 _&&>>_
_&&>>_ : IO 𝔹 → IO 𝔹 → IO 𝔹
(a &&>> b) = a >>= λ a → if a then b else return ff
aux-up-to-date : filepath → toplevel-state → IO toplevel-state
aux-up-to-date filename s =
let rkt = rkt-filename filename in
(doesFileExist rkt &&>> fileIsOlder filename rkt) >>=r
(set-include-elt s filename ∘ (set-rkt-file-up-to-date-include-elt (get-include-elt s filename)))
ie-up-to-date : filepath → include-elt → IO 𝔹
ie-up-to-date filename ie =
getModificationTime filename >>=r λ mt →
maybe-else ff (λ lpt → lpt utc-after mt) (include-elt.last-parse-time ie)
import-changed : toplevel-state → filepath → (import-file : string) → IO 𝔹
import-changed s filename import-file =
let dtc = include-elt.do-type-check (get-include-elt s import-file)
cede = cede-filename filename
cede' = cede-filename import-file in
case cedille-options.options.use-cede-files options of λ where
ff → return dtc
tt → (doesFileExist cede &&>> doesFileExist cede') >>= λ where
ff → return ff
tt → fileIsOlder cede cede' >>=r λ fio → dtc || fio
any-imports-changed : toplevel-state → filepath → (imports : 𝕃 string) → IO 𝔹
any-imports-changed s filename [] = return ff
any-imports-changed s filename (h :: t) =
import-changed s filename h >>= λ where
tt → return tt
ff → any-imports-changed s filename t
file-after-compile : filepath → IO 𝔹
file-after-compile fn =
getModificationTime fn >>= λ mt →
case mt utc-after compileTime of λ where
tt → doesFileExist options-filepath &&>> fileIsOlder options-filepath fn
ff → return ff
ensure-ast-depsh : filepath → toplevel-state → IO toplevel-state
ensure-ast-depsh filename s with get-include-elt-if s filename
...| just ie = ie-up-to-date filename ie >>= λ where
ff → reparse-file filename s
tt → return s
...| nothing =
let cede = cede-filename filename in
(return (cedille-options.options.use-cede-files options) &&>>
doesFileExist cede &&>>
fileIsOlder filename cede &&>>
file-after-compile cede) >>= λ where
ff → reparse-file filename s
tt → reparse s filename >>= λ s →
read-cede-file s filename >>= λ where
(err , ss) → return
(set-include-elt s filename
(set-do-type-check-include-elt
(set-need-to-add-symbols-to-context-include-elt
(set-spans-string-include-elt
(get-include-elt s filename) err ss) tt) ff))
{- helper function for update-asts, which keeps track of the files we have seen so
we avoid importing the same file twice, and also avoid following cycles in the import
graph. -}
{-# TERMINATING #-}
update-astsh : stringset {- seen already -} → toplevel-state → filepath →
IO (stringset {- seen already -} × toplevel-state)
update-astsh seen s filename =
if stringset-contains seen filename then return (seen , s)
else ((ensure-ast-depsh filename s >>= aux-up-to-date filename) >>= cont (stringset-insert seen filename))
where cont : stringset → toplevel-state → IO (stringset × toplevel-state)
cont seen s with get-include-elt s filename
cont seen s | ie with include-elt.deps ie
cont seen s | ie | ds =
proc seen s ds
where proc : stringset → toplevel-state → 𝕃 string → IO (stringset × toplevel-state)
proc seen s [] = any-imports-changed s filename ds >>=r λ changed →
seen , set-include-elt s filename (set-do-type-check-include-elt ie (include-elt.do-type-check ie || changed))
proc seen s (d :: ds) = update-astsh seen s d >>= λ p →
proc (fst p) (snd p) ds
{- this function updates the ast associated with the given filename in the toplevel state.
So if we do not have an up-to-date .cede file (i.e., there is no such file at all,
or it is older than the given file), reparse the file. We do this recursively for all
dependencies (i.e., imports) of the file. -}
update-asts : toplevel-state → filepath → IO toplevel-state
update-asts s filename = update-astsh empty-stringset s filename >>=r snd
log-files-to-check : toplevel-state → IO ⊤
log-files-to-check s = logRope s ([[ "\n" ]] ⊹⊹ (h (trie-mappings (toplevel-state.is s)))) where
h : 𝕃 (string × include-elt) → rope
h [] = [[]]
h ((fn , ie) :: t) = [[ "file: " ]] ⊹⊹ [[ fn ]] ⊹⊹ [[ "\nadd-symbols: " ]] ⊹⊹ [[ 𝔹-to-string (include-elt.need-to-add-symbols-to-context ie) ]] ⊹⊹ [[ "\ndo-type-check: " ]] ⊹⊹ [[ 𝔹-to-string (include-elt.do-type-check ie) ]] ⊹⊹ [[ "\n\n" ]] ⊹⊹ h t
{- this function checks the given file (if necessary), updates .cede and .rkt files (again, if necessary), and replies on stdout if appropriate -}
checkFile : (string → IO ⊤) → toplevel-state → filepath → (should-print-spans : 𝔹) → IO toplevel-state
checkFile progressUpdate s filename should-print-spans =
update-asts s filename >>= λ s →
log-files-to-check s >>
logMsg s (𝕃-to-string (λ {(im , fn) → "im: " ^ im ^ ", fn: " ^ fn})
"; "
(trie-mappings (include-elt.import-to-dep (get-include-elt s filename)))) >>
process-file progressUpdate (logMsg s) s filename (fileBaseName filename) >>= finish
where
reply : toplevel-state → IO ⊤
reply s with get-include-elt-if s filename
reply s | nothing = putStrLn (global-error-string ("Internal error looking up information for file " ^ filename ^ "."))
reply s | just ie =
if should-print-spans then
putJson (include-elt-spans-to-json ie)
else return triv
finish : (toplevel-state × file × string × string × params × qualif) → IO toplevel-state
finish (s @ (mk-toplevel-state ip mod is Γ logFilePath) , f , ret-mod) =
logMsg s ("Started reply for file " ^ filename) >> -- Lazy, so checking has not been calculated yet?
reply s >>
logMsg s ("Finished reply for file " ^ filename) >>
logMsg s ("Files with updated spans:\n" ^ 𝕃-to-string (λ x → x) "\n" mod) >>
let Γ = ctxt-set-current-mod Γ ret-mod in
writeo mod >>r -- Should process-file now always add files to the list of modified ones because now the cede-/rkt-up-to-date fields take care of whether to rewrite them?
mk-toplevel-state ip [] is Γ logFilePath -- Reset files with updated spans
where
writeo : 𝕃 string → IO ⊤
writeo [] = return triv
writeo (f :: us) =
writeo us >>
--let ie = get-include-elt s f in
write-aux-files s f
-- (if cedille-options.options.make-rkt-files options && ~ include-elt.rkt-up-to-date ie then (write-rkt-file f (toplevel-state.Γ s) ie rkt-filename) else return triv)
-- this is the function that handles requests (from the frontend) on standard input
{-# TERMINATING #-}
readCommandsFromFrontend : toplevel-state → IO ⊤
readCommandsFromFrontend s =
getLine >>= λ input →
logMsg s ("Frontend input: " ^ input) >>
let input-list : 𝕃 string
input-list = string-split (undo-escape-string input) delimiter in
handleCommands input-list s >>= readCommandsFromFrontend
where
errorCommand : 𝕃 string → toplevel-state → IO ⊤
errorCommand ls s = putStrLn (global-error-string "Invalid command sequence \\\\\"" ^ (𝕃-to-string (λ x → x) ", " ls) ^ "\\\\\".")
debugCommand : toplevel-state → IO ⊤
debugCommand s = putStrLn (escape-string (toplevel-state-to-string s))
checkCommand : 𝕃 string → toplevel-state → IO toplevel-state
checkCommand (input :: []) s =
canonicalizePath input >>= λ input-filename →
checkFile progressUpdate (set-include-path s (cedille-options.include-path-insert (takeDirectory input-filename) (toplevel-state.include-path s))) input-filename tt {- should-print-spans -}
checkCommand ls s = errorCommand ls s >>r s
createArchive-h : toplevel-state → trie json → 𝕃 string → json
createArchive-h s t (filename :: filenames) with trie-contains t filename | get-include-elt-if s filename
...| ff | just ie = createArchive-h s (trie-insert t filename $ include-elt-to-archive ie) (filenames ++ include-elt.deps ie)
...| _ | _ = createArchive-h s t filenames
createArchive-h s t [] = json-object $ trie-mappings t
createArchive : toplevel-state → string → json
createArchive s filename = createArchive-h s empty-trie (filename :: [])
archiveCommand : 𝕃 string → toplevel-state → IO toplevel-state
archiveCommand (input :: []) s =
canonicalizePath input >>= λ filename →
update-asts s filename >>= λ s →
process-file (λ _ → return triv) (λ _ → return triv) s
filename (fileBaseName filename) >>=c λ s _ →
putRopeLn (json-to-rope (createArchive s filename)) >>r s
archiveCommand ls s = errorCommand ls s >>r s
handleCommands : 𝕃 string → toplevel-state → IO toplevel-state
handleCommands ("progress stub" :: xs) = return
handleCommands ("status ping" :: xs) s = putStrLn "idle" >> return s
handleCommands ("check" :: xs) s = checkCommand xs s
handleCommands ("debug" :: []) s = debugCommand s >>r s
handleCommands ("elaborate" :: fm :: to :: []) s = elab-all s fm to >>r s
handleCommands ("interactive" :: xs) s = interactive-cmd xs s >>r s
handleCommands ("archive" :: xs) s = archiveCommand xs s
handleCommands ("br" :: xs) s = putJson interactive-not-br-cmd-msg >>r s
-- handleCommands ("find" :: xs) s = findCommand xs s
handleCommands xs s = errorCommand xs s >>r s
{-
mk-new-toplevel-state : IO toplevel-state
mk-new-toplevel-state =
let s = new-toplevel-state (cedille-options.options.include-path options) in
maybe-else' (cedille-options.options.datatype-encoding options) (return s)
λ fp → readFiniteFile fp >>= λ de → case parseStart de of λ where
(Left (Left e)) → putStrLn ("Lexical error in datatype encoding at position " ^ e) >>r s
(Left (Right e)) → putStrLn ("Parse error in datatype encoding at position " ^ e) >>r s
(Right de) → {!!}
-}
processFile : (logFilePath : filepath) → string → IO toplevel-state
processFile logFilePath input-filename =
checkFile progressUpdate (new-toplevel-state logFilePath (cedille-options.include-path-insert (takeDirectory input-filename)
(cedille-options.options.include-path options))) input-filename ff
typecheckFile : (logFilePath : filepath) → string → IO toplevel-state
typecheckFile logFilePath f =
processFile logFilePath f >>= λ s →
let ie = get-include-elt s f in
if include-elt.err ie
then die (string-to-𝕃char ("Type Checking Failed"))
else return s
-- function to process command-line arguments
processArgs : (logFilePath : filepath) → cedille-args → IO ⊤
-- this is the case for when we are called with a single command-line argument, the name of the file to process
processArgs logFilePath (mk-cedille-args _ minput-filename about help do-elab confirm-read-stdin) =
if help then
showCedilleUsage
else if about then
say-about options-filepath
else
maybe-else' minput-filename
(ifM confirm-read-stdin
$ readCommandsFromFrontend (new-toplevel-state logFilePath (cedille-options.options.include-path options)))
(λ input-filename →
canonicalizePath input-filename >>= λ input-filename' →
typecheckFile logFilePath input-filename' >>= λ s →
whenM do-elab (λ target-dir → elab-all s input-filename' target-dir))
main' : cedille-args → IO ⊤
main' args =
maybeClearLogFile >>= λ logFilePath →
logMsg' logFilePath ("Started Cedille process (compiled at: " ^ utcToString compileTime ^ ")") >>
processArgs logFilePath args
getCedilleArgs : IO cedille-args
getCedilleArgs = getArgs >>= λ where
-- only read from stdin if there are no args at all
[] → return $ record default-cedille-args {confirm-read-stdin = tt}
args → getCedilleArgsH args default-cedille-args
where
bad-opts-flag : IO ⊤
bad-opts-flag = putStrLn "warning: flag --options should be followed by a Cedille options file"
unknown-flag : string → IO ⊤
unknown-flag f = putStrLn $ "warning: unknown flag " ^ f
-- allow for later --options to override earlier. This is a bash idiom
getCedilleArgsH : 𝕃 string → cedille-args → IO cedille-args
getCedilleArgsH ("--options" :: y :: xs) args =
getCedilleArgsH xs (record args { opts-file = just y})
getCedilleArgsH ("--options" :: []) args =
bad-opts-flag >> return args
getCedilleArgsH ("--about" :: xs) args =
getCedilleArgsH xs (record args { about = tt })
getCedilleArgsH ("--help" :: xs) args =
getCedilleArgsH xs (record args { help = tt })
getCedilleArgsH ("--elab" :: to :: xs) args =
getCedilleArgsH xs (record args { do-elab = just to})
getCedilleArgsH (x :: []) args =
-- assume it is a .ced file to check
return $ record args {file-to-process = just x}
getCedilleArgsH (x :: y :: xs) args =
unknown-flag x >> return args
getCedilleArgsH [] args = return args
process-encoding : filepath → cedille-options.options → IO cedille-options.options
process-encoding ofp ops @ (cedille-options.mk-options ip _ _ _ _ _ de _ _ _ _) =
maybe-else' de (return ops) λ de-f →
let de = fst de-f
s = new-toplevel-state "no logfile path" (cedille-options.include-path-insert (takeDirectory de) ip) in
update-asts s de >>= λ s →
process-encoding-file s de >>= λ f? →
maybe-else' f? (return ops) λ ast~ →
return (record ops {datatype-encoding = just (de , just ast~)})
where
ops' = record ops {datatype-encoding = nothing; use-cede-files = ff}
open main-with-options compileTime ofp ops' die
open import spans ops' {IO}
open import toplevel-state ops' {IO}
open import process-cmd ops' {IO} (λ _ → return triv) (λ _ → return triv)
open import syntax-util
open import ctxt
process-encoding-file : toplevel-state → filepath → IO (maybe file)
process-encoding-file s fp with get-include-elt-if s fp >>= include-elt.ast
...| nothing = putStrLn ("Error looking up datatype encoding information from file " ^ fp) >> return nothing
...| just (ExModule is pi1 pi2 mn ps cs pi3) =
(process-cmds (record s {Γ = ctxt-initiate-file (toplevel-state.Γ s) fp mn}) (map ExCmdImport is) >>=c λ s is' →
process-params s first-position [] >>=c λ s _ →
check-and-add-params (toplevel-state.Γ s) (params-end-pos first-position ps) ps >>=c λ Γₚₛ ps~ →
process-cmds (record s {Γ = Γₚₛ}) cs >>=c λ s cs →
return2 ps~ (is' ++ cs)) empty-spans >>=c uncurry λ ps cs _ →
return (just (Module mn ps cs))
-- main entrypoint for the backend
main : IO ⊤
main = initializeStdoutToUTF8 >>
initializeStdinToUTF8 >>
setStdoutNewlineMode >>
setStdinNewlineMode >>
setToLineBuffering >>
getCedilleArgs >>= λ args →
maybe-else' (cedille-args.opts-file args)
(findOptionsFile >>= readOptions) (readOptions ∘ just) >>=c λ ofp ops →
let log = cedille-options.options.generate-logs ops in
process-encoding ofp (record ops {generate-logs = ff}) >>= λ ops →
let args = record args { opts-file = just ofp } in
let ops = record ops { generate-logs = log ;
show-progress-updates = ~ (cedille-args.confirm-read-stdin args) } in
main-with-options.main' compileTime ofp ops die args
|
libsrc/graphics/sv8000/xor_MODE1.asm | jpoikela/z88dk | 0 | 17652 |
SECTION code_clib
PUBLIC xor_MODE1
.xor_MODE1
defc NEEDxor = 1
INCLUDE "graphics/pc6001/pixel_MODE1.asm"
|
programs/oeis/062/A062748.asm | karttu/loda | 1 | 8346 | ; A062748: Fourth column (r=3) of FS(3) staircase array A062745.
; 3,9,19,34,55,83,119,164,219,285,363,454,559,679,815,968,1139,1329,1539,1770,2023,2299,2599,2924,3275,3653,4059,4494,4959,5455,5983,6544,7139,7769,8435,9138,9879,10659
mov $1,$0
add $1,4
bin $1,3
sub $1,1
|
programs/oeis/040/A040008.asm | karttu/loda | 1 | 1417 | ; A040008: Continued fraction for sqrt(12).
; 3,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2
mul $0,-3
add $0,2
mod $0,6
div $0,2
pow $0,2
mov $1,$0
add $1,2
|
js/applescript/rewind.applescript | retagaine/Blackbird | 0 | 1515 | <filename>js/applescript/rewind.applescript
tell application "Spotify"
previous track
end tell |
Task/Sum-and-product-of-an-array/AppleScript/sum-and-product-of-an-array-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1703 | <filename>Task/Sum-and-product-of-an-array/AppleScript/sum-and-product-of-an-array-1.applescript
set array to {1, 2, 3, 4, 5}
set sum to 0
set product to 1
repeat with i in array
set sum to sum + i
set product to product * i
end repeat
|
usart-puts.asm | TPKato/pAVRlib | 0 | 178012 | ;;; usart-puts.asm
;;;
;;- This program provides a small subroutine to put a string via USART.
;;- This code is a part of [[../][pAVRlib]].
;;-
;;- In =examples/= you'll find a small test program.
;;-
;;- * Requirement
;;-
;;- - [[../usart][usart.asm]]
;;-
;;- * Subroutine
;;-
;;- ** ~void USART_PUTS(char *str)~ (in: r25:r24, out: (none))
;;- puts a string via USART.
;;- r25:r24 is a start address of the string to be sent.
;;- The string must be null-teminated.
;;-
;;- * Example
;;-
;;- #+NAME: example
;;- #+BEGIN_SRC asm
;;- ldi r25, high(STR_HELLO)
;;- ldi r24, low (STR_HELLO)
;;- rcall USART_PUTS
;;-
;;- STR_HELLO:
;;- .db "Hello, World!", 0x0d, 0x0a, 0
;;- #+END_SRC
;;-
USART_PUTS:
push r24
push r31
push r30
mov r31, r25
mov r30, r24
lsl r30
rol r31
_put_string_loop:
lpm r24, Z+
tst r24
breq _put_string_exit
rcall USART_TRANSMIT
rjmp _put_string_loop
_put_string_exit:
pop r30
pop r31
pop r24
ret
|
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_bgp.g4 | nickgian/batfish | 0 | 7117 | <reponame>nickgian/batfish<gh_stars>0
parser grammar CiscoNxos_bgp;
import CiscoNxos_common;
options {
tokenVocab = CiscoNxosLexer;
}
////////////////////////////
///// VARIOUS SUBTYPES /////
////////////////////////////
dampen_igp_metric_interval
:
// 20-3600
UINT8
| UINT16
;
decay_half_life
:
// 1-45
UINT8
;
start_reuse_val
:
// 1-20000
UINT8
| UINT16
;
start_suppress_val
:
// 1-20000
UINT8
| UINT16
;
/////////////////////////////
///// Actual BGP config /////
/////////////////////////////
router_bgp
:
BGP asn = bgp_asn NEWLINE
(
rb_address_family
| rb_enforce_first_as
| rb_event_history
| rb_fast_external_fallover
| rb_flush_routes
| rb_isolate
| rb_no_enforce_first_as
| rb_proc_vrf_common
| rb_shutdown
| rb_template
| rb_vrf
)*
;
rb_proc_vrf_common
:
rb_bestpath
| rb_cluster_id
| rb_confederation
| rb_graceful_restart
| rb_graceful_restart_helper
| rb_log_neighbor_changes
| rb_maxas_limit
| rb_neighbor
| rb_reconnect_interval
| rb_router_id
| rb_suppress_fib_pending
| rb_timers
;
rb_address_family
:
ADDRESS_FAMILY
(
rb_af_ipv4
| rb_af_ipv6
| rb_af_l2vpn
| rb_af_link_state
| rb_af_vpnv4
| rb_af_vpnv6
)
;
rb_af_ipv4
:
IPV4
(
rb_af_ipv4_multicast
| rb_af_ipv4_mvpn
| rb_af_ipv4_unicast
)
;
rb_af_ipv4_multicast
:
MULTICAST NEWLINE
rb_af4_inner*
;
rb_af_ipv4_mvpn
:
MVPN NEWLINE
// todo
;
rb_af_ipv4_unicast
:
UNICAST NEWLINE
rb_af4_inner*
;
rb_af_ipv6
:
IPV6
(
rb_af_ipv6_multicast
| rb_af_ipv6_mvpn
| rb_af_ipv6_unicast
)
;
rb_af_ipv6_multicast
:
MULTICAST NEWLINE
rb_af6_inner*
;
rb_af_ipv6_mvpn
:
MVPN NEWLINE
// todo
;
rb_af_ipv6_unicast
:
UNICAST NEWLINE
rb_af6_inner*
;
rb_af_l2vpn
:
L2VPN EVPN NEWLINE
(
rb_afl2v_retain
)*
;
rb_afl2v_retain
:
RETAIN ROUTE_TARGET
(
ALL
| ROUTE_MAP map = route_map_name
) NEWLINE
;
rb_af_link_state
:
LINK_STATE NEWLINE
// todo
;
rb_af_vpnv4
:
VPNV4 UNICAST NEWLINE
// todo
;
rb_af_vpnv6
:
VPNV6 UNICAST NEWLINE
// todo
;
// Common to ipv4 unicast and ipv4 multicast
rb_af4_inner
:
// IPv4 ONLY
rb_af4_aggregate_address
| rb_af4_network
| rb_af4_redistribute
// IPv4 or IPv6
| rb_afip_common
;
rb_af4_aggregate_address
:
AGGREGATE_ADDRESS network = route_network rb_afip_aa_tail* NEWLINE
;
rb_af4_network
:
NETWORK network = route_network (ROUTE_MAP mapname = route_map_name)? NEWLINE
;
rb_af4_redistribute
:
REDISTRIBUTE routing_instance_v4 ROUTE_MAP mapname = route_map_name NEWLINE
;
// Common to ipv6 unicast and ipv6 multicast
rb_af6_inner
:
// IPv6 ONLY
rb_af6_aggregate_address
| rb_af6_network
| rb_af6_redistribute
// IPv4 or IPv6
| rb_afip_common
;
rb_af6_aggregate_address
:
AGGREGATE_ADDRESS network = ipv6_prefix rb_afip_aa_tail* NEWLINE
;
rb_af6_network
:
NETWORK network = ipv6_prefix (ROUTE_MAP mapname = route_map_name)? NEWLINE
;
rb_af6_redistribute
:
REDISTRIBUTE routing_instance_v6 ROUTE_MAP mapname = route_map_name NEWLINE
;
// Common to IPv4 or IPv6, unicast or multicast
rb_afip_common
:
rb_afip_additional_paths
| rb_afip_advertise
| rb_afip_client_to_client
| rb_afip_dampen_igp_metric
| rb_afip_dampening
| rb_afip_default_information
| rb_afip_default_metric
| rb_afip_distance
| rb_afip_inject_map
| rb_afip_maximum_paths
| rb_afip_nexthop
| rb_afip_suppress_inactive
| rb_afip_table_map
| rb_afip_wait_igp_convergence
;
rb_afip_additional_paths
:
ADDITIONAL_PATHS
(
INSTALL BACKUP
| RECEIVE
| SELECTION ROUTE_MAP mapname = route_map_name
| SEND
) NEWLINE
;
rb_afip_advertise
:
ADVERTISE L2VPN EVPN NEWLINE
;
rb_afip_aa_tail
:
ADVERTISE_MAP mapname = route_map_name
| AS_SET
| ATTRIBUTE_MAP mapname = route_map_name
| SUMMARY_ONLY
| SUPPRESS_MAP mapname = route_map_name
;
rb_afip_client_to_client
:
CLIENT_TO_CLIENT REFLECTION NEWLINE
;
rb_afip_dampen_igp_metric
:
DAMPEN_IGP_METRIC interval_secs = dampen_igp_metric_interval NEWLINE
;
rb_afip_dampening
:
DAMPENING
(
half_life = decay_half_life start_reuse = start_reuse_val start_suppress =
start_suppress_val max_suppress = uint8
| ROUTE_MAP mapname = route_map_name
) NEWLINE
;
rb_afip_default_information
:
DEFAULT_INFORMATION ORIGINATE NEWLINE
;
rb_afip_default_metric
:
DEFAULT_METRIC metric = uint32 NEWLINE
;
rb_afip_distance
:
DISTANCE ebgp = protocol_distance ibgp = protocol_distance local = protocol_distance NEWLINE
;
rb_afip_inject_map
:
INJECT_MAP injectmap = route_map_name EXIST_MAP existmap = route_map_name
COPY_ATTRIBUTES? NEWLINE
;
rb_afip_maximum_paths
:
MAXIMUM_PATHS
(
EIBGP
| IBGP
)? numpaths = maximum_paths NEWLINE
;
rb_afip_nexthop
:
NEXTHOP
(
rb_afip_nexthop_route_map
| rb_afip_nexthop_trigger_delay
)
;
rb_afip_nexthop_route_map
:
ROUTE_MAP mapname = route_map_name NEWLINE
;
rb_afip_nexthop_trigger_delay
:
TRIGGER_DELAY CRITICAL critical = uint32 NON_CRITICAL noncritical = uint32 NEWLINE
;
rb_afip_suppress_inactive
:
SUPPRESS_INACTIVE NEWLINE
;
rb_afip_table_map
:
TABLE_MAP mapname = route_map_name FILTER? NEWLINE
;
rb_afip_wait_igp_convergence
:
WAIT_IGP_CONVERGENCE NEWLINE
;
rb_bestpath
:
BESTPATH
(
ALWAYS_COMPARE_MED
| AS_PATH MULTIPATH_RELAX
| COMPARE_ROUTERID
| COST_COMMUNITY IGNORE
| MED
(
CONFED
| MISSING_AS_WORST
| NON_DETERMINISTIC
)
) NEWLINE
;
rb_cluster_id
:
CLUSTER_ID
(
ip_as_int = uint32
| ip = ip_address
) NEWLINE
;
rb_confederation
:
CONFEDERATION
(
rb_confederation_identifier
| rb_confederation_peers
)
;
rb_confederation_identifier
:
IDENTIFIER asn = bgp_asn NEWLINE
;
rb_confederation_peers
:
PEERS asns += bgp_asn NEWLINE asns += bgp_asn+ NEWLINE
;
rb_enforce_first_as
:
ENFORCE_FIRST_AS NEWLINE
;
rb_event_history
:
EVENT_HISTORY
(
CLI
| DETAIL
| ERRORS
| EVENTS
| OBJSTORE
| PERIODIC
)
(
SIZE
(
DISABLE
| LARGE
| MEDIUM
| SMALL
| sizebytes = event_history_buffer_size
)
)? NEWLINE
;
event_history_buffer_size
:
// 32768-8388608
UINT8
| UINT16
| UINT32
;
rb_fast_external_fallover
:
FAST_EXTERNAL_FALLOVER NEWLINE
;
rb_flush_routes
:
FLUSH_ROUTES NEWLINE
;
rb_graceful_restart
:
GRACEFUL_RESTART
(
RESTART_TIME restart_secs = restart_time
| STALEPATH_TIME stalepath_secs = stalepath_time
)? NEWLINE
;
restart_time
:
// 1-3600
UINT8
| UINT16
;
stalepath_time
:
// 1-3600
UINT8
| UINT16
;
rb_graceful_restart_helper
:
GRACEFUL_RESTART_HELPER NEWLINE
;
rb_log_neighbor_changes
:
LOG_NEIGHBOR_CHANGES NEWLINE
;
rb_isolate
:
ISOLATE NEWLINE
;
rb_maxas_limit
:
MAXAS_LIMIT limit = maxas_limit NEWLINE
;
maxas_limit
:
// 1-512
UINT8
| UINT16
;
rb_neighbor
:
NEIGHBOR
(
ip = ip_address
| prefix = ip_prefix
| ip6 = ipv6_address
| prefix6 = ipv6_prefix
)
(
REMOTE_AS
(
asn = bgp_asn?
| ROUTE_MAP mapname = route_map_name
)
)? NEWLINE rb_n_inner*
;
// We might get to this level of the hierarchy in four ways:
// 1. configuring an actual neighbor (router bgp ; (optional vrf) ; neighbor)
// 2. configuring a template peer (router bgp ; template peer)
// 3. configuring a template peer-session (router bgp ; template peer-session)
// 4. inside of DEFAULT command in any of the above 3 levels.
// For now, DEFAULT is unhandled.
//
// We use a few different rules to distinguish the rest.
// rb_n_common are commands valid at any of the levels 1-3.
// rnbx_n_address_family is only valid at levels 1 and 2.
rb_n_inner
:
rb_n_common
| rb_n_address_family
;
rb_n_common
:
rb_n_bfd
| rb_n_capability
| rb_n_default
| rb_n_description
| rb_n_disable_connected_check
| rb_n_dont_capability_negotiate
| rb_n_dynamic_capability
| rb_n_ebgp_multihop
| rb_n_inherit
| rb_n_local_as
| rb_n_low_memory
| rb_n_maximum_peers
| rb_n_no
| rb_n_password
| rb_n_remote_as
| rb_n_remove_private_as
| rb_n_shutdown
| rb_n_timers
| rb_n_transport
| rb_n_update_source
;
rb_n_address_family
:
ADDRESS_FAMILY first =
(
IPV4
| IPV6
| L2VPN
) second = (EVPN | MULTICAST | UNICAST) NEWLINE rb_n_af_inner*
;
// We might get to this level of the hierarchy in four ways:
// 1. configuring an actual neighbor (router bgp ; (optional vrf) ; neighbor ; address-family)
// 2. configuring a template peer (router bgp ; template peer ; address-family)
// 3. configuring a template peer-policy (router bgp ; template peer-policy)
// 4. inside of DEFAULT command in any of the above 3 levels.
// For now, DEFAULT is unhandled.
//
// All the remaining commands are valid at all levels 1-3.
rb_n_af_inner
:
rb_n_af_advertise_map
| rb_n_af_allowas_in
| rb_n_af_as_override
| rb_n_af_capability
| rb_n_af_default
| rb_n_af_default_originate
| rb_n_af_disable_peer_as_check
| rb_n_af_filter_list
| rb_n_af_inherit
| rb_n_af_maximum_prefix
| rb_n_af_next_hop_self
| rb_n_af_next_hop_third_party
| rb_n_af_no_default_originate
| rb_n_af_prefix_list
| rb_n_af_route_map
| rb_n_af_route_reflector_client
| rb_n_af_send_community
| rb_n_af_soft_reconfiguration
| rb_n_af_soo
| rb_n_af_suppress_inactive
| rb_n_af_unsuppress_map
| rb_n_af_weight
;
rb_n_af_advertise_map
:
ADVERTISE_MAP mapname = route_map_name
(
EXIST_MAP existmap = route_map_name
| NON_EXIST_MAP nonexistmap = route_map_name
) NEWLINE
;
rb_n_af_allowas_in
:
ALLOWAS_IN
(
num = allowas_in_max_occurrences
)? NEWLINE
;
allowas_in_max_occurrences
:
// 1-10
UINT8
;
rb_n_af_as_override
:
AS_OVERRIDE NEWLINE
;
rb_n_af_capability
:
CAPABILITY ADDITIONAL_PATHS
(
RECEIVE
| SEND
) DISABLE? NEWLINE
;
rb_n_af_default
:
DEFAULT null_rest_of_line
;
rb_n_af_default_originate
:
DEFAULT_ORIGINATE
(
ROUTE_MAP mapname = route_map_name
)? NEWLINE
;
rb_n_af_disable_peer_as_check
:
DISABLE_PEER_AS_CHECK NEWLINE
;
rb_n_af_filter_list
:
FILTER_LIST name = ip_as_path_access_list_name
(
IN
| OUT
) NEWLINE
;
rb_n_af_inherit
:
INHERIT PEER_POLICY template = template_name seq = inherit_sequence_number
NEWLINE
;
inherit_sequence_number
:
// 1-65535
UINT8
| UINT16
;
rb_n_af_maximum_prefix
:
MAXIMUM_PREFIX limit = uint32
(
threshold_pct = threshold_percentage
)?
(
RESTART interval_min = restart_interval
| WARNING_ONLY
)? NEWLINE
;
threshold_percentage
:
// 1-100
UINT8
;
restart_interval
:
// 1-65535
UINT8
| UINT16
;
rb_n_af_next_hop_self
:
NEXT_HOP_SELF NEWLINE
;
rb_n_af_next_hop_third_party
:
NEXT_HOP_THIRD_PARTY NEWLINE
;
rb_n_af_no_default_originate
:
NO DEFAULT_ORIGINATE NEWLINE
;
rb_n_af_prefix_list
:
PREFIX_LIST listname = ip_prefix_list_name
(
IN
| OUT
) NEWLINE
;
rb_n_af_route_map
:
ROUTE_MAP mapname = route_map_name
(
IN
| OUT
) NEWLINE
;
rb_n_af_route_reflector_client
:
ROUTE_REFLECTOR_CLIENT NEWLINE
;
rb_n_af_send_community
:
SEND_COMMUNITY
(
BOTH
| STANDARD
| EXTENDED
)? NEWLINE
;
rb_n_af_soft_reconfiguration
:
SOFT_RECONFIGURATION INBOUND ALWAYS? NEWLINE
;
rb_n_af_soo
:
SOO
(
asn = bgp_asn
| ip = ip_address
) COLON community_id = uint32 NEWLINE
;
rb_n_af_suppress_inactive
:
SUPPRESS_INACTIVE
;
rb_n_af_unsuppress_map
:
UNSUPPRESS_MAP mapname = route_map_name NEWLINE
;
rb_n_af_weight
:
WEIGHT weight = uint16 NEWLINE
;
rb_n_bfd
:
BFD NEWLINE
;
rb_n_capability
:
CAPABILITY SUPPRESS FOUR_BYTE_AS NEWLINE
;
rb_n_default
:
DEFAULT null_rest_of_line
;
rb_n_description
:
DESCRIPTION desc = bgp_neighbor_description NEWLINE
;
bgp_neighbor_description
:
// 1-80
desc = REMARK_TEXT
;
rb_n_disable_connected_check
:
DISABLE_CONNECTED_CHECK NEWLINE
;
rb_n_dont_capability_negotiate
:
DONT_CAPABILITY_NEGOTIATE NEWLINE
;
rb_n_dynamic_capability
:
DYNAMIC_CAPABILITY NEWLINE
;
rb_n_ebgp_multihop
:
EBGP_MULTIHOP ebgp_ttl = ebgp_multihop_ttl NEWLINE
;
ebgp_multihop_ttl
:
//2-255
UINT8
;
rb_n_inherit
:
INHERIT
(
PEER
| PEER_SESSION
) peer = template_name NEWLINE
;
rb_n_local_as
:
LOCAL_AS asn = bgp_asn
(
NO_PREPEND
(
REPLACE_AS DUAL_AS?
)?
)? NEWLINE
;
rb_n_low_memory
:
LOW_MEMORY EXEMPT NEWLINE
;
rb_n_maximum_peers
:
MAXIMUM_PEERS max = maximum_peers NEWLINE
;
maximum_peers
:
// 1-1000
UINT8
| UINT16
;
rb_n_no
:
NO
(
rb_n_no_bfd
| rb_n_no_shutdown
)
;
rb_n_no_bfd
:
BFD NEWLINE
;
rb_n_no_shutdown
:
SHUTDOWN NEWLINE
;
rb_n_password
:
PASSWORD pass = <PASSWORD> NEWLINE
;
rb_n_remote_as
:
REMOTE_AS asn = bgp_asn NEWLINE
;
rb_n_remove_private_as
:
REMOVE_PRIVATE_AS
(
ALL
| REPLACE_AS
)? NEWLINE
;
rb_n_shutdown
:
SHUTDOWN NEWLINE
;
rb_n_timers
:
TIMERS keepalive_secs = keepalive_interval holdtime_secs = holdtime NEWLINE
;
keepalive_interval
:
// 0-3600
UINT8
| UINT16
;
holdtime
:
// 0-3600
UINT8
| UINT16
;
rb_n_transport
:
TRANSPORT CONNECTION_MODE PASSIVE NEWLINE
;
rb_n_update_source
:
UPDATE_SOURCE interface_name NEWLINE
;
rb_no_enforce_first_as
:
NO ENFORCE_FIRST_AS NEWLINE
;
rb_reconnect_interval
:
RECONNECT_INTERVAL secs = reconnect_interval NEWLINE
;
reconnect_interval
:
// 1-60
UINT8
;
rb_router_id
:
ROUTER_ID id = ip_address NEWLINE
;
rb_shutdown
:
SHUTDOWN NEWLINE
;
rb_suppress_fib_pending
:
SUPPRESS_FIB_PENDING NEWLINE
;
rb_template
:
TEMPLATE
(
rb_template_peer
| rb_template_peer_policy
| rb_template_peer_session
)
;
rb_template_peer
:
PEER peer = template_name NEWLINE rb_n_inner*
;
rb_template_peer_policy
:
PEER_POLICY policy = template_name NEWLINE rb_n_af_inner*
;
rb_template_peer_session
:
PEER_SESSION session = template_name NEWLINE rb_n_common*
;
rb_timers
:
TIMERS
(
rb_timers_bestpath_limit
| rb_timers_bgp
| rb_timers_prefix_peer_timeout
| rb_timers_prefix_peer_wait
)
;
rb_timers_bestpath_limit
:
BESTPATH_LIMIT timeout_secs = bestpath_timeout ALWAYS? NEWLINE
;
bestpath_timeout
:
// 1-3600
UINT8
| UINT16
;
rb_timers_bgp
:
BGP keepalive_secs = keepalive_interval holdtime_secs = holdtime
NEWLINE
;
rb_timers_prefix_peer_timeout
:
PREFIX_PEER_TIMEOUT timeout_secs = prefix_peer_timeout NEWLINE
;
prefix_peer_timeout
:
// 0-1200
UINT8
| UINT16
;
rb_timers_prefix_peer_wait
:
PREFIX_PEER_WAIT wait_secs = prefix_peer_wait_timer NEWLINE
;
prefix_peer_wait_timer
:
// 0-1200
UINT8
| UINT16
;
rb_vrf
:
VRF name = vrf_non_default_name NEWLINE
(
rb_proc_vrf_common
| rb_v_address_family
| rb_v_local_as
)*
;
rb_v_address_family
:
ADDRESS_FAMILY
(
rb_vaf_ipv4
| rb_vaf_ipv6
)
;
rb_vaf_ipv4
:
IPV4
(
rb_af_ipv4_multicast
| rb_af_ipv4_unicast
)
;
rb_vaf_ipv6
:
IPV6
(
rb_af_ipv6_multicast
| rb_af_ipv6_unicast
)
;
rb_v_local_as
:
LOCAL_AS asn = bgp_asn NEWLINE
;
|
example_1.1/src/shader_manager.adb | rogermc2/GA_Ada | 3 | 1876 | <gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with GL.Objects.Shaders;
with Program_Loader;
package body Shader_Manager is
Black : constant GL.Types.Singles.Vector4 := (0.0, 0.0, 0.0, 0.0);
Render_Uniforms : Shader_Uniforms;
procedure Init (Render_Program : in out GL.Objects.Programs.Program) is
use GL.Objects.Programs;
use GL.Objects.Shaders;
use GL.Types.Singles;
use Program_Loader;
Light : constant Singles.Vector3 := (0.0, 4.0, 1.0);
Direction : constant Singles.Vector3 := (0.0, 0.0, 1.0);
begin
Render_Program := Program_From
((Src ("src/shaders/vertex_shader_1_1.glsl", Vertex_Shader),
Src ("src/shaders/fragment_shader_1_1.glsl", Fragment_Shader)));
Render_Uniforms.View_Matrix_ID :=
Uniform_Location (Render_Program, "view_matrix");
Render_Uniforms.Model_Matrix_ID :=
Uniform_Location (Render_Program, "model_matrix");
Render_Uniforms.Projection_Matrix_ID :=
Uniform_Location (Render_Program, "projection_matrix");
Render_Uniforms.Rotation_Matrix_ID :=
Uniform_Location (Render_Program, "rotation_matrix");
Render_Uniforms.Translation_Matrix_ID :=
Uniform_Location (Render_Program, "translation_matrix");
Render_Uniforms.Light_Direction_ID :=
Uniform_Location (Render_Program, "light_direction");
Render_Uniforms.Light_Position_ID :=
Uniform_Location (Render_Program, "light_position");
Render_Uniforms.Line_Width_ID :=
Uniform_Location (Render_Program, "line_width");
Render_Uniforms.Ambient_Colour_ID :=
Uniform_Location (Render_Program, "Ambient_Colour");
Render_Uniforms.Diffuse_Colour_ID :=
Uniform_Location (Render_Program, "Diffuse_Colour");
Render_Uniforms.Drawing_Colour_ID :=
Uniform_Location (Render_Program, "Drawing_Colour");
Use_Program (Render_Program);
GL.Uniforms.Set_Single (Render_Uniforms.Light_Direction_ID, Direction);
GL.Uniforms.Set_Single (Render_Uniforms.Light_Position_ID, Light);
GL.Uniforms.Set_Single (Render_Uniforms.Line_Width_ID, 1.0);
GL.Uniforms.Set_Single (Render_Uniforms.Model_Matrix_ID, Identity4);
GL.Uniforms.Set_Single (Render_Uniforms.View_Matrix_ID, Identity4);
GL.Uniforms.Set_Single (Render_Uniforms.Projection_Matrix_ID, Identity4);
GL.Uniforms.Set_Single (Render_Uniforms.Rotation_Matrix_ID, Identity4);
GL.Uniforms.Set_Single (Render_Uniforms.Translation_Matrix_ID, Identity4);
GL.Uniforms.Set_Single (Render_Uniforms.Ambient_Colour_ID, Black);
GL.Uniforms.Set_Single (Render_Uniforms.Diffuse_Colour_ID, Black);
GL.Uniforms.Set_Single (Render_Uniforms.Drawing_Colour_ID, Black);
exception
when others =>
Put_Line ("An exception occurred in Shader_Manager.Init.");
raise;
end Init;
-- -------------------------------------------------------------------------
procedure Set_Ambient_Colour (Ambient_Colour : Singles.Vector4) is
begin
GL.Uniforms.Set_Single (Render_Uniforms.Ambient_Colour_ID, Ambient_Colour);
end Set_Ambient_Colour;
-- -------------------------------------------------------------------------
procedure Set_Diffuse_Colour (Diffuse_Colour : Singles.Vector4) is
begin
GL.Uniforms.Set_Single
(Render_Uniforms.Diffuse_Colour_ID, Diffuse_Colour);
end Set_Diffuse_Colour;
-- -------------------------------------------------------------------------
procedure Set_Drawing_Colour (Drawing_Colour : Singles.Vector4) is
begin
GL.Uniforms.Set_Single
(Render_Uniforms.Drawing_Colour_ID, Drawing_Colour);
end Set_Drawing_Colour;
-- -------------------------------------------------------------------------
procedure Set_Light_Direction_Vector (Light_Direction : Singles.Vector3) is
begin
GL.Uniforms.Set_Single
(Render_Uniforms.Light_Direction_ID, Light_Direction);
end Set_Light_Direction_Vector;
-- -------------------------------------------------------------------------
procedure Set_Light_Position_Vector (Light_Position : Singles.Vector3) is
begin
GL.Uniforms.Set_Single
(Render_Uniforms.Light_Position_ID, Light_Position);
end Set_Light_Position_Vector;
-- -------------------------------------------------------------------------
procedure Set_Line_Width (Width : Single) is
begin
GL.Uniforms.Set_Single
(Render_Uniforms.Line_Width_ID, Width);
end Set_Line_Width;
-- -------------------------------------------------------------------------
procedure Set_Model_Matrix (Model_Matrix : Singles.Matrix4) is
begin
GL.Uniforms.Set_Single (Render_Uniforms.Model_Matrix_ID, Model_Matrix);
end Set_Model_Matrix;
-- -------------------------------------------------------------------------
procedure Set_View_Matrix (View_Matrix : Singles.Matrix4) is
begin
GL.Uniforms.Set_Single (Render_Uniforms.View_Matrix_ID, View_Matrix);
end Set_View_Matrix;
-- -------------------------------------------------------------------------
procedure Set_Projection_Matrix (Projection_Matrix : Singles.Matrix4) is
begin
GL.Uniforms.Set_Single
(Render_Uniforms.Projection_Matrix_ID, Projection_Matrix);
end Set_Projection_Matrix;
-- -------------------------------------------------------------------------
procedure Set_Rotation_Matrix (Rotation_Matrix : Singles.Matrix4) is
begin
GL.Uniforms.Set_Single
(Render_Uniforms.Rotation_Matrix_ID, Rotation_Matrix);
end Set_Rotation_Matrix;
-- -------------------------------------------------------------------------
procedure Set_Translation_Matrix (Translation_Matrix : Singles.Matrix4) is
begin
GL.Uniforms.Set_Single
(Render_Uniforms.Translation_Matrix_ID, Translation_Matrix);
end Set_Translation_Matrix;
-- -------------------------------------------------------------------------
end Shader_Manager;
|
src/applescript/getContacts.applescript | jaeseopark/imessageee-host | 0 | 450 | <reponame>jaeseopark/imessageee-host<filename>src/applescript/getContacts.applescript
set csv to ""
tell application "Contacts"
repeat with eachPerson in people
set personName to name of eachPerson
repeat with eachNumber in phones of eachPerson
set theNum to (get value of eachNumber)
set csv to csv & personName & "," & theNum & "\n"
end repeat
repeat with eachEmail in emails of eachPerson
set theEmail to (get value of eachEmail)
set csv to csv & personName & "," & theEmail & "\n"
end repeat
end repeat
end tell
return csv
|
oeis/020/A020132.asm | neoneye/loda-programs | 11 | 3912 | ; A020132: Ceiling of GAMMA(n+1/4)/GAMMA(1/4).
; Submitted by <NAME>
; 1,1,1,1,3,10,51,319,2311,19061,176311,1807182,20330789,249052162,3299941146,47024161318,717118460091,11653174976469,201017268344079,3668565147279424,70619879085128904,1430052551473860293
lpb $0
seq $0,20087 ; a(n) = floor( Gamma(n + 1/4)/Gamma(1/4) ).
mov $1,$0
cmp $0,$2
lpe
mov $0,$1
add $0,1
|
src/intel/tools/tests/gen7/f16to32.asm | SoftReaper/Mesa-Renoir-deb | 0 | 177085 | <reponame>SoftReaper/Mesa-Renoir-deb<gh_stars>0
f16to32(8) g19<1>F g2<16,8,2>UW { align1 1Q };
f16to32(16) g21<1>F g6<16,8,2>UW { align1 1H };
|
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-osprim.adb | orb-zhuchen/Orb | 0 | 25405 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- S Y S T E M . O S _ P R I M I T I V E S --
-- --
-- B o d y --
-- --
-- Copyright (C) 1998-2019, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
-- This is the NT version of this package
with System.Task_Lock;
with System.Win32.Ext;
package body System.OS_Primitives is
use System.Task_Lock;
use System.Win32;
use System.Win32.Ext;
----------------------------------------
-- Data for the high resolution clock --
----------------------------------------
Tick_Frequency : aliased LARGE_INTEGER;
-- Holds frequency of high-performance counter used by Clock
-- Windows NT uses a 1_193_182 Hz counter on PCs.
Base_Monotonic_Ticks : LARGE_INTEGER;
-- Holds the Tick count for the base monotonic time
Base_Monotonic_Clock : Duration;
-- Holds the current clock for monotonic clock's base time
type Clock_Data is record
Base_Ticks : LARGE_INTEGER;
-- Holds the Tick count for the base time
Base_Time : Long_Long_Integer;
-- Holds the base time used to check for system time change, used with
-- the standard clock.
Base_Clock : Duration;
-- Holds the current clock for the standard clock's base time
end record;
type Clock_Data_Access is access all Clock_Data;
-- Two base clock buffers. This is used to be able to update a buffer while
-- the other buffer is read. The point is that we do not want to use a lock
-- inside the Clock routine for performance reasons. We still use a lock
-- in the Get_Base_Time which is called very rarely. Current is a pointer,
-- the pragma Atomic is there to ensure that the value can be set or read
-- atomically. That's it, when Get_Base_Time has updated a buffer the
-- switch to the new value is done by changing Current pointer.
First, Second : aliased Clock_Data;
Current : Clock_Data_Access := First'Access;
pragma Atomic (Current);
-- The following signature is to detect change on the base clock data
-- above. The signature is a modular type, it will wrap around without
-- raising an exception. We would need to have exactly 2**32 updates of
-- the base data for the changes to get undetected.
type Signature_Type is mod 2**32;
Signature : Signature_Type := 0;
pragma Atomic (Signature);
function Monotonic_Clock return Duration;
pragma Export (Ada, Monotonic_Clock, "__gnat_monotonic_clock");
-- Return "absolute" time, represented as an offset relative to "the Unix
-- Epoch", which is Jan 1, 1970 00:00:00 UTC. This clock implementation is
-- immune to the system's clock changes. Export this function so that it
-- can be imported from s-taprop-mingw.adb without changing the shared
-- spec (s-osprim.ads).
procedure Get_Base_Time (Data : in out Clock_Data);
-- Retrieve the base time and base ticks. These values will be used by
-- clock to compute the current time by adding to it a fraction of the
-- performance counter. This is for the implementation of a high-resolution
-- clock. Note that this routine does not change the base monotonic values
-- used by the monotonic clock.
-----------
-- Clock --
-----------
-- This implementation of clock provides high resolution timer values
-- using QueryPerformanceCounter. This call return a 64 bits values (based
-- on the 8253 16 bits counter). This counter is updated every 1/1_193_182
-- times per seconds. The call to QueryPerformanceCounter takes 6
-- microsecs to complete.
function Clock return Duration is
Max_Shift : constant Duration := 2.0;
Hundreds_Nano_In_Sec : constant Long_Long_Float := 1.0E7;
Data : Clock_Data;
Current_Ticks : aliased LARGE_INTEGER;
Elap_Secs_Tick : Duration;
Elap_Secs_Sys : Duration;
Now : aliased Long_Long_Integer;
Sig1, Sig2 : Signature_Type;
begin
-- Try ten times to get a coherent set of base data. For this we just
-- check that the signature hasn't changed during the copy of the
-- current data.
--
-- This loop will always be done once if there is no interleaved call
-- to Get_Base_Time.
for K in 1 .. 10 loop
Sig1 := Signature;
Data := Current.all;
Sig2 := Signature;
exit when Sig1 = Sig2;
end loop;
if QueryPerformanceCounter (Current_Ticks'Access) = Win32.FALSE then
return 0.0;
end if;
GetSystemTimeAsFileTime (Now'Access);
Elap_Secs_Sys :=
Duration (Long_Long_Float (abs (Now - Data.Base_Time)) /
Hundreds_Nano_In_Sec);
Elap_Secs_Tick :=
Duration (Long_Long_Float (Current_Ticks - Data.Base_Ticks) /
Long_Long_Float (Tick_Frequency));
-- If we have a shift of more than Max_Shift seconds we resynchronize
-- the Clock. This is probably due to a manual Clock adjustment, a DST
-- adjustment or an NTP synchronisation. And we want to adjust the time
-- for this system (non-monotonic) clock.
if abs (Elap_Secs_Sys - Elap_Secs_Tick) > Max_Shift then
Get_Base_Time (Data);
Elap_Secs_Tick :=
Duration (Long_Long_Float (Current_Ticks - Data.Base_Ticks) /
Long_Long_Float (Tick_Frequency));
end if;
return Data.Base_Clock + Elap_Secs_Tick;
end Clock;
-------------------
-- Get_Base_Time --
-------------------
procedure Get_Base_Time (Data : in out Clock_Data) is
-- The resolution for GetSystemTime is 1 millisecond
-- The time to get both base times should take less than 1 millisecond.
-- Therefore, the elapsed time reported by GetSystemTime between both
-- actions should be null.
epoch_1970 : constant := 16#19D_B1DE_D53E_8000#; -- win32 UTC epoch
system_time_ns : constant := 100; -- 100 ns per tick
Sec_Unit : constant := 10#1#E9;
Max_Elapsed : constant LARGE_INTEGER :=
LARGE_INTEGER (Tick_Frequency / 100_000);
-- Look for a precision of 0.01 ms
Sig : constant Signature_Type := Signature;
Loc_Ticks, Ctrl_Ticks : aliased LARGE_INTEGER;
Loc_Time, Ctrl_Time : aliased Long_Long_Integer;
Elapsed : LARGE_INTEGER;
Current_Max : LARGE_INTEGER := LARGE_INTEGER'Last;
New_Data : Clock_Data_Access;
begin
-- Here we must be sure that both of these calls are done in a short
-- amount of time. Both are base time and should in theory be taken
-- at the very same time.
-- The goal of the following loop is to synchronize the system time
-- with the Win32 performance counter by getting a base offset for both.
-- Using these offsets it is then possible to compute actual time using
-- a performance counter which has a better precision than the Win32
-- time API.
-- Try at most 10 times to reach the best synchronisation (below 1
-- millisecond) otherwise the runtime will use the best value reached
-- during the runs.
Lock;
-- First check that the current value has not been updated. This
-- could happen if another task has called Clock at the same time
-- and that Max_Shift has been reached too.
--
-- But if the current value has been changed just before we entered
-- into the critical section, we can safely return as the current
-- base data (time, clock, ticks) have already been updated.
if Sig /= Signature then
Unlock;
return;
end if;
-- Check for the unused data buffer and set New_Data to point to it
if Current = First'Access then
New_Data := Second'Access;
else
New_Data := First'Access;
end if;
for K in 1 .. 10 loop
if QueryPerformanceCounter (Loc_Ticks'Access) = Win32.FALSE then
pragma Assert
(Standard.False,
"Could not query high performance counter in Clock");
null;
end if;
GetSystemTimeAsFileTime (Ctrl_Time'Access);
-- Scan for clock tick, will take up to 16ms/1ms depending on PC.
-- This cannot be an infinite loop or the system hardware is badly
-- damaged.
loop
GetSystemTimeAsFileTime (Loc_Time'Access);
if QueryPerformanceCounter (Ctrl_Ticks'Access) = Win32.FALSE then
pragma Assert
(Standard.False,
"Could not query high performance counter in Clock");
null;
end if;
exit when Loc_Time /= Ctrl_Time;
Loc_Ticks := Ctrl_Ticks;
end loop;
-- Check elapsed Performance Counter between samples
-- to choose the best one.
Elapsed := Ctrl_Ticks - Loc_Ticks;
if Elapsed < Current_Max then
New_Data.Base_Time := Loc_Time;
New_Data.Base_Ticks := Loc_Ticks;
Current_Max := Elapsed;
-- Exit the loop when we have reached the expected precision
exit when Elapsed <= Max_Elapsed;
end if;
end loop;
New_Data.Base_Clock :=
Duration
(Long_Long_Float
((New_Data.Base_Time - epoch_1970) * system_time_ns) /
Long_Long_Float (Sec_Unit));
-- At this point all the base values have been set into the new data
-- record. Change the pointer (atomic operation) to these new values.
Current := New_Data;
Data := New_Data.all;
-- Set new signature for this data set
Signature := Signature + 1;
Unlock;
exception
when others =>
Unlock;
raise;
end Get_Base_Time;
---------------------
-- Monotonic_Clock --
---------------------
function Monotonic_Clock return Duration is
Current_Ticks : aliased LARGE_INTEGER;
Elap_Secs_Tick : Duration;
begin
if QueryPerformanceCounter (Current_Ticks'Access) = Win32.FALSE then
return 0.0;
else
Elap_Secs_Tick :=
Duration (Long_Long_Float (Current_Ticks - Base_Monotonic_Ticks) /
Long_Long_Float (Tick_Frequency));
return Base_Monotonic_Clock + Elap_Secs_Tick;
end if;
end Monotonic_Clock;
-----------------
-- Timed_Delay --
-----------------
procedure Timed_Delay (Time : Duration; Mode : Integer) is
function Mode_Clock return Duration;
pragma Inline (Mode_Clock);
-- Return the current clock value using either the monotonic clock or
-- standard clock depending on the Mode value.
----------------
-- Mode_Clock --
----------------
function Mode_Clock return Duration is
begin
case Mode is
when Absolute_RT => return Monotonic_Clock;
when others => return Clock;
end case;
end Mode_Clock;
-- Local Variables
Base_Time : constant Duration := Mode_Clock;
-- Base_Time is used to detect clock set backward, in this case we
-- cannot ensure the delay accuracy.
Rel_Time : Duration;
Abs_Time : Duration;
Check_Time : Duration := Base_Time;
-- Start of processing for Timed Delay
begin
if Mode = Relative then
Rel_Time := Time;
Abs_Time := Time + Check_Time;
else
Rel_Time := Time - Check_Time;
Abs_Time := Time;
end if;
if Rel_Time > 0.0 then
loop
Sleep (DWORD (Rel_Time * 1000.0));
Check_Time := Mode_Clock;
exit when Abs_Time <= Check_Time or else Check_Time < Base_Time;
Rel_Time := Abs_Time - Check_Time;
end loop;
end if;
end Timed_Delay;
----------------
-- Initialize --
----------------
Initialized : Boolean := False;
procedure Initialize is
begin
if Initialized then
return;
end if;
Initialized := True;
-- Get starting time as base
if QueryPerformanceFrequency (Tick_Frequency'Access) = Win32.FALSE then
raise Program_Error with
"cannot get high performance counter frequency";
end if;
Get_Base_Time (Current.all);
-- Keep base clock and ticks for the monotonic clock. These values
-- should never be changed to ensure proper behavior of the monotonic
-- clock.
Base_Monotonic_Clock := Current.Base_Clock;
Base_Monotonic_Ticks := Current.Base_Ticks;
end Initialize;
end System.OS_Primitives;
|
oeis/144/A144495.asm | neoneye/loda-programs | 11 | 170532 | ; A144495: Row 2 of array in A144502.
; Submitted by <NAME>(s2.)
; 2,7,30,155,946,6687,53822,486355,4877250,53759351,646098622,8409146187,117836551730,1768850337295,28318532194206,481652022466307,8673291031865602,164849403644999655,3297954931572397790,69274457019123638011,1524368720086682440242,35067093875312944205567,841749132587214870613630,21046783665433864378301235,547286648368610803933923266,14778426059568419628570115927,413838093508313947658817939582,12002400971591457631635942282155,360101628163703263986394263390130,11163979245521668164623070023007471
add $0,1
mov $2,-1
mov $3,$0
lpb $0
sub $0,1
sub $2,$3
sub $3,$2
mul $2,$0
lpe
mov $0,$3
add $0,1
div $0,2
|
dllmgt.asm | Th4nat0s/No_Sandboxes | 35 | 84963 | <reponame>Th4nat0s/No_Sandboxes
.code
;align 16
; ###################################################
; trouve un offset de dll by hash,
; return 0 si pas trouvé
; In stack : Hash DLL name
; Out eax : DLL Base address
_getdll:
; mov eax,[fs:0x30] ; To BE REMOVED
; int 3
;; mov dword [PEB],eax
push ebp
mov ebp,esp
mov ebx, [fs:0x30] ; pointer sur PEB fs:0x30
mov ebx, [ebx+0x0C] ; pointeur sur PEB->Ldr
mov ebx, [ebx+0x14] ; flink premier module de la liste InMemoryOrder
mov edx, [ebx+4] ; blink... alias le point de sortie..
xor ecx,ecx
xor eax,eax
jmp .startlist
.nextmod:
cmp ebx,edx
je .tfini
.startlist:
mov esi, [ebx+0x28] ; pointeur sur la liste (unicode)
.readchar:
lodsw ; lis un Word
test al,al ; Fin de la string ?
jz .stopreadchar
cmp al,0x60 ; Si misuscule convert to Majuscule,
jbe .stoschar
sub al,0x20 ; pass en majuscule
.stoschar
xor cl,al ; Hash du pauvre, rolxor
rol ecx,HASH_SFT
jmp .readchar
.stopreadchar:
cmp ecx,[ebp+0x8] ; Parametre 1, Hash DLL Name
je .tfinifound
mov ecx,0 ; Reset the hash
mov ebx, [ebx] ; choppe le module suivant
mov esi, [ebx+0x4] ; module base address
jmp .nextmod
.tfinifound
mov eax, [ebx+0x10] ; module base address
jmp .tgohome
.tfini:
mov eax,0 ; pas trouvé l'offset return 0
.tgohome:
mov esp,ebp
pop ebp
retn 4
; ###################################################
; trouve un offset de fonction by hash
; return 0 si pas trouvé... erratum crash si pas trouvé
; In stack : Hash Fonction
; In stack : Offset DLL name
; Out eax : Fonction Base address
; trouve une fonction dans kernel32.dll
_getfunction:
push ebp
mov ebp,esp
sub eax,eax
mov eax,[ebp+0x8]
mov ebx, eax
mov edx,[eax+60] ; PE base loCATION
add eax, edx
mov edx,[eax] ; PE base dans EDX
add eax, 0x78
mov edx,[eax] ; Export Table offset
add ebx,edx ; edx = iat export table
mov [ExpTable],ebx
mov edx,[ebp+0xC]
ExpTable equ ebp-0x8
mov esi, [ExpTable]
mov esi, [esi+0x20] ;RVA
add esi, [ebp+0x8] ;VA
xor ebx,ebx
cld
myloop:
inc ebx
lodsd
add eax , [ebp+0x8] ;eax sur les string des fonctions
push esi ; save pour la prochane loop
mov esi,eax
mov edi,edx
cld
; push ecx
xor ecx,ecx
.readcharf:
lodsb ; lis un Word
test al,al ; Fin de la string ?
jz .stopreadcharf
cmp al,0x60 ; Si misuscule convert to Majuscule,
jbe .stoscharf
sub al,0x20 ; pass en majuscule
.stoscharf
xor cl,al ; Hash du pauvre, rolxor
rol ecx,HASH_SFT
jmp .readcharf
.stopreadcharf
pop esi
cmp ecx,[ebp+0xc] ; Hash Match ??
jne myloop
dec ebx
mov eax,[ExpTable]
mov eax,[eax+0x24] ;RVA EOT
add eax,[ebp+0x8] ;VA EOT
movzx eax , word [ebx*2+eax] ;eax offset de la fonction
mov ebx,[ExpTable]
mov ebx,[ebx+0x1C] ;RVA EAT
add ebx,[ebp+0x8] ;VA EAT
mov ebx,[eax*4+ebx]
add ebx,[ebp+0x8]
mov eax,ebx
mov esp,ebp
pop ebp
retn 8
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_871.asm | ljhsiun2/medusa | 9 | 14267 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1eeb9, %rax
nop
nop
nop
nop
nop
sub %r12, %r12
movw $0x6162, (%rax)
nop
nop
dec %rdx
lea addresses_D_ht+0x2a39, %rax
nop
nop
nop
nop
add $12682, %r10
movups (%rax), %xmm7
vpextrq $1, %xmm7, %rcx
nop
nop
sub $3474, %rcx
lea addresses_WC_ht+0x1e839, %r10
nop
nop
xor $5944, %r12
mov (%r10), %ecx
nop
nop
nop
nop
nop
inc %rax
lea addresses_normal_ht+0x4eb9, %r12
and %r13, %r13
movw $0x6162, (%r12)
nop
nop
nop
nop
and $61850, %r14
lea addresses_D_ht+0x9c79, %rdx
nop
nop
nop
nop
cmp %rax, %rax
mov $0x6162636465666768, %r14
movq %r14, %xmm7
vmovups %ymm7, (%rdx)
nop
nop
cmp $11954, %r12
lea addresses_A_ht+0x1724d, %rsi
lea addresses_normal_ht+0x45b9, %rdi
nop
nop
nop
nop
nop
add %r14, %r14
mov $33, %rcx
rep movsw
nop
nop
nop
nop
inc %rdi
lea addresses_UC_ht+0x1aab9, %r14
nop
nop
nop
inc %rdi
mov (%r14), %r12w
nop
nop
nop
cmp %r13, %r13
lea addresses_WC_ht+0x7ad9, %rdi
nop
and %rax, %rax
and $0xffffffffffffffc0, %rdi
vmovaps (%rdi), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %rcx
nop
nop
nop
nop
nop
add $32436, %r10
lea addresses_WT_ht+0x15bbd, %r12
nop
nop
nop
nop
inc %rsi
movl $0x61626364, (%r12)
nop
nop
dec %r12
lea addresses_normal_ht+0x140f9, %r10
nop
sub $30253, %r14
mov (%r10), %rcx
nop
nop
inc %rax
lea addresses_WT_ht+0xe71, %r13
dec %r14
movl $0x61626364, (%r13)
nop
nop
nop
cmp $61031, %r10
lea addresses_UC_ht+0x187a9, %r13
dec %r12
vmovups (%r13), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $1, %xmm5, %r10
nop
nop
nop
nop
nop
and $23169, %rsi
lea addresses_UC_ht+0x79b9, %r13
nop
nop
nop
nop
nop
add %r12, %r12
mov $0x6162636465666768, %rsi
movq %rsi, (%r13)
nop
nop
nop
xor $46192, %r13
lea addresses_D_ht+0x4bb9, %r10
nop
nop
cmp %r12, %r12
movb $0x61, (%r10)
and %rax, %rax
lea addresses_D_ht+0x1bbe1, %rsi
lea addresses_UC_ht+0x12de6, %rdi
clflush (%rsi)
nop
nop
and %r12, %r12
mov $40, %rcx
rep movsw
nop
nop
and %r12, %r12
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r14
pop %r13
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r8
push %r9
push %rdi
// Faulty Load
lea addresses_RW+0x186b9, %rdi
nop
add %r13, %r13
mov (%rdi), %r10w
lea oracles, %r8
and $0xff, %r10
shlq $12, %r10
mov (%r8,%r10,1), %r10
pop %rdi
pop %r9
pop %r8
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': True, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': True, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}}
{'32': 21829}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
|
Structure/Operator/Lattice.agda | Lolirofle/stuff-in-agda | 6 | 6177 | open import Type
open import Structure.Setoid
module Structure.Operator.Lattice {ℓ ℓₑ} (L : Type{ℓ}) ⦃ equiv-L : Equiv{ℓₑ}(L) ⦄ where
import Lvl
open import Functional
import Function.Names as Names
open import Logic
open import Logic.IntroInstances
open import Logic.Propositional
open import Logic.Predicate
open import Structure.Function.Domain using (Involution ; involution)
open import Structure.Function.Multi
open import Structure.Function
open import Structure.Operator.Monoid
open import Structure.Operator.Properties
open import Structure.Operator.Proofs
open import Structure.Operator
open import Structure.Relator.Ordering
open import Structure.Relator.Properties
open import Syntax.Transitivity
record Semilattice (_▫_ : L → L → L) : Stmt{ℓ Lvl.⊔ ℓₑ} where
constructor intro
field
⦃ operator ⦄ : BinaryOperator(_▫_)
⦃ commutative ⦄ : Commutativity(_▫_)
⦃ associative ⦄ : Associativity(_▫_)
⦃ idempotent ⦄ : Idempotence(_▫_)
order : L → L → Stmt
order x y = (x ▫ y ≡ y)
partialOrder : Weak.PartialOrder(order)(_≡_)
Antisymmetry.proof (Weak.PartialOrder.antisymmetry partialOrder) {x}{y} xy yx =
x 🝖-[ symmetry(_≡_) yx ]
y ▫ x 🝖-[ commutativity(_▫_) ]
x ▫ y 🝖-[ xy ]
y 🝖-end
Transitivity.proof (Weak.PartialOrder.transitivity partialOrder) {x}{y}{z} xy yz =
x ▫ z 🝖-[ congruence₂ᵣ(_▫_)(_) (symmetry(_≡_) yz) ]
x ▫ (y ▫ z) 🝖-[ symmetry(_≡_) (associativity(_▫_)) ]
(x ▫ y) ▫ z 🝖-[ congruence₂ₗ(_▫_)(_) xy ]
y ▫ z 🝖-[ yz ]
z 🝖-end
Reflexivity.proof (Weak.PartialOrder.reflexivity partialOrder) = idempotence(_▫_)
record Lattice (_∨_ : L → L → L) (_∧_ : L → L → L) : Stmt{ℓ Lvl.⊔ ℓₑ} where
constructor intro
field
⦃ [∨]-operator ⦄ : BinaryOperator(_∨_)
⦃ [∧]-operator ⦄ : BinaryOperator(_∧_)
⦃ [∨]-commutativity ⦄ : Commutativity(_∨_)
⦃ [∧]-commutativity ⦄ : Commutativity(_∧_)
⦃ [∨]-associativity ⦄ : Associativity(_∨_)
⦃ [∧]-associativity ⦄ : Associativity(_∧_)
⦃ [∨][∧]-absorptionₗ ⦄ : Absorptionₗ(_∨_)(_∧_)
⦃ [∧][∨]-absorptionₗ ⦄ : Absorptionₗ(_∧_)(_∨_)
instance
[∨][∧]-absorptionᵣ : Absorptionᵣ(_∨_)(_∧_)
[∨][∧]-absorptionᵣ = [↔]-to-[→] OneTypeTwoOp.absorption-equivalence-by-commutativity [∨][∧]-absorptionₗ
instance
[∨]-idempotence : Idempotence(_∨_)
Idempotence.proof [∨]-idempotence {x} =
x ∨ x 🝖-[ congruence₂ᵣ(_∨_)(_) (symmetry(_≡_) (absorptionₗ(_∧_)(_∨_))) ]
x ∨ (x ∧ (x ∨ x)) 🝖-[ absorptionₗ(_∨_)(_∧_) ]
x 🝖-end
instance
[∨]-semilattice : Semilattice(_∨_)
[∨]-semilattice = intro
instance
[∧][∨]-absorptionᵣ : Absorptionᵣ(_∧_)(_∨_)
[∧][∨]-absorptionᵣ = [↔]-to-[→] OneTypeTwoOp.absorption-equivalence-by-commutativity [∧][∨]-absorptionₗ
instance
[∧]-idempotence : Idempotence(_∧_)
Idempotence.proof [∧]-idempotence {x} =
x ∧ x 🝖-[ congruence₂ᵣ(_∧_)(_) (symmetry(_≡_) (absorptionₗ(_∨_)(_∧_))) ]
x ∧ (x ∨ (x ∧ x)) 🝖-[ absorptionₗ(_∧_)(_∨_) ]
x 🝖-end
instance
[∧]-semilattice : Semilattice(_∧_)
[∧]-semilattice = intro
record Bounded (𝟎 : L) (𝟏 : L) : Stmt{ℓ Lvl.⊔ ℓₑ} where
constructor intro
field
⦃ [∨]-identityₗ ⦄ : Identityₗ(_∨_)(𝟎)
⦃ [∧]-identityₗ ⦄ : Identityₗ(_∧_)(𝟏)
instance
[∨]-identityᵣ : Identityᵣ(_∨_)(𝟎)
[∨]-identityᵣ = [↔]-to-[→] One.identity-equivalence-by-commutativity [∨]-identityₗ
instance
[∧]-identityᵣ : Identityᵣ(_∧_)(𝟏)
[∧]-identityᵣ = [↔]-to-[→] One.identity-equivalence-by-commutativity [∧]-identityₗ
instance
[∨]-identity : Identity(_∨_)(𝟎)
[∨]-identity = intro
instance
[∧]-identity : Identity(_∧_)(𝟏)
[∧]-identity = intro
instance
[∨]-absorberₗ : Absorberₗ(_∨_)(𝟏)
[∨]-absorberₗ = OneTypeTwoOp.absorberₗ-by-absorptionₗ-identityₗ
instance
[∧]-absorberₗ : Absorberₗ(_∧_)(𝟎)
[∧]-absorberₗ = OneTypeTwoOp.absorberₗ-by-absorptionₗ-identityₗ
instance
[∨]-absorberᵣ : Absorberᵣ(_∨_)(𝟏)
[∨]-absorberᵣ = [↔]-to-[→] One.absorber-equivalence-by-commutativity [∨]-absorberₗ
instance
[∧]-absorberᵣ : Absorberᵣ(_∧_)(𝟎)
[∧]-absorberᵣ = [↔]-to-[→] One.absorber-equivalence-by-commutativity [∧]-absorberₗ
instance
[∨]-absorber : Absorber(_∨_)(𝟏)
[∨]-absorber = intro
instance
[∧]-absorber : Absorber(_∧_)(𝟎)
[∧]-absorber = intro
instance
[∧]-monoid : Monoid(_∧_)
Monoid.identity-existence [∧]-monoid = [∃]-intro(𝟏)
instance
[∨]-monoid : Monoid(_∨_)
Monoid.identity-existence [∨]-monoid = [∃]-intro(𝟎)
record Complemented (¬_ : L → L) : Stmt{ℓ Lvl.⊔ ℓₑ} where
constructor intro
field
⦃ [¬]-function ⦄ : Function(¬_)
⦃ excluded-middle ⦄ : ComplementFunction(_∨_)(¬_)
⦃ non-contradiction ⦄ : ComplementFunction(_∧_)(¬_)
record Distributive : Stmt{ℓ Lvl.⊔ ℓₑ} where
constructor intro
field
⦃ [∨][∧]-distributivityₗ ⦄ : Distributivityₗ(_∨_)(_∧_)
⦃ [∧][∨]-distributivityₗ ⦄ : Distributivityₗ(_∧_)(_∨_)
instance
[∨][∧]-distributivityᵣ : Distributivityᵣ(_∨_)(_∧_)
[∨][∧]-distributivityᵣ = [↔]-to-[→] OneTypeTwoOp.distributivity-equivalence-by-commutativity [∨][∧]-distributivityₗ
instance
[∧][∨]-distributivityᵣ : Distributivityᵣ(_∧_)(_∨_)
[∧][∨]-distributivityᵣ = [↔]-to-[→] OneTypeTwoOp.distributivity-equivalence-by-commutativity [∧][∨]-distributivityₗ
-- TODO: Is a negatable lattice using one of its operators distributed by a negation a lattice? In other words, Lattice(_∧_)(¬_ ∘₂ (_∧_ on ¬_))?
record Negatable (¬_ : L → L) : Stmt{ℓ Lvl.⊔ ℓₑ} where
constructor intro
field
⦃ [¬]-function ⦄ : Function(¬_)
⦃ [¬]-involution ⦄ : Involution(¬_)
⦃ [¬][∧][∨]-distributivity ⦄ : Preserving₂(¬_)(_∧_)(_∨_)
instance
[¬][∨][∧]-distributivity : Preserving₂(¬_)(_∨_)(_∧_)
Preserving.proof [¬][∨][∧]-distributivity {x}{y} =
¬(x ∨ y) 🝖-[ congruence₁(¬_) (congruence₂(_∨_) (symmetry(_≡_) (involution(¬_))) (symmetry(_≡_) (involution(¬_)))) ]
¬((¬(¬ x)) ∨ (¬(¬ y))) 🝖-[ congruence₁(¬_) (symmetry(_≡_) (preserving₂(¬_)(_∧_)(_∨_))) ]
¬(¬((¬ x) ∧ (¬ y))) 🝖-[ involution(¬_) ]
(¬ x) ∧ (¬ y) 🝖-end
open Lattice using (intro) public
{- TODO: ?
semilattices-to-lattice : ∀{_∨_ _∧_} → ⦃ _ : Semilattice(_∨_) ⦄ → ⦃ _ : Semilattice(_∧_) ⦄ → Lattice(_∨_)(_∧_)
Lattice.[∨]-operator (semilattices-to-lattice ⦃ join ⦄ ⦃ meet ⦄) = Semilattice.operator join
Lattice.[∧]-operator (semilattices-to-lattice ⦃ join ⦄ ⦃ meet ⦄) = Semilattice.operator meet
Lattice.[∨]-commutativity (semilattices-to-lattice ⦃ join ⦄ ⦃ meet ⦄) = Semilattice.commutative join
Lattice.[∧]-commutativity (semilattices-to-lattice ⦃ join ⦄ ⦃ meet ⦄) = Semilattice.commutative meet
Lattice.[∨]-associativity (semilattices-to-lattice ⦃ join ⦄ ⦃ meet ⦄) = Semilattice.associative join
Lattice.[∧]-associativity (semilattices-to-lattice ⦃ join ⦄ ⦃ meet ⦄) = Semilattice.associative meet
Absorptionₗ.proof (Lattice.[∨][∧]-absorptionₗ (semilattices-to-lattice {_∨_}{_∧_} ⦃ join ⦄ ⦃ meet ⦄)) {x} {y} =
x ∨ (x ∧ y) 🝖-[ {!!} ]
x 🝖-end
Absorptionₗ.proof (Lattice.[∧][∨]-absorptionₗ (semilattices-to-lattice {_∨_}{_∧_} ⦃ join ⦄ ⦃ meet ⦄)) {x} {y} =
x ∧ (x ∨ y) 🝖-[ {!!} ]
x 🝖-end
-}
-- Also called: De Morgan algebra
record MorganicAlgebra (_∨_ : L → L → L) (_∧_ : L → L → L) (¬_ : L → L) (⊥ : L) (⊤ : L) : Stmt{ℓ Lvl.⊔ ℓₑ} where
constructor intro
field
⦃ lattice ⦄ : Lattice(_∨_)(_∧_)
⦃ boundedLattice ⦄ : Lattice.Bounded(lattice)(⊥)(⊤)
⦃ distributiveLattice ⦄ : Lattice.Distributive(lattice)
⦃ negatableLattice ⦄ : Lattice.Negatable(lattice)(¬_)
record BooleanAlgebra (_∨_ : L → L → L) (_∧_ : L → L → L) (¬_ : L → L) (⊥ : L) (⊤ : L) : Stmt{ℓ Lvl.⊔ ℓₑ} where
constructor intro
field
⦃ lattice ⦄ : Lattice(_∨_)(_∧_)
⦃ boundedLattice ⦄ : Lattice.Bounded(lattice)(⊥)(⊤)
⦃ complementedLattice ⦄ : Lattice.Bounded.Complemented(boundedLattice)(¬_)
⦃ distributiveLattice ⦄ : Lattice.Distributive(lattice)
-- TODO: Heyting algebra
-- TODO: Import some proofs from SetAlgebra
|
src/main/vmf-text/eu/mihosoft/vmftext/tests/subrules/SubRules.g4 | miho/VMF-Text-Tests | 9 | 6375 | <reponame>miho/VMF-Text-Tests
grammar SubRules;
subrules :
'(' INT (',' INT)* ')'
| INT
;
INT: [0-9]+; |
RMonads/RKleisli/Functors.agda | jmchapman/Relative-Monads | 21 | 6269 | <filename>RMonads/RKleisli/Functors.agda
open import Categories
open import Functors
open import RMonads
module RMonads.RKleisli.Functors {a b c d}{C : Cat {a}{b}}{D : Cat {c}{d}}
{J : Fun C D}(M : RMonad J) where
open import Library
open import RMonads.RKleisli M
open import RAdjunctions
open Cat
open Fun
open RMonad M
RKlL : Fun C Kl
RKlL = record{
OMap = id;
HMap = λ f → comp D η (HMap J f);
fid =
proof
comp D η (HMap J (iden C))
≅⟨ cong (comp D η) (fid J) ⟩
comp D η (iden D)
≅⟨ idr D ⟩
η ∎;
fcomp = λ{_ _ _ f g} →
proof
comp D η (HMap J (comp C f g))
≅⟨ cong (comp D η) (fcomp J) ⟩
comp D η (comp D (HMap J f) (HMap J g))
≅⟨ sym (ass D) ⟩
comp D (comp D η (HMap J f)) (HMap J g)
≅⟨ cong (λ f → comp D f (HMap J g)) (sym law2) ⟩
comp D (comp D (bind (comp D η (HMap J f))) η) (HMap J g)
≅⟨ ass D ⟩
comp D (bind (comp D η (HMap J f))) (comp D η (HMap J g))
∎}
RKlR : Fun Kl D
RKlR = record{
OMap = T;
HMap = bind;
fid = law1;
fcomp = law3}
|
example/loadertest/example.asm | d23/bitfire | 27 | 10198 | <reponame>d23/bitfire
!src "../../loader/loader_acme.inc"
!src "../../macros/link_macros_acme.inc"
* = $1000
!bin "../../loader/installer",,2
* = $0800
lda #$0b
sta $d020
sta $d021
ldx #$00
-
lda #$7b
sta $0400,x
sta $0500,x
sta $0600,x
sta $0700,x
dex
bne -
lda #$3b
sta $d011
lda #$18
sta $d018
lda #$08
sta $d016
jsr bitfire_install_
sei
lda #$35
sta $01
.loop
jsr .start_timer
lda #$00
jsr bitfire_loadcomp_
ldx #$00
jsr .stop_timer
jsr .start_timer
lda #$01
jsr bitfire_loadcomp_
ldx #$04
jsr .stop_timer
jsr .start_timer
lda #$02
jsr bitfire_loadraw_
ldx #$08
jsr .stop_timer
jsr .start_timer
lda #$03
jsr bitfire_loadraw_
ldx #$0c
jsr .stop_timer
jmp .loop
.start_timer
lda #$00
sta $dc0e
lda #$40
sta $dc0f
lda #$ff
sta $dc04
sta $dc05
sta $dc06
sta $dc07
lda #$41
sta $dc0f
lda #$01
sta $dc0e
rts
.stop_timer
lda #$00
sta $dc0e
lda #$40
sta $dc0f
lda $dc04
eor #$ff
sta $0f03,x
lda $dc05
eor #$ff
sta $0f02,x
lda $dc06
eor #$ff
sta $0f01,x
lda $dc07
eor #$ff
sta $0f00,x
rts
|
Structure/Operator/Monoid/Homomorphism.agda | Lolirofle/stuff-in-agda | 6 | 13226 | module Structure.Operator.Monoid.Homomorphism where
import Lvl
open import Logic
open import Logic.Predicate
open import Structure.Function
open import Structure.Function.Multi
open import Structure.Operator.Monoid
open import Structure.Setoid
open import Type
record Homomorphism
{ℓ₁ ℓ₂ ℓₑ₁ ℓₑ₂}
{X : Type{ℓ₁}} ⦃ _ : Equiv{ℓₑ₁}(X) ⦄ {_▫X_ : X → X → X} ( structureₗ : Monoid(_▫X_))
{Y : Type{ℓ₂}} ⦃ _ : Equiv{ℓₑ₂}(Y) ⦄ {_▫Y_ : Y → Y → Y} ( structureᵣ : Monoid(_▫Y_))
(f : X → Y)
: Stmt{ℓ₁ Lvl.⊔ ℓₑ₁ Lvl.⊔ ℓ₂ Lvl.⊔ ℓₑ₂} where
constructor intro
idₗ = Monoid.id(structureₗ)
idᵣ = Monoid.id(structureᵣ)
field
⦃ function ⦄ : Function(f)
⦃ preserve-op ⦄ : Preserving₂(f)(_▫X_)(_▫Y_)
⦃ preserve-id ⦄ : Preserving₀(f)(idₗ)(idᵣ)
_→ᵐᵒⁿᵒⁱᵈ_ : ∀{ℓₗ ℓₗₑ ℓᵣ ℓᵣₑ} → MonoidObject{ℓₗ}{ℓₗₑ} → MonoidObject{ℓᵣ}{ℓᵣₑ} → Type
A →ᵐᵒⁿᵒⁱᵈ B = ∃(Homomorphism(MonoidObject.monoid A)(MonoidObject.monoid B))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.